EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Server Change help (https://www.eqemulator.org/forums/showthread.php?t=37765)

Cassieze 01-21-2014 08:21 PM

Server Change help
 
Hello everyone! There are a few modifications I am looking to make to my server but after searching for a while I am not sure how to do it.
I am using Underfoot Client and PEQ revision 2506

Code:

1.) When I go to crushbone I want new orc models.
-If I do texture 1-12 they will work just fine.
-When I do #npcedit texture and repop the zone, any models that contain armor lose their armor. (They retain their color)
-ork,ork is in my crushbone_chr.txt

How do I make them retain their texture?

Code:

2.) I want bots to only be Warrior, Monk, Rogues
-I have implemented bots via the questsystem with the Aediles Thrall, but that only limits the maximum number of bots.
-I am assuming edits to bot.cpp have to be made. Since this is a source file I am not sure if text editing adds this to server (I'm guessing not).
So how would I go about completing this?
-Also if possible how would I add another race to the list (Gnomework)

Code:

3.)I want to make ranger the only class available to play.
-I know character create combinations exist but is there a way to make it so when they create the character their only option is ranger?
-I currently have an npc change class upon hail if not a ranger

Code:

4.) Is it possible to mix and match aas?
-also I want to remove veteran reward aas
-possibly make all aas available


Thanks in advance

Cassieze 02-02-2014 04:43 PM

Well I figured out the orcs.... helm texture has to be the same as the texture.

<facepalm>

DrakePhoenix 02-07-2014 07:34 PM

I can't speak to the other issues, but for limiting the classes that are available to bots, take a look at bot.cpp, specifically the Bot::IsValidRaceClassCombo() function and the Bot::ProcessBotCommands(Client *c, const Seperator *sep) function (namely the section beginning "if(!strcasecmp(sep->arg[1], "create"))"). I believe a change to either of them should allow you to accomplish the limitation you want, but my personal choice would be to set the limitation in the ProcessBotCommands function.

Basically (if you go with the ProcessBotCommands function), what you would want to do is limit the valid class id's that are allowable input for arg[3]. By simply removing the class id's that you want to disallow, you would make it so that the #bot create command would always fail if someone tried to create a bot with a class other than the ones you want to allow.

Be sure to back up your file before you change it. I personally also recommend commenting out the original code that you are going to change, adding in an uncommented duplicate of the original code, and then change the duplicate to work the way you want. I would also suggest that you consider altering the "Usage: #bot create..." message to include more complete information informing users of the class restriction for bots.

Hope that helps,
Drake Phoenix

dagulus2 02-08-2014 05:34 AM

I have not played with this, but looking at the database, the cost and available levels of the AA abilities is recorded in `altadv_vars`.

You cold try deleting the entries you do not want* (they are listed by name) or simply set the cost required to 999.

*be sure to backup first in case this breaks something.


All times are GMT -4. The time now is 12:06 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.