Disabling Return home & tutorial - Server ruels ignored
I'm not sure exactly when this started, but the following rules seem to no longer do anything to change behavior of either of these:
Code:
World::EnableReturnHomeButton Was there a change that could have affected these? |
I've tried the same thing with the Tutorial button, with no success.
The ReturnHome is disabled, but I found that value in 3 different rule sets in the rule values table. (1,2 & 10) |
This works pretty good for disabling Tutorial Button at login screen:
Code:
World:MaxLevelForTutorial (value) -1 |
I've only got 2 rulesets, and both have them set to false and have had for ages now. Just seems some time since I last looked at it they became active and I can't get 'em turned off.
|
Not sure if you seen my last post ^^^ (think we posted at same time), but
I guess one could always set an outrageous timer on home button. |
Can anybody else confirm what I'm seeing above by chance? That "Return Home" and Tutorial are not able to be disabled right now, regardless of rules?
I am real sure these were actually disabled at one time. Now nothing I do makes that work. For now I have set the return home to a huge number, and created an ENTER_ZONE event to gate characters entering tutorialb. While these are functional workarounds, they're not the way it "should" work. |
I remember doing some work on them a few years ago and they did indeed work.
Let me fire up my server and see if I get the same results. |
Ti thru RoF2 all showed disabled for both buttons when those rules were set to false (ruleset 1 - "default")
Is it possible that world is defaulting to a ruleset that you do not have identified in the database? That would cause the hard-coded defaults to be used. |
I have rulesets 1 and 10. Zones all set to use ruleset 10, but both settings are set to disabled in both. Further, I changed common/ruletypes.h a few weeks ago, so even the default should be disabled.
https://github.com/N0ctrnl/VAServer/...ce6a2d0abce971 Code:
-RULE_BOOL(World, EnableTutorialButton, true) |
Wanted to circle back here and clarify/update a couple things.
The tutorial button on the character select screen is indeed disabled. It's the one on the creation screen I was looking at. Seems the rule doesn't govern that one. Setting the tutorial zone ID to 0 makes the button irrelevant and skips the tutorial entirely, regardless of whether it's set at creation or not. |
I started to look into this..but, got side-tracked :/
|
I just mainly wanted to let anybody know that might be following this. :)
Editing the UI file is another option, and one I'm going to do also. Since I have a patcher and can push these types of things, it's a no brainer. Doesn't really change anything, but that is indeed an option to hide the button entirely. I'm not terribly upset about it being there as long as it doesn't actually work - like now! |
The tutorial flags are hard-coded in the SoF+ client translators..therefore, ignoring the rule-based conditional definitions...
|
So setting the tutorial zone to 0 is gonna be the only way to disable the tutorial button on character create then? Maybe a note on the rule wouldn't be a bad idea if so(?) I know I went with -1 for a while thinking maybe that'd do it, but it didn't.
|
We can add a note, for sure.
I'll have to dig into the translator code and make those changes at some point. Shouldn't be too hard..but, trying to trace down another issue atm. |
All times are GMT -4. The time now is 07:32 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.