Cyrix Posted March 19, 2013 Posted March 19, 2013 (edited) I need help to Check if the player is in select characters screen or logged in loginserver [Notice]: Authentication accepted (account: xxxxxx, id: 2000000, ip: 127.0.0.1) [status]: Connection of the account xxxxxxx' accepted. If yes, then sql query in source record into some table, values 0 or 1 1 = logged in (login server) 0 = not logged in (login server) thanks Edited March 20, 2013 by Cyrix Quote
Brian Posted March 19, 2013 Posted March 19, 2013 You can use getmapxy to get the location of both players. Then do 2 checks: 1) if both players are on the same map 2) AND if distance is less than getbattleflag("area_size") --> then this means both players are on the same screen. Quote
Question
Cyrix
I need help to Check if the player is in select characters screen or logged in loginserver
If yes, then sql query in source record into some table, values 0 or 1
1 = logged in (login server)
0 = not logged in (login server)
thanks
Edited by Cyrix1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.