Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: SilentNinja on May 15, 2016, 01:53:25 PM

Title: Lua error when trying to add superadmin through console
Post by: SilentNinja on May 15, 2016, 01:53:25 PM
I am getting this error when trying to add superadmin through console or my server host rcon:

[ERROR] RunString:677: attempt to index a nil value
1. ZFR_PlayerSetForumGroup - RunString:677
2. fn - RunString:758
3. Call - addons/ulib/lua/ulib/shared/hook.lua:110
4. probe - addons/ulib/lua/ulib/server/ucl.lua:1030
5. tempfuncadd - addons/ulib/lua/ulib/server/ucl.lua:736
6. addUser - addons/ulx/lua/ulx/xgui/server/sv_groups.lua:47
7. call - addons/ulx/lua/ulx/modules/sh/user.lua:57
8. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
9. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
10. unknown - lua/includes/modules/concommand.lua:54



[ERROR] RunString:677: attempt to index a nil value
1. ZFR_PlayerSetForumGroup - RunString:677
2. fn - RunString:758
3. Call - addons/ulib/lua/ulib/shared/hook.lua:110
4. probe - addons/ulib/lua/ulib/server/ucl.lua:1030
5. tempfuncadd - addons/ulib/lua/ulib/server/ucl.lua:736
6. addUser - addons/ulx/lua/ulx/xgui/server/sv_groups.lua:47
7. call - addons/ulx/lua/ulx/modules/sh/user.lua:57
8. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
9. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
10. unknown - lua/includes/modules/concommand.lua:54


Can anyone help?
Title: Re: Lua error when trying to add superadmin through console
Post by: JamminR on May 15, 2016, 02:13:25 PM
Please tell us exactly what command you're typing at rcon to attempt to make someone superadmin, including the rcon command itself if not at a direct console.
And, as asked in the template you erased before typing your question, please run "ulx version" and tell us what it reports.

Without knowing more, it looks like you have a conflicting addon or gamemode that conflicts with ULib and/or ULX.
The first two traceback lines (1 and 2) have nothing to do with ULX or ULib.
I've no idea what ZFR represents, or why a RunString would be involved. As I said, nothing to do with ULX/ULib.
Title: Re: Lua error when trying to add superadmin through console
Post by: SilentNinja on May 15, 2016, 02:19:57 PM
So I am using nfoservers control panel to send a command... I am typing in: "ulx adduser SilentNinja superadmin" *Without quotations and it is coming up with that error... I believe you might be right about the conflicting addon. I will check. And I am running curring ulx/ulib addons ULib v2.60d (04/30/16)
ULX v3.70d (03/20/16)
Title: Re: Lua error when trying to add superadmin through console
Post by: JamminR on May 15, 2016, 02:55:30 PM
The command is as it should be.
If you have any addons that try to tie you into a forum, remove them, restart, and try again.
Title: Re: Lua error when trying to add superadmin through console
Post by: LuaTenshi on May 15, 2016, 07:08:39 PM
The error seems to be coming from "ZFR_PlayerSetForumGroup", also running RunString usually leads to exploits.
Title: Re: Lua error when trying to add superadmin through console
Post by: iViscosity on May 16, 2016, 07:53:46 AM
I'd recommend disabling all addons, then going through and adding them back in one by one while trying to add you to superadmin group again until you can find the add-on that is causing you grief. Because this is a default part of ulx, you shouldn't be getting errors unless there is a conflicting add-on.