www.ClassicTW.com
https://mail.black-squirrel.com/

SysOP Script - T-EditShipHaggle (concept script)
https://mail.black-squirrel.com/viewtopic.php?f=15&t=32324
Page 1 of 1

Author:  Promethius [ Sun Sep 25, 2011 11:26 pm ]
Post subject:  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

Author:  T0yman [ Mon Sep 26, 2011 2:27 pm ]
Post subject:  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

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