There are a few triggers that have been tested through time that they work 100% and never bug. But after I implemented a rough bank system, stuff started to bug up. Some triggers that have never bugged before have started to not work.
My only clue is that there are tons of bank triggers in some of the triggers that are bugged.
What is attached is another problem: Stats values show up as ..., while if I use text tag as the medium to present the values, it's fine.
My overall suggestion is that you move bank operations out of the triggers into custom functions. Its a very nice way of organizing the code. This way you can also do what is called "unit testing" which basically means testing a small part of the code at a time. This way, new additions (like bankfiles) does not wreck what you have already done :)
I was struggling with the bank-system a while ago and moved into what I described above. I made a bankLoad(player), bankSave(player), bankUpdate(player) functions, which were called from the triggers.
Its hard to understand exactly what has gone wrong by reading your post. :)
There are a few triggers that have been tested through time that they work 100% and never bug. But after I implemented a rough bank system, stuff started to bug up. Some triggers that have never bugged before have started to not work.
My only clue is that there are tons of bank triggers in some of the triggers that are bugged.
What is attached is another problem: Stats values show up as ..., while if I use text tag as the medium to present the values, it's fine.
Member since 2010. Made the -The Thing- [Revival] game. Nostalgic of the WC3 days.
@Vicboy: Go
My overall suggestion is that you move bank operations out of the triggers into custom functions. Its a very nice way of organizing the code. This way you can also do what is called "unit testing" which basically means testing a small part of the code at a time. This way, new additions (like bankfiles) does not wreck what you have already done :)
I was struggling with the bank-system a while ago and moved into what I described above. I made a bankLoad(player), bankSave(player), bankUpdate(player) functions, which were called from the triggers.
Its hard to understand exactly what has gone wrong by reading your post. :)
@Monkalizer: Go
Are there hiccups with saving banks? That's what's happening with my triggers.
Member since 2010. Made the -The Thing- [Revival] game. Nostalgic of the WC3 days.