Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Lucky - zdjęcie

Lucky

Rejestracja: 18.10.2010
Aktualnie: Nieaktywny
Poza forum Ostatnio: 11.05.2011 20:37
-----

Moje tematy

Przerzucanie graczy

03.05.2011 12:42

Witam
Mam taki mały problem, na serwerze A mam wgrany plugin do przerzucania graczy na serwer B.
Chciał bym żeby nie przerzucało graczy z flagą "b". Mógłby mi ktos go przerobić ?
/* AMXX Mod Script
*
* Simple Redirection Plugin for AMXX
* Orginal Code by Sonic ([email protected])
* Modified and Made for AMXX by BigBaller
*
*  Place following cvars in server.cfg
*
*  amx_rd_maxplayers <x>             // - begin redirection when more the x ppl connected ( 0 = redirect all players )
*  amx_rd_server <ip>                // - redirect to this server
*  amx_rd_serverport <port>          // - redirect server port
*  amx_rd_serverpw <password>        // - password for the amx_rd_server (if needed)
*
*
*  To Disable this plugin set amx_rd_maxppl to 33 or remove from plugins.ini
*/

#include <amxmodx>

public plugin_init() {
	register_plugin("Simple Redirect","1.0","BigBaller")
	register_cvar("amx_rd_maxplayers","0")

	register_cvar("amx_rd_server","")
	register_cvar("amx_rd_serverport","")
	register_cvar("amx_rd_serverpw","")
}

public client_connect(id){
	new rd_maxplayers = get_cvar_num("amx_rd_maxplayers")
	new rd_serverport = get_cvar_num("amx_rd_serverport")
	new rd_server[64], rd_serverpw[32]
	get_cvar_string("amx_rd_server",rd_server,63)
	get_cvar_string("amx_rd_serverpw",rd_serverpw,31)
	if ( get_playersnum() >= rd_maxplayers) {
		if ( !equal(rd_serverpw,"") )
			client_cmd(id,"echo ^"[AMXX] Simple Redirection - Set Password to %s^";password %s",rd_serverpw,rd_serverpw)
		client_cmd(id,"echo ^"[AMXX] Simple Redirection -  Redirecting to %s:%d^";Connect %s:%d",rd_server,rd_serverport,rd_server,rd_serverport)
	}
	return PLUGIN_CONTINUE
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/

Amxbans przestał działać

28.03.2011 20:28

Przepraszam za tamten post ale zależy mi na jak najszybszej odpowiedzi

Wiec wersje amxbans mam AMXBans 5.1 by d3f3nd3r


Wszystko było w porzadku i nagle przestał chodzić. Gdy wybieram gracza to nie ma zadnego powodu tylko custom.


logi

L 03/28/2011 - 21:41:39: [amxbans.amxx] [Amxbans] Polaczenie nieudane!
L 03/28/2011 - 21:41:39: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 17
L 03/28/2011 - 21:41:39: [amxbans.amxx] [Amxbans] Wiadomosc: Unknown MySQL server host 'banymocny-full.xaa.pl' (2) (2005)
L 03/28/2011 - 21:41:39: [amxbans.amxx] [Amxbans] Status zapytania: 
L 03/28/2011 - 21:41:39: [amxbans.amxx] [Amxbans] Polaczenie nieu


Plugins.ini
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx
amxbans.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)

; Chat / Messages
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
nextmap.amxx		; displays next map in mapcycle
;mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

sgl.cfg
// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg

// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name

// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.

amx_sql_host	"banymocny-full.xaa.pl"
amx_sql_user	"banymocn_piotrek"
amx_sql_pass	"xxxxx" 
amx_sql_db		"banymocn_amxban"
amx_sql_table	"amx"
amx_sql_type	"mysql"

amxbans.cfg
// Amxbans configuration file
echo [AMXBANS] amxbans.cfg is executed

