View unanswered posts | View active topics It is currently Wed May 13, 2026 7:32 am



Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
 Port messages 
Author Message
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
Ive collected these messages for my Status Window script.

Buy from port
-------------
(Sigh) Very well, pay up and take them away."
Agreed, and a pleasure doing business with you!"
Cheapskate. Here, take them and leave me alone."
I hate haggling, they're all yours."
I could have twice that much in the Androcan Empire, but they're yours."
I PAID more than that! But we'll sell them to you anyway."
SOLD! Come back anytime!"
Very well, we'll take that offer."
You are a shrewd trader, they're all yours."
You will put me out of business, I'll take your offer."

Sell to port
-------------
Agreed! We'll purchase them!"
Done, we'll take the lot."
FINE, we'll take them, just leave!"
If only more honest traders would port here, we'll take them though.
Oh well, maybe I can sell these to some other fool, we'll take them."
Very well, we'll buy them."
You are a rogue! We'll take them anyway."
You are robbing me, but we'll buy them anyway."
You drive a hard bargain, but we'll take them."
You insult my intelligence, but we'll buy them anyway."

Port Haggle
--------------
Get real ion-brain, make me a real offer."
HA! HA, ha hahahhah hehehe hhhohhohohohh! You choke me up!
I have much better things to do than waste my time. Try again."
Make a real offer or get the h*ll out of here!"
My patience grows short with you."
Quit playing around, you're wasting my time!"
So, you think I'm as stupid as you look? Make a real offer."
This is the big leagues Jr. Make a real offer."
WHAT?!@!? you must be crazy!"
What do you take me for, a fool? Make a real offer!"

Port Rejections
---------------
Nothing in this universe is free, my friend."
HA! You crack me up. Now get lost."

Well as you can see I am missing some port rejection messages and they are rather difficult to conjur up accept for the Nothing is free one. Does anyone have these? Perhaps someone who has access to the the TW source code could provide them.


Thu Dec 22, 2005 4:09 am
Profile ICQ YIM WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post 
Where's the hump day special? =)

_________________
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


Thu Dec 22, 2005 6:39 am
Profile ICQ WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
hmm...yeah your right. Well it didn't come up and i must have tried at least 100 times for each type of response to get as many as I could. Apparently that one is hard to come by, or maybee it really only comes up on hump day?


Thu Dec 22, 2005 4:36 pm
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 331
Location: USA
Unread post 
I wouldnt use those messages for any scripts! It is not good coding standards to hardcode that plus, you are forcing a tremendous amount of string comparisons and that slows the script. Faster scripts minimize string comparisions.
earth.

_________________
ATTAC TCP/IP Helper
http://www.tw-attac.com

TWXSync Server (realtime data synchronization)
http://www.tw-attac.com/twxsync.html


Thu Dec 22, 2005 5:25 pm
Profile ICQ WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
True true sir, and I have removed that idea from my head...but I still wonder what all the rest of the messages are.


Fri Dec 23, 2005 12:57 am
Profile ICQ YIM WWW
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
If you really want to know, you might want to hex strip out ASCII codes from the TWGS.EXE or whatever programs and see what text they have. Provided you know how to write an Hex stripper program or were to get one.

I used to write hex stripping programs in C language to check DOS based EXE files for viruses and trojans, because they usually had some sort of ASCII string in them that said something mean to the user before formatting a hard drive or something. I used it one time on an old Tradewars program to pull out what the grimy old trader said in the trader.dat file, which now is a trader.d8a file. I am not sure how well Delphi encodes strings now, but if Delphi does not encode strings, it might be possible to hex strip them out of the EXE files. I also used hex strippers to recover text from damaged word processing files that word processors refused to load, I saved the ASCII parts to a txt file and then let the user reformat it and change the font, so they didn't have to re-type documents. That was a long time ago in the early 1990's when I did those kind of things.

