Author Topic: Dragosim integrated in www.ogamealliances.tk?  (Read 10938 times)

Ocramius

  • Guest
Dragosim integrated in www.ogamealliances.tk?
« on: February 20, 2006, 03:23:05 PM »
Hello!
I am a player of www.ogame.it, and i took the script of dragosim 1 to make some tests. Can i use the code on my website?
Thank you for your attention,
I'll come again ;)

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #1 on: February 20, 2006, 06:56:11 PM »
Hi Ocramius,

I don't like it if my ocde is hosted on another site. But you can pass parameters to the DragoSim 2 by appending them to the end of the URL, like:

http://drago-sim.com/index.php?numunits[0][0][k_t]=5&numunits[0][0][s_j]=11&numunits[1][0][ra]=1

Which simulates a fight of 5 small transports and 11 heavy fighters against one rocket launcher.

Greetings
MrMage
« Last Edit: February 20, 2006, 07:06:12 PM by MrMage »

Offline Ocramius Aethril

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #2 on: February 27, 2006, 01:07:38 PM »
I've linked my spy dbms to your website, i hope this will bring you some new incomes

But i have another question: couldn't dragosim directly calculate the result of a battle from the $_GET data?

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #3 on: February 27, 2006, 04:19:03 PM »
Well, I disabled this. You can only pass data via GET, but can't simulate.

Offline Ocramius Aethril

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #4 on: February 27, 2006, 09:07:27 PM »
so... is it possible to use the data of my spy reports sending via post the single units to your script and having a direct calculation?

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #5 on: February 28, 2006, 01:47:28 PM »
No. This is not allowed. I do not want this.

Offline Ocramius Aethril

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #6 on: February 28, 2006, 04:54:10 PM »
ok, np

Offline Ocramius Aethril

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #7 on: March 03, 2006, 12:42:00 AM »
Another question: how do i set the language of dragosim by $_GET?

Offline Magic.Crazy

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #8 on: April 19, 2006, 09:13:51 PM »
just add lang=xxx with your language in the url parameters ! ^^

Offline Ocramius Aethril

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Dragosim integrated in www.ogamealliances.tk?
« Reply #9 on: April 20, 2006, 09:15:57 PM »
thx very much ;)