// Set this to 1 to enable debug messages from amxbans to amxx logs.
// If you dont want to see "[AMXBANS] AMXBans 4.x is online" in the amxx logs set this to 10 
amxbans_debug 1

// Set this cvar to what the adminname should be on the webpages if the server make the ban.
// Ie. amxbans_servernick "My Great server" Leave emty if you want to use the default name from server.cfg
amxbans_servernick ""

// Print green hudmessages top left when banning
amxbans_show_hud_messages 1

// If you want to see ban announcments in the HLSW chat have this set to 1
amxbans_show_in_hlsw 1

// Set this to 1 if you want the map name to show in the DB.
amxbans_add_mapname_in_servername 1

// To be able to ban players not in the server. 1 enabled and 0 disabled.
amxbans_ban_evenif_disconnected 1

// Dont use http:// in this cvar. The url will show to banned players in the console.
amxbans_complain_url "www.cs-mf.pl"

// Show if a player has been banned before as amx_chat to admins. 0 to disable
amxbans_show_prebanned 1

// How many previous offences must the player at least have to notify the admins in amx_chat?
amxbans_show_prebanned_num 2

// To filter out very old bans you can set how many days must have gone to NOT count.
amxbans_max_time_to_show_preban 9999

// Put the path to your findex.php here if you want to use the banhistory menu
amxbans_banhistmotd_url "http://banymocny-full.xaa.pl/findex.php?steamid=%s"

// Should prebanned count atac bans or NOT in the amx_chat to admins
amxbans_show_prebans_from_atac 1

// What flag should admins have to NOT get their Nick printed when banning/Unbanning
amxbans_admin_mole_access "r"

// If an admin has the admin_mole_access should his name be shown when he bans?
amxbans_show_name_evenif_mole 1

// This is the first bantime (in minutes) that will show in the banmenu.
amxbans_first_banmenu_value 5

// This is the max value an admin with only the d-flag can ban in the console.
amxbans_consolebanmax 0

// How long after a ban has been made can an admin with the d-flag unBan? This is set in minutes.
amxbans_max_time_gone_to_unban 1440

// What flag should admins have to get the high ban times.
amxbans_higher_ban_time_admin "d"


// Ban times for admins with d-flag, set the highest time in minutes they can ban with "amxbans_consolebanmax"
// IMPORTANT put the lowest value first and the highest value last. You can  have 1 to 12 values
// The -1 value is for flagging players, do not remove that!
// "0 m" = permanent ban!
// Values you can use:
// 1 - 59 with the flag m is for minutes
// 1 - 23 with the flag h is for hours
// 1 - 6 with the flag d is for days
// The w flag is for weeks
	
// Example:
// "5 m" is 5 minutes
// "1 h" is 1 hour
// "1 d" is 1 day
// "1 w" is 1 week

amx_setlowbantimes "5 m" "30 m" "1 h" "2 h" "4 h" "8 h" "10 h" "1 d" "3 d" "1 w" "-1 m" "0 m"

// Ban times for admin with n-flag and d-flag
// IMPORTANT!! put the lowest value first and the highest value last. You can have 1 to 12 values
// The "-1 m" value is for flagging players, do not remove that!
// "0 m" = permanent ban!
// Values you can use:
// 1 - 59 with the flag m is for minutes
// 1 - 23 with the flag h is for hours
// 1 - 6 with the flag d is for days
// The w flag is for weeks
// 
// Example:
// "5 m" is 5 minutes
// "1 h" is 1 hour
// "1 d" is 1 day
// "1 w" is 1 week

amx_sethighbantimes "5 m" "30 m" "1 h" "2 h" "4 h" "8 h" "10 h" "1 d" "3 d" "1 w" "-1 m" "0 m"

