Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: krooks on February 09, 2011, 05:28:34 PM

Title: XGUI and ULIB errors after server update/svn update
Post by: krooks on February 09, 2011, 05:28:34 PM
Removing Hook 'XGUI_InitServer'
and
Error sending usermessage
...perhaps the ULIB error is my fault.. Now that I think of it, I think that refers to the opening message when you join?
Title: Re: XGUI and ULIB errors after server update/svn update
Post by: Megiddo on February 09, 2011, 05:40:02 PM
Hmm, is one of your cvars an obscenely long string?
Title: Re: XGUI and ULIB errors after server update/svn update
Post by: JamminR on February 09, 2011, 08:27:35 PM
We don't use umsg's to send advertisements, do we? I mean, 255 is a long ad, but, i could see it being done.
Title: Re: XGUI and ULIB errors after server update/svn update
Post by: Megiddo on February 09, 2011, 08:32:39 PM
Ads, when they're being broadcast, can be any length. When XGUI is sending ad info to clients I think it's using clientRPC (which can be any length). The error is for ulib_repWriteCvar, which I think is sent on client join to inform them of current cvar values.
Title: Re: XGUI and ULIB errors after server update/svn update
Post by: krooks on February 10, 2011, 09:02:44 AM
I haven't had time to mess with it, but I *believe* it has to do with the welcome message.
I think this because my admins have been using the welcome message to write funny things lately, and yes its been getting long. Also, I joined yesterday just to see that there were no major errors after updating, and the welcome message did not show at all.

Maybe today I'll have some time
Title: Re: XGUI and ULIB errors after server update/svn update
Post by: Solonari on February 10, 2011, 06:48:18 PM
Had a similar failure thanks to the version string formatting for MOTD during logon.  As a result of the hook being removed, only the first person to log onto the server would have other addons like Wiremod working properly (guess Wire initialized before ULX failed out).  Subsequent logins would fail to have addons init properly on spawn.

Replaced the version string format() call with a string constant to workaround the issue while things get worked out.