Author Topic: Gamemode won't finish loading  (Read 1742 times)

Hello recently I have tried making a gamemode, and from what I can tell I did everything right. I have all the addons I wan't, all the environment files work, have my save, there are no issues before I launch the gamemode. However when the object loading bar is at the end I never get put in the game. The console just says

WARNING: could not find item datablock for uiname ""
WARNING: could not find datablock for event ChangeDataBlock -> PlayerSportArmor
WARNING: could not find datablock for event ChangeDataBlock -> PlayerSportArmor
WARNING: could not find item datablock for uiname "

I looked and I cound not find an addon called "PlayerSportArmor" in the gamemode file at all. I've attached my console log in case the problem is something different

Okay.

1 & 4 There's some item that's enabled on your server that tries to show up in the user interface but doesn't have an actual script foundation for it.

2 & 3. Some event on some brick in your save has ChangeDatablock > Sport Player but the playertype has not been loaded.

I wouldn't think these would actually stall your loading, though. I feel like some script enabled has disturbed the member function "GameConnection::onClientEnterGame", possibly trying to edit it unpackaged. Could you please give us your gamemode.txt file and any other scripts to check?

Alright. I'll give you them when I get home.

The recent Blockland update (r1808) broke Slayer in cases like this. You can download the patch here: http://greekmods.webs.com/mods/Gamemode_Slayer/Downloads/release_Beta/Gamemode_Slayer.zip

Okay.

1 & 4 There's some item that's enabled on your server that tries to show up in the user interface but doesn't have an actual script foundation for it.

2 & 3. Some event on some brick in your save has ChangeDatablock > Sport Player but the playertype has not been loaded.

I wouldn't think these would actually stall your loading, though. I feel like some script enabled has disturbed the member function "GameConnection::onClientEnterGame", possibly trying to edit it unpackaged. Could you please give us your gamemode.txt file and any other scripts to check?

How would I enable a sport player when it won't show up in my addons?

The recent Blockland update (r1808) broke Slayer in cases like this. You can download the patch here: http://greekmods.webs.com/mods/Gamemode_Slayer/Downloads/release_Beta/Gamemode_Slayer.zip

Thanks but now it won't use my preset slayer favorite. I get my slayer fav1.cs, rename it to config_slayer.cs, put it in my addons. But it doesn't load it.

Thanks but now it won't use my preset slayer favorite. I get my slayer fav1.cs, rename it to config_slayer.cs, put it in my addons. But it doesn't load it.
That's because favorites files are client-sided - you need the server config file. Please read here for using Slayer with the new Game Mode system.

Thanks. But how do I enable sport player? It isn't in my add-ons folder.

Wait now I have another problem. You can't pick up the flag in slayer for some reason.

Can anyone help me with this?

Alright I solved the issues but now vehicles are invisible or something. I hit the spawn of a jeep it blew up (Became visible when it exploded) And they respawned.

Alright I solved the issues but now vehicles are invisible or something. I hit the spawn of a jeep it blew up (Became visible when it exploded) And they respawned.
What do you mean like when you first spawn the vehicles they are invisible?

What do you mean like when you first spawn the vehicles they are invisible?

Yes but it's only the blue teams vehicles. When I shoot them even once they appear.

Sounds like your client just hasn't rendered them.