ULX

Author Topic: Ulx rasing error some time and make AdvDupe not work!  (Read 5700 times)

0 Members and 1 Guest are viewing this topic.

Offline hopkins

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Ulx rasing error some time and make AdvDupe not work!
« on: February 11, 2011, 05:21:07 AM »
Hello,

I can't add as admin when i use the release version of Ulx, so i get the SVN version and it worked!

I am the superadmin of the server, but when i use the AdvDupe to pasting things, the games lost connection to the server(Right-Top corner have "Connection Problem"), then, i go back to the desktop, i found that my srcds is keeping loading.

After a few minutes, the srcds have get back to normal, but i see these error, and i have dropped connection from the server:
Code: [Select]
repopulating clients
Player [1][[HK]HopkinsKong] authed superadmin
ERROR: Hook 'ULXInitPlayer' Failed: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
Removing Hook 'ULXInitPlayer'
ERROR: Hook 'ULXWelcome' Failed: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
Removing Hook 'ULXWelcome'
populating client Player [1][[HK]HopkinsKong]
Timer Error: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
Timer Error: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
repopulating clients
Dropped [HK]HopkinsKong from server (Disconnect by user.)
AdvDupe Timer Error: [garrysmod\addons\adv duplicator\lua\weapons\gmod_tool\stools\adv_duplicator.lua:611] attempt to call method 'SendLua' (a nil value)

I believed that is ULX making this error, cuz i have no this issue if i am not using ULX!

I am not using SV_Download, and i have these addons:
Quote
BlackHoleCaches
Brother in Arms
Buoyancy Tool
CAF
catdaemon_stargate
Conna's Tool Pack
counter-strike
CSS Realistic Weapons 4.0
day-of-defeat
DoorSTool
EasyPrecision
enginemod
Fin2
Garry's Bombs 3
GCOMBAT08
GCX
GS2
hl2_ep2
KCGEORGE's Rifile Pack 2
keypad
Laser STool 2
LifeCube3
LS3Core
LS3ents
Modern warfare killstreaks
MW2 Killstreak models
NPC Groups V3
Nuke Pack 4
PetrolSystems
phx3
portal
RD3
RTS
SB3
SBEP_Entities
SBEP_Experimental
SBEP_Fortifications
SBEP_Models
SBEP_Weapons
SicknessModel
Smart_Constraint
smart_welding
smartsnap
SpacebuildModelPackAlpha3
Stacker STool
stargate
stargate_resources
tf2
toybox
ulib
ulx
Unbreakable
WeightSTool
wire
wire model pack 1
Youtube Player
zeno_clash

Any solution???

UPDATE:
Now i re-get in the server, and i found all things have turn to purple!!!


Thanks.
« Last Edit: February 11, 2011, 05:53:00 AM by hopkins »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #1 on: February 11, 2011, 10:00:57 AM »
Please make sure you're using the latest revisions of ULib and ULX.
Experiencing God's grace one day at a time.

Offline hopkins

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #2 on: February 11, 2011, 10:09:19 AM »
Both i have updated already!

And now i tried to remobe ulx, and the advdupe stil have ehis err:
Code: [Select]
AdvDupe Timer Error: [garrysmod\addons\adv duplicator\lua\weapons\gmod_tool\stools\adv_duplicator.lua:611] attempt to call method 'SendLua' (a nil value)

I am using SVN version of ULX and ULib!! ALL are UPTODATE!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #3 on: February 11, 2011, 02:25:26 PM »
I'd first start by process of elimination.
With the recent Gmod updates, and all the addons you use, you're just asking for conflicts if one doesn't work right.
Shutdown server.
Remove all but ULib/ULX latest SVN.
Restart server.
In server console, look for errors related to ULib and ULX at server startup, and when players connect.
Join server.
Look for errors in your local console when you connect, or try to run commands.
Let us know what/if any, and how you replicate them.
If you have errors, run, from your server console, a "ulx debuginfo" and attach the file it tells you it output to your next post
If no errors, add each addon back, one big one at a time, restarting server every time.

I'd say your chances of finding out what is having problems isn't really ULX are about 80% (towards not.)
I'd say higher, but, Gmod was updated lately, and it seems we always have to find new fixes for Garry's 'updates'.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline hopkins

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #4 on: February 12, 2011, 08:44:57 AM »
Fixed...

Becuase i didn't update my advdupe svn after the server update... :D


Thanks all for your help.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #5 on: February 12, 2011, 08:49:34 AM »
it seems we always have to find new fixes for Garry's 'updates'.
Seems Tad20/AdvDupe author is always having to find fixes for Garry's updates too. :)
Glad you got it sorted out.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #6 on: February 13, 2011, 12:48:55 PM »
I am getting these same errors with the latest version of wiremod...

Code: [Select]
ERROR: Hook 'ULXInitPlayer' Failed: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
Removing Hook 'ULXInitPlayer'
ERROR: Hook 'ULXWelcome' Failed: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
Removing Hook 'ULXWelcome'

I know its not a problem with ULX, because as soon as I downgrade wiremod the problem goes away. I just want to know why this happens, and may be how to fix it.

I really want to get the latest version of wiremod to work with ULX. Please Reply.

Move this post to a new thread if you like.
« Last Edit: February 13, 2011, 06:41:26 PM by HeLLFox_15 »
I cry every time I see that I am not a respected member of this community.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #7 on: February 13, 2011, 08:10:14 PM »
I am getting these same errors with the latest version of wiremod...

Code: [Select]
ERROR: Hook 'ULXInitPlayer' Failed: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
Removing Hook 'ULXInitPlayer'
ERROR: Hook 'ULXWelcome' Failed: [@garrysmod\addons\ulx\lua\ulx\lib.lua:70] bad argument #2 to 'format' (number expected, got nil)
Removing Hook 'ULXWelcome'

I know its not a problem with ULX, because as soon as I downgrade wiremod the problem goes away. I just want to know why this happens, and may be how to fix it.

I really want to get the latest version of wiremod to work with ULX. Please Reply.

Move this post to a new thread if you like.

I haven't confirmed it, but my spidey senses tell me that Wiremod is modifying the string library behavior. Which sort of makes sense because garry changed it recently, so they probably just changed it back to how it originally worked (which is how it should work, but that's a soapbox for another day).

All of this aside, I'm supporting a workaround for this issue. Try ULX rev 157 and let me know if you're still having problems.
Experiencing God's grace one day at a time.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #8 on: February 14, 2011, 01:30:56 PM »
I haven't confirmed it, but my spidey senses tell me that Wiremod is modifying the string library behavior. Which sort of makes sense because garry changed it recently, so they probably just changed it back to how it originally worked (which is how it should work, but that's a soapbox for another day).

All of this aside, I'm supporting a workaround for this issue. Try ULX rev 157 and let me know if you're still having problems.

I have updated and no errors have happened so far, thank you very much.  :D

+1 for you!
I cry every time I see that I am not a respected member of this community.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx rasing error some time and make AdvDupe not work!
« Reply #9 on: February 14, 2011, 02:06:31 PM »
*sigh*
Great.
Now we're not only supporting our own code, working around Garry's many 'upgrades' and 'fixes' of Gmod, we're now writing workarounds for other mod's work arounds.

Scary.
Awesome, but scary. (And, no, I in no way blame Tad20 (or whoever had to do it for Wiremod) for the workaround we just did.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming