Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: The Zero on September 18, 2010, 05:01:18 AM

Title: Unauthorized access :S
Post by: The Zero on September 18, 2010, 05:01:18 AM
Well I read the FAQ before posting this but it didnt help.. here is my user.txt, the non ulx one.
Code: [Select]
"Users"
{
"superadmin"
{
//"garry" "STEAM_0:1:7099"
"Zero" "STEAM_0:0:XXXXXX"
}

"admin"
{
//"garry" "STEAM_0:1:7099"
"Zero" "STEAM_0:0:XXXXXX"
}

}

I triple checked the steam ID.. and when i join the server it even says. "Hello Zero, you are in superadmins group" or something like that.

And I tried to do the "ulx debuginfo" but it still says you have no access..
I even tried something retarded and random like "ulx asgafhasdfh" and it said you have no access.. like wtf?
And I have the SVN version...

And plus in the faq it said if i made the user.txt.. which I did as you can see up there.. it would make a file data/Ulib/user.txt and group.txt .

But it DIDNT!!
Title: Re: Unauthorized access :S
Post by: Megiddo on September 18, 2010, 06:01:44 AM
Can you quote the output from the console exactly when you enter "ulx asfda"?
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 06:13:17 AM
It says this.. like always..
Code: [Select]
] ulx asdfasdasd
You do not have access to this command, [SV] | The Amazing Zero™|.
You do not have access to this command, [SV] | The Amazing Zero™|.
Title: Re: Unauthorized access :S
Post by: Megiddo on September 18, 2010, 06:38:45 AM
That's strange... Have you tried executing "ulx adduser zero superadmin" from the server console?
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 06:44:53 AM
yes says same thing... it works when i open in single player.. but not on my RP server...
Title: Re: Unauthorized access :S
Post by: Megiddo on September 18, 2010, 07:16:16 AM
yes says same thing... it works when i open in single player.. but not on my RP server...

Are you sure you're executing it from the server console? If it comes back saying "you don't have access to this command, <your name>" then you're not executing it from the server console (the server console doesn't have a name).
Title: Re: Unauthorized access :S
Post by: JamminR on September 18, 2010, 10:35:41 AM
Are you sure you're executing it from the server console? If it comes back saying "you don't have access to this command, <your name>" then you're not executing it from the server console (the server console doesn't have a name).
This is also true of trying "ulx debuginfo". We bold it in the FAQ just for that reason.
Server console is accessed using rcon or your hosts control panel.
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 11:45:22 AM
OHHHHH................. SERVER CONSOLE..... OH...... OK
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 11:51:37 AM
I typed "ulx adduser zero superadmin" but it says invalid group!
Title: Re: Unauthorized access :S
Post by: JamminR on September 18, 2010, 12:07:30 PM
Do a debuginfo from server, it will create a file and tell you where it's created on the server.
Attach that file using the additional options on your next post.

I'm headed off to date night with the wife, so will be a few hours before I return.
Another user may assist.
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 12:08:21 PM
Code: [Select]
ULX version: 3.40
ULib version: 2.03
Gamemode: DarkRP 2.4.1
Map: rp_downtown_v2
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created


