Author Topic: 2012/08/10 - Bugs  (Read 182661 times)

I can't change the controls for turning my player light on/off (I forget what it's called when you change the controls).
Is this an issue or is it meant to be this way?

I seem to have another problem..

onServerCreated doesn't seem to be called. Is there a function that will be called whenever the server starts? (any type of server- singleplayer, lan, dedi, normal)

Um, when the add-on is executed. lol

It needs to be executed after all add-ons are loaded.

It needs to be executed after all add-ons are loaded.
Look in ZAPT, Iban put something in there that stalls ZAPT if TDM is enabled, you might be able to do something similar.

Look in ZAPT, Iban put something in there that stalls ZAPT if TDM is enabled, you might be able to do something similar.
I'll check it out.

I used to use the createMusicDatablocks function, but that stopped functioning consistently after v21.

It needs to be executed after all add-ons are loaded.
Code: [Select]
function slayer_init() {
    error("All add-ons are loaded.");
}

schedule(0, 0, slayer_init);

Aha, found the function I was looking for: onMissionLoaded

Mystery Issues / Unknown Cause
  • Repeated console spam of "LightManager::uninstallGLLights: no lights installed!" - Cause unknown, full console log or duplication case would be helpful

Here is my full log attached

Here is my full log attached
I really wish it would get fixed :(


Mystery Issues / Unknown Cause
  • Repeated console spam of "LightManager::uninstallGLLights: no lights installed!" - Cause unknown, full console log or duplication case would be helpful

I just did a lot of testing and this occurs whenever an emitter is played.



Quote
Packages are not deactivated properly in some cases when switching gamemodes.  Example: if you start a custom game with duplicator then switch gamemodes to freebuild, you will get "Add-Ons/Tool_Duplicator/server.cs (512): Unknown command messageClient" console error spam and when you respawn the "Click to respawn" will stay on the screen.  I believe this is caused by some forgetup internal to the scripting engine.
This bug also prevents packaged functions from working sometimes. For example, my mod uses destroyServer for cleanup stuff, but my packaged function isn't always called.
« Last Edit: August 13, 2012, 08:23:04 PM by Greek2me »

I just did a lot of testing and this occurs whenever an emitter is played.


This bug also prevents packaged functions from working sometimes. For example, my mod uses destroyServer for cleanup stuff, but my packaged function isn't always called.
It also happens sometimes when the player chats, loads a build, places a brick, and more.
Also I found something:
The Brick Plant Sound Does Not Play.

It also happens sometimes when the player chats, loads a build, places a brick, and more.

Yes, because all of those involve emitters. Again,
this occurs whenever an emitter is played.

This bug also prevents packaged functions from working sometimes. For example, my mod uses destroyServer for cleanup stuff, but my packaged function isn't always called.
I managed to fix this. All you have to do is deactivate/reactivate the package.