EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Rule or variable for Death - Spell loss (https://www.eqemulator.org/forums/showthread.php?t=35664)

dew1960 08-16-2012 08:52 AM

Rule or variable for Death - Spell loss
 
Hello,

I know there are server variables and rules for death that can be editid in the database.

I already changed them for my server to remove XP loss and so that characters keep items on them when they die (no more corpse runs). This is how it is on live now.

I also wanted to make it so that characters do not have to re-memorize spells after they die, to also emulate the way it is on live right now.

I can't seem to find the rule, ruleset, or variable in the database if it exists and I was wondering if someone can either point me to the table and row or tell me how to do this or confirm if it can or cannot be done.

Please only confirm or deny the possibility if you know it for a fact, no guesses please.

Thank you for the support. :)

louis1016 08-16-2012 09:30 AM

in the source, delete the following from attack.cpp:


Code:

if((GetClientVersionBit() & BIT_SoFAndLater) && RuleB(Character, RespawnFromHover))
                        UnmemSpellAll(true);
                else
                        UnmemSpellAll(false);


Delete from client.cpp:

UnmemSpellAll();

Maze_EQ 08-16-2012 09:51 AM

and after that, you need to re-compile.

dew1960 08-16-2012 12:14 PM

Thanks! I appreciate the support :)


All times are GMT -4. The time now is 02:33 PM.

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