Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // guid is banned from the server
- if(substr($finalresponse, 0, 30) == "\xff\xff\xff\xfferror\x0aYou have been BANNED"){
- //you can echo something here to notify you of this
- }
- // server is running some kind of a mod
- substr($finalresponse, 0, 24) == "\xff\xff\xff\xffconnectResponse\x20mods"){
- //you can echo something here to notify you of this
- }
- // your ping is too high for the server
- substr($finalresponse, 0, 31) == "\xff\xff\xff\xfferror\x0aEXE_ERR_LOW_PING_ONLY"){
- //you can echo something here to notify you of this
- }
- // server has a password needed to connect, yours was invalid or not specified
- substr($finalresponse, 0, 30) == "\xff\xff\xff\xfferror\x0aGAME_INVALIDPASSWORD"){
- //you can echo something here to notify you of this
- }
- // your client's version in the connect string is different than the server's
- substr($finalresponse, 0, 37) == "\xff\xff\xff\xfferror\x0aEXE_SERVER_IS_DIFFERENT_VER"){
- //you can echo something here to notify you of this
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement