Author Topic: GetURL function on OnMapChange event (Bug)  (Read 817 times)

0 Members and 1 Guest are viewing this topic.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
GetURL function on OnMapChange event (Bug)
« on: May 04, 2007, 01:14:00 pm »
Enesce,
When using geturl function on mapchange event server crashes.
it gives connection problem error, players can not move but they can chat.

However if i use geturl function another event it's ok.

(sorry for little bad english)
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline urraka

  • Soldat Developer
  • Flagrunner
  • ******
  • Posts: 703
Re: GetURL function on OnMapChange event (Bug)
« Reply #1 on: May 04, 2007, 03:37:59 pm »
I use GetURL on the same OnMapChange event and it works fine for me. Maybe it's because you are requesting something that takes too long and screws up everything.
urraka

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Re: GetURL function on OnMapChange event (Bug)
« Reply #2 on: May 04, 2007, 04:52:39 pm »
Exactly. If a procedure takes too long to run the server like disconnects.
So thats why GetURL is bad because if the web server takes a while to send you a response everything screws up.