Author Topic: request - recompile  (Read 1095 times)

0 Members and 2 Guests are viewing this topic.

Offline rumpel

  • Camper
  • ***
  • Posts: 410
request - recompile
« on: February 25, 2008, 03:59:34 pm »
hoi

because the arcade madness script crashs sometimes on my serv i need a script or w/e that recompiles it
and dont say: use the onscriptcrash in the server.ini <- its useful yeah but it recompile only once but i need a script that dos

/recompile
/recompile

got it? eh hope u can understand me ;P
banned.

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: request - recompile
« Reply #1 on: February 26, 2008, 04:17:53 pm »
this might help: http://forums.soldat.pl/index.php?topic=22562.0

Also, EnEsCe, if you're reading this... Is it possible to add the ability to recompile scripts from a script? As an argument to Command()

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: request - recompile
« Reply #2 on: February 26, 2008, 09:11:33 pm »
Nothing wrong with doing Command('/recompile');.....

Offline -Snowy-

  • Major(1)
  • Posts: 44
    • Snowy
Re: request - recompile
« Reply #3 on: February 26, 2008, 11:50:52 pm »
ive also had the same issue with the /recompile and recompile on crash. for some strange reason it seems that when you recompile after the script has crashed, the first time it is typed it disables the script (or does nothing), and the second time the script is properly recompiled (which is why using recompile onscriptcrash is useless, to me anyway). id say the recompile procedure just needs a bit of fixing (probably just change the order it does things)

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: request - recompile
« Reply #4 on: February 27, 2008, 02:28:36 am »
Nothing wrong with doing Command('/recompile');.....
weird, i thought it didn't work...

It still gives out an error though:
Code: [Select]
[*] Exception raised on call to OnCommand (List index out of bounds (48)) with different numbers each time.

Is this supposed to happen?

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: request - recompile
« Reply #5 on: February 27, 2008, 04:02:28 am »
Is the /recompile script in a different script to the arcade madness script?
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline rumpel

  • Camper
  • ***
  • Posts: 410
Re: request - recompile
« Reply #6 on: February 27, 2008, 05:48:36 am »
nah... im using the Onscriptcrash
and this soldat restart script -> does it works with selfkill?
banned.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: request - recompile
« Reply #7 on: February 29, 2008, 12:52:42 am »
well when the script crashes, In my head, I don't think it will be able to execute the command, so you might want to make another script in the same folder which recompiles on every mapchange, or after a certain time period.
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs