#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. |
#rules setdb Character:MaxLevel 75
|
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. |
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. |
http://www.eqemulator.net/forums/showthread.php?t=21203
and i quote. Quote:
|
Quote:
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. |
y not set it then re compile?
|
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?
|
Quote:
*hug* Matt |
I changed it in common/ruletypes.h and re-compiled it. This way there is no doubt.
|
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 |
btw... recompiling to change this is completely against the point of the rules system...
a setdb + a reboot should take care of it. |
Strange, this does not work for me.
Code:
#rules setdb Character:MaxLevel 75 |
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 |
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) |
Quote:
Meanwhile, I did search rulesys.h for any text related to any of the given commands, and honestly, I am stumped. For example, I cannot find "Character" or "MaxLevel" (case sensitive or otherwise) anywhere in the entire project (I mean, Maxlevel shows up from old code commented out, but I cannot see where we select * from rule_value and set the specific Character max level value to MaxLevel, etc). I think I know what I am looking for, but things may be cleverly disguised as arrays or something, which may be why I am not finding 1:1 text matches. Which of course is what I seek, since I am a simple man. Thanks for the response. Anything more I might sponge off you? J |
re-read my post... if you cant find it, your looking at the wrong source. MaxLevel appears at least 4 times in the code.
|
Oh...
My... GOD!!! Ok, there it is, staring me straight in the face when I use NOTEPAD to view the source files. I was using the Search Entire Solution in VS2005 Ent... it did >not< find anything in ruletypes.h (by that, I mean searching did not show any matches in this file, but I did find matches in other cpp files). I must have something set up wrong in VS2005 then, that does not actually search everything when I ask it to. Sorry for sounding foolish. I will use other search methods before accusing you of encrypting your variables just to fool us. :) :) :) Thanks FNW. J |
Wiki done - it's my first time, be gentle.
Please check, add/correct anything you desire. http://www.eqemulator.net/wiki/wikka...ka=ServerRules |
I'm currently at work (so can't tear apart the DBase) - but is the above info still valid? Is it something already included with the most recent binary releases (1070)?
|
Sorry for the back to back posts.. foot in mouth and chew (should have thought before I posted).. but what I meant to ask is - is the above info still valid (using PEQ's cvs dumps)?
|
All times are GMT -4. The time now is 12:21 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.