Author Topic: Blockland Central Hub Released on RTB  (Read 24014 times)

I would love this if it was fixed... it was a great idea.

Only problem i find with it is BL Takes longer to open for me.


Bugs
This will have some bugs and will not be updated [Most likely]. Amade removed it from Mediafire so he won't be working on it.
Know Bugs[So you can be aware]:
Disables JVS
Loads Twice
Starting a server while in the Hub crashes the game. Go to the Main Menu first then start a game.

Only problem i find with it is BL Takes longer to open for me.

Only problem i find with it is BL Takes longer to open for me.
Put abbr bbc under the Loads Twice part. As in, mouse over the loads twice with mouse in OP.

I added OpenIRCClient and OpenModManager to the mod, they are self-explanatory so I don't need to explain what they do. Tell me if you want me to upload it.

I added OpenIRCClient and OpenModManager to the mod, they are self-explanatory so I don't need to explain what they do. Tell me if you want me to upload it.
Upload it please

I added OpenIRCClient and OpenModManager to the mod, they are self-explanatory so I don't need to explain what they do. Tell me if you want me to upload it.
This is not to beat you or steal your thunder in any way, but I fixed up the hub to be less buggy and added the RTB features to it. Blockland shouldn't take as long to start up (not including starting the server) and hosting a server from the hub has been fixed. Here is the link:
Client_Hub.zip

I also added a button right above "Disconnect" that says "Go To Hub", so you may go straight there. If you are hosting a server, it prompts you like clicking the disconnect button would.
« Last Edit: March 31, 2010, 01:51:21 AM by lilboarder32 »

I also added a button right above "Disconnect" that says "Go To Hub", so you may go straight there. If you are hosting a server, it prompts you like clicking the disconnect button would.



Fuuuuuuuu! That that was my idea! D:

-snip-
added the RTB features to it.
-snip-

You are aware that adding the Mod-Manager does come up with a error which spams console, and leaves you not being able to do anything?
I had the same problem and i just scrapped that line of code.

Repeated Lines:
Code: [Select]
Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs (8004): Unable to find object: '0' attempting to call function 'readLine'
BackTrace: ->GameConnection::OpenModManager->Canvas::pushDialog->GuiCanvas::pushDialog->RTB_ModManager::onWake->FileCache::Refresh->FileCache::addPath


Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs (8010): Unable to find object: '0' attempting to call function 'isEOF'

With Trace (Initial):
Code: [Select]
Entering armor::onTrigger(981, 10632, 0, 1)
   Entering Player::activateStuff(10632)
      Entering [RotSetTransformOverwrite]fxDTSBrick::onactivate(12466, 10632, 9258, 43.9009 -48.8907 0.6, 0.76593 -0.324928 -0.554773)
         Entering fxDTSBrick::onactivate(12466, 10632, 9258, 43.9009 -48.8907 0.6, 0.76593 -0.324928 -0.554773)
            Entering getMiniGameFromObject(9258)
            Leaving getMiniGameFromObject() - return 10631
            Entering SimObject::processInputEvent(12466, OnActivate, 9258)
               Entering getQuotaObjectFromClient(9258)
                  Entering getQuotaObjectFromBrickGroup(9260)
                     Entering verifyQuotaNumber(300, 10, 1000, 50)
                     Leaving verifyQuotaNumber() - return 300
                     Entering verifyQuotaNumber(300, 10, 9999, 100)
                     Leaving verifyQuotaNumber() - return 300
                     Entering verifyQuotaNumber(50, 5, 1000, 25)
                     Leaving verifyQuotaNumber() - return 50
                     Entering verifyQuotaNumber(50, 5, 1000, 25)
                     Leaving verifyQuotaNumber() - return 50
                     Entering verifyQuotaNumber(500, 20, 5000, 100)
                     Leaving verifyQuotaNumber() - return 500
                     Entering verifyQuotaNumber(64, 0, 500, 10)
                     Leaving verifyQuotaNumber() - return 64
                     Entering verifyQuotaNumber(20, 0, 200, 5)
                     Leaving verifyQuotaNumber() - return 20
                  Leaving getQuotaObjectFromBrickGroup() - return 12504
               Leaving getQuotaObjectFromClient() - return 12504
               Entering inputEvent_GetTargetClass(fxDTSBrick, 0, 2)
               Leaving inputEvent_GetTargetClass() - return GameConnection
               Entering outputEvent_GetNumParametersFromIdx(GameConnection, 17)
               Leaving outputEvent_GetNumParametersFromIdx() - return 0
            Leaving SimObject::processInputEvent() - return 12466
         Leaving fxDTSBrick::onactivate() - return 12466
      Leaving [RotSetTransformOverwrite]fxDTSBrick::onactivate() - return 12466
   Leaving Player::activateStuff() - return 12466
