View unanswered posts | View active topics It is currently Thu Apr 18, 2024 2:11 pm



Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4  Next
 2 ship gridder 
Author Message
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: 2 ship gridder
Either modify your script to point to the files you're including. Or add the file you're trying to compile to the same directory as all the included once. Either one should resolve the issue. But without a path they will have to be in the same folders.

Sent from my DROID RAZR using Tapatalk 2

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Sun Jun 30, 2013 9:32 pm
Profile ICQ YIM WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1131
Location: Augusta, GA
Unread post Re: 2 ship gridder
If you're using the prerelease version of TWX Proxy that I sent you, you need to make sure you're using the most recent, which I emailed you on 6/16. The first one had a bug that could cause such behavior.

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


Sun Jun 30, 2013 9:40 pm
Profile WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1131
Location: Augusta, GA
Unread post Re: 2 ship gridder
Kewlbreeze wrote:
There isn't a 2ship gridder we can't hit.

Every Script has a counter script.
I could be wrong, as I don't write many offensive scripts, but it's my belief that a well-written 2-ship gridder could be VERY hard to ptorp. I'm not familiar with the current crop of 2-ship grid scripts though, so I can't speak to their effectiveness.

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


Sun Jun 30, 2013 9:44 pm
Profile WWW
Commander
User avatar

Joined: Sun Aug 27, 2006 2:00 am
Posts: 1419
Location: USA
Unread post Re: 2 ship gridder
ElderProphet wrote:
Kewlbreeze wrote:
There isn't a 2ship gridder we can't hit.

Every Script has a counter script.
I could be wrong, as I'm not an aggresive script writer, but it's my belief that a well-written 2-ship gridder could be VERY hard to ptorp. I'm not familiar with the current crop of 2-ship grid scripts though, so I can't speak to their effectiveness.


On the old public ptorps yes.

_________________
Image
Image
Founding Member of: Flying Ace's


Sun Jun 30, 2013 9:47 pm
Profile ICQ
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: 2 ship gridder
ElderProphet wrote:
If you're using the prerelease version of TWX Proxy that I sent you, you need to make sure you're using the most recent, which I emailed you on 6/16. The first one had a bug that could cause such behavior.


I'm still using the old version. Before I had a chance to upgrade my corpie found something and reported to you.

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sun Jun 30, 2013 9:51 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: 2 ship gridder
Kewlbreeze wrote:
Cruncher wrote:
It's still not compiling...

I just drag the .TS over the twx compiler and wallah .cts poops out


Tried that, nothing pooped out. Hehe..

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sun Jun 30, 2013 9:52 pm
Profile ICQ WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: 2 ship gridder
Cruncher wrote:
# ----- INCLUDES -----
include "_ckinc_getCurrentShipStats.ts"
include "_ckinc_quikstats.ts"
include "_ckinc_getInfo.ts"
include "_ckinc_CNsettings.ts"
include "_ckinc_Validate.ts"


Here is what I changed and it compiled just fine. Just change and use the exact path of the files you're including. I tried to shorten but this worked so no reason not to keep it simple :)
# ----- INCLUDES -----
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_getCurrentShipStats.ts"
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_quikstats.ts"
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_getInfo.ts"
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_CNsettings.ts"
#include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_Validate.ts"

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Mon Jul 01, 2013 1:36 pm
Profile ICQ YIM WWW
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1837
Location: Guam USA
Unread post Re: 2 ship gridder
T0yman wrote:
Cruncher wrote:
# ----- INCLUDES -----
include "_ckinc_getCurrentShipStats.ts"
include "_ckinc_quikstats.ts"
include "_ckinc_getInfo.ts"
include "_ckinc_CNsettings.ts"
include "_ckinc_Validate.ts"


Here is what I changed and it compiled just fine. Just change and use the exact path of the files you're including. I tried to shorten but this worked so no reason not to keep it simple :)
# ----- INCLUDES -----
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_getCurrentShipStats.ts"
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_quikstats.ts"
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_getInfo.ts"
include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_CNsettings.ts"
#include "C:\Documents and Settings\Robin\Desktop\TWX\scripts\cherokee\_ck_source\_ckinc_Validate.ts"


Thank you for posting this example .. it is truly the way NOT to use TWX .. never put it on your desk top .. it leads to problems later ..

Instead create a folder off of your C drive for TWX.
Then give the Includes the path

