View unanswered posts | View active topics It is currently Mon Apr 27, 2026 10:09 am



Reply to topic  [ 2 posts ] 
 SysOP Script - T-EditShipHaggle (concept script) 
Author Message
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post SysOP Script - T-EditShipHaggle (concept script)
This is a concept script that allows users to haggle for their ships and then those ships be delivered to dock (blown or not).

Please NOTE: This is NOT a finished/debugged/optimized script and should not be used in an actual game. It is to show a concept and maybe let someone modify this or give them ideas on how to write their own version. This is a scary script in regard to no optimization being done - there are several things I would rewrite. Now why would I put this out in the wild in this condition - my computer is freezing up at weird times (yes, anti-virus ran/drivers reloaded/updated, no overheat), and I don't know how long it will last.

One bug I know of is that it will sometimes hang at the computer prompt after getting the ship catalog in-game. Prob a trigger.

So as a proof of concept only for testing:

Attachment:
File comment: Concept only. Not for an actual game.
t-editShipHaggle.ts [13.2 KiB]
Downloaded 375 times

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Sun Sep 25, 2011 11:26 pm
Profile ICQ
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: SysOP Script - T-EditShipHaggle (concept script)
I made a couple minor tweaks to some login stuff but so far I like this idea. Should be fun to try in a test game. Thanks

getConsoleInput $yn singlekey <- Singlekey :)

I am sure there is a better way but I added this so if at the wrong prompt it goes anyway.
send "?"
waitfor "("
getword CURRENTLINE $p_ck 4
if ($p_ck = "menu):")
send "e"
send $gameLetter
waitfor "Trade Wars 2002 Editor"
elseif ($p_ck = "Editor")
goto :gs
else
echo ANSI_15 "You are/were at the wrong prompt!"
end

:gs

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Mon Sep 26, 2011 2:27 pm
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 31 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.