Leaving armor::onTrigger() - return 12466
Entering GameConnection::OpenModManager(9258)
   Entering [RTBC_IRCClient]Canvas::pushDialog(Canvas, RTB_ModManager)
      Entering [CanvasCursor]GuiCanvas::pushDialog(Canvas, RTB_ModManager)
         Entering RTB_ModManager::onWake()
            Entering RTBMM_Zones_CheckButtons()
            Leaving RTBMM_Zones_CheckButtons() - return
            Entering RTBMM_Auth_Init()
               Entering RTBMM_SendRequest(AUTH, 2)
                  Entering RTB_Switchboard::placeCall(RTB_SB_MM, 2, AUTH, ^^^^^^^^^^)
                     Entering RTB_Switchboard::getLineSocket(RTB_SB_MM, 2)
                     Leaving RTB_Switchboard::getLineSocket() - return 6022
                     Entering RTB_Switchboard::getLineSocket(RTB_SB_MM, 2)
                     Leaving RTB_Switchboard::getLineSocket() - return 6022
                     Entering RTB_Switchboard::getLineSocket(RTB_SB_MM, 2)
                     Leaving RTB_Switchboard::getLineSocket() - return 6022
                     Entering RTB_CallQueue::push(6023, AUTH, ^^^^^^^^^^)
                        Entering TCPObject::plug(6022, AUTH, ^^^^^^^^^^)
                           Entering TCPObject::activateLine(6022)
                           Leaving TCPObject::activateLine() - return
                        Leaving TCPObject::plug() - return
                     Leaving RTB_CallQueue::push() - return
                  Leaving RTB_Switchboard::placeCall() - return
               Leaving RTBMM_SendRequest() - return
            Leaving RTBMM_Auth_Init() - return
            Entering RTBMM_Zones_Refresh()
            Leaving RTBMM_Zones_Refresh() - return RTBMM_ZoneTracker
            Entering RTBMM_NewsFeedView_Init()
               Entering RTBMM_GUI_Load()
                  Entering RTBMM_GUI_Init()
                  Leaving RTBMM_GUI_Init() - return
                  Entering RTBMM_GUI_PushControl(12506)
                  Leaving RTBMM_GUI_PushControl() - return
               Leaving RTBMM_GUI_Load() - return
               Entering RTBMM_SendRequest(GETNEWS, 1, , )
                  Entering RTB_Switchboard::placeCall(RTB_SB_MM, 1, GETNEWS, ^^^^^^^^^^)
                     Entering RTB_Switchboard::getLineSocket(RTB_SB_MM, 1)
                     Leaving RTB_Switchboard::getLineSocket() - return 6020
                     Entering RTB_Switchboard::getLineSocket(RTB_SB_MM, 1)
                     Leaving RTB_Switchboard::getLineSocket() - return 6020
                     Entering RTB_Switchboard::getLineSocket(RTB_SB_MM, 1)
                     Leaving RTB_Switchboard::getLineSocket() - return 6020
                     Entering TCPObject::neutralise(6020)
                     Leaving TCPObject::neutralise() - return
                     Entering RTB_Switchboard::getLineSocket(RTB_SB_MM, 1)
                     Leaving RTB_Switchboard::getLineSocket() - return 6020
                     Entering TCPObject::plug(6020, GETNEWS, ^^^^^^^^^^)
                        Entering TCPObject::activateLine(6020)
                        Leaving TCPObject::activateLine() - return
                     Leaving TCPObject::plug() - return
                  Leaving RTB_Switchboard::placeCall() - return
               Leaving RTBMM_SendRequest() - return
               Entering RTBMM_Zones_Track(NewsFeedView, RTBMM_NewsFeedView_Init();, RTBMM_NewsFeedView_Init(%%page%%);)
                  Entering RTBMM_Zones_CheckButtons()
                  Leaving RTBMM_Zones_CheckButtons() - return
               Leaving RTBMM_Zones_Track() - return
            Leaving RTBMM_NewsFeedView_Init() - return
            Entering FileCache::Refresh(RTBMM_FileCache)
               Entering FileCache::addPath(RTBMM_FileCache, Add-Ons/Weapon_Tsunami.zip)
                  Entering FileCache::exists(RTBMM_FileCache, Add-Ons/Weapon_Tsunami.zip)
                  Leaving FileCache::exists() - return 0
                  Entering clientIsValidAddOn(Weapon_Tsunami, 1)
                  Leaving clientIsValidAddOn() - return 1
               Leaving FileCache::addPath() - return 12512
               Entering FileCache::addPath(RTBMM_FileCache, Add-Ons/Weapon_TommyGun.zip)
                  Entering FileCache::exists(RTBMM_FileCache, Add-Ons/Weapon_TommyGun.zip)
                  Leaving FileCache::exists() - return 0
                  Entering clientIsValidAddOn(Weapon_TommyGun, 1)
                  Leaving clientIsValidAddOn() - return 1
               Leaving FileCache::addPath() - return 12515
               Entering FileCache::addPath(RTBMM_FileCache, Add-Ons/Weapon_TimedBomb.zip)
                  Entering FileCache::exists(RTBMM_FileCache, Add-Ons/Weapon_TimedBomb.zip)
                  Leaving FileCache::exists() - return 0
                  Entering clientIsValidAddOn(Weapon_TimedBomb, 1)
                  Leaving clientIsValidAddOn() - return 1
               Leaving FileCache::addPath() - return 12518

