www.ClassicTW.com
http://classictw.com/

Anti-spoofing subroutine
http://classictw.com/viewtopic.php?f=15&t=34865
Page 1 of 1

Author:  Adept [ Tue May 17, 2016 9:26 am ]
Post subject:  Anti-spoofing subroutine

A lightweight (and should be a bulletproof) subroutine to deny spoof attempts using a Boolean variable that is intended to be wrapped around your triggered routine; this version only works with ANSI set to on.

Attachment:
File comment: SureFire -- Anti-spoofing subroutine for TWX.
surefire.ts [1.4 KiB]
Downloaded 665 times


ETA:

* I will be updating this to account for mail, beacons, ship names, planet names, port names and log announcements (I am not sure if it will be feasible to also include player names?)

Author:  Adept [ Tue Jun 14, 2016 1:24 am ]
Post subject:  Re: Anti-spoofing subroutine

Just a small update, there is an apparent issue with ANSI variations so I have removed the questionable escape codes, just retaining the constant portion.

Attachment:
surefire.ts [1.37 KiB]
Downloaded 662 times

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/