modules.ini
;;;
; To enable a module, remove the semi-colon (<img src='http://img.amxx.pl/public/style_emoticons/default/wink.gif' class='bbc_emoticon' alt=';)' /> in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use      ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.              ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx

przestał chodzic

28.03.2011 20:18

Witam
Przed chwila amxbans przestał chodzić gdy wybiorę gracza do zbanowanie nie wyświetla się żaden powód tylko "custom"
I gracze z banami mogą wchodzić bez problemu. Co sie mogło spiepszyć ?

pomoc w ustawianiu serwera

10.03.2011 13:56

Witam
Mam takie pyatnko :) A mianowicie była by chętna osoba do pomocy w ustawieniu serwer.cfg? Wiem ze to wszystko jest na forum ale tego nie ogarniam:/ Oczywiście mogę zapłacić za pomoc odpowiednia kwote bo wiadomo ze nikomu za darmo sie nie chce robić.

PINGI

13.02.2011 12:35

Witam
na serwerze niektórzy gracze maja duży ping a na innych serwerach mają małe
Czym to może być spowodowane?Pluginów nie mam dużo
Mój serwer.cfg



// Use this file to configure your DEDICATED server. 
// This config file is executed on server start.

// disable autoaim
sv_aim 0

// disable clients' ability to pause the server
pausable 0

// default server name. Change to "Bob's Server", etc.
hostname ">Mocny-Full [FFA][NS/S] cs-mf.pl"

// maximum client movement speed 
sv_maxspeed 320

// 20 minute timelimit
mp_timelimit 20



sv_cheats 0

// load ban files
exec listip.cfg
exec banned.cfg

map de_dust

rcon_password "xxxxx"
ip "xxxxxxxx"

//////////////////////////////////////////////////////////////////////Fizyka gry

mp_flashlight 0 /// umożliwia używanie latarki na serwerze
mp_allowspectators 1 /// pozwala na obserwowanie rozgrywki z pozycji spectatora
mp_footsteps 1 /// pozwala na słyszenie kroków gracza w gdy jest on w biegu

///////////////////////// GRA
mp_roundtime 2.5
mp_buytime 0.25
mp_freezetime 0
mp_friendlyfire 1

// voice

sv_voicecodec "voice_speex" // rodzaj kodeka, domyslnie voice_miles, zalecany voice_speex - lepsza jakosc kosztem kilku procent uzycia procesora
sv_voiceenable 1 // uzywaj opcji voice na serwerze, 1 - tak (domyslnie), 0 - nie
sv_voicequality 5 // jakosc glosu, od 1 do 5, im wiecej tym lepiej ale wieksze uzyci proca i sieci
sv_alltalk "1" // 0 - (domyslnie) voice mozna uzywac tylko jesli zywy i tylko do tp, 1 - kazdy moze gadac z kazdym (na poczatek i koniec meczu) 



///////////////////////////////pobieranie
sv_downloadurl "xxxxxxxxxxxxx" 
sv_allowdownload "1"
sv_filetransfercompression "0"



//======================
// Ustawienia Rate Serwera
//======================

sv_minrate "1" /// minimalna wartość pakietów jaka serwer może wysłać do każdego klienta z osobna
sv_maxrate "25000" /// maksymalna wartość pakietów jaka serwer może wysłać do każdego klienta z osobna
sv_instancebaselines "1" /// bliżej niesprecyzowana komenda, najlepiej nie zmieniać jej wartości
sv_forcepreload "1" /// wymusza przeładowywanie plików serwera
sv_minupdaterate "40" /// minimalna wartość uaktualniania oraz przesyłania pakietów przez klienta
sv_maxupdaterate "101" /// maksymalna wartość uaktualniania oraz przesyłania pakietów przez klienta
sv_maxunlag "1" /// maksymalny czas kompensacji lagów w sekundach
sys_ticrate "80"







// logs
log on
mp_logdetail 3
mp_logecho 1
mp_logfile 1 // logowanie wydarzeń  (koniec rundy etc), 1 - tak (standard), 0 - nie
mp_logmessages 1 // loguj komendy say (chat), 1 - tak (standard), 0 - nie
sv_log_onefile 0