EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   #rules help (https://www.eqemulator.org/forums/showthread.php?t=21207)

swish 08-04-2006 08:46 PM

#rules help
 
Hey guys,

I was wondering, how can I set the max levels through #rules ?
Tried everything heh.

Couldnt get the level higher when compiled features.h too heh.

Thanks alot,
Swish.

soulshot 08-05-2006 05:03 AM

#rules setdb Character:MaxLevel 75

mattmeck 08-05-2006 05:50 AM

you already posted this question in another thread asking this question.

Stop making multiple thread for the same thing or you will loose posting privelages.

swish 08-05-2006 08:20 AM

Oh no..
 
Matt, I didnt post it anywhere =\ I swear heh, thats the only one. You need to check better heh.
Sorry in anyway =P

I found out the solution though. Need to change ruletypes.h for those who doesnt know or either what Soulshot said =P

Thanks guys,
Swish.

mattmeck 08-05-2006 08:42 AM

http://www.eqemulator.net/forums/showthread.php?t=21203

and i quote.

Quote:

Originally Posted by bongol
Same heh =P

I'd really wanna know how.

Thanks,
Swish.


Zengez 08-13-2006 01:04 PM

Quote:

Originally Posted by soulshot
#rules setdb Character:MaxLevel 75


Ok, I did this in my emu and it worked great, procceeded to lvl past 65 into 68 or 69.... then i zoned, killed something and my xp went to full, so out of curiosity i retyped the command, killed something else and i delvled to partially through lvl 66... this happens every time i zone, i have to retype the command in order to keep the progression going or else i get de-lvled for some reason... anyone know how to set this more permenantly or why it might be doing this?

thanks.

fireclav 08-13-2006 02:45 PM

y not set it then re compile?

jeffpuff 08-20-2006 04:19 AM

Same issue
 
I have had the same issue with dropping back to 66 after killing a mob at 67 with a full xp bar. In the database it does show the Character:MaxLevel 70, so it looks like it is set right, anyone get this working yet or is there another variable I should be looking at?

Craleu 08-26-2006 09:41 AM

Quote:

Originally Posted by mattmeck


*hug* Matt

Aramid 08-26-2006 09:57 AM

I changed it in common/ruletypes.h and re-compiled it. This way there is no doubt.

jeffpuff 08-28-2006 02:08 PM

compiling
 
I am willing to learn how to compile this myself if it is the only way. I have never done this before, a simple google search pulled up this site http://www.bloodshed.net/devcpp.html

Can someone tell me if this is a good place to start or suggest a better place to begin, thanks!

Jeff

fathernitwit 08-30-2006 03:29 PM

btw... recompiling to change this is completely against the point of the rules system...

a setdb + a reboot should take care of it.

John Adams 09-04-2006 06:29 AM

Strange, this does not work for me.
Code:

#rules setdb Character:MaxLevel 75
I get a "Failed to modify rule" result. I have only the default ruleset, with no rule values. Is this trying to modify something that should already exist? I'm going to look into this further myself, but wanted to mention it in case others have questions and are scared of the Wiki bat. ;)

John Adams 10-02-2006 01:02 PM

Love bumping old threads. :)

Anyway, I discovered (by accident) a few things about this Rules system, since it is documented nowhere (hoping that insights someone to prove me wrong heh!)... As of my install of 070-854, I can now run the exact command quoted above, and it does not error. It does error if my CASE is off (Maxlevel vs MaxLevel).

I also found the #rules list command, which shows some categories (Character, Guild, Skills, GM). Once I saw a categories, I started listing them out.

#rules list Character - fails to list rules
#rules list Guild - shows the "Guild:MaxMembers"
#rules list Skills - echos "Skills:MaxTrainTraidskills" as a possible setting
#rules list GM - shows "GM:MinStatusToZoneAnywhere"

Trying "#rules setdb Guild:MaxMembers 12" worked. Saved the setting to the database anyway. This is important for me, since I want to limit the size if my guilds.

I have searched wholly through the source code for either MaxLevel or MaxMembers, and cannot find a thing that would show me all the possible "rules settings" we can use. I must be missing something. How can the server know what to do with a Rule if there is nothing to tell it what to do should it encounter it?

Can anyone please give me some clue as to where to look for rules values so we can start using the rules system?

TIA,
John

fathernitwit 10-02-2006 02:18 PM

that post looks like a beautiful start to a wiki page :wink:

The list of rules can be found in common/ruletypes.h

The code accesses rules by using RuleI, RuleR, and RuleB calls (see rulesys.h for the greuling details)


All times are GMT -4. The time now is 11:08 AM.

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