Author Topic: [Solved] Messaging Planting Errors  (Read 617 times)

How do you tell a client that their having a planting error? I've traced it but I still haven't found a way to successfully replicate a planting error. All I really need is to get the right error message to pop up on their screen. Also, the fxDTSBrick.plant(); returns 0 for the Too Far and Limit errors for some reason, is there any way to correct it?

On a note unrelated to coding... I can't get the Flood error to pop up. And when does the Too Loud error pop up?
« Last Edit: July 20, 2013, 03:13:17 PM by jes00 »

messageClient(%cl, 'MsgPlantError_Overlap'); replicates the Overlap error IIRC. The others are all their respective error names.

On a note unrelated to coding... I can't get the Flood error to pop up. And when does the Too Loud error pop up?

I think Flood was taken out and now the game just silently fails to plant bricks if you try to build too fast. The Too Loud error hasn't been shown since Baddy made music bricks able to be close together but I think you can still show the error through code.

I believe flood is still in the game because the duplicator uses it if you try to duplicate too fast

Code: [Select]
messageClient(%client,'MsgPlantError_Flood');