Author Topic: bl seems to think I have rtb still  (Read 1328 times)



I checked and I don't have anything named rtb, return to blockland, or any of its clones (except glass). After I leave the game though I get a folder named System_ReturnToBlockland (unzipped). I feel it is something to do with this that prevents me from using glass' admin menu.

folders are the same as zips in your addons folder - if they have everything required for an addon to run + are named correctly according to the naming system they will execute as addons

delete all folders and zips that are labeled RTB in any form. glass is incompatible with RTB as you suspect.

folders are the same as zips in your addons folder - if they have everything required for an addon to run + are named correctly according to the naming system they will execute as addons

delete all folders and zips that are labeled RTB in any form. glass is incompatible with RTB as you suspect.
I did that but a new folder just gets made after I launch

I did that but a new folder just gets made after I launch
post a console log that sounds mad weird

Glass does this. It's to make rtb prefs work.

Glass does this. It's to make rtb prefs work.
Well it apparently didn't work because even on its own the admin list doesn't appear

Well it apparently didn't work because even on its own the admin list doesn't appear
No no, it's not actually RTB.
The way RTB prefs work is that they check to see if RTB exists first, then they call the register pref command. So Glass alone would not be able to register RTB prefs to it's system if RTB doesn't exist in your add-ons folder.
So it creates a fake RTB so that add-ons with RTB prefs in them will call their register commands, which register them into Glass's prefs instead.

No no, it's not actually RTB.
The way RTB prefs work is that they check to see if RTB exists first, then they call the register pref command. So Glass alone would not be able to register RTB prefs to it's system if RTB doesn't exist in your add-ons folder.
So it creates a fake RTB so that add-ons with RTB prefs in them will call their register commands, which register them into Glass's prefs instead.
makes sense
i noticed a ton of addons with rtb support check for the existence of the RTB hook file before attempting to register the prefs

should probably remove the button. is there colorset support for glass yet?

i noticed a ton of addons with rtb support check for the existence of the RTB hook file before attempting to register the prefs
Not quite, they only check for RTB, and if the pref hooks aren't loaded yet, manually execute it.
Code: [Select]
if(isFile("Add-Ons/System_ReturnToBlockland/server.cs"))
{
if(!$RTB::RTBR_ServerControl_Hook)
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");
So glass is probably just making that server.cs and then setting $RTB::RTBR_ServerControl_Hook true.
should probably remove the button.
Would be a good idea, can't execute due to lack of description.txt anyway.
is there colorset support for glass yet?
Yup.

No no, it's not actually RTB.
The way RTB prefs work is that they check to see if RTB exists first, then they call the register pref command. So Glass alone would not be able to register RTB prefs to it's system if RTB doesn't exist in your add-ons folder.
So it creates a fake RTB so that add-ons with RTB prefs in them will call their register commands, which register them into Glass's prefs instead.
I meant that glass' pref admin menu system doesn't work. I activated a server with just glass activated and didn't get the server prefs I'm supposed to.

Which prefs are missing?

Which prefs are missing?
All of them, I don't get glass' admin menu at all.