# ----- INCLUDES -----
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_getCurrentShipStats.ts"
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_quikstats.ts"
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_getInfo.ts"
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_CNsettings.ts"
#include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_Validate.ts"

And _ckinc_Validate.ts is #'d out because in the script it has been de-activated on all released scripts somewhere at the top of each script.

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

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


Mon Jul 01, 2013 2:13 pm
Profile WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: 2 ship gridder
I would never install TWX on the desktop. I only installed this to help someone figure out what the problem is. But install TWX on the desktop is not a problem if you know what your doing. Since no one else was showing a proper example of the problem I figured I would.

The only thing is never run twx.exe directly form the desktop but if it is in a folder and ran from a shortcut you will never have a problem either way.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Mon Jul 01, 2013 2:59 pm
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: 2 ship gridder
Vid Kid wrote:

Thank you for posting this example .. it is truly the way NOT to use TWX .. never put it on your desk top .. it leads to problems later ..

Instead create a folder off of your C drive for TWX.
Then give the Includes the path

# ----- INCLUDES -----
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_getCurrentShipStats.ts"
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_quikstats.ts"
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_getInfo.ts"
include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_CNsettings.ts"
#include "C:\TWX\scripts\cherokee\_ck_source\_ckinc_Validate.ts"

And _ckinc_Validate.ts is #'d out because in the script it has been de-activated on all released scripts somewhere at the top of each script.


Thanks! Yeah, TWX is loaded in the root so your example works.

I don't have _ckinc_Validate.ts

OK, finally got it to compile. I do like the drag & drop method, but when that doesn't work, I am now familiar with running the command line to see the error message.

Thanks Guys! Going to to play with my new "toy". :)

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Mon Jul 01, 2013 7:26 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: 2 ship gridder
OK, I finally had time to try this out. It will run without the validate script.


Script run-time error in 'CK_2SHIP_GRI
D.TS': Goto label not found '_CKINC_VALIDATE~VALIDATE', line 41

Script terminated: C:\TWX\Scripts\_ck_combat_Script_Pack\__ck_2ship_grid.cts

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Thu Jul 04, 2013 2:44 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: 2 ship gridder
Cruncher wrote:
OK, I finally had time to try this out. It will run without the validate script.


Script run-time error in 'CK_2SHIP_GRI
D.TS': Goto label not found '_CKINC_VALIDATE~VALIDATE', line 41

Script terminated: C:\TWX\Scripts\_ck_combat_Script_Pack\__ck_2ship_grid.cts


So rem out the include/goto and recompile

_________________
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 05, 2013 2:03 am
Profile WWW
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: 2 ship gridder
Helix wrote:
Cruncher wrote:
OK, I finally had time to try this out. It will run without the validate script.


Script run-time error in 'CK_2SHIP_GRI
D.TS': Goto label not found '_CKINC_VALIDATE~VALIDATE', line 41

Script terminated: C:\TWX\Scripts\_ck_combat_Script_Pack\__ck_2ship_grid.cts


So rem out the include/goto and recompile



I did, it compiled but won't run without the validate file.

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Fri Jul 05, 2013 7:40 am
Profile ICQ WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: 2 ship gridder
Cruncher wrote:
Helix wrote:
Cruncher wrote:
OK, I finally had time to try this out. It will run without the validate script.


Script run-time error in 'CK_2SHIP_GRI
D.TS': Goto label not found '_CKINC_VALIDATE~VALIDATE', line 41

Script terminated: C:\TWX\Scripts\_ck_combat_Script_Pack\__ck_2ship_grid.cts


So rem out the include/goto and recompile



I did, it compiled but won't run without the validate file.

Rem this entire section out and try again: 36 - 42
# ----- Get Info and Validate -----
setVar $validated 0
gosub :_ckinc_getInfo~getInfo
if ($validated = 0)
gosub :_ckinc_validate~validate
setVar $validated 1
end

EDIT: After a second to think about it leave the setVar $validated 1 just on the chance it is needed elsewhere. I have not read the entire code nor tried running but that would be the safe bet to start.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Fri Jul 05, 2013 8:15 am
Profile ICQ YIM WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1131
Location: Augusta, GA
Unread post Re: 2 ship gridder
If memory serves, CK's original combat pack required validation, but the later 'source' release didn't. Try the attached file and see if it works for you.

Regards,
+EP+


Attachments:
__ck_2ship_grid.cts [50.38 KiB]
Downloaded 613 times

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
Fri Jul 05, 2013 10:51 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 50 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

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