Author Topic: Tier Tactical (T+T) Preference Fix  (Read 2228 times)

T-T executes before RTB; and it doesn't exec the hooks file

Code: [Select]
if(isFile("Add-Ons/System_ReturnToBlockland/server.cs"))
{
    if(!$RTB::RTBR_ServerControl_Hook)
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");

    RTB_registerPref("Ammo System","Tier+Tactical Ammo","$Pref::Server::TTAmmo","int 0 2","Script_GamePreferences",0,0,1);
    Blah
}

would be accurate, but instead it does

Code: [Select]
RTB_registerPref("Ammo System","Tier+Tactical Ammo","$Pref::Server::TTAmmo","int 0 2","Script_GamePreferences",0,0,1);
To fix it, just make a folder called zBlah_Blah or something, and give it a description.txt and make the server.cs
Code: [Select]
   if(!$RTB::RTBR_ServerControl_Hook)
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");
and the hooks will be setup first so everything works fine.
« Last Edit: August 07, 2013, 06:56:29 PM by Cut Glass »

Have you tried starting the server with only T+T (all 4 of the cores) and just RTB?

Have you tried starting the server with only T+T (all 4 of the cores) and just RTB?
Yea.

RTB has been having pref issues.

RTB has been having pref issues.
Any fix to it... I kind of need one considering I need the prefs to configure my server.

Kind of nice how Bushido only helps people who he likes. He simply wont help with his own mod because he doesn't like Trench Wars.

He probably won't help you because you are extremely immature and do things like spam the forum with gay research.

He probably won't help you because you are extremely immature and do things like spam the forum with gay research.
Other people have also stated they wont help them either. Like Kind of the bill also asked for help.

I have this same problem, but with duplorcator. It's extremely inconvenient.

T-T executes before RTB; and it doesn't exec the hooks file

Code: [Select]
if(isFile("Add-Ons/System_ReturnToBlockland/server.cs"))
{
    if(!$RTB::RTBR_ServerControl_Hook)
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");

    RTB_registerPref("Ammo System","Tier+Tactical Ammo","$Pref::Server::TTAmmo","int 0 2","Script_GamePreferences",0,0,1);
    Blah
}

would be accurate, but instead it does

Code: [Select]
RTB_registerPref("Ammo System","Tier+Tactical Ammo","$Pref::Server::TTAmmo","int 0 2","Script_GamePreferences",0,0,1);
To fix it, just make a folder called zBlah_Blah or something, and give it a description.txt and make the server.cs
Code: [Select]
   if(!$RTB::RTBR_ServerControl_Hook)
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");
and the hooks will be setup first so everything works fine.
« Last Edit: August 07, 2013, 06:34:22 PM by PeeEsPee »