Everything posted by Bythex
-
Freezing Issue
It's about time. What was the problem?
-
Joke App (Apple - Coming Soon)
Objective C, what do you think lol.
-
Website Migrated to New Host!
Great, thanks.
-
Phaser System
return stops the whole loop which stops the thread, if you want me to take a picture of me testing this than I could go ahead.
-
Phaser System
You're stopping the thread from running ever again unless you're restarting it constantly .. lol
-
Phaser System
return stops the whole method from continuing lol, I think you meant to use continue ... even in a loop it will stop
-
Phaser System
My comment was pointing out how you synchronize an object that has methods that synchronizes for you yes because this piece of code if (phasers.isEmpty()) return; will permit you to run a task again after the first time lol, does anyone even really test this type of stuff ?
-
Runescape - HTML5 > Java
HTML5 introduces new things for Jagex to work with since it is a pretty recent language + they're finally moving away from a client build that has just been update revision after revision lol. You could just imagine how hard it is to work with it now
-
Paint editor for detailed bot development
Script paints ?
-
Paint editor for detailed bot development
Wait, the purpose of this is to be an editor?
-
Phaser System
Why do you call the actual remove method inside that loop for? That will just throw a modification error on the next loop. Disregarding that, you won't be able to add another inner class inside the phaser if you were to attempt on adding another timed event like that lol private List<Phaser> phasers = Collections.synchronizedList(new LinkedList<Phaser>()); public synchronized List<Phaser> getPhasers() { return phasers; } What's the point of synchronizing a list that has methods that are all synchronized lol Also, you should know that the main thread and this thread would go off sync if an event is added after which would delay some actions (would be better if you ran this off the main thread to prevent this), did you even think this code through? 0/10 would not use