Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
-
Armadyl5
- Superfighter

- Posts: 119
- Joined: Sun Mar 20, 2016 9:50 am
- Started SFD: 1.2.1
- Gender:
- Age: 27
Post
by Armadyl5 » Fri Jul 08, 2016 10:47 pm
In my Newest Script , Dynamo , I Noticed a Weird Bug That I Couldn't Really Track It's Source , Here is The Script : http://sfdmaps.at.ua/load/scripts/small ... 9-1-0-1829
So , There is Something in the Script That Suddenly "Disables" The Script , just like when you Type "/StopScript Dynamo" , But it just stops suddenly , without any commands , or a message telling me it was stopped , The Reason why i think this is a bug and not just an error in my script , is that Another Script Was Disabled Too , I had Uberkick (By Chelog) Activated at the same time , And It was Also Weirdly Disabled with dynamo .
my guess is that it's the process of changing the state of objects , however , i will leave it to you to solve this weird bug 
0 x
Never Surrender !
Always Fight For Your Rights , and Don't Let Your Friends Down .
-
Gurt
- Lead Programmer

- Posts: 1887
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 36
Post
by Gurt » Wed Jul 13, 2016 5:16 pm
A very simple explanation is that both your script utilizes a timer that's created in the world at 0,0. If you in your Dynamo script happens to make the timer tile dynamic (by punching at the 0,0 coordinate in the map) any timer created there (including Uberkick's timer) will fall through the world and be removed and no longer trigger your update function.
I'm looking to add a callback function each X ms from script only to avoid these kind of problems so you don't have to utilize a timer. But don't hold your breath for that yet. Meanwhile I suggest you place your timer "out of reach" like -999 in Y up in the air.
2 x
Gurt