View unanswered posts | View active topics It is currently Thu Apr 23, 2026 2:48 am



Reply to topic  [ 12 posts ] 
 Developing TWX 
Author Message
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Developing TWX
This is related to the thread about the upcoming Beta release. I have completed the setup of a source server for TWX, and I have documented how to get started building TWX from the source. The page and links can be found here: http://www.twxscripts.com/building-twx

I hope that those of you who are adventurous and have something to contribute will read over it and give it a spin. To boot, you get the first shot to compile early beta code and gripe about it before anyone else ;)

Regards,
+EP+

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


Thu Jul 09, 2009 9:58 pm
Profile WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: Developing TWX
Thanks EP. Gives Daala and I something new to play with ;)

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Jul 09, 2009 11:09 pm
Profile
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Developing TWX
Works for me :) Thanks EP

The only issue I had with the instructions was that I put the 'Builds" directory in the project directory (.\Builds)and it needed to be alongside the projects directory (..\Builds). I am using Turbo Delphi, I guess file structure was slightly different. I am going to try the same setup with the lite version and see how that works

Helix

Edit: The Portable TDLite install went without a hitch, compiled on the first try


Attachments:
twxproxy screenshot.JPG
twxproxy screenshot.JPG [ 23.64 KiB | Viewed 7016 times ]

_________________
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
I had to ask myself WWSGD?
Fri Jul 10, 2009 1:47 am
Profile WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: Developing TWX
Nice, thanks for the feedback. Just realize, that while that build says 2.05 Beta, there actually will be an official Beta that reads the same. I say that so noone is confused. The code available via the SVN link is interim, untested, pre-beta. Still, I think it works without any real issues... so far. I am far more likely to introduce real issues as I update the source with some of the larger changes I've been working on.

Also, I think I've altered how decimals are handled again, so be sensitive to possible rounding errors in code. I'll document all of that in due time.

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


Fri Jul 10, 2009 5:39 pm
Profile WWW
Lieutenant J.G.

Joined: Fri Jan 16, 2009 4:44 pm
Posts: 494
Unread post Re: Developing TWX
Do we have a list of changes yet coming in the new beta?

_________________
Image


Fri Jul 10, 2009 9:55 pm
Profile
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: Developing TWX
Not finalized yet, though I will be documenting what has been changed so that beta testers will know what to try and break.

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


Tue Jul 14, 2009 10:15 am
Profile WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Developing TWX
ElderProphet wrote:
Nice, thanks for the feedback. Just realize, that while that build says 2.05 Beta, there actually will be an official Beta that reads the same. I say that so noone is confused. The code available via the SVN link is interim, untested, pre-beta. Still, I think it works without any real issues... so far. I am far more likely to introduce real issues as I update the source with some of the larger changes I've been working on.

Also, I think I've altered how decimals are handled again, so be sensitive to possible rounding errors in code. I'll document all of that in due time.


What I have found:
1. database created with 2.05 is not compatible with 2.04
2. Rounding errors while using the combined movers (LS and Wildstar)
3. A really annoying error message dialog box. When a server is down for what ever reason and you are trying to relog every disconnection causes a dialog box to pop up with the message: Asynchronous Socket Error 10060 - with an okay button, if you are trying to reconnect every 3 seconds, then you get 20 of those pop-up dialog boxes a minute.
4. Couldn't export the TWX database, popped a memory exception every time. (export bubbles, deadends and warpspec worked fine)
5. Throws a memory exception on exit like previous versions

Helix

_________________
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
I had to ask myself WWSGD?


Sat Jul 18, 2009 10:10 am
Profile WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: Developing TWX
Cool, thanks for the feedback. I'm familiar with all of those except the crash on exit. I believe this was originally a problem with how the 2.04 code was compiled, not the code itself. I'm hoping that your crash on exit is with the way you are compiling it, since I've not experienced a single crash on exit since porting the code to Turbo Delphi.

I'm still hoping to have a public build ready shortly, and I'll try to have a bug reporting feature ready by then as well.

Keep up the feedback,
+EP+

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


Sat Jul 18, 2009 11:27 pm
Profile WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Developing TWX
ElderProphet wrote:
I'm familiar with all of those except the crash on exit. I believe this was originally a problem with how the 2.04 code was compiled, not the code itself. I'm hoping that your crash on exit is with the way you are compiling it, since I've not experienced a single crash on exit since porting the code to Turbo Delphi.

+EP+


The crash on exit only occurs in the course of an extended session running scripts. Load it and exit, no error. Load it and run just a few scripts and exit, still no problem, run it overnight or several days running all the scripts you would in game and it pops an exception every time. Its been doing that since 2.04 beta.

Helix

_________________
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
I had to ask myself WWSGD?


Sun Jul 19, 2009 12:18 am
Profile WWW
Lieutenant J.G.

Joined: Fri Jan 16, 2009 4:44 pm
Posts: 494
Unread post Re: Developing TWX
Yep, I have the same 'error on exit' problem as Helix. Since 2.04.. at least

_________________
Image


Sun Jul 19, 2009 10:28 am
Profile
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: Developing TWX
Consider this a "nightly build". I reiterate, it is not Beta yet, but is a properly compiled build of the latest source.
http://www.twxscripts.com/public/twxproxyprebeta.zip

This is not the complete release, merely the twxproxy.exe. So just extract the .exe and overwrite your existing twxproxy.exe with this one, and delete the DB if it was not created from a previous source build.

The main reason I put this here is to see if anyone experiences the crash on exit using this code.

+EP+

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


Sun Jul 19, 2009 11:52 pm
Profile WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Developing TWX
This is from a 8 hour run of twx, the only scripts I ran were mombot and pro ztm 40, when I tried to exit twxproxy, this error popped up.


Attachments:
ScreenShot001.jpg
ScreenShot001.jpg [ 18.08 KiB | Viewed 6657 times ]

_________________
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
I had to ask myself WWSGD?
Tue Jul 21, 2009 8:05 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

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