In which it carries on through all my add-ons until...
Code: [Select]
BackTrace: ->GameConnection::OpenModManager->Canvas::pushDialog->GuiCanvas::pushDialog->RTB_ModManager::onWake->FileCache::Refresh->FileCache::addPath


Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs (8004): Unable to find object: '0' attempting to call function 'readLine'
BackTrace: ->GameConnection::OpenModManager->Canvas::pushDialog->GuiCanvas::pushDialog->RTB_ModManager::onWake->FileCache::Refresh->FileCache::addPath


Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs (8010): Unable to find object: '0' attempting to call function 'isEOF'
BackTrace: ->GameConnection::OpenModManager->Canvas::pushDialog->GuiCanvas::pushDialog->RTB_ModManager::onWake->FileCache::Refresh->FileCache::addPath


Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs (8004): Unable to find object: '0' attempting to call function 'readLine'
BackTrace: ->GameConnection::OpenModManager->Canvas::pushDialog->GuiCanvas::pushDialog->RTB_ModManager::onWake->FileCache::Refresh->FileCache::addPath


Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs (8010): Unable to find object: '0' attempting to call function 'isEOF'
BackTrace: ->GameConnection::OpenModManager->Canvas::pushDialog->GuiCanvas::pushDialog->RTB_ModManager::onWake->FileCache::Refresh->FileCache::addPath

