Author Topic: The drago-sim "api" !  (Read 6578 times)

Offline Magic.Crazy

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
The drago-sim "api" !
« on: April 19, 2006, 09:21:04 PM »
hi !
i'm coding a web application for my alliance, and i want to have it in relation with drago-sim, simply by passing parameters in the url and so redirect my users here.
unfortunately, i did not found the parameters which permit to pass metal/cristal/deut and i've read in another topic that the parameter submit=1 was disabled.

could you tell me how to pass ressources parameters if it works, and if the submit=1 is really disabled, and just for curiosity, why ?  :P

thanks for your work ! :)

Magic.Crazy
P.S. Sorry for my english, i'm french ! ;)

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: The drago-sim "api" !
« Reply #1 on: April 20, 2006, 11:11:23 AM »
Hi,

You can either pass entire spionage reports via scan=xyz or the metal, crystal and deuterium values b: v_met, v_kris, v_deut.

The submit=1 option is disabled to prevent people from using the DragoSim engine without redirecting their users to it. This way users always have to click on "simulate" once.

MrMage

Offline Magic.Crazy

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: The drago-sim "api" !
« Reply #2 on: April 20, 2006, 03:00:00 PM »
Thanks for those informations, that will be very helpful.
I understand the disabling of the submit option and being a webmaster, i agree to your choice !
So, my users will juste have to click on "simulate", that's great ! :)

Thanks very much for your application, and all the best for drago-sim :)