Author Topic: RTB Development  (Read 380779 times)

An option
Meaning that if you toggle off that option(or on depending on how you build it) they will be visible again.

Wen we're at it, is it possible to open and close a group?

Groups are collapsible, yeah. I will include an option to keep all offline users within an "Offline" category but hiding them from the list completely would be bad in terms of usability.

Hiding means that the option exists, but the user don't need to use it themselves. I would found it useful though. But your idea is also good.

And so a question about RTB Pref.
IF I first add pref for one category in one add-on, and then continue on that category in an another add-on, it only shows the latest added add-on. Is there any way of going around this, or do I have to have a specific category name for each add-on?

I don't understand, can you give an example?

RP Core adds a category for RTB preferences that category is called RP Content. Then JVS Content adds their preferences. Lastly RP Jobs adds their preferences to the category RP Content, which now somehow will overwrite RP Content category.

RP Core adds a category for RTB preferences that category is called RP Content. Then JVS Content adds their preferences. Lastly RP Jobs adds their preferences to the category RP Content, which now somehow will overwrite RP Content category.

I'm guessing you rp core could check if the person has rp jobs enabled, if yes then rp jobs registers all the prefs, if no then rp content does.

I'm quite sure I designed it so matching categories appended to the existing one. Are you registering them as per the documentation and not after the server has loaded?

I did that in the previous system, but due that RTB Pref doesn't like that, I had to redo it, giving me this problem instead.

I'm quite sure I designed it so matching categories appended to the existing one. Are you registering them as per the documentation and not after the server has loaded?
I register them instantly after each other.

I'll try and replicate it later and see what happens.

I think I found the error, even if it should have worked anyway:
Code: [Select]
if (!$RTB::RTBS_ServerControl)
{
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");
}
Changed to:
Code: [Select]
if (!$RTB::RTBR_ServerControl_Hook)
{
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");
}
And apparently, it worked, even if it should have worked anyway. Sorry for taking up your time.

Edit: And so I got this(Total unrelated of the above):
Code: [Select]
Add-Ons/System_ReturnToBlockland/RTBC_IRCClient.cs (1175): Unable to find object: '' attempting to call function 'setBitmap'
BackTrace: ->RTBIC_SC::onDisconnect->RTBIC_Disconnect->RTBIC_SetPane
« Last Edit: March 17, 2010, 03:56:30 PM by mctwist »

Re-executing the hook script clears all the prefs that had been previously registered so this would have caused the problem.

I thought that it was something like that.

What about this one then?
Code: [Select]
Add-Ons/System_ReturnToBlockland/RTBC_IRCClient.cs (1175): Unable to find object: '' attempting to call function 'setBitmap'
BackTrace: ->RTBIC_SC::onDisconnect->RTBIC_Disconnect->RTBIC_SetPane

That's just some crap with the IRC client and since I'm ditching it I'm not fixing bugs related to it. This has nothing to do with the error you had.

Edit: And so I got this(Total unrelated of the above):
Code: [Select]
Add-Ons/System_ReturnToBlockland/RTBC_IRCClient.cs (1175): Unable to find object: '' attempting to call function 'setBitmap'
BackTrace: ->RTBIC_SC::onDisconnect->RTBIC_Disconnect->RTBIC_SetPane
I didn't say that it was related.