Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: SK83RJOSH on July 10, 2010, 02:01:47 AM
-
Well If I try to spawn an affect I get an error with URestrict.
An as for the admin only guns not being admin only I have no idea why...
Ive had many uses abusing this an spamming the manhack gun.
An Many players Complaining about not be able to spawn effects.
My effect limit is two.
But it doesn't make a difference.
-
What's the error you're getting from URestrict?
-
Sorry Fell asleep yesterday.
Um Ill go get it soon will post it below.
-
Wow im so sorry I kinda went outta town.
If you could look into the admin only gun thing that help alot.
ERROR: GAMEMODE:'PlayerSpawnEffect' Failed: addons\urestrict\lua\ulib\modules\base\props.lua:25: attempt to index field '?' (a nil value)
-
Not 100% sure, but this "should" fix it. I would test it, but I'm at work.
URestrict/lua/ULib/modules/URestrict.lua Line:12
ur.limit = { ["props"] = {}, ["npcs"] = {}, ["vehicles"] = {}, ["ragdolls"] = {}, ['sents'] = {} }
Change the above line to read:
ur.limit = { ["props"] = {}, ["npcs"] = {}, ["vehicles"] = {}, ["ragdolls"] = {}, ['sents'] = {}, ['effects'] = {} }
-
Heres what console gives me.
[ULIB] Loading SHARED module: URestrict.lua
addons\urestrict\lua\ulib\modules\urestrict.lua:145: '<name>' expected near 'end'
[ULIB] Loading CLIENT module: urestrict_cl.lua
Well when you get home or tomorrow look into the Urestrict problem.
For now im gonna waste time on Tf2 an take a shower.
-
Post your URestrict.lua file to jay209015.pastebin.com
-
The if not ur then part is right in the lua I just copied it wrong an noticed after I posted it :3
-
Did you get it working?
-
Nevermind, found your error, you overwrote the wrong line.
Here you go.
http://jay209015.pastebin.com/tejGi5xW (http://jay209015.pastebin.com/tejGi5xW)
-
No I had it right like I said I pasted it wrong on paste bin.
Its giving me the same error as I said in the last post.
I.E.
[ULIB] Loading SHARED module: URestrict.lua
addons\urestrict\lua\ulib\modules\urestrict.lua:145: '<name>' expected near 'end'
[ULIB] Loading CLIENT module: urestrict_cl.lua
Now I have a urestrict thats not working and minges spawning manhacks lol.
-
Please do an svn checkout to the latest revision: 32
-
Will do