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-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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
Old 10-03-2006, 01:43 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Quote:
Originally Posted by fathernitwit
that post looks like a beautiful start to a wiki page
~grin~ I'll see if I can start my first official WIKI page then.

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
Reply With Quote
  #7  
Old 10-03-2006, 01:46 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

re-read my post... if you cant find it, your looking at the wrong source. MaxLevel appears at least 4 times in the code.
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:59 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3