Author Topic: XGUI and ULIB errors after server update/svn update  (Read 2448 times)

0 Members and 1 Guest are viewing this topic.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
XGUI and ULIB errors after server update/svn update
« 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?
My TTT server. Join the fun!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI and ULIB errors after server update/svn update
« Reply #1 on: February 09, 2011, 05:40:02 PM »
Hmm, is one of your cvars an obscenely long string?
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: XGUI and ULIB errors after server update/svn update
« Reply #2 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.
"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: XGUI and ULIB errors after server update/svn update
« Reply #3 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.
Experiencing God's grace one day at a time.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: XGUI and ULIB errors after server update/svn update
« Reply #4 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
My TTT server. Join the fun!

Offline Solonari

  • Newbie
  • *
  • Posts: 18
  • Karma: 2
Re: XGUI and ULIB errors after server update/svn update
« Reply #5 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.