
Originally Posted by
Brandon
Check your Repeat Loop.. I do not see the WaitTime Variable Declared anywhere so if it's 0 then your loop gets parsed ones and program terminates the loop. Continues to repeat all the checking over and over.
You mean the WaitTime?
Simba Code:
WaitTime := StrToInt(GetNumbers(WaitTimeString));
U is declared on top of the script but it is indeed not declared in any of these procedures. There is actually no longer a use that it is declared on top so I'll declare U in the KickedFailsafe procedure.
The WaitTime is also declared on top, but that is because I use it in another procedure. WaitTime does only get declared if it detects the text that means the player has been kicked. And it only waits until U > WaitTime if it has been kicked. Weird, well I'll declare the U in a procedure.
Any other tips? Ideas?
EDIT: Fixed it.. forgot to do WaitTime*60000 so it was just waiting 1-10 milli seconds every time which got everything parsed.
Simba Code:
My position is x: 39835 y: 3071
We are walking to the Wizards at the east side
We have joined a team
We have joined a team
We have joined a team
We haven`t been kicked! Succesful mainloop.
My position is x: 39835 y: 3063
We are walking to the Wizards at the east side
We have been kicked
We have been kicked
My position is x: 39863 y: 3047
We are walking to the Wizards at the east side
The teams are full
The teams are full
The teams are full
The teams are full
The teams are full
The teams are full
The teams are full
The teams are full
The teams are full
The teams are full
We have joined a team
We have joined a team
We haven`t been kicked! Succesful mainloop.
My position is x: 39831 y: 3063
We are walking to the Wizards at the east side
We have been kicked
We have been kicked
We have been kicked
We have been kicked..
We have been kicked
We have been kicked
We have been kicked
We have been kicked, waiting until we can start again.
Y o u l e f t t h e l a s tn egwa mg ae mb ee ff oo rr e 9 i tmei nn du et ed s. . Y o u c a n . t j o i n a
We have been kicked etc. is there multiple times because of some loops but it does wait until the waiting time for kicked is over!