ULib.ucl.users (#=1):
zero:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:0:25259378
pass_req = false
pass =
allow:


ULib.ucl.groups (#=4):
can_target:
allow:
deny:
superadmin:
allow:
deny:
allow:
allow:
deny:
admin:
allow:
deny:


ULib.ucl.authed (#=1):
Player [NULL]:
type = steamid
id = STEAM_0:0:XXXXXXX8
deny:
pass_req = false
allow:
account = zero
groups:
1 = superadmin
uniqueid = 2169818274


Garrysmod default file (#=2):
admin:
superadmin:
zero = STEAM_0:0:25259378


Active addons on this server:
Advanced Duplicator      by Dplasher68, version 1 (May 4, 2010)
Conna's Tools Pack       by Conna, version 1.3999 ((null))
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
hl2_ep2                  by Valve, version 1 (29th October 2007)
keypad                   by Robbis_1 (aka Killer HAHA), version 1.3999 (25th February 2008)
portal                   by Valve, version 1 (29th October 2007)
Stacker STool            by -, version 2.2 (19th January 2007)
tf2                      by Valve, version 1 (29th October 2007)
ulx                      by Team Ulysses, version 3.4 (00/00/00)
zeno_clash               by ACE Team, version 1 (May 8th 2009)
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 12:15:19 PM
I think it worked now.... But When I type ulx hellp . this is all i get..
(http://img840.imageshack.us/img840/7339/capturecs.png)

Title: Re: Unauthorized access :S
Post by: Megiddo on September 18, 2010, 01:22:26 PM
Remove the garrysmod/data/ulib directory and restart your server.
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 01:28:15 PM
what will that do?
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 01:39:00 PM
I guess it made me super admin.. But when I type ulx help.. isnt it supposed to give me a huge list of commands? or does it only type the commands i can do? because i dont get any commands...
Title: Re: Unauthorized access :S
Post by: Stickly Man! on September 18, 2010, 01:51:08 PM
When you delete the garrysmod/data/ulib folder, ULib will regenerate the needed files by copying them from the addons/ulib/data/ulib/ folder. If you did that and superadmin still has no access to anything, then it is likely that these files were modified or you got your version of ulx/ulib modified from elsewhere.

Please try reinstalling ULX/ULib RELEASE version from here:
http://ulyssesmod.net/?UL=download

Or get the latest SVNs version if you prefer:
http://forums.ulyssesmod.net/index.php/topic,3092.0.html

And if you don't have any important information saved within ULX/ULib (bans, admin's SteamIDs, etc.), then I'd recommend removing ulx/ulib from the addons AND from the data folder before reinstalling.
Title: Re: Unauthorized access :S
Post by: The Zero on September 18, 2010, 03:25:01 PM
well it didnt do anything usefull..
I re installed.. but still... It works perfectly in single player..
I dont know why!!
Title: Re: Unauthorized access :S
Post by: JamminR on September 18, 2010, 07:04:05 PM
When deleting the things/re-installing the things we recommend in our posts, make SURE you're doing it to the server folders, not your local client/game folders.
Make sure your copying both /addons/ulx and /addons/ulib to the server.
Since the 'release' version is old, I recommend you use the SVN versions (require both svn ulx/ulib).
Make sure you have you server set to allow download of the lua cache folder.
And, after all that, please, for ny sanity sake and yours, attach a ulx debuginfo created file from your server console/server file.
Title: Re: Unauthorized access :S
Post by: The Zero on September 19, 2010, 05:11:16 AM
"Make sure you have you server set to allow download of the lua cache folder."

How do I do this?

sv_allowdownloads in 1 .. or something like that..
but sv_allowuploads is 0 ...

how do i make it that they can download the cache folder?
Title: Re: Unauthorized access :S
Post by: JamminR on September 19, 2010, 02:12:09 PM
That config option should work for the server.
If you're hosting on a local computer, make sure your router is configured to allow transfers too.
Google how.
Title: Re: Unauthorized access :S
Post by: The Zero on September 19, 2010, 02:50:35 PM
lol... im testing on lan first.. i didnt yet forward the ports.. i know about that.. but when i connect it doesnt download any cache files.. or anything.. just .lua
Title: Re: Unauthorized access :S
Post by: JamminR on September 19, 2010, 03:46:20 PM
Sounds like it's getting needed files then.
If you still can't get it to work, please provide any errors occuring in SERVER console at startup and when you run commands (copy/paste the text, not a screenshot)
And again, please provide the debuginfo file created on the server when running the command from the server.
The forum allows attaching the files under "Additional options" underneath your text post.
Title: Re: Unauthorized access :S
Post by: The Zero on September 19, 2010, 03:52:55 PM
Well here is the debug info.. and it is mistaken about the version.. i got the svn version.. im gonna put the info file for the ulx too to prove it..
and il check for errors
Title: Re: Unauthorized access :S
Post by: The Zero on September 19, 2010, 04:03:45 PM
i cant copy/paste from console.. .. i just cant..
But i found an error...

after Lua initialized (Lua 5.1)
there is:
ERROR! Module 'ulib' not found!
then
///////////////////////////////////////
///  Ulysses Library              ///
//////////////////////////////////////
/// Loading.....                    ///
/// yada yada yada ////
then after:
 server/ucl.lua
there is:
KeyValues Error: RecursiceLoadFromBuffer: got } in key in file In admin , inherit_from,
KeyValues Error: RecursiceLoadFromBuffer: got } in key in file In superadmin , inherit_from,
KeyValues Error: RecursiceLoadFromBuffer: got } in key in file In admin , inherit_from,
KeyValues Error: RecursiceLoadFromBuffer: got } in key in file In superadmin , inherit_from,

