View unanswered posts | View active topics It is currently Thu Apr 30, 2026 8:33 am



Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next
 Call for TWX Proxy bugs / wish list 
Author Message
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Call for TWX Proxy bugs / wish list
I have the important stuff working and ready for the next TWX release. [Plug: Testers needed, check Grimy or IM me.] Beyond the crash on exit bug, what other annoyances and desired features do you guys have?

I'd like:
* more command liine parameters
* a getNearest that can use warps in
* direct access to Sector Parameters, eg. SECTORPARM[sector#][parameterName]
* better tracking of the CURRENTSECTOR constant
* an optimized read command

How about the rest of you?

+EP+

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


Fri May 16, 2008 9:56 pm
Profile WWW
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: Call for TWX Proxy bugs / wish list
ElderProphet wrote:
I have the important stuff working and ready for the next TWX release. [Plug: Testers needed, check Grimy or IM me.] Beyond the crash on exit bug, what other annoyances and desired features do you guys have?

I'd like:
* more command liine parameters
* a getNearest that can use warps in
* direct access to Sector Parameters, eg. SECTORPARM[sector#][parameterName]
* better tracking of the CURRENTSECTOR constant
* an optimized read command

How about the rest of you?

+EP+


My request is simple, when a database is loaded, load the "Listen for connections on port" value. A minor irritant when in 2-3 games and you go back to check on one. Have to recheck SWATH to see what port I was using and then set TWX (or change SWATH). There would be a problem if another instance of TWX was running already on that port.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Fri May 16, 2008 10:03 pm
Profile ICQ
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1402
Location: Canada
Unread post Re: Call for TWX Proxy bugs / wish list
Just a few that come to mind:

1 - Global Variables. That is, 'Global' among active scripts;
2 - Read/Write/Seek for delaing with specific lines in a Text File;
3 - Related to what Prom mentioned: include Port Number in the little popup when you hover the mouse pointer over the TWX icon in the system tray;
4 - GetFolderList Command to compliment the getFileList command --restricted to subfolders of TWX\Scripts\.
5 - SECTOR.ALIENCOUNT[sector] ... SECTOR.ALIENS[sector][idx]
6 - Additional Parameter for GetNearestWarps/GetAllCourses: {Proximal/Distal} ...when a script only needs data within X-number of hops
7 - Some way to break out of an endless loop, w/o having to End-Task TWX
8 - Some way to stop -or speed up- the listing of vairables arrays with 20,000 elements. Or. Someway to List all variables for a specific script only

[EDIT/ADDENDUM]
9 - setCURRENTANSILINE Trigger :D

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Sat May 17, 2008 2:25 am
Profile ICQ YIM
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post make a wish... or a dozen
I'll second:
SECTOR.ALIENCOUNT
getNearestWarpsIn
Max distance for getNearestWarps
Game descriptor or port number for tooltip popup
DumpVariables $filename (dumps all vars to a file for debugging)
setMaxLoop (would set a maximum loop count, like setPrecision)

I'll add:
SECTOR.BUBBLES[idx] = holds gate from bubble list
SECTOR.BUBBLESECTORS[gate][idx] = has list of sectors for that bubble

SECTOR.FEDCOUNT = number of feds in a sector
SECTOR.FED[sector][idx] = each fed

SECTOR.SHIPLIST[sector][idx]
SECTOR.TRADERLIST[sector][idx]

setRegexpTrigger triggerName :triggerLabel "/whatever/i"
getRegexpText $textLine $textVar "/(.*) sometext (.*)/i" (would return an array of matches)

Add a password to the external connect port, passthru incoming text as an option

_________________
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 May 17, 2008 5:59 am
Profile ICQ WWW
Lieutenant

Joined: Sat Nov 06, 2004 3:00 am
Posts: 600
Location: USA
Unread post Re: Call for TWX Proxy bugs / wish list
heh well I'm a messy scripter a noobie..laff.. but I'm also lazy.. killing each trigger is pain, so I do like the killalltriggers.. then I have to reset the important ones ( normally I use a gosub :set_perma_trigger) .. a Permatrigger that can only be killed by name would be great..that way u could kill all the others u wanted to, without affecting the other couple..

and I agree with alot of the above.. the sectoraliencount would be great..., the bubble info,
heh the endless loop.. or one u can't interupt without disconnecting...(the fun of scripting in a live game... hehe)...
a getNearest that can use warps in.. useful for oneways in...
sectorplanetcountshielded would also be nice.

alot of info we trade between scripts, we normally, either write a file or setsectorparam or setvar and savevar and load var to transfer info between scripts.. but then thats for our own scripts.. someone else's doesn't know where to look or what to load... like the costs at SD... I know Mombot and LS's dockshopper save them, something built in would be nice for that as well as other game settings to just call on in the same way as other info from the database...
also I know there are fig and shield price scripts out there.. thats seems to be a constant on the day...

sectortradershiptype... heh that might be tricky with all the different edits out there, considering sometimes aliens have their own ship types that aren't in the user's computer ingame

ANYTHING for speeding up reading a 20k sectors game...

_________________
Its not the Kill, Its the Thrill of the Chase
S: Min: 297 Max: 437 Average: 410 -- Just here to attack aliens
S: High/Low Removed   Average: 421
          


Mon May 19, 2008 3:13 pm
Profile ICQ WWW
Corporal

Joined: Tue May 20, 2008 1:06 am
Posts: 6
Unread post Re: Call for TWX Proxy bugs / wish list
Linux support

Could probably use it via WINE or CEDEGA to save the hassle of porting it to linux however a Linux port would be optimal as it would provide much greater speed than Windows or a Windows Emulator like the ones I linked in already.


I can try and help with this if you like.


Wed May 21, 2008 6:17 am
Profile
Gameop
User avatar

Joined: Tue Sep 25, 2007 7:27 pm
Posts: 530
Location: Long Island
Unread post Re: Call for TWX Proxy bugs / wish list
Few small ideas

setTimeTrigger - Trigger that kicks off when the system clock hits a certain value. I know you can kind of mimic this with using getTime in a look with a delayTrigger, but doing it in one command would be nice.

sendTWX - a command that would send a command to TWX itself, instead of directly to the server or the client terminal. It could allow people to bot more scripts that require input from the EU prior to activating (team sdt for example).

Incorporation of the command line parameters and other logic Hacksaw created (I believe he sent you those).

Incorporation of Maniac's new features.

Thanks.

_________________
If you have a building game, they will come...

Proud Sysop of ICE9 TWGS
Home of Building and Non Regulated Games
http://www.oregonsouth.com/ice9
telnet://ice9-tw.com:2002


Wed May 21, 2008 7:07 am
Profile
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1402
Location: Canada
Unread post Re: Call for TWX Proxy bugs / wish list
Draugauth wrote:
Linux support

Could probably use it via WINE or CEDEGA to save the hassle of porting it to linux however a Linux port would be optimal as it would provide much greater speed than Windows or a Windows Emulator like the ones I linked in already.


I can try and help with this if you like.


Not sure if you're aware, but there's a source release of TWX-Proxy:

http://www.grimytrader.com/GrimyDownloa ... ion_id=443

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Wed May 21, 2008 12:58 pm
Profile ICQ YIM
Sergeant

Joined: Tue May 06, 2008 1:13 am
Posts: 9
Unread post Re: Call for TWX Proxy bugs / wish list
It would be nice if TWX could host multiple proxies for playing multiple games without having to open a separate instance for each game


Thu May 22, 2008 1:02 am
Profile
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1402
Location: Canada
Unread post Re: Call for TWX Proxy bugs / wish list
Wish I had a compiler, then I could incorporate alot of 'scripts' right into TWX! Now wouldn't that be cool 8)

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Thu May 22, 2008 2:16 am
Profile ICQ YIM
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: Call for TWX Proxy bugs / wish list
LoneStar wrote:
Wish I had a compiler, then I could incorporate alot of 'scripts' right into TWX! Now wouldn't that be cool 8)


That thought has been around for a while. The free Dephi compiler might just let you do that.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Thu May 22, 2008 4:45 pm
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Call for TWX Proxy bugs / wish list
Be careful tho, more code = more bloat = more bugs.

External scripts atleast prevent that.

_________________
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 May 22, 2008 5:55 pm
Profile ICQ WWW
Gameop
User avatar

Joined: Thu Mar 08, 2001 3:00 am
Posts: 886
Location: USA
Unread post Re: Call for TWX Proxy bugs / wish list
LoneStar wrote:
Wish I had a compiler, then I could incorporate alot of 'scripts' right into TWX! Now wouldn't that be cool 8)


we don't need another swath.

/me ducks

_________________
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/


Thu May 22, 2008 6:01 pm
Profile
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: Call for TWX Proxy bugs / wish list
Singularity wrote:
Be careful tho, more code = more bloat = more bugs.

External scripts atleast prevent that.


True on the external scripts, but would they execute faster compiled within TWX, and would it really have that much of an effect. I think it would depend on the type of script (bubble finder yes, others I doubt would be worth it).

Rev said we don't need another SWATH and I agree. SWATH is an excellent program, but the vast majority of its "features" go unused by me because I prefer rolling my own scripts. ZOC is a program that I would use but it is lacking a few of things I depend on in SWATH. I would like a stripped down version of SWATH - give me the status bar, the map, hot keys, and near fig and I am good to go. SWATH's scripts I can do without. Hmmm, come to think of it, I think I have the things I depend on in SWATH pretty much written and could go with ZOC.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Fri May 23, 2008 12:33 am
Profile ICQ
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1402
Location: Canada
Unread post Re: Call for TWX Proxy bugs / wish list
1 - Downloading Turbo Delphi now..

2 - Got the source files of TWX-Proxy..

Have exactly zero idea of what i'm doing in Delphi, laff... it 'kinda' looks like C++ :lol:

Anyways, if I can in fact compile the source -as is- I'll start small, and gradually work toward integrated foton/pdrop/etc stuff :twisted:

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Fri May 23, 2008 2:41 am
Profile ICQ YIM
Display posts from previous:  Sort by  
Reply to topic   [ 33 posts ]  Go to page 1, 2, 3  Next

Who is online

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