View unanswered posts | View active topics It is currently Sun May 12, 2024 5:12 pm



Reply to topic  [ 2 posts ] 
 Lonestar's Unexplored Scout v3 
Author Message
Chief Warrant Officer

Joined: Sun Mar 06, 2011 12:22 am
Posts: 183
Unread post Lonestar's Unexplored Scout v3
I started using this in order to finish exploring the last few percent of the galaxy before trying to find a nice xenophobic bubble. It seems that when it runs low on fuel it looks for the nearest Sxx port, but it keeps going to Bxx ports, selling what fuel I have, and stalling if the port tries to sell me anything. I think that the problem is in here:

Code:
while ($Gas_adj <= SECTOR.WARPCOUNT[CURRENTSECTOR])
      SetVar $Gas_adjSector SECTOR.WARPS[CURRENTSECTOR][$Gas_adj]
      if ((PORT.CLASS[$Gas_adjSector] = 3) OR (PORT.CLASS[$Gas_adjSector] = 4) OR (PORT.CLASS[$Gas_adjSector] = 5) OR (PORT.CLASS[$Gas_adjSector] = 7))
         setVar $Gas_ADJ_Has_Gas TRUE
         goto :We_Got_Game
      end
       add $Gas_adj 1
   end


Classes three, four, five, and seven are Sxx, so why is it going to the wrong ports?

_________________
Photons away!


Sun Apr 21, 2013 4:44 am
Profile
Chief Warrant Officer

Joined: Sun Mar 06, 2011 12:22 am
Posts: 183
Unread post Re: Lonestar's Unexplored Scout v3
Okay, maybe there is some other problem:

Enter your choice [T] ? T
<Port>

How many holds of Fuel Ore do you want to buy [249]?
Agreed, 249 units.

Your offer [2,455] ?
I hate haggling, they're all yours.

Shutdown Autopilot and stay here? (Y/N) [N]
TradeWars Game Server Copyright (C) EIS
TWGS v2.20b www.eisonline.com

I am at 99.51% In theory, it could actually finish the next run.

_________________
Photons away!


Sun Apr 21, 2013 5:59 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

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