View unanswered posts | View active topics It is currently Thu Apr 30, 2026 1:17 am



Reply to topic  [ 2 posts ] 
 Safety, Security, And Anti - Spoof 
Author Message
Gameop
User avatar

Joined: Tue Nov 19, 2002 3:00 am
Posts: 1050
Location: USA
Unread post 
For Those that see my other post on vulcan I applogise but I wanted to hit as many scripters as possible.

*Original Message*
Safety: What are some of other scripters approach's to preventing blind twarps, etc without useing a settextlinetrigger?

Security: I know EP uses some form of security to prevent people useing his script past a time he determines. My question is as follows what do others use? And is it as simple as setting a date/time variable and haveing the script referance it on load?

Anti-Spoof: I have seen it mentioned people useing CURRENTANSILINE is a good anti spoof technique? Is that due to in ability without a script to broadcast ansi lines? What other techniques work well outside of that? Ive considered setting textlinetriggers for F and P but I assume thats to universal.

As I'm about halfway through my alpha these concerns are starting to arise as my final objective is to realease a fairly stable version of the script I'm working on while keeping a advanced version to give to corpies that will "Self destruct" i.e. not work

-Kaus
-=-It is also my objective to learn as much as possible for when i move onto more advanced scripts allowing myself the ability to not spend hours on one command lol

Code:
#----------------------Planet Toggle-----------------------------
SetVar $PlanetIndex 1
##Blah Blah Blah Other Code
:Type
if ($PlanetIndex = $PlanetCount)
  SetVar $PlanetIndex 1
else
  add $PlanetIndex 1
end
Gosub :SetMenu

:SetMenu
setMenuValue "Type" $planets[$PlanetIndex]
return 


Yes that took me over a hour to figure out how to make a multi toggle.. lol

_________________
Dark Dominion TWGS
Telnet://twgs.darkworlds.org:23
ICQ#31380757, -=English 101 pwns me=-
"This one claims to have been playing since 1993 and didn't know upgrading a port would raise his alignment."


Sun Oct 08, 2006 2:41 am
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post 
Preventing blind warps WITHOUT a settexttrigger?

Only way I know of, which is something I do... a little, is to update figs at the start of the app and keep a running figlist. This is dangerous however as there are numerous times where the fig can get taken out before you get the hit message, sending you on a trip to fuseland. This is one of the biggest advantages to pwarp-based scripts, you can macro everything.

EP does the expiration to keep people using the most current version. Lots of reasons for that. When I do it it's usually to make sure the script doesn't get passed around outside my control. If I find that new updates are getting passed out just track down from whom.

As for doing all that, yea, it's as simple as getting the system time, stardock value, whatever else and checking it. I got a little include routine, change it and recompile the script. Pretty easy.

Anti-spoof... TWGS filters any non-printable character from the input. So you can't send escape sequences via comms, atleast... to the best of my knowledge. I've never found a way. Easiest anti-spoof is just to check the first word against what it should be. Since 99% of the spoof attempts are w/ comms, beacons, planets, etc. Only problem there would be player name(s) and stuff that is sent thru the first line. There are a few other areas where this can fail, but they're pretty obvious as you write them.

If you want to lock down the rest of the spoof attempts:
http://tw-cabal.com/strategy/twxansitricks.html

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Sun Oct 08, 2006 4:53 am
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.