Raised This Month: $32 Target: $400
 8% 

Basic Admin Tool


Post New Thread Reply   
 
Thread Tools Display Modes
Dunno
Member
Join Date: Apr 2005
Old 08-24-2006 , 11:22   Re: Basic Admin Plugin
Reply With Quote #491

Is there a way to reload BAT after adding new admins?



And is there a way to do it via RCON/HLSW

I.E. Add_client Steam_0_1_XXXXXXXX Admin 1
__________________
Dunno is offline
OoS-LJ
Senior Member
Join Date: Mar 2006
Location: California
Old 08-24-2006 , 11:26   Re: Basic Admin Plugin
Reply With Quote #492

I just change the map, as long as in your BATConfig.cfg the cvar for loading on map change.
__________________
No KnoW Server
Web site : Visit Noknow.net!
DOD:S Server : noknow.nuclearfallout.net:27015

OoS-LJ is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-24-2006 , 11:30   Re: Basic Admin Plugin
Reply With Quote #493

Quote:
Originally Posted by FlyingMongoose View Post
What 2 letters are used to describe hugarian ? ( like en for english ).

Quote:
Originally Posted by kylo_16 View Post
it kick steam_id_pending i dont wnat to plugin do it when i can change it ??
Quote:
Originally Posted by Dunno View Post
Is there a way to reload BAT after adding new admins?



And is there a way to do it via RCON/HLSW

I.E. Add_client Steam_0_1_XXXXXXXX Admin 1
rcon admin_reload , will reload all config files.

Quote:
Originally Posted by Sup_R_m@N View Post
Hi,

I'd ike to use BAT with MySQL, but it wont work. I've tried with BAT 1.3b6 and with lastest 1.2 too. The error log:
Code:
08/21/2006 - 22:51:39 - ERROR: The SQL thread has not completed in 10 seconds, thread killed
and
Code:
08/22/2006 - 00:31:06 - SQL ERROR: Couldn't connect to engine!
Unknown MySQL server host 'my-server:3308' (3)
and lots of "can't connect to [mysql-server-ip:port], disable mysql for this map". Also failed with localhost308.
The server version are 4.1.20 or 5.0.22 (none of them worked).
My game server is on Debian Linux 3.1 Sarge, libmysqlclient-14[-dev] are installed.
I also tried to connect trough unix socket, but it didn't worked. (:/tmp/mysql.sock) How can I fix this problem?

I'd wondered, if you add a PostgreSQL support for this plugin, I don't prefer MySQL. (it's ok, if it's workink, but not yet:/) Thanks 4 help.
i have no plans to add support for other Database systems atm.

Quote:
Originally Posted by kormendi View Post
Why not? Any plans to include it at a later date?
I have no idea how to do it easly. Also why would someone use a admin action against a player when you can just as easly use the menu / userid ?
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Dunno
Member
Join Date: Apr 2005
Old 08-24-2006 , 11:31   Re: Basic Admin Plugin
Reply With Quote #494

Would it be bat_loadsettings 1


I made no changes and I THOUGHT it didn't work.. I will recheck..
__________________
Dunno is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 08-24-2006 , 12:13   Re: Basic Admin Plugin
Reply With Quote #495

Sup_R_m@N resolved his issue and has actually been helping me a bit with the Web Admin Panel.

I would think HU would be the 2 letter abbreviation for hungarian\

yup, hu is the 2 letter abbrev

thanks wikipedia!
http://en.wikipedia.org/wiki/Hungarian_language
FlyingMongoose is offline
OoS-LJ
Senior Member
Join Date: Mar 2006
Location: California
Old 08-24-2006 , 13:10   Re: Basic Admin Plugin
Reply With Quote #496

The rockthevote does not seem to work in ver B6. You type it and the word goes away and no menu, Yes I have it set to 1 to allow rock the vote.
__________________
No KnoW Server
Web site : Visit Noknow.net!
DOD:S Server : noknow.nuclearfallout.net:27015

OoS-LJ is offline
kormendi
Junior Member
Join Date: Dec 2005
Old 08-24-2006 , 13:28   Re: Basic Admin Plugin
Reply With Quote #497

Quote:
Originally Posted by EKS View Post
Also why would someone use a admin action against a player when you can just as easly use the menu / userid ?
Its all about response time. With name completion, I can immediately identify an offender by his name and have him off the server simply by typing "#kick kor" in say. (my name is probably not the best example, but this really shines with those using tags, number substitution, and long names. ie. [1337]teh-b3st-ev4r{p00n})

Without it I would have to either go through the menu to find the player, or goto the console and type status, find the name and type "admin_kick #5"

If you have a method of quickly displaying player IDs, then name completion would be no issue.

Its really an issue of convenience then necessity.


No idea how to do it? I’ve looked at your findplayer function and it seems simple enough to modify it to include some kind of substring compare. It could probably be done with regular expressions. I would give it a try myself, but I do not own visual studio.
kormendi is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-25-2006 , 16:15   Re: Basic Admin Plugin
Reply With Quote #498

Quote:
Originally Posted by OoS-LJ View Post
The rockthevote does not seem to work in ver B6. You type it and the word goes away and no menu, Yes I have it set to 1 to allow rock the vote.
I just tested and it works, is even metamod loaded The fun of new valve updates starts

Quote:
Originally Posted by kormendi View Post
Its all about response time. With name completion, I can immediately identify an offender by his name and have him off the server simply by typing "#kick kor" in say. (my name is probably not the best example, but this really shines with those using tags, number substitution, and long names. ie. [1337]teh-b3st-ev4r{p00n})

Without it I would have to either go through the menu to find the player, or goto the console and type status, find the name and type "admin_kick #5"

If you have a method of quickly displaying player IDs, then name completion would be no issue.

Its really an issue of convenience then necessity.


No idea how to do it? I’ve looked at your findplayer function and it seems simple enough to modify it to include some kind of substring compare. It could probably be done with regular expressions. I would give it a try myself, but I do not own visual studio.
Quote:
Originally Posted by kylo_16 View Post
it kick steam_id_pending i dont wnat to plugin do it when i can change it ??
I added the code you submited. Il proberbly post a update that contains this code + hungerian language support
__________________
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 08-25-2006 , 16:38   Re: Basic Admin Plugin
Reply With Quote #499

Before B7 release:
Can everyone that can translate or is currently helping me translate PM me their email address? So i can easly get in contact with them when a new things needs to be translated?

One more line that needs to be translated before the B7 release:
Quote:
ToManyTargets = [BAT] The target text you used returned more then 1 player, and cannot be used.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
OoS-LJ
Senior Member
Join Date: Mar 2006
Location: California
Old 08-25-2006 , 16:53   Re: Basic Admin Plugin
Reply With Quote #500

Well I am using DOD:S I don't know if thats the issue or not.
__________________
No KnoW Server
Web site : Visit Noknow.net!
DOD:S Server : noknow.nuclearfallout.net:27015

OoS-LJ 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 22:18.


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