| Author |
Message |
|
Orion_Blastar
Lieutenant Commander
Joined: Thu Jul 31, 2003 2:00 am Posts: 837 Location: USA
|
They are external scripts, download the j-twat.zip file and then unarch the jtwat.jar file.
ExploreShipScript.class and PairPortTrade.class are in the TWHelp directory. Maybe so intertwined with J-TWAT that they would need to be rewritten. But the script files themselves are external class files. If I knew enough about Java I could convert them to the SWATH Java standards. Just need a Java Decompiler to decompile the class file into Java source code.
Go here:
http://sourceforge.net/projects/j-twat/
Click on files and download the j-twat.zip file and have at it if you know enough about Java to be dangerous. [:)]
_________________ I'm getting too old for this sort of thing.
I am from http://district268.xormad.com/ District 268
|
| Thu Mar 11, 2004 10:13 pm |
|
 |
|
Mythrandir
Sergeant Major
Joined: Wed Sep 03, 2003 2:00 am Posts: 50 Location: USA
|
"Good"
"Script"
"SWATH"
...all in the SAME sentence? heh...no wonder you can't find one...
Don't get me wrong, I use swath routinely, but not for the s....c....r....i....p....t....i....n....g
Get one for twx.
_________________ -=M=-
"The white wizard approaches..."
|
| Fri Mar 12, 2004 12:17 am |
|
 |
|
Boss
Lieutenant J.G.
Joined: Tue Feb 19, 2002 3:00 am Posts: 486 Location: United States
|
quote: Originally posted by Orion_Blastar
They are external scripts, download the j-twat.zip file and then unarch the jtwat.jar file.
ExploreShipScript.class and PairPortTrade.class are in the TWHelp directory. Maybe so intertwined with J-TWAT that they would need to be rewritten. But the script files themselves are external class files. If I knew enough about Java I could convert them to the SWATH Java standards.
Go here:
http://sourceforge.net/projects/j-twat/
Click on files and download the j-twat.zip file and have at it if you know enough about Java to be dangerous. [:)]
Hate to say it O B but you can neither look at or modify a class file...you need the original java file in order to edit or look at the script code.
_________________ It is not our duty to forgive terrorists, that is God's duty. Our duty is to make sure they meet!
The Boss TWGS
|
| Fri Mar 12, 2004 4:34 am |
|
 |
|
Harley Nuss
Commander
Joined: Thu Feb 20, 2003 3:00 am Posts: 1529 Location: USA
|
|
| Fri Mar 12, 2004 6:48 am |
|
 |
|
Orion_Blastar
Lieutenant Commander
Joined: Thu Jul 31, 2003 2:00 am Posts: 837 Location: USA
|
Thanks Harley, I knew that a decompiler existed somewhere for Java. It would lack comments, and useful function names, but it would produce source code simular to the original.
_________________ I'm getting too old for this sort of thing.
I am from http://district268.xormad.com/ District 268
|
| Fri Mar 12, 2004 8:11 am |
|
 |
|
Boss
Lieutenant J.G.
Joined: Tue Feb 19, 2002 3:00 am Posts: 486 Location: United States
|
Nice, will have to check it out.
_________________ It is not our duty to forgive terrorists, that is God's duty. Our duty is to make sure they meet!
The Boss TWGS
|
| Fri Mar 12, 2004 5:19 pm |
|
 |
|
Nomad
1st Sergeant
Joined: Fri Dec 05, 2003 3:00 am Posts: 49 Location: USA
|
I kinda thought they would be closely tied into the program due to the way all of the scripts work off of the same CIM download, but the method of downloading one instance of the CIM data and having the scripts kick off of the single database without having to do a bunch of cutting and pasting is nice.
The mapping feature is rather nice as well...still haven't played around with TWX much, but I've used SWATH's mapping feature and I have to say that J-Twat's is nicer. Wish he was still working on it. Heck, wish I had the time to sit and learn Java so I could work on it myself.
_________________ You ever see me in a fight with a bear, you better jump in and help the bear!
|
| Fri Mar 12, 2004 7:20 pm |
|
 |
|
Boss
Lieutenant J.G.
Joined: Tue Feb 19, 2002 3:00 am Posts: 486 Location: United States
|
Its not worth the time, was talking to Bad Boy about it and he says it needs a complete rewrite to work properly, he said the original code came off of something that wasnt even designed for playing tradewars and was modified from there.
_________________ It is not our duty to forgive terrorists, that is God's duty. Our duty is to make sure they meet!
The Boss TWGS
|
| Fri Mar 12, 2004 7:30 pm |
|
 |
|
DEMON
Chief Warrant Officer
Joined: Thu Aug 15, 2002 2:00 am Posts: 166 Location: USA
|
Hey rompca, now a couple of months ago Stein was talking about adding a probe script into SWATH. When he releases the next version it will have that script in it. As a matter of fact if you go under your scripts in SWATH you will see it is there he just has not activated and added it in yet. I know that does not help you now, but I use TWX for my prober.
_________________ l A_A
l ( o o )
l \_I_/
l DEMON
|
| Sat Mar 13, 2004 2:50 am |
|
 |
|