User Name
Password

Go Back   Planetarion Forums > Planetarion Administration > Planetarion Help Desk
Register FAQ Members List Calendar Arcade Today's Posts

Reply
Thread Tools Display Modes
Unread 12 May 2009, 18:11   #1
Gabriel
Gabba gabba hey hey
 
Join Date: Aug 2008
Posts: 212
Gabriel has a spectacular aura aboutGabriel has a spectacular aura aboutGabriel has a spectacular aura about
bcalc get

Could Cin please state how you would manipulate the url for the bcalc to add in ships, value, score roids, seperate fleets etc . Thanks
Gabriel is offline   Reply With Quote
Unread 16 May 2009, 15:59   #2
SpaceMonkey
Warden
Reactor Champion
 
SpaceMonkey's Avatar
 
Join Date: Jul 2005
Location: The Far Side
Posts: 137
SpaceMonkey is a splendid one to beholdSpaceMonkey is a splendid one to beholdSpaceMonkey is a splendid one to beholdSpaceMonkey is a splendid one to beholdSpaceMonkey is a splendid one to beholdSpaceMonkey is a splendid one to beholdSpaceMonkey is a splendid one to behold
Re: bcalc get

Although I am obviously not Cin, I know a little about this. Hope this helps.

For ships you do something like this:
Code:
def_1_0=1000&att_1_1=1000
Where, in general, the names are:
Code:
def_<fleet>_<ship>
att_<fleet>_<ship>
The fleets are numbered 1 to 10 and the ships are currently numbered 0-63. The ships are numbered according to the order on the manual page, so to have 2000 Brigand in defence fleet 3:
Code:
def_3_44=2000
However, to show multiple fleets you must set att_fleets and def_fleets accordingly.
Code:
def_fleets=3
To add value and score:
Code:
def_planet_value_1=1000000&def_planet_score_1=2000000&att_planet_value_1=2000000&att_planet_score_1=3000000
Where, in general, the names are:
Code:
def_planet_value_<fleet>
att_planet_score_<fleet>
On the defence side you can also set structures, roids, and races:
Code:
def_structures=20&def_metal_asteroids=201&def_crystal_asteroids=205&def_eonium_asteroids=199
def_1_race=1&def_3_race=4
The races are numbered 1-5 for Ter, Cat, Xan, Zik, Etd, with the default of 0 meaning race isn't set. In the example above fleet 1 is Terran and fleet 3 is Zikonian.

The next 2 options you have to be logged in to the game to access so not sure what help they are.

Code:
bcalc_access=0&comment=url+encoded+comment
bcalc_access can take 4 values:
  1. Public
  2. Private
  3. Galaxy
  4. Alliance

A complete URL would look something like this:
Code:
http://round31.planetarion.com/bcalc.pl?def_1_44=2000&def_1_race=4&def_planet_value_1=1000000&def_planet_score_1=2000000&def_metal_asteroids=201&def_crystal_asteroids=205&def_eonium_asteroids=199&att_planet_value_1=2000000&att_planet_score_1=3000000&att_1_53=5000&att_1_60=3000
SpaceMonkey is offline   Reply With Quote
Unread 16 May 2009, 18:05   #3
Gabriel
Gabba gabba hey hey
 
Join Date: Aug 2008
Posts: 212
Gabriel has a spectacular aura aboutGabriel has a spectacular aura aboutGabriel has a spectacular aura about
Re: bcalc get

Cheers boss
Gabriel is offline   Reply With Quote
Reply



Forum Jump


All times are GMT +1. The time now is 10:44.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018