www.ClassicTW.com
http://classictw.com/

2 ship gridder
http://classictw.com/viewtopic.php?f=15&t=34058
Page 1 of 4

Author:  Cruncher [ Sat Jun 29, 2013 11:01 pm ]
Post subject:  2 ship gridder

I need one or need to learn how to use the public one. This is what happens when I run ck's, and yes, I did run _ck_refresh_figs.cts first.


You are in ship number 2

Enter second ship's ID
Command [TL=00:00:00]:[17065] (?=Help)? :
Where is a SAFE sector to TWarp to at the end?
Command [TL=00:00:00]:[17065] (?=Help)? :
How many figs to deploy? (1-1000)
Command [TL=00:00:00]:[17065] (?=Help)? :
Don't let ships fall below how many figs? (1,000-45,000)
Command [TL=00:00:00]:[17065] (?=Help)? :
What is the max density to grid? (set to 499 to avoid planets, 0 to ignore)
Note - regardless of this setting, if the density translates into too many
figs for your ship to handle, the script will not move into that sector.
Command [TL=00:00:00]:[17065] (?=Help)? :
Do you wish to CBY if you are photoned or podded and someone powers up in your s
ector? (Y/N)

Loading script: _ck_refresh_figs.cts

Command [TL=00:00:00]:[17065] (?=Help)? :
Script load error: File is not a compiled TWX script


Script terminated: _ck_refresh_figs.cts

Author:  Big D [ Sat Jun 29, 2013 11:25 pm ]
Post subject:  Re: 2 ship gridder

Mombots pgridder has a 2 ship grid option. Look at the menu at the bottem when you call the pgrid script and you see the option.
I use it effectively against Flying Aces all the time.

Author:  Kewlbreeze [ Sat Jun 29, 2013 11:43 pm ]
Post subject:  Re: 2 ship gridder

Big D wrote:
I use it effectively against Flying Aces all the time.


How can you say that? you and your corp don't play! There isn't a 2ship gridder we can't hit.


Every Script has a counter script.

Author:  Big D [ Sat Jun 29, 2013 11:51 pm ]
Post subject:  Re: 2 ship gridder

Kewlbreeze wrote:
Big D wrote:
Mombots pgridder has a 2 ship grid option. Look at the menu at the bottem when you call the pgrid script and you see the option.
I use it effectively against Flying Aces all the time.



LOL, T edit counts


Not sure what you mean by that. For one, I haven't provided a server for at least 3 years. Secondly, even when I did have a server available, you never played there because you were still a noob at UTW at that time.
I used mombots 2 ship pgridder in every game that Ground Zero beat Flying Aces in and I'm not sure I ever got torped by anyone on your corp. I will admit that zep pdropped in our path a few times, but we just went another direction and came back to that path at a later time. No biggie.

Author:  Helix [ Sun Jun 30, 2013 1:24 am ]
Post subject:  Re: 2 ship gridder

Cruncher wrote:
I need one or need to learn how to use the public one. This is what happens when I run ck's, and yes, I did run _ck_refresh_figs.cts first.


You are in ship number 2

Enter second ship's ID
Command [TL=00:00:00]:[17065] (?=Help)? :
Where is a SAFE sector to TWarp to at the end?
Command [TL=00:00:00]:[17065] (?=Help)? :
How many figs to deploy? (1-1000)
Command [TL=00:00:00]:[17065] (?=Help)? :
Don't let ships fall below how many figs? (1,000-45,000)
Command [TL=00:00:00]:[17065] (?=Help)? :
What is the max density to grid? (set to 499 to avoid planets, 0 to ignore)
Note - regardless of this setting, if the density translates into too many
figs for your ship to handle, the script will not move into that sector.
Command [TL=00:00:00]:[17065] (?=Help)? :
Do you wish to CBY if you are photoned or podded and someone powers up in your s
ector? (Y/N)

Loading script: _ck_refresh_figs.cts

Command [TL=00:00:00]:[17065] (?=Help)? :
Script load error: File is not a compiled TWX script


Script terminated: _ck_refresh_figs.cts

Get the CK source files and recompile them.

http://www.tw2002.info/files/scripts/_ck_source.zip

Author:  Cruncher [ Sun Jun 30, 2013 10:15 am ]
Post subject:  Re: 2 ship gridder

Big D wrote:
Mombots pgridder has a 2 ship grid option. Look at the menu at the bottem when you call the pgrid script and you see the option.
I use it effectively against Flying Aces all the time.



I don't have citadels, just ships.

Author:  Cruncher [ Sun Jun 30, 2013 10:19 am ]
Post subject:  Re: 2 ship gridder

Helix wrote:
Get the CK source files and recompile them.

http://www.tw2002.info/files/scripts/_ck_source.zip


Thank you

Author:  Cruncher [ Sun Jun 30, 2013 1:25 pm ]
Post subject:  Re: 2 ship gridder

Using TWXide, how do you compile?

In Visual Studio the shortcut is F5, that's not working here.

Save as ....cts only saves the file as notepad type, does not compile.

I've compiled a .ts only once before and cannot remember how I did it.

Author:  T0yman [ Sun Jun 30, 2013 3:18 pm ]
Post subject:  Re: 2 ship gridder

Cruncher wrote:
Using TWXide, how do you compile?

In Visual Studio the shortcut is F5, that's not working here.

Save as ....cts only saves the file as notepad type, does not compile.

I've compiled a .ts only once before and cannot remember how I did it.

