| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Port messages https://mail.black-squirrel.com/viewtopic.php?f=13&t=16842 |
Page 1 of 2 |
| Author: | PHX [ Thu Dec 22, 2005 4:09 am ] |
| Post subject: | |
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. |
|
| Author: | Singularity [ Thu Dec 22, 2005 6:39 am ] |
| Post subject: | |
Where's the hump day special? =) |
|
| Author: | PHX [ Thu Dec 22, 2005 4:36 pm ] |
| Post subject: | |
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? |
|
| Author: | earth [ Thu Dec 22, 2005 5:25 pm ] |
| Post subject: | |
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. |
|
| Author: | PHX [ Fri Dec 23, 2005 12:57 am ] |
| Post subject: | |
True true sir, and I have removed that idea from my head...but I still wonder what all the rest of the messages are. |
|
| Author: | Orion_Blastar [ Fri Dec 23, 2005 2:06 am ] |
| Post subject: | |
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. |
|
| Author: | ElderProphet [ Fri Dec 23, 2005 4:17 am ] |
| Post subject: | |
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+ |
|
| Author: | Coke [ Fri Dec 23, 2005 6:32 am ] |
| Post subject: | |
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. |
|
| Author: | Traitor [ Fri Dec 23, 2005 8:24 am ] |
| Post subject: | |
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] |
|
| Author: | ElderProphet [ Fri Dec 23, 2005 5:54 pm ] |
| Post subject: | |
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+ |
|
| Author: | Harley Nuss [ Fri Dec 23, 2005 8:06 pm ] |
| Post subject: | |
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. |
|
| Author: | Silence [ Fri Dec 23, 2005 9:29 pm ] |
| Post subject: | |
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? |
|
| Author: | Orion_Blastar [ Sat Dec 24, 2005 3:08 am ] |
| Post subject: | |
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. |
|
| Author: | Silence [ Sat Dec 24, 2005 3:14 am ] |
| Post subject: | |
oh ya! heh I was at work when I posted that, I couldn't check. I hate it when my boss is watchin me. |
|
| Author: | Singularity [ Sat Dec 24, 2005 5:56 am ] |
| Post subject: | |
If you miss it at login just hit ct from either the command or citadel prompt. |
|
| Page 1 of 2 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|