Reload Rules
Moderator: Team Members
Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Reload Rules
Is there a way to reload rules? I am thinking that will be very important to reload those on the fly. If there is not, I probably need to get that working.
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Reload Rules
I could have sworn there was a way to do this but I am not noticing it in the commands table or any where in the code so I guess as of right now there isn't a way to do it...
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Reload Rules
It will be almost essential to have it also. You can imagine if you did a weekend "bonus xp" or were tuning mitigation, you would want to be able to change a variable on the fly. I will get into this either morning or tonight. I do not know your source very well, so it will take me longer.
Resident Dirty Hippy
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Reload Rules
I noticed when working on this, the XP rate seems to be global. I have a reload rules command now, works great but since the XP rate is global it will have to be pulled again. Could it not just be pulled from the rule when XP is calculated? I have never gotten into performance like many of you do, so I am not sure. Would it be better to just reset it when the rules are reloaded with the World::GetXPRate function or would pulling it from the rule be acceptable?
Resident Dirty Hippy
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Reload Rules
Okay now I see why the XP rate is global, it has to be from what I am seeing. There again the new XP rate is not pulled because it is above -1. I can always set the rates back to the initialized rates but that seems kludgy.
Resident Dirty Hippy
Who is online
Users browsing this forum: No registered users and 0 guests