Raised This Month: $ Target: $400
 0% 

Basic Admin Tool


Post New Thread Reply   
 
Thread Tools Display Modes
Rosie
Member
Join Date: Jul 2007
Location: Canada
Old 05-31-2008 , 08:53   Re: Basic Admin Plugin
Reply With Quote #1461

Id like to use BAT for our dods beta server. Is there a way to switch to the old amx style menu instead of the Esc prompt? Players are not seeing the Press Esc prompt through the flag icons and so are not voting.
I know that the latest SourceMod snapshot allows the amx style menu but dont see how to do so in BAT. Thankyou.
Rosie is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-01-2008 , 07:56   Re: Basic Admin Plugin
Reply With Quote #1462

bat_menutype 1 overrides the default
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Agent47
New Member
Join Date: Jun 2008
Old 06-15-2008 , 13:36   Re: Basic Admin Plugin
Reply With Quote #1463

Hy,

Sorry for my english i'm french.
I would like to use the plugin with AMXBan.
I succeeded recovering the admins but I have a problem with the flags. They are never recovered.
My view in the DB is OK.
In users.ini:
steam...,,Pseudo

In addition, i think that it could be good to indicate the variable
bat_sqlamxbansservertable "amx_serverinfo" because she is necessary but not specify in the instruction.
I have to look the source code for understand ...

And if work, i would translate into French

Thanks by advance

Last edited by Agent47; 06-15-2008 at 13:41.
Agent47 is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-16-2008 , 11:51   Re: Basic Admin Plugin
Reply With Quote #1464

http://www.thexsoft.com/BasicAdminTo...allation/MySQL

Id love to have a french translation of the text.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Agent47
New Member
Join Date: Jun 2008
Old 06-16-2008 , 13:53   Re: Basic Admin Plugin
Reply With Quote #1465

I already create view in my DB.

The field AdminFlags is OK.
The plugin create users.ini but the field Flags is always Blank.

Example of users.ini:
STEAM_0:*:****,,zztop45
STEAM_0:*:****,,Agent47
STEAM_0:*:****,,300magnum
STEAM_0:*:****,,Guardian
STEAM_0:*:****,,Akira
STEAM_0:*:****,,NCIS-FBI

I'm edit my post because i think that i found
In BATSQL.cpp lines 270, 271 in switch for Amxbans, there is:
_snprintf(g_UserInfo[index].AdminFlags,39,"%s",g_BATCore.GetAdminLoader()->GetAdminAccountFlagsString(g_UserInfo[index].AdminAccess));
g_UserInfo[index].AdminAccess = g_BATCore.GetAdminLoader()->ConvertFromAmxxStyleAdminRights(row[2]);

For solve the problem reverse the lines:
g_UserInfo[index].AdminAccess = g_BATCore.GetAdminLoader()->ConvertFromAmxxStyleAdminRights(row[2]);
_snprintf(g_UserInfo[index].AdminFlags,39,"%s",g_BATCore.GetAdminLoader()->GetAdminAccountFlagsString(g_UserInfo[index].AdminAccess));

Last edited by Agent47; 06-16-2008 at 15:56.
Agent47 is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-18-2008 , 12:16   Re: Basic Admin Plugin
Reply With Quote #1466

@Agent47
Nice il fix it and release a new version, you are most likely the 3rd person who has ever found / reported and fixed a bug to me by reading the source code. Considering this thread has like 200k views, thats not alot

Other then that if you got time to translate some of the docs into french send me a pm. Id love to have some translations
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-18-2008 , 13:03   Re: Basic Admin Plugin
Reply With Quote #1467

BAT 1.6.0
- Added: DoD beta on orangebox to the approved menu list
- Added: bat_listenforchatcommands cvar, so you can disable BAT checking chat for commands if using with sourcmod
- Fixed: Amxbans bug with sql code reported by Agent47

www.TheXSoft.com for downloads.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Agent47
New Member
Join Date: Jun 2008
Old 06-19-2008 , 19:05   Re: Basic Admin Plugin
Reply With Quote #1468

Sorry but there is a other error because i'm same problem
If i use bat_mysql 1 the flags in users.ini are present (but not converted).
But with bat_mysql 2 the flags is always Blank.
Maybe the function ConvertFromAmxxStyleAdminRights which doesn't work correctly.

I can't tested because if i compile a error occur, and i don't find the file recpientfilters.cpp in BATCore.cpp.
The file recipientfilter.cpp exist but not recipientfilters.cpp in hl2sdk.

No prob i'm translate in french when I would have time ^^

Last edited by Agent47; 06-19-2008 at 19:07.
Agent47 is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-21-2008 , 11:09   Re: Basic Admin Plugin
Reply With Quote #1469

I uploaded the source again and included both the hl2sdk for normal and hl2sdk-ob . So you can compile for both versions.
If you come to irc and send a tell to EKS on GameSurge or Quakenet we can talk directly
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-23-2008 , 17:58   Re: Basic Admin Plugin
Reply With Quote #1470

There will be a 1.6.1 release
It will readd a feature i tought was in there from before. Making menus show longer in orangebox based mods.

should come in the following days.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:49.


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