bugs

Forum > Bugs > training
Reply To Thread (login)
Forever Unknown [53]
2011-07-04 00:10:10
[13 years, 145 days ago]

as i'm training, when i click on train again, it tells me that my bot is still battling and makes me wait a few seconds. it's been doing this at the end of every train, and never have an attack message or anything afterwards.


 
Ender [1]
Administrator
2011-07-04 00:33:27
[13 years, 145 days ago]

Hmm, I suspect this may be related to some changes I made to the battle code today.

I assume you're not using multiple windows/tabs or anything and just watching a battle go to completion, then clicking the link right away? And I assume the time you then have to wait on the next page is always small, like 0-3 seconds or so?


 
Forever Unknown [53]
2011-07-04 00:36:58
[13 years, 145 days ago]

noticed it's just in Firefox, my other bot in chrome isn't having the same problem, once i noticed it i tried it... and it's only like a five second wait, it's nothing major.


 
Ender [1]
Administrator
2011-07-04 00:39:01
[13 years, 145 days ago]

How often does it happen? I played around with it just now and wasn't able to reproduce it.


 
Forever Unknown [54]
2011-07-04 00:43:49
[13 years, 145 days ago]

it's happening everytime for me on firefox at the moment unless i wait for 4-5 seconds


 
Ender [1]
Administrator
2011-07-04 00:49:29
[13 years, 145 days ago]

I just changed something. Is it still happening?


 
Forever Unknown [54]
2011-07-04 00:54:31
[13 years, 145 days ago]

it went from 4-5 seconds to a 2 second delay.


 
Ender [1]
Administrator
2011-07-04 01:00:18
[13 years, 145 days ago]

Hmm, well thanks for the info.

Emanuel, when you see this, it's almost definitely the "catch up" code that we talked about yesterday, probably catching up too much for some reason. Any guesses? The magic is at the end of the showBattle() function.


 
Forum > Bugs > training
Reply To Thread (login)