Author Topic: RTB Preferences Not Showing  (Read 1509 times)

Some of them do, but then there are some that won't even show up on the pref window.

What version of RTB are you using?


DaProgg's

I tried to help another user with this, but he was having trouble modifying the code on his own. It's because you have to manually check which add-ons are using the wrong hooks path in your console.

Certain RTB prefs arent appearing for me, the affected addons are as follows: Gas Mod, Duplorocator, Default Style Weapons, DWeps Russian expansion, JVS and Syringes.

Anyone got a fix or explanation (or even in game commands to change attributes) so I can fix this?
It's because they use old RTB prefs filepath, and look for the wrong global pref bool, instead of /hooks/serverControl.cs and $RTB::Hooks:ServerControl
You can check your console for more info on this

Quote from: code
   if(!$Duplorcator::PrefsLoaded)
   {
      if($RTB::Hooks:ServerControl)
         exec("Add-Ons/System_ReturnToBlockland/hooks/serverControl.cs");

Make sure to change this for the other add-ons as well. If your prefs still do not show up it's because of the GUI control limit (default 50 and 100)
You could try using GRTB and seeing if more prefs show up for you(250+ controls)

You and your shamless advertising. Alright, I'll try it.

That fixed it! Thanks Goth, Your addon fixed the preferences! Locking.

I'm really not trying to advertise I'm trying to help -.-

Editing the files for the hooks path and pref bool is the main concern. That's usually the problem and the console even tells you to use /hooks/serverControl.cs instead of the old filepath. But when you have too many RTB prefs, even with these paths corrected, some prefs still will not show up.

If you look in RTB's code, you will see that the default UI controls is 50 and 100. GRTB uses a higher value by default. You can edit these values yourself to a higher number if you prefer to use Daprogs or other variation. Sorry if I came off as advertising or whatever, just trying to help man

Oh. Alright I didnt see your post. Sorry about that. I am glad it worked for you :D

It's doing it again, but only when I activate the hatmod, then the other items such as hackplant will just disappear.

It's doing it again, but only when I activate the hatmod, then the other items such as hackplant will just disappear.
Check the HatMod and make sure it has the correct hooks path. If so, then you probably have too many prefs. In the next GRTB update I will increase the GUI control limit from 250 to 500. I also noticed this when I enable the Heat-Mod and the Duplicator together with the Hunger Mod

Check the HatMod and make sure it has the correct hooks path. If so, then you probably have too many prefs. In the next GRTB update I will increase the GUI control limit from 250 to 500. I also noticed this when I enable the Heat-Mod and the Duplicator together with the Hunger Mod
How do I do that? Just wondering..

I can't even find anything within the RTB Files in the config.