Page 1 of 1

Problem Receiving Admin Rights - Solved

Posted: Mon Aug 07, 2006 2:43 am
by xetic
Post no longer relevant scroll down

Posted: Mon Aug 07, 2006 5:58 am
by ferret
Its just trying to exec the file and build the cvars. It shouldn't affect anything, but I'm not 100% sure as Lazarus Long implemented SQLite.

Posted: Mon Aug 07, 2006 2:41 pm
by xetic
I have added myself to the SQLite3 database as admin using IP and have also tried using steam Id with no PW and have no admin functions. So something isn't working right.

Code: Select all

REPLACE INTO `admins` (`auth`, `password`, `access`, `flags`) VALUES ('**My IP**','','abcdefghijklmnopqrstu','a');

Code: Select all

REPLACE INTO `admins` (`auth`, `password`, `access`, `flags`) VALUES ('STEAM_0**Edited**','','abcdefghijklmnopqrstu','a');

Posted: Mon Aug 07, 2006 3:09 pm
by DarkJP2
fot the admin problem: you haven't set the righ flags (see user.ini for advice)

Posted: Mon Aug 07, 2006 3:11 pm
by xetic
Post no longer relevant scroll down

Posted: Mon Aug 07, 2006 3:28 pm
by xetic
I tried using the c & d respectivly on the IP and SteamID as well as the e flag for password is not checked. My IP and steamid are correct but still no admin access.

Code: Select all

REPLACE INTO `admins` (`auth`, `password`, `access`, `flags`) VALUES ('**My IP**','','abcdefghijklmnopqrstu','de');

Code: Select all

REPLACE INTO `admins` (`auth`, `password`, `access`, `flags`) VALUES ('STEAM_0:**edit**','','abcdefghijklmnopqrstu','ce');

Posted: Wed Aug 09, 2006 4:11 pm
by xetic

Code: Select all

Executing AMX Mod X Configuration File 
[AMXX] Loaded 3 admins from database
couldn't exec addons/amxmodx/configs/mysql.cfg
Well it looks like it is actually loading from the SQLite3 Database. However, I am still not able to get admin rights. When i type amx_menu in console i get 0. close menu and when i try wc3_givexp I have no access to that command.

I am 100% sure my IP and SteamID are correct any ideas?

Code: Select all

REPLACE INTO `admins` (`auth`, `password`, `access`, `flags`) VALUES ('**My IP Removed**','**Edited PW**','abcdefghijklmnopqrstu','ad');

REPLACE INTO `admins` (`auth`, `password`, `access`, `flags`) VALUES ('STEAM_0:**Edit**','**Edited PW**','abcdefghijklmnopqrstu','ac');

Posted: Thu Aug 10, 2006 2:24 am
by xetic
Solved the issue, even tho it loads the admins it doesn't give them rights unless the amx_reloadadmins command is sent while the account is logged in. Kind of a pain in the ass in my opinion but at least it works.

Posted: Thu Aug 10, 2006 11:49 am
by YamiKaitou
does your mysql.cfg file exist and contain the correct data? If so, what version of AmxX do you have?

Posted: Thu Aug 10, 2006 4:04 pm
by xetic
No mysql.cfg does not exist becausse im not using mysql im using sqlite it is pulling them from the database my db info is correct and im using the latest version of amxmodx. Everything works I just have to rcon amx_reloadadmins when i need admin rights