mob |
it makes it to sample_report, CheckA, Ponline, and Save, but for some reason no matter what i do it will not call rboot2 and spreaddb, can anyone help me out please?
ID:262200
Jan 11 2005, 6:48 pm
|
||
what i'm trying to do here is call these certain procs when the frst mob logs in
it makes it to sample_report, CheckA, Ponline, and Save, but for some reason no matter what i do it will not call rboot2 and spreaddb, can anyone help me out please? | ||
Another error I see is your SpreadDB() proc. It'll scatter all the db's in the world to the same location since you defined it only once (before the for loop). You should call the new x and y loc on before each dragonball is spread.
To save CPU on login, you don't need to call the Save() proc. Saving on Login is useless, it'd be better on Logout()
As for your question on why the Rboot2 and SpreadDB is not being called, try changing the the if statement to Playerso is greater or equal to 1 or this. This is because if you have more than one players online (assuming the Playerso var is the players counter), it'll not reach that call with your current if statement.