Author Topic: Reserved Slots crash  (Read 3823 times)

0 Members and 1 Guest are viewing this topic.

Offline tomato3017

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Reserved Slots crash
« on: June 17, 2007, 07:51:46 PM »
Whenever I setup my dedicated server using the latest ulx and ulib and set the reserved slots mode to 3, When someone connects and it kicks them because of reserved slots it crashes the server. Is this a known issue?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Reserved Slots crash
« Reply #1 on: June 17, 2007, 08:25:52 PM »
With the old ULX yes. If it's still doing it for you with the new ULX (3.10), then it's another script causing it.
Experiencing God's grace one day at a time.

Offline tomato3017

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Reserved Slots crash
« Reply #2 on: June 17, 2007, 09:40:56 PM »
Where does it cause the conflict? The player disconnect hook? I have 3 addons that use that hook: Prop Protection, gmtalk, and my own mysql creation.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Reserved Slots crash
« Reply #3 on: June 17, 2007, 09:46:26 PM »
The problem ULX was having with it previously was trying to send umsgs to the player after they disconnected, so it might be the same thing for you in another mod.
Experiencing God's grace one day at a time.

Offline tomato3017

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Reserved Slots crash
« Reply #4 on: June 18, 2007, 12:01:14 PM »
Hmm, I am trying to go through my addons to figure out which one it is. Do you know anyway I can simulate a user being kicked for a reserved slot? As this is kinda of hard to test without something like that.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Reserved Slots crash
« Reply #5 on: June 18, 2007, 12:11:24 PM »
You'll need to also have your addons for Ulib/ULX for the local client.
Find two available Steam friends.
Set reserved slots to 1 in your local ULX server config.
Start a listen server, server max players 2.
You can set a password so no one but your friends know.
Have a non-admin friend join.
Few minutes later, have an admin friend join.

I'm sick today, not fully thinking clearly, but I would think that should work without having to use your dedicated.
« Last Edit: June 18, 2007, 12:14:24 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline tomato3017

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Reserved Slots crash
« Reply #6 on: June 18, 2007, 12:57:44 PM »
Alright, I guess i'll have to do that. I just saw Chausette testing Prop Protection with bots and thought I could do the same here.

Thanks!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Reserved Slots crash
« Reply #7 on: June 18, 2007, 01:43:55 PM »
Hmm. You might be right.
Gmod 9, lua wouldn't see bots if I remember correctly.
However, I think I saw megiddo testing using bots when he was working (I think) on reserved slots.

Megiddo or spbogie, what's your input?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Reserved Slots crash
« Reply #8 on: June 18, 2007, 02:18:52 PM »
I'm not sure that bots trigger the join hook, but I'd assume they do.
Experiencing God's grace one day at a time.

Offline tomato3017

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Reserved Slots crash
« Reply #9 on: June 18, 2007, 04:17:48 PM »
Cool, Ill try it, thanks for all your input!