Then :

Load Complete!

and then there is:

ERROR! Module 'zlib_b64' not found!

but that is under Table (De)Serialiser Module ver 1.4

and if something says "attempt to call field 'Something' (a nil value)

an error??


Title: Re: Unauthorized access :S
Post by: Megiddo on September 19, 2010, 04:13:48 PM
Looks like you've got some misformatting in the groups.txt file... but I don't understand the error because we're not using garry's parser (which is where that error is coming from).
Title: Re: Unauthorized access :S
Post by: The Zero on September 19, 2010, 06:44:47 PM
what do you think i should do?
can I reinstall or will it not work?
If you get Team Viewer i can give you remote access to check it out...
Title: Re: Unauthorized access :S
Post by: JamminR on September 19, 2010, 07:27:09 PM
Didn't our old release version use standard Gary parser?
Looks like old release or mismatched versions of ULib and ULX. Or, manually edited groups file badly done (or bad import from settings/users.txt due to bad edit)
And, for the third time (at least that I've asked), attach a debuginfo run from server console while you're connected.
"Condump" from server console after having just started up will dump your console to a file also.
There's a way to copy from console, you just have to know how. Condump should work for now.
Somewhere there is a FAQ or discussion about it.
Title: Re: Unauthorized access :S
Post by: The Zero on September 22, 2010, 07:04:19 AM
I attached twice already the debug info.... check my posts...
and il get a condump
Title: Re: Unauthorized access :S
Post by: The Zero on September 22, 2010, 07:07:12 AM
I type "condump" and i get.. "unknown command 'condump' "
Title: Re: Unauthorized access :S
Post by: The Zero on September 22, 2010, 08:36:48 AM
Ok i got the con dump.. here it is..
Title: Re: Unauthorized access :S
Post by: JamminR on September 22, 2010, 03:24:22 PM
This server is running ULib version 2.03.

Ancient version of ULib.
If you're using release downloaded from our www.ulyssesmod.net download page,
ULib = 2.30
ULX = 3.4

If you use SVN, and I recommend SVN, those numbers, I believe, are higher.
Title: Re: Unauthorized access :S
Post by: The Zero on September 23, 2010, 05:08:13 AM
I have svn installed... i never installed 2.03 .. it says that.. but i never.. I even uploaded info file on one of my posts to prove it... i dont know why it says 2.03 .. but i have 2.50 ..

edit: i mean 3.50 and ulib 2.40
Title: Re: Unauthorized access :S
Post by: JamminR on September 24, 2010, 10:22:57 PM
I currently don't have Steam/Gmod or dedicated server srcds installed, can someone else confirm the SVN of ULib doesn't erroneously state "this server is running ULib 2.03" when you connect to a ULib SVN server.
Title: Re: Unauthorized access :S
Post by: Megiddo on September 25, 2010, 08:17:16 AM
It correctly states "You are running ULib version 2.40."
Title: Re: Unauthorized access :S
Post by: JamminR on September 25, 2010, 10:36:54 AM
TheZero, as I've believed, and from what I've read, Megiddo has too since some of the beginnings of this thread, your server has old version.
The error you're getting was known in old versions, which is why we've asked you to totally wipe ULib and ULX from your server addons folder and try again.
Perhaps you've installed newer, but someway, your server has mixed files that are old.

Other than makeing sure you wipe old addons/ulx and addons/ulib and then re-install newer code, I know of no other way to help you.
Wipe your local game client addons/ulx and /addons/ulib just to be sure too.