try removeaboveCode:c.actionTimer = 4;
Code:if(c.actionTimer > 0) {
|
try removeaboveCode:c.actionTimer = 4;
Code:if(c.actionTimer > 0) {
Awh Cmon arch setting something to 4 then returning if its above 0 seems like great fun to me
if that do not make any sense, then please stop program.
Basically your setting a action timer to 4 then right after your adding a check if that action timer is more then 4, your code straight under will go to the "return;" which stops the code there.
Since that is not working is your "c.actionTimer" even being removed or is this void even being called anywhere?
A wise choice here would be to check if the packet is correct send, if the void is being sended etc. Can you do that you believe?
Easy its quite simple you set the variable to 4, then below have a return statement checking if its anything greater then 0 , 4 will always be greater then 0, so your returning, and not doing the rest of the code.
if(c.actionTimer > 0){
return;
}
is your issue, think carefully the fix is easy.
I fixed this issue in my project aeolus check that out. iirc its because the clickobject in the clickobject packet was not getting set to 0; therefore your method firstClickObject doesn't work.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |