View unanswered posts | View active topics It is currently Wed Apr 22, 2026 4:45 pm



Reply to topic  [ 6 posts ] 
 Problem with ck_shipcap fixed 
Author Message
Lieutenant J.G.
User avatar

Joined: Sun Mar 13, 2005 3:00 am
Posts: 387
Location: USA
Unread post 
OK I have had a problem with the ck_shipcap script that requires you to run ck_shipstats file. People have had workarounds to add alien ships to same file. But I ran into a problem tonight while testing out an edit for a corpie.

First I manually added the ship stats to the file and kept getting a message I have no information on that ship. Then I went into tedit and made ships show up on CC screen, still had same problem. I originally thought that it might be some ansi codes that were interfering with the ship cap, but that was not the problem. The problem was that these particular ships had full names that were 4 words. I took off the last word while leaving everything else the same and lo and behold I ran script successfully.

Before I start a flamewar let me preface this with the only reason I am posting is if anyone else has had this same kind of problem here is a workaround when we can't fix the original script.

_________________
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


Mon Mar 05, 2007 12:34 am
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post 
The ship you're in... the c;q info, has to be listed in the shipstat file. Are you getting the name of the ship from the c;q or the I?

_________________
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


Mon Mar 05, 2007 3:15 am
Profile ICQ WWW
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post 
Thanks Maniac. If I remember correctly I had the same problem with the ascian boat.... slept a couple of hours since then tho.

_________________
               / Promethius / Enigma / Wolfen /

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


Mon Mar 05, 2007 6:09 am
Profile ICQ
Lieutenant

Joined: Sat Nov 06, 2004 3:00 am
Posts: 600
Location: USA
Unread post 
bah... depends on how their named
example for SZ here... works fine except Redrum pods
just rename file
SHIP CLASS         & nbsp;         & nbsp;         & nbsp;         & nbsp;          OF DF WAVE SHIELDS
*** Life Source ***         &nb sp;         &nb sp;         &nb sp;         &nb sp;  08 40 100   1000
Standard Issue         & nbsp;         & nbsp;         & nbsp;         & nbsp;       10 15 750   4000
Scout         & nbsp;         & nbsp;         & nbsp;         & nbsp;         & nbsp;      20 20 250   1000
Missile Barrage          ;           ;           ;           ;       13 33 2000 12000
BattleStar        &n bsp;         &n bsp;         &n bsp;         &n bsp;         &n bsp; 20 25 3000 16000
Corporate BattleStation         ;           ;           ;           ;12 27 6000 16000
Colonial Trader                                                  06 22 250   1000
CargoTran        &nb sp;         &nb sp;         &nb sp;         &nb sp;         &nb sp;   08 08 125   4000
Merchant Freighter        &nb sp;         &nb sp;         &nb sp;         &nb sp;    08 12 100   1000
Imperial StarTrader        &n bsp;         &n bsp;         &n bsp;         &n bsp;   20 27 15000 12000
Havoc GunStar          ;           ;           ;           ;         12 12 1500 4500
StarMaster        &n bsp;         &n bsp;         &n bsp;         &n bsp;         &n bsp; 14 14 1000 2000
Constellation         ;           ;           ;           ;           ;14 14 2000 3000
T'Khasi Orion         & nbsp;         & nbsp;         & nbsp;         & nbsp;        11 11 250   750
Homeland Defender        &nbs p;         &nbs p;         &nbs p;         &nbs p;    10 80 800   16000
Taurean Mule         &n bsp;         &n bsp;         &n bsp;         &n bsp;         05 30 125   200
Interdictor Menace                                               17 23 20000 8000
Imperial StarTrader Elite         & nbsp;         & nbsp;         & nbsp;      20 40 1250 15000
Underground Trader                                               13 38 2500 16000
StarSystem X           ;           ;           ;           ;         13 30 250   8000
Mission E-Recon          ;           ;           ;           ;       13 30 500   10000
Last-Request                                                      30 38 25000 16000
RedRum                                                            41 38 25000 16000
Hard Line         &n bsp;         &n bsp;         &n bsp;         &n bsp;         &n bsp;  10 15 35000 16000
Subterfuge Enterra          ;           ;           ;           ;    31 41 15000 16000
Ascian Boat of Humility        &nbs p;         &nbs p;         &nbs p;         44 15 60000 16000
Subterfuge Mantis                                               27 38 20000 16000
Ascian Troller          ;           ;           ;           ;        45 20 25000 16000
Black Scorpion        &nbs p;         &nbs p;         &nbs p;         &nbs p;        22 29 20000 12000
Dreadnought        & nbsp;         & nbsp;         & nbsp;         & nbsp;         & nbsp; 23 26 5000 16000
Assault Trader                                                   15 25 1000 200
Battle Cruiser          ;           ;           ;           ;        12 26 2000 800
Scorpion        &nbs p;         &nbs p;         &nbs p;         &nbs p;         &nbs p;    15 15 20000 6000

_________________
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 Mar 05, 2007 12:57 pm
Profile ICQ WWW
Lieutenant

Joined: Sat Nov 06, 2004 3:00 am
Posts: 600
Location: USA
Unread post 
well that didn't come out like I copied... sorry

_________________
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 Mar 05, 2007 12:58 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post 
k, Just to see if this works replace the = sign with space:


Code:
SHIP=CLASS================================================== =OF=DF=WAVE==SHIELDS
***=Life=Source=***========================================= =08=40=100===1000
Standard=Issue============================================== =10=15=750===4000
Scout======================================================= =20=20=250===1000
Missile=Barrage============================================= =13=33=2000==12000
BattleStar================================================== =20=25=3000==16000
Corporate=BattleStation===================================== =12=27=6000==16000
Colonial=Trader============================================= =06=22=250===1000
CargoTran=================================================== =08=08=125===4000
Merchant=Freighter========================================== =08=12=100===1000
Imperial=StarTrader========================================= =20=27=15000=12000
Havoc=GunStar=============================================== =12=12=1500==4500
StarMaster================================================== =14=14=1000==2000
Constellation=============================================== =14=14=2000==3000
T'Khasi=Orion=============================================== =11=11=250===750
Homeland=Defender=========================================== =10=80=800===16000
Taurean=Mule================================================ =05=30=125===200
Interdictor=Menace========================================== =17=23=20000=8000
Imperial=StarTrader=Elite=================================== =20=40=1250==15000
Underground=Trader========================================== =13=38=2500==16000
StarSystem=X================================================ =13=30=250===8000
Mission=E-Recon============================================= =13=30=500===10000
Last-Request================================================ =30=38=25000=16000
RedRum====================================================== =41=38=25000=16000
Hard=Line=================================================== =10=15=35000=16000
Subterfuge=Enterra========================================== =31=41=15000=16000
Ascian=Boat=of=Humility===================================== =44=15=60000=16000
Subterfuge=Mantis=========================================== =27=38=20000=16000
Ascian=Troller============================================== =45=20=25000=16000
Black=Scorpion============================================== =22=29=20000=12000
Dreadnought================================================= =23=26=5000=16000
Assault=Trader============================================== =15=25=1000=200
Battle=Cruiser============================================== =12=26=2000=800
Scorpion==================================================== =15=15=20000=6000


I'm not sure why the space is showing up. It isn't in the text I pasted in, but you have to delete it to align up properly to use the info.

_________________
               / Promethius / Enigma / Wolfen /

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


Mon Mar 05, 2007 1:31 pm
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

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