Allan Posted June 11 Author Report Share Posted June 11 Ok, I think there are like 3 or 4 buildings with particles so it would be ok. Thank you for helping me with these particles, such a pleasure to interact with you ! Now we are finishing the details to release the project this week Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 11 Report Share Posted June 11 4 minutes ago, Allan said: Ok, I think there are like 3 or 4 buildings with particles so it would be ok. Thank you for helping me with these particles, such a pleasure to interact with you ! Now we are finishing the details to release the project this week Let us know how it goes! Do not hesitate to share photos and videos of the event 1 Quote Link to comment Share on other sites More sharing options...
Allan Posted June 11 Author Report Share Posted June 11 I tested with particles enabled in multiplayer but the game crashes, and we are sure that the particles are the problem because we deleted them and it worked. Do you have an idea of what can cause this ? Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 11 Report Share Posted June 11 4 hours ago, Allan said: I tested with particles enabled in multiplayer but the game crashes, and we are sure that the particles are the problem because we deleted them and it worked. Do you have an idea of what can cause this ? Do you have the exact same version of the mod ? Maybe you can add some logging so you can see when it crashes precisely. Quote Link to comment Share on other sites More sharing options...
Allan Posted June 11 Author Report Share Posted June 11 Yes we had all the same. When I deleted all the ParticlePlayerColor files it worked, maybe it crashes because of the cmpPlayer in the function Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 11 Report Share Posted June 11 1 hour ago, Allan said: Yes we had all the same. When I deleted all the ParticlePlayerColor files it worked, maybe it crashes because of the cmpPlayer in the function When it crashes is there anything in the interestinglog.html file ? Quote Link to comment Share on other sites More sharing options...
Allan Posted June 11 Author Report Share Posted June 11 It says this : ERROR: Cannot serialise JS objects of type 'function': (unnamed) ERROR: Script component ParticlePlayerColor of entity 1643 failed to serialize: Serialize_InvalidScriptValue Serializing: ({TimerTick:(function() { this.UpdateColor(); })}) Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 12 Report Share Posted June 12 9 hours ago, Allan said: It says this : ERROR: Cannot serialise JS objects of type 'function': (unnamed) ERROR: Script component ParticlePlayerColor of entity 1643 failed to serialize: Serialize_InvalidScriptValue Serializing: ({TimerTick:(function() { this.UpdateColor(); })}) Hmm it's the timer that's breaking it, is the git repo up to date ? It fails to serialize a function while it shouldn't have to do that. Quote Link to comment Share on other sites More sharing options...
Allan Posted June 12 Author Report Share Posted June 12 48 minutes ago, Stan` said: is the git repo up to date ? Yes it is now Quote Link to comment Share on other sites More sharing options...
Allan Posted June 12 Author Report Share Posted June 12 3 hours ago, Stan` said: It fails to serialize a function while it shouldn't have to do that. To be honest I don't understand this concept, like how a simple timer crash the game ? It makes no sense Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 12 Report Share Posted June 12 3 hours ago, Allan said: To be honest I don't understand this concept, like how a simple timer crash the game ? It makes no sense I pushed a fix for it. The game serializes all the javascript components, and in your case: TimerTick = function() { this.UpdateColor(); }; Should have been: TimerTick() { this.UpdateColor(); }; 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.