Last Addon:
Code: [Select]
Entering FileCache::addPath(RTBMM_FileCache, Add-Ons/Print_1x1f_Coins.zip)
                  Entering FileCache::exists(RTBMM_FileCache, Add-Ons/Print_1x1f_Coins.zip)
                  Leaving FileCache::exists() - return 0
                  Entering clientIsValidAddOn(Print_1x1f_Coins, 1)
                  Leaving clientIsValidAddOn() - return 1
               Leaving FileCache::addPath() - return 13339
               Entering FileCache::addPath(RTBMM_FileCache, Add-Ons/Print_1x1f_Bloxland.zip)
                  Entering FileCache::exists(RTBMM_FileCache, Add-Ons/Print_1x1f_Bloxland.zip)
                  Leaving FileCache::exists() - return 0
                  
                  Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs (8001): Unable to find object: '0' attempting to call function 'openForRead'
                  BackTrace: ->GameConnection::OpenModManager->Canvas::pushDialog->GuiCanvas::pushDialog->RTB_ModManager::onWake->FileCache::Refresh->FileCache::addPath
In which it carries on.

Unless you feel like fixing that, then it would be a good idea to remove, or not to use, the Mod_Manager Event...

NinjaEdit: The reason why JVS isn't working is because it's getting executed twice, like every other addon. The only reason why it is different with JVS, is that it disables itself upon an error of that kind.



(This isn't the JVS error, however it's something which made me realise)
« Last Edit: March 30, 2010, 06:27:43 AM by Frost_Sabre »

You are aware that adding the Mod-Manager does come up with a error which spams console, and leaves you not being able to do anything?
I had the same problem and i just scrapped that line of code.

-snip-

Unless you feel like fixing that, then it would be a good idea to remove, or not to use, the Mod_Manager Event...
This does not happen for me, and it sounds like something is wrong on your side. All the event does is open the mod manager, just like the main menu would do. Try reinstalling RTB or checking for defective add-ons.
The reason why JVS isn't working is because it's getting executed twice, like every other addon. The only reason why it is different with JVS, is that it disables itself upon an error of that kind.
I'm going to look more closely into this and see if I can prevent it. This isn't just the hub's doing, it would happen anyway if it was your second server you are hosting.

(This isn't the JVS error, however it's something which made me realise)
That's not a major error, it's just stating that the prefs have already been registered.

it sounds like something is wrong on your side... -snip- ... checking for defective add-ons...
Oh crap. I probably missed a few corrupted Add-ons, unless Mod-Manager doesn't like CRCed Add-ons? Any information on that?

I'm going to look more closely into this and see if I can prevent it. This isn't just the hub's doing, it would happen anyway if it was your second server you are hosting.That's not a major error, it's just stating that the prefs have already been registered.

Its the reason why JVS isn't working.
Line 753: if(%this.isNameUnique($JVS::Content::Type::uiName) && %parse == 1)

The line has already been declared (due to being ran twice) and therefore goes into the else command,  and does not execute.

Instead of fixing JVS, wouldn't keeping the add-ons from being executed twice be the real solution?

Good luck with the add-on, I like the idea.

This is not to beat you or steal your thunder in any way, but I fixed up the hub to be less buggy and added the RTB features to it. Blockland shouldn't take as long to start up (not including starting the server) and hosting a server from the hub has been fixed. Here is the link:
Client_Hub.zip

I also added a button right above "Disconnect" that says "Go To Hub", so you may go straight there. If you are hosting a server, it prompts you like clicking the disconnect button would.

I actually deleted the files where the scripts were, but it wasn't too hard either. Nice.

Instead of fixing JVS, wouldn't keeping the add-ons from being executed twice be the real solution?

Good luck with the add-on, I like the idea.
Wait, do the add-ons load twice going into the hub? Or just generally from starting a server from the hub?

I'm going to look more closely into this and see if I can prevent it. This isn't just the hub's doing, it would happen anyway if it was your second server you are hosting.
JVS is fixed for me with your update.