Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2006, 08:46 PM
swish
Hill Giant
 
Join Date: Jan 2005
Posts: 120
Default #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.
Reply With Quote
  #2  
Old 08-05-2006, 05:03 AM
soulshot
Hill Giant
 
Join Date: Jun 2006
Posts: 142
Default

#rules setdb Character:MaxLevel 75
Reply With Quote
  #3  
Old 08-05-2006, 05:50 AM
mattmeck
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #4  
Old 08-05-2006, 08:20 AM
swish
Hill Giant
 
Join Date: Jan 2005
Posts: 120
Default 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.
Reply With Quote
  #5  
Old 08-05-2006, 08:42 AM
mattmeck
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #6  
Old 08-13-2006, 01:04 PM
Zengez
Hill Giant
 
Join Date: Nov 2004
Posts: 160
Default

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.
Reply With Quote
  #7  
Old 08-13-2006, 02:45 PM
fireclav
Sarnak
 
Join Date: Jun 2006
Location: nowhere
Posts: 56
Default

y not set it then re compile?
Reply With Quote
  #8  
Old 08-20-2006, 04:19 AM
jeffpuff
Fire Beetle
 
Join Date: Jul 2006
Posts: 20
Default 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?
Reply With Quote
  #9  
Old 08-26-2006, 09:41 AM
Craleu
Sarnak
 
Join Date: Mar 2005
Posts: 54
Default

Quote:
Originally Posted by mattmeck

*hug* Matt
__________________
~Craleu~
Reply With Quote
  #10  
Old 08-26-2006, 09:57 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

I changed it in common/ruletypes.h and re-compiled it. This way there is no doubt.
Reply With Quote
  #11  
Old 08-28-2006, 02:08 PM
jeffpuff
Fire Beetle
 
Join Date: Jul 2006
Posts: 20
Default 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
Reply With Quote
  #12  
Old 08-30-2006, 03:29 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

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

a setdb + a reboot should take care of it.
Reply With Quote
  #13  
Old 09-04-2006, 06:29 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

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.
Reply With Quote
  #14  
Old 10-02-2006, 01:02 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

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
Reply With Quote
  #15  
Old 10-02-2006, 02:18 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

that post looks like a beautiful start to a wiki page

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)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3