Cyrix Posted March 19, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 150 Reputation: 13 Joined: 02/16/12 Last Seen: April 10, 2023 Share 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 Link to comment Share on other sites More sharing options...
Brian Posted March 19, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
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 CyrixLink to comment
Share on other sites
1 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.