http://classictw.com/viewtopic.php?f=15&t=26375&p=201821&hilit=compile+ts#p201821

2 minutes using search function.

Author:  Cruncher [ Sun Jun 30, 2013 4:01 pm ]
Post subject:  Re: 2 ship gridder

T0yman wrote:
Cruncher wrote:
Using TWXide, how do you compile?

In Visual Studio the shortcut is F5, that's not working here.

Save as ....cts only saves the file as notepad type, does not compile.

I've compiled a .ts only once before and cannot remember how I did it.

http://classictw.com/viewtopic.php?f=15&t=26375&p=201821&hilit=compile+ts#p201821

2 minutes using search function.


Thank you, I forgot about using the command prompt. They teach us to code in fancy windows IDE's, and I believe in the link you posted that it would be nice if TWXide also compiled.

OK, so, I'm trying to compile CK's 2 ship gridder that Helix gave me the source code for. This is how the file begins

# ----- INCLUDES -----
include "_ckinc_getCurrentShipStats.ts"
include "_ckinc_quikstats.ts"
include "_ckinc_getInfo.ts"
include "_ckinc_CNsettings.ts"
include "_ckinc_Validate.ts"

and when I try to compile I get the following error:

Unable to process include file '_ckinc_getCurrentShipStats.ts'. Line 7 <
CK_2SHIP_GRID.TS>

How do I compile multiple .ts files into one?

Author:  Vid Kid [ Sun Jun 30, 2013 8:30 pm ]
Post subject:  Re: 2 ship gridder

Cruncher wrote:
T0yman wrote:
Cruncher wrote:
Using TWXide, how do you compile?

In Visual Studio the shortcut is F5, that's not working here.

Save as ....cts only saves the file as notepad type, does not compile.

I've compiled a .ts only once before and cannot remember how I did it.

http://classictw.com/viewtopic.php?f=15&t=26375&p=201821&hilit=compile+ts#p201821

2 minutes using search function.


Thank you, I forgot about using the command prompt. They teach us to code in fancy windows IDE's, and I believe in the link you posted that it would be nice if TWXide also compiled.

OK, so, I'm trying to compile CK's 2 ship gridder that Helix gave me the source code for. This is how the file begins

# ----- INCLUDES -----
include "_ckinc_getCurrentShipStats.ts"
include "_ckinc_quikstats.ts"
include "_ckinc_getInfo.ts"
include "_ckinc_CNsettings.ts"
include "_ckinc_Validate.ts"

and when I try to compile I get the following error:

Unable to process include file '_ckinc_getCurrentShipStats.ts'. Line 7 <
CK_2SHIP_GRID.TS>

How do I compile multiple .ts files into one?


IF files have include referances in them .. then you will have to locate those includes into your twx proxy include folder so that when the .ts is compiled it will include the include files (that should be in YOUR include folder)

Hope that helps.

Author:  Cruncher [ Sun Jun 30, 2013 8:46 pm ]
Post subject:  Re: 2 ship gridder

Vid Kid wrote:
Cruncher wrote:
T0yman wrote:
Cruncher wrote:
Using TWXide, how do you compile?

In Visual Studio the shortcut is F5, that's not working here.

Save as ....cts only saves the file as notepad type, does not compile.

I've compiled a .ts only once before and cannot remember how I did it.

http://classictw.com/viewtopic.php?f=15&t=26375&p=201821&hilit=compile+ts#p201821

2 minutes using search function.


Thank you, I forgot about using the command prompt. They teach us to code in fancy windows IDE's, and I believe in the link you posted that it would be nice if TWXide also compiled.

OK, so, I'm trying to compile CK's 2 ship gridder that Helix gave me the source code for. This is how the file begins

# ----- INCLUDES -----
include "_ckinc_getCurrentShipStats.ts"
include "_ckinc_quikstats.ts"
include "_ckinc_getInfo.ts"
include "_ckinc_CNsettings.ts"
include "_ckinc_Validate.ts"

and when I try to compile I get the following error:

Unable to process include file '_ckinc_getCurrentShipStats.ts'. Line 7 <
CK_2SHIP_GRID.TS>

How do I compile multiple .ts files into one?


IF files have include referances in them .. then you will have to locate those includes into your twx proxy include folder so that when the .ts is compiled it will include the include files (that should be in YOUR include folder)

Hope that helps.


OK so I have C:\TWX\Compile\include

In the compile folder I have TWXC.exe and ck_2ship_grid.ts, the file I'm trying to compile.

In the include folder I have copies of all the files the main .ts file requires.

I have found everything except _ckinc_Validate.ts
I may be wrong, but that sounds like an important piece of the puzzle.

Author:  Cruncher [ Sun Jun 30, 2013 8:57 pm ]
Post subject:  Re: 2 ship gridder

It's still not compiling...

Attachments:
ck_2ship_grid compile.jpg
ck_2ship_grid compile.jpg [ 13.69 KiB | Viewed 15088 times ]

Author:  Kewlbreeze [ Sun Jun 30, 2013 8:59 pm ]
Post subject:  Re: 2 ship gridder

Cruncher wrote:
It's still not compiling...

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

Author:  Cruncher [ Sun Jun 30, 2013 9:00 pm ]
Post subject:  Re: 2 ship gridder

Here's the file in TWXide

Attachments:
ck-2ship_grid TWXide.JPG
ck-2ship_grid TWXide.JPG [ 45.72 KiB | Viewed 15087 times ]

Page 1 of 4 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/