Author Topic: Connection Problems....  (Read 718 times)

0 Members and 3 Guests are viewing this topic.

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Connection Problems....
« on: September 27, 2008, 12:51:26 pm »
I have no idea why it happends, but it does. Ive made a mode, and i went thorugh the script a thousent times to check for errors, and everything should be fine. But it isint. When i run the server and then join it, after a few seconds i have connection problems and my server crashes. What im asking for, is some skilled scripter to fix it for me, because ive spend alot of time doing this, and i still cant get it right.

What the mode is about: alpha and bravo team have to get the box (vest in the middle of the map), then go back near their spawn, and that counts as a point. I have to reapeat spawning and killing the vest, because it will dissapear. So i used a repeat until loop, and it repeats untill a var called DontSpawn (boolean) is true. Look in the code (its well commented) to see exactly what i mean. Ive also made a testing map for this mode, i will attach it here.

Pleeeeeeeease, anybody skilled, help me! ;(
« Last Edit: September 27, 2008, 12:57:15 pm by Norbo »

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Connection Problems....
« Reply #1 on: September 27, 2008, 01:35:22 pm »
For the record, SpawnTheBox is causing an infinite loop because of DontSpawn not being modified in any way inside said loop (this particular issue is/was being discussed further on IRC).

edit:
20:48 <Toumaz> Norbo11: http://pastebin.com/f4469e525
20:48 <Toumaz> very basic, haven't checked to see if it compiles, but that should be a good place to start from
« Last Edit: September 27, 2008, 01:50:43 pm by Toumaz »

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Connection Problems....
« Reply #2 on: September 27, 2008, 03:10:52 pm »
For the record, SpawnTheBox is causing an infinite loop because of DontSpawn not being modified in any way inside said loop (this particular issue is/was being discussed further on IRC).

edit:
20:48 <Toumaz> Norbo11: http://pastebin.com/f4469e525
20:48 <Toumaz> very basic, haven't checked to see if it compiles, but that should be a good place to start from


yes, i did it :) it is greatly appriciated, Toumaz
when i realese the mode, i will credit you aswell