View unanswered posts | View active topics It is currently Thu May 23, 2019 8:43 pm



Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
 EP_Haggle2018 Released 
Author Message
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1118
Location: Augusta, GA
Unread post EP_Haggle2018 Released
I appreciate the recent feedback, it sounds like most issues were resolved with the 2017v2 release. All of those improvements are carried forward to this 2018 release. Please let me know if there are still issues with Planet trading or other areas.

My goal for this release was to reduce the number of variables used. Of course these consume small amounts of memory, but they are especially painful during variable dumps. I was able to eliminate the large $mcic array and completely rely on Sector Parameters instead.

So while this script still uses hundreds of variables, it used to be 10K or more in a well-scouted game. Mission accomplished - no more 5 minute variable dumps.

Enjoy, and let me know of any issues,
+EP+


Attachments:
EP_Haggle2018.zip [21.96 KiB]
Downloaded 210 times

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
Sun Jan 21, 2018 12:11 am
Profile WWW
Gunnery Sergeant

Joined: Mon Aug 01, 2011 12:11 pm
Posts: 25
Unread post Re: EP_Haggle2018 Released
Thanks


Sun Jan 21, 2018 3:35 am
Profile
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 3843
Location: USA
Unread post Re: EP_Haggle2018 Released
You're the best! Thanks EP!

_________________
Image
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
2018 HHT Champs: Rock Stars


Classic Style Games Here:
telnet://Cruncherstw.no-ip.biz:2002

Web page from 1990's: https://web.archive.org/web/20170103155 ... adewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Mon Jan 22, 2018 7:36 am
Profile ICQ WWW
Chief Warrant Officer

Joined: Sun Apr 17, 2005 2:00 am
Posts: 191
Location: USA
Unread post Re: EP_Haggle2018 Released
Sweet! I couldn't get it to work with TWXProxy's Word Trade script, but it worked just fine with SWATH's!

Edit: this script produces an ICE COLD haggle! I don't see any mercy at all.

_________________
The New Order
66.26.112.116:2002

MicroBlaster:
http://www.microblaster.net/ServerDetai ... erverid=66

One day, the entire Tradewars 2002 fanbase will tremble at the mere mention of "Lionmane." Too bad it's not my name!?!?! -Krovach


Tue Jul 10, 2018 8:18 pm
Profile
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1305
Location: Canada
Unread post Re: EP_Haggle2018 Released
There should be, included with the Haggle script, a TWX script something like: Haggle.ts ...backup existing script in you twx\scripts\include folder (path might be slightly different). Copy the Haggle.ts that came with EP’s.

Load the EP’s haggle script, then fire up wordtrade.

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark


Wed Jul 11, 2018 7:35 pm
Profile ICQ YIM
Chief Warrant Officer

Joined: Sun Apr 17, 2005 2:00 am
Posts: 191
Location: USA
Unread post Re: EP_Haggle2018 Released
I just need to turn off the haggle in TWXProxy without making it crash. The TWXProxy world trade script has an option "H Haggle" in the menu, but it doesn't do anything.

EP's perfect haggle zip file doesn't have a haggle.ts script that I could find. I'm using TWXProxy 2.5.73 if that's what you were saying...? But it's really not important since SWATH has a world trade script.

_________________
The New Order
66.26.112.116:2002

MicroBlaster:
http://www.microblaster.net/ServerDetai ... erverid=66

One day, the entire Tradewars 2002 fanbase will tremble at the mere mention of "Lionmane." Too bad it's not my name!?!?! -Krovach


Thu Jul 12, 2018 10:17 pm
Profile
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1786
Location: Guam USA
Unread post Re: EP_Haggle2018 Released
Lionmane wrote:
I just need to turn off the haggle in TWXProxy without making it crash. The TWXProxy world trade script has an option "H Haggle" in the menu, but it doesn't do anything.

EP's perfect haggle zip file doesn't have a haggle.ts script that I could find. I'm using TWXProxy 2.5.73 if that's what you were saying...? But it's really not important since SWATH has a world trade script.


I re downloaded the EP_Haggle2018 from this site.
It comes with the .cts (compiled script)
a script called haggle.ts and a readme.txt file that tells you
to put the haggle.ts in your twx proxy's include folder.

my directory structure is c:/TWX
this is where your TWXProxy 2.5.73.exe will be
and hence forward be refered to as twx ROOT folder.

Now this is where you find data , scripts and include folders.

TWX does not auto haggle unless a twx script is running in the background.
But before running any twx script , be sure to turn Swath's light bulb off.

Hope this helps.

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://202.151.82.243:2002
Coconut Telegraph (ICQ)# 14340614
Founding Member -=[Team Kraaken]=- Winners of Gridwars 2010 - Ka Pla
Image

Image
Image

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Sun Jul 15, 2018 9:08 am
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3541
Location: Long Beach, CA
Unread post Re: EP_Haggle2018 Released
This beta appears to have expired, halting.
Contact ElderProphet via email, ElderProphet@comcast.net

Script terminated: C:\TW2002\TWXProxy\scripts\EP_Haggle2018.cts

---
What is weird, is that it is not expired on Vid’s Server

Computer command [TL=00:00:00]:[XXX] (?=Help)? T
12:35:50 AM Tue Aug 21, 2046
---
But on OCC it is expired

Computer command [TL=00:00:00]:[XXX] (?=Help)? T
07:34:34 AM Mon Aug 20, 2046

---
My computer time is correct also.

What's even weirder is that on the same server (OCC) where I got the expired message, I am playing in a different game and EP Haggle is working fine.

I dont get it.

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
TTW TWGS v2 twgs.ddns.net:2002
I had to ask myself WWSGD?


Mon Aug 20, 2018 9:32 am
Profile WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3541
Location: Long Beach, CA
Unread post Re: EP_Haggle2018 Released
I deleted my TWX database for that game. Recreated it from scratch and now the script is working fine.

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
TTW TWGS v2 twgs.ddns.net:2002
I had to ask myself WWSGD?


Mon Aug 20, 2018 1:00 pm
Profile WWW
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 3843
Location: USA
Unread post Re: EP_Haggle2018 Released
Almost time for EP_Haggle2019! :)

_________________
Image
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
2018 HHT Champs: Rock Stars


Classic Style Games Here:
telnet://Cruncherstw.no-ip.biz:2002

Web page from 1990's: https://web.archive.org/web/20170103155 ... adewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sat Dec 22, 2018 11:11 pm
Profile ICQ WWW
Staff Sergeant

Joined: Thu Oct 30, 2003 3:00 am
Posts: 12
Location: USA
Unread post Re: EP_Haggle2018 Released
Im having haggle withdraw since mine stopped working :)


Sat Jan 05, 2019 1:09 am
Profile
Ensign

Joined: Mon Dec 01, 2014 5:39 pm
Posts: 287
Unread post Re: EP_Haggle2018 Released
Cruncher wrote:
Almost time for EP_Haggle2019! :)


Nope! It's an Australia Day thing, not a NEw years day

Oh Australia day is Jan 26th :)


Sat Jan 05, 2019 2:47 am
Profile
Ensign
User avatar

Joined: Tue Dec 17, 2002 3:00 am
Posts: 295
Location: Virginia
Unread post Re: EP_Haggle2018 Released
Hammer_2 wrote:
Cruncher wrote:
Almost time for EP_Haggle2019! :)


Nope! It's an Australia Day thing, not a NEw years day

Oh Australia day is Jan 26th :)


It's really far past time this got released as a .ts so we aren't playing this same game every year.

Or someone just reverse engineers it. Should be pretty easy to do the math after running the latest version in a game for a while.

_________________
Image ICE 2017 Tournament Winning Team Member
Image ICE 2019 Tournament Winning Team Member


Sat Jan 05, 2019 3:16 am
Profile ICQ
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1305
Location: Canada
Unread post Re: EP_Haggle2018 Released
Shadow wrote:
It's really far past time this got released as a .ts so we aren't playing this same game every year.

Or someone just reverse engineers it. Should be pretty easy to do the math after running the latest version in a game for a while.


Kind of surprised no one has written a CTS decompiler, since the TWX Source Code has been released.

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark


Sat Jan 05, 2019 8:29 am
Profile ICQ YIM
Ensign
User avatar

Joined: Tue Dec 17, 2002 3:00 am
Posts: 295
Location: Virginia
Unread post Re: EP_Haggle2018 Released
LoneStar wrote:
Shadow wrote:
It's really far past time this got released as a .ts so we aren't playing this same game every year.

Or someone just reverse engineers it. Should be pretty easy to do the math after running the latest version in a game for a while.


Kind of surprised no one has written a CTS decompiler, since the TWX Source Code has been released.


Someone might have, or at least have started one and is working out some bugs :)

_________________
Image ICE 2017 Tournament Winning Team Member
Image ICE 2019 Tournament Winning Team Member


Sat Jan 05, 2019 6:18 pm
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 32 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 4 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.