Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: tomato3017 on June 17, 2007, 07:51:46 PM

Title: Reserved Slots crash
Post by: tomato3017 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?
Title: Re: Reserved Slots crash
Post by: Megiddo 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.
Title: Re: Reserved Slots crash
Post by: tomato3017 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.
Title: Re: Reserved Slots crash
Post by: Megiddo 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.
Title: Re: Reserved Slots crash
Post by: tomato3017 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.
Title: Re: Reserved Slots crash
Post by: JamminR 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.
Title: Re: Reserved Slots crash
Post by: tomato3017 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!
Title: Re: Reserved Slots crash
Post by: JamminR 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?
Title: Re: Reserved Slots crash
Post by: Megiddo on June 18, 2007, 02:18:52 PM
I'm not sure that bots trigger the join hook, but I'd assume they do.
Title: Re: Reserved Slots crash
Post by: tomato3017 on June 18, 2007, 04:17:48 PM
Cool, Ill try it, thanks for all your input!