Perhaps I might recreate my work in Visual BASIC, strip out ASCII text, and then copy and past the starport haggle words into a forum here. I lost my confidence to do that sort of thing since 2002 when I lost my last job. I tried to write some Tradewars formulas in Visual BASIC and ANSI C, and I had some success, but I was discouraged when people in the forum here criticised me for asking questions about how Tradewars worked and how to figure out formulas. Graz, Arucard, and Galaxi and others helped me a bit, and I was going to turn the C code over to Earth. I had lost my confidence again in 2003-2004 and quit. Mental illnesses suck really hard, you know. Saps out all of my talents almost. I think I did post some code samples once on these forums, but they were nowhere near complete.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Fri Dec 23, 2005 2:06 am
Profile ICQ YIM WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
Hump day specials only occur on Wednesdays (game Wednesday, not real life Wednesday), and weekend specials only occur on Saturdays (game Saturdays as well).

+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Fri Dec 23, 2005 4:17 am
Profile WWW
Lieutenant J.G.

Joined: Sat Apr 10, 2004 2:00 am
Posts: 449
Location: USA
Unread post 
I'm really scared that you knew that EP...really really scared. You and Traitor need to stop talking to each other and spend some time apart.


Fri Dec 23, 2005 6:32 am
Profile ICQ YIM WWW
Lieutenant Commander
User avatar

Joined: Thu Mar 21, 2002 3:00 am
Posts: 890
Location: USA
Unread post 
Heh,
We usually limit our calls to each other to twice a week, but more often if we got some interesting scripts on the whiteboard. I was gonna reply to this one, but I can't think of any messages that need to be added. And I'm glad you found that you really don't need to track all of those messages. [:D]

_________________
http://tw-cabal.navhaz.com - THE TW info site

Man, I gotta quit showing up here...next thing you know i'll get dragged back in.


Fri Dec 23, 2005 8:24 am
Profile WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
Yeah, on the one hand, you're like, "Wow, HOW do they know that?" And on the other hand, you're like, "Wow, WHY do they know that?"

To PHX, I always trigger off of the credits line. But I actually trigger off of the "empty cargo holds." part of that line, grab the credits value, and compare to the starting credits in order to discern whether the trade was successful or not. That is more efficient than string comparisons, as earth pointed out.

Having said that though, this isn't a time-critical script. If parsing 50 strings takes 500ms vs. a calculation that takes 10ms, no biggie in this scenario. Do what makes sense for you, and ask if you want to learn a better, more efficient method. You know we'll all jump at the chance to answer a scripting question. [;)]

+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Fri Dec 23, 2005 5:54 pm
Profile WWW
Commander

Joined: Thu Feb 20, 2003 3:00 am
Posts: 1529
Location: USA
Unread post 
However, if every trade attempt is taking 500ms, you're going to be a lot more vulnerable than the guy who only takes 10 ms.


Fri Dec 23, 2005 8:06 pm
Profile ICQ
Commander

Joined: Tue Mar 26, 2002 3:00 am
Posts: 1416
Location: Canada
Unread post 
Is there a way to figure out which day is game wednesday, and which day is game saturday without stumbling upon a hump day, or weekend special?


Fri Dec 23, 2005 9:29 pm
Profile ICQ
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
Eh? IIRC the game told you the day, time, and date when you log into it. If you log into it and it says it is Tuesday, December 23, 2015 12:00AM then you only have one day before the Hump Day special, and four days until a weekend special.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Sat Dec 24, 2005 3:08 am
Profile ICQ YIM WWW
Commander

Joined: Tue Mar 26, 2002 3:00 am
Posts: 1416
Location: Canada
Unread post 
oh ya! heh I was at work when I posted that, I couldn't check.

I hate it when my boss is watchin me. ;)


Sat Dec 24, 2005 3:14 am
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post 
If you miss it at login just hit ct from either the command or citadel prompt.

_________________
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


Sat Dec 24, 2005 5:56 am
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 27 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: Bing [Bot] and 11 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.