| Author |
Message |
|
ElderProphet
Commander
Joined: Tue Oct 07, 2003 2:00 am Posts: 1134 Location: Augusta, GA
|
 Re: Call for TWX Proxy bugs / wish list
Thanks for the feedback. There are several great ideas, and I look forward to tackling some of them. Let me add a bit of feedback on some...
setTimeTrigger - This is already implemented, using an event trigger. For Example: seteventtrigger loginTrig :doLogin "TIME HIT" "11:59:50 PM" Time must be in Sytem Time format, i.e. HH:MM:SS AM/PM.
When scripts are loaded, they are compiled... or they're already compiled if they are .cts files. I don't see where integrating scripts into the app itself will improve speed. Further, if speed is an issue, you are either doing heavy calculations or your script needs optimization. Not to say that there isn't tons of room for improvement in TWX itself, but that will have the same impedence whether the script is external or internal.
A bubble finder written in native Delphi would be much faster than a TWX script, but that is an apples-to-oranges comparison when talking about scripts. A natively written bubble finder isn't a script, nor does it resemble anything like one. Ask rev to paste his pascal bubble code... friggin scary. Very fast, but takes weeks or more of study to understand. Heh, rev probably couldn't explain it without hours of study. Course plots have been optimized in 2.04, and now have the ability to plot with avoids. Bubble searches was a driving force behind those improvements. Perhaps I just need to publish one of my bubble scripts. I *think* it will have reasonable performance with the 2.04 improvements. I had once conceived a highly efficient bubble search... I'll have to see if I can recall the method.
[EDIT: I remembered the technique, scripted it, and it takes 45 secs for a 5K... I'll post it on Grimy.]
The next source release will be compilable with Turbo Delphi, as this has been a primary goal with this release. I'm also committed to having interim builds available through a versioning system like Subversion, hosted publicly. But I'm not trying to tackle that until the next release is ready. Don't hesitate to hit me up if you need help in the mean time though.
Keep the ideas coming. +EP+
_________________ Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
|
| Fri May 23, 2008 10:53 pm |
|
 |
|
Singularity
Veteran Op
Joined: Thu Jun 02, 2005 2:00 am Posts: 5558 Location: USA
|
 Re: Call for TWX Proxy bugs / wish list
Quote: A bubble finder written in native Delphi would be much faster than a TWX script, but that is an apples-to-oranges comparison when talking about scripts. A natively written bubble finder isn't a script, nor does it resemble anything like one. Ask rev to paste his pascal bubble code... friggin scary. Very fast, but takes weeks or more of study to understand. Heh, rev probably couldn't explain it without hours of study. Course plots have been optimized in 2.04, and now have the ability to plot with avoids. Bubble searches was a driving force behind those improvements. Perhaps I just need to publish one of my bubble scripts. I *think* it will have reasonable performance with the 2.04 improvements. I had once conceived a highly efficient bubble search... I'll have to see if I can recall the method. Laff, the single bubble approach? Didn't that never work? Or did you just use the BFS approach? The thing is, TWXproxy HAS a bubble feature in it. Right click, export bubble list. That works pretty well last I checked, there's just no way to do anything (atleast not automatically) with it. Seems weird to have such a cool function so poorly used.
_________________ 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
|
| Sat May 24, 2008 1:28 am |
|
 |
|
the reverend
Gameop
Joined: Thu Mar 08, 2001 3:00 am Posts: 886 Location: USA
|
 Re: Call for TWX Proxy bugs / wish list
ElderProphet wrote: I'm also committed to having interim builds available through a versioning system like Subversion, hosted publicly. i just put up a subversion server on a raid machine. lets talk about it.
_________________ twgs : telnet://twgs.thereverend.org:5023 web : http://www.thereverend.org games : http://www.thestardock.com/twgssearch/i ... verend.org helper : http://svn.thereverend.org:8080/revhelper/
|
| Sat May 24, 2008 7:54 pm |
|
 |
|
ElderProphet
Commander
Joined: Tue Oct 07, 2003 2:00 am Posts: 1134 Location: Augusta, GA
|
 Re: Call for TWX Proxy bugs / wish list
Thanks rev, I'll hit you up on that. I'm still working on that unified theory of mine... the one where I believe that all single and multi-gate bubbles can be found using a single BFS search. Perhaps I'll pick that up in another thread soon. This latest approach is still much better than those before it. The bubble export from TWX is useless as far as I can tell. The $db display is great, but the gate info isn't in the export, which is the most important part. I'll look into what it takes to fix that, and to make the data exportable or accessible programatically, from within a script. Sooner if I don't get distracted with that unified theory  +EP+
_________________ Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
|
| Sat May 24, 2008 11:28 pm |
|
 |
|
LoneStar
Commander
Joined: Fri Jun 09, 2006 2:00 am Posts: 1402 Location: Canada
|
 Re: Call for TWX Proxy bugs / wish list
Not sure if there's a way to do this, but it would be nice to have a DeleteSectorParam command.
_________________ ---------------------------- -= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
|
| Fri Jun 06, 2008 10:53 am |
|
 |
|
Maniac
Lieutenant J.G.
Joined: Sun Mar 13, 2005 3:00 am Posts: 387 Location: USA
|
 Re: Call for TWX Proxy bugs / wish list
Not sure if there's a way to do this, but it would be nice to have a DeleteSectorParam command. There already is it is in DeleteSectorVar in Database.ps IIRC SectorVar and SectorParam are essentially the same thing. And Lonestar let me be one of the few that will thank you for letting M()MBot out in the open source world. Now the challenge is to come up with something better. It is gonna be VERY Difficult to do, I've just been perusing the code this afternoon and it looks very professional and well written. KUDU'S to you and anyone else that contributed code, or ideas or even dumb ideas. Even contributing a dumb idea helps that shows us how NOT to do something. To get this back on topic What do you people want out of TWXProxy that might help you out in scripting that we might implement in the actual source code. One Suggestion that came to mind was a Quickstats routine but that is also relatively simple to script. Another idea would be a nearfig routine that people have also written in scripts that might be able to be provided through delphi/TWX.
_________________ Find out just what any people will quietly submit to and you have the exact measure of the injustice and wrong which will be imposed on them. Frederick Douglas
|
| Tue Jun 10, 2008 2:24 pm |
|
 |
|
the reverend
Gameop
Joined: Thu Mar 08, 2001 3:00 am Posts: 886 Location: USA
|
 Re: Call for TWX Proxy bugs / wish list
here is a wish: import port data. currently you can only import warp data or a twx database. since i don't use twx, i often want to send a port cim to someone and have them import it into their twx.
_________________ twgs : telnet://twgs.thereverend.org:5023 web : http://www.thereverend.org games : http://www.thestardock.com/twgssearch/i ... verend.org helper : http://svn.thereverend.org:8080/revhelper/
|
| Mon Jun 23, 2008 1:03 am |
|
 |
|
Big D
Veteran Op
Joined: Tue Nov 28, 2006 4:04 pm Posts: 5025
|
 Re: Call for TWX Proxy bugs / wish list
There is something that I've ran into that I really can't figure out why it is that way. When you ask a user to load a file name, the user has to enter the correct file name. Just wondering if there is a way or a routine that will open a directory window such as windows explorer so the user can select from a list of files instead of typing in the file name to select a data file.
|
| Mon Jun 23, 2008 3:52 am |
|
 |
|
the reverend
Gameop
Joined: Thu Mar 08, 2001 3:00 am Posts: 886 Location: USA
|
 Re: Call for TWX Proxy bugs / wish list
got this again today: Code: Computer command [TL=00:00:00]:[111] (?=Help)? R
What sector is the port in? [111] 1234
Commerce report for Lanth Major: 00:20:32 AM Mon Jun 29, 2020
Items Status Trading % of max OnBoard ----- ------ ------- -------- ------- Fuel Ore Buying 1470 100% 40 Organics Buying 1390 100% 0 Equipment Selling 1220 100% 0
Unable to store sector '0', closing database.
Rrganics Buying 1390 100% 0 What sector is the port in? [111] 2345
I have no information about a port in that sector.
Computer command [TL=00:00:00]:[111] (?=Help)?
whats up with that?
_________________ twgs : telnet://twgs.thereverend.org:5023 web : http://www.thereverend.org games : http://www.thestardock.com/twgssearch/i ... verend.org helper : http://svn.thereverend.org:8080/revhelper/
|
| Sun Jun 29, 2008 12:29 am |
|
 |
|
Big D
Veteran Op
Joined: Tue Nov 28, 2006 4:04 pm Posts: 5025
|
 Re: Call for TWX Proxy bugs / wish list
the reverend wrote: got this again today: Code: Computer command [TL=00:00:00]:[111] (?=Help)? R
What sector is the port in? [111] 1234
Commerce report for Lanth Major: 00:20:32 AM Mon Jun 29, 2020
Items Status Trading % of max OnBoard ----- ------ ------- -------- ------- Fuel Ore Buying 1470 100% 40 Organics Buying 1390 100% 0 Equipment Selling 1220 100% 0
Unable to store sector '0', closing database.
Rrganics Buying 1390 100% 0 What sector is the port in? [111] 2345
I have no information about a port in that sector.
Computer command [TL=00:00:00]:[111] (?=Help)?
whats up with that? Rev, it looks like you didn't get a command line in between proceedures,(in this case computer line). Could have been caused by CN9 being set to all keys.
|
| Sun Jun 29, 2008 1:37 am |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: Call for TWX Proxy bugs / wish list
Big D wrote: There is something that I've ran into that I really can't figure out why it is that way. When you ask a user to load a file name, the user has to enter the correct file name. Just wondering if there is a way or a routine that will open a directory window such as windows explorer so the user can select from a list of files instead of typing in the file name to select a data file. A simple version is posted in the scripts forum.
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Sun Jun 29, 2008 12:08 pm |
|
 |
|
the reverend
Gameop
Joined: Thu Mar 08, 2001 3:00 am Posts: 886 Location: USA
|
 Re: Call for TWX Proxy bugs / wish list
Big D wrote: the reverend wrote: got this again today: Code: Computer command [TL=00:00:00]:[111] (?=Help)? R
What sector is the port in? [111] 1234
Commerce report for Lanth Major: 00:20:32 AM Mon Jun 29, 2020
Items Status Trading % of max OnBoard ----- ------ ------- -------- ------- Fuel Ore Buying 1470 100% 40 Organics Buying 1390 100% 0 Equipment Selling 1220 100% 0
Unable to store sector '0', closing database.
Rrganics Buying 1390 100% 0 What sector is the port in? [111] 2345
I have no information about a port in that sector.
Computer command [TL=00:00:00]:[111] (?=Help)?
whats up with that? Rev, it looks like you didn't get a command line in between proceedures,(in this case computer line). Could have been caused by CN9 being set to all keys. hehe. didn't you see the computer line in the screen cap?
_________________ twgs : telnet://twgs.thereverend.org:5023 web : http://www.thereverend.org games : http://www.thestardock.com/twgssearch/i ... verend.org helper : http://svn.thereverend.org:8080/revhelper/
|
| Sun Jun 29, 2008 7:34 pm |
|
 |
|
ElderProphet
Commander
Joined: Tue Oct 07, 2003 2:00 am Posts: 1134 Location: Augusta, GA
|
 Re: Call for TWX Proxy bugs / wish list
Thanks for the report Rev. I didn't see an immediate issue with the Port Report code in TWX, but I'll keep looking. Is it a repeatable bug when it occurs?
Big D, there is the tray icon that can be double-clicked to open the 'Load Script' dialog window. I don't see how it can get any simpler than that. If you prefer, right-click and select 'Load Script'.
_________________ Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
|
| Sun Jun 29, 2008 10:52 pm |
|
 |
|
the reverend
Gameop
Joined: Thu Mar 08, 2001 3:00 am Posts: 886 Location: USA
|
 Re: Call for TWX Proxy bugs / wish list
ElderProphet wrote: Thanks for the report Rev. I didn't see an immediate issue with the Port Report code in TWX, but I'll keep looking. Is it a repeatable bug when it occurs? it is not repeatable. i can't seem to figure out what the trigger is. any love on the import port cim request?
_________________ twgs : telnet://twgs.thereverend.org:5023 web : http://www.thereverend.org games : http://www.thestardock.com/twgssearch/i ... verend.org helper : http://svn.thereverend.org:8080/revhelper/
|
| Sun Jun 29, 2008 11:13 pm |
|
 |
|
Big D
Veteran Op
Joined: Tue Nov 28, 2006 4:04 pm Posts: 5025
|
 Re: Call for TWX Proxy bugs / wish list
ElderProphet wrote: Thanks for the report Rev. I didn't see an immediate issue with the Port Report code in TWX, but I'll keep looking. Is it a repeatable bug when it occurs?
Big D, there is the tray icon that can be double-clicked to open the 'Load Script' dialog window. I don't see how it can get any simpler than that. If you prefer, right-click and select 'Load Script'. You're not on the same page as me. I mean when you are coding a script to ask the user where the data file (sector data, port data, etc...) is located. Only way I see do get that information is by typeing in file name that may or may not exist in the twx directory. Not even sure it is possible, but with rexx/zoc, I can program the script to open up a window with all the files in a selected directory, and the user can switch between directories to select a data file for the data that script needs. Not sure how to explain it any better than that.
|
| Mon Jun 30, 2008 12:24 am |
|
 |
|