AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Reserve Slots do not work with SQL AMXx admin_mysql Engine (https://forums.alliedmods.net/showthread.php?t=3738)

ZodiacMindwarp 07-13-2004 00:32

Reserve Slots do not work with SQL AMXx admin_mysql Engine
 
Switched my admin base to admin_mysql.amx from admin.amx and now I do not get my reserve slots. I did notice a difference in the code

Admin_mysql.sma reads
Quote:


remove_user_flags(0,read_flags("z")) // remove 'user' flag from server

rights

new configsDir[128]
get_configsdir(configsDir, 127)
server_cmd("exec %s/amxx.cfg", configsDir) // Execute main configuration

file
server_cmd("exec %s/mysql.cfg;amx_sqladmins", configsDir)

and admin.sma reads

Quote:



remove_user_flags(0,read_flags("z")) // Remove 'user' flag from server rights

server_cmd("exec addons/amxx/amx.cfg") // Execute main configuration file
loadSettings("addons/amxx/configs/users.ini") // Load admins accounts

and my reserve slots come up fine using the admin.amx

What am i missing here? The rcon reports I have privledges but no reserve slots are usable. I only have 2 reserve slots indicated by STEAM id and I have those parameters enabled in my users.ini

Works fine under admin.amx by not mysql.amx

When the server is full and I am using mysql.amx it says "Kicked due to reserve slot" and does not let me in until a public slot is available.

Maybe the real question I should be asking here is how do define reserve slots for Admins in the mysql modules to be like the admin module?

Help
[/quote]


All times are GMT -4. The time now is 14:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.