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
 

Haribo - zdjęcie

Haribo

Rejestracja: 18.12.2009
Aktualnie: Nieaktywny
Poza forum Ostatnio: 02.12.2010 18:14
-----

Moje tematy

Plugin dający daną broń na początku rundy.

29.11.2010 17:31

Witam,
poszukuje pluginu, który dla graczy posiadającej daną flagę(przykładowo może być "b") na początku każdej rundy będzie im dawał kevlar/def'a/ czy granaty.

crash serwera

01.03.2010 20:09

L 03/01/2010 - 16:43:15: Start of error session.
L 03/01/2010 - 16:43:15: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100301.log")
L 03/01/2010 - 16:43:15: [MySQL] Invalid handle: 0
L 03/01/2010 - 16:43:15: [AMXX] Run time error 10 (plugin "amxbans.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 03/01/2010 - 16:43:15: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/01/2010 - 16:43:40: Start of error session.
L 03/01/2010 - 16:43:40: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100301.log")
L 03/01/2010 - 16:43:40: [MySQL] Invalid handle: 0
L 03/01/2010 - 16:43:40: [AMXX] Run time error 10 (plugin "amxbans.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 03/01/2010 - 16:43:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/01/2010 - 17:24:01: Start of error session.
L 03/01/2010 - 17:24:01: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100301.log")
L 03/01/2010 - 17:24:01: [MySQL] Invalid handle: 0
L 03/01/2010 - 17:24:01: [AMXX] Run time error 10 (plugin "amxbans.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 03/01/2010 - 17:24:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/01/2010 - 19:32:32: Start of error session.
L 03/01/2010 - 19:32:32: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100301.log")
L 03/01/2010 - 19:32:32: [MySQL] Invalid handle: 0
L 03/01/2010 - 19:32:32: [AMXX] Run time error 10 (plugin "amxbans.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 03/01/2010 - 19:32:32: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

Jak to naprawić? Czy jest to w ogóle możliwe. Dziękuję za odpowiedzi.

Błędy

01.03.2010 19:46

Witam, mam jakieś błędy w logach, są dosyć denerwujące.
L 03/01/2010 - 19:18:05: [AMXX] Language key "SQL_LOADED_REASONS" not found for language "pl", check "amxbans.amxx"
L 03/01/2010 - 19:18:12: [AMXX] Language key "GAL_NEXTMAP_UNKNOWN" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:18:17: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:21: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:22: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:25: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:32: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:44: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:18:47: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:50: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:50: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:18:54: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:55: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:56: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:18:58: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:19:03: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:19:09: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:19:15: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:19:27: [AMXX] Language key "GAL_NOM_GOOD_HLP" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:06: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:20:48: [AMXX] Language key "GAL_CANCEL_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:48: [AMXX] Language key "GAL_CANCEL_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:48: [AMXX] Language key "GAL_CANCEL_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:48: [AMXX] Language key "GAL_CANCEL_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:48: [AMXX] Language key "GAL_CANCEL_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:48: [AMXX] Language key "GAL_CANCEL_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:48: [AMXX] Language key "GAL_CANCEL_SUCCESS" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:20:56: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:10: [AMXX] Language key "TYPE_HELP" not found for language "pl", check "adminhelp.amxx"
L 03/01/2010 - 19:21:29: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:31: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:21:32: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:35: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:36: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:45: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:46: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:48: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:21:51: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:21:53: [AMXX] Language key "MP_DISPLAY" not found for language "pl", check "warmuppro.amxx"
L 03/01/2010 - 19:24:59: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:31:41: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:34:22: [AMXX] Language key "KICK_MESSAGE" not found for language "pl", check "amxbans.amxx"
L 03/01/2010 - 19:34:51: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:36:21: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:38:59: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:39:26: [AMXX] Language key "KILLED_YOU_DIST" not found for language "pl", check "statsx.amxx"
L 03/01/2010 - 19:39:41: [AMXX] Language key "KICK_MESSAGE" not found for language "pl", check "amxbans.amxx"
L 03/01/2010 - 19:39:42: [AMXX] Language key "GAL_NEXTMAP_VOTING" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:39:43: [AMXX] Language key "GAL_VOTE_COUNTDOWN" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:39:43: [AMXX] Language key "GAL_VOTE_COUNTDOWN" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:39:43: [AMXX] Language key "GAL_VOTE_COUNTDOWN" not found for language "pl", check "Galileo.amxx"
L 03/01/2010 - 19:39:43: [AMXX] Language key "GAL_VOTE_COUNTDOWN" not found for language "pl", check "Galileo.amxx"

Duża część logów została usunięta, gdyż się nonstop powtarzała. Możliwe jest, że od tego serwer może paść?

File_displayer

21.02.2010 13:29

Witam, mam problem z komplikacją pliku *.sma. Występuje problem
/groups/amxmodx/tmp3/textLOWb6Y.sma(3) : fatal error 100: cannot read from file: "colorChat.inl"

Compilation aborted.
1 Error.

#include <amxmodx>
#include <amxmisc>
#include "colorChat.inl"

#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "R3X"
#define CFG_FILE "cmd_files.ini"

#define CMD_LEN 20
#define TITLE_LEN 20
#define FILE_LEN 60
#define LINE_LEN CMD_LEN+TITLE_LEN+FILE_LEN+1

#define ANNOUNCER_TIME 30.0
new Array:g_Files;
new Array:g_Titles;
new Array:g_Cmds;
new g_iNow=-1;

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR);
	new cfgFile[70];
	get_configsdir(cfgFile,49);
	add(cfgFile,69,"/");
	add(cfgFile,69,CFG_FILE);
	if(!file_exists(cfgFile)){
		return set_fail_state("Brakuje pliku konfiguracyjnego");
	}
	g_Files=ArrayCreate(FILE_LEN,1);
	g_Cmds=ArrayCreate(CMD_LEN,1);
	g_Titles=ArrayCreate(TITLE_LEN,1);
	new szLine[LINE_LEN],szCmd[CMD_LEN],szTitle[TITLE_LEN],iLen=0;
	new szCmdBuf[CMD_LEN+11];
	for(new i=0;read_file(cfgFile,i,szLine,LINE_LEN-1,iLen);i++){
		trim(szLine);
		if(szLine[0]==';' || szLine[0]=='^0') continue;
		parse(szLine,szCmd,CMD_LEN,szLine,FILE_LEN-1,szTitle,TITLE_LEN-1);
		trim(szCmd);
		trim(szLine);
		trim(szTitle);
		ArrayPushString(g_Files,szLine);
		ArrayPushString(g_Cmds,szCmd);
		ArrayPushString(g_Titles,szTitle);
		format(szCmdBuf,CMD_LEN+10,"say %s",szCmd);
		register_clcmd(szCmdBuf,"openFile");
		format(szCmdBuf,CMD_LEN+10,"say_team %s",szCmd);
		register_clcmd(szCmdBuf,"openFile");
	}
	if(ArraySize(g_Cmds))
		set_task(ANNOUNCER_TIME,"announce",0,_,_,"b");
	return PLUGIN_CONTINUE;
}
public openFile(id){
	new szCmd[21],szCmd2[21],iCmdId=-1;
	read_argv(1,szCmd,20);
	for(new i=0;i<ArraySize(g_Cmds);i++){
		ArrayGetString(g_Cmds,i,szCmd2,20);
		if(equal(szCmd,szCmd2)){
			iCmdId=i;
			break;
		}
	}
	if(iCmdId==-1)
		return PLUGIN_HANDLED;
	new szFile[FILE_LEN],szTitle[TITLE_LEN];
	ArrayGetString(g_Files,iCmdId,szFile,FILE_LEN-1);
	ArrayGetString(g_Titles,iCmdId,szTitle,TITLE_LEN-1);
	show_motd(id,szFile,szTitle);
	return PLUGIN_HANDLED;
}
public announce(){
	if(++g_iNow>=ArraySize(g_Cmds))
		g_iNow=0;
	new szTitle[TITLE_LEN],szCmd[CMD_LEN];
	ArrayGetString(g_Titles,g_iNow,szTitle,TITLE_LEN-1);
	ArrayGetString(g_Cmds,g_iNow,szCmd,CMD_LEN-1);
	ColorChat(0,YELLOW,"Wpisz w czacie ^x04%s^x01 aby przejść na ^x04%s^x01",szCmd,szTitle)
}

Automatycznie bindowanie

19.02.2010 22:33

Link do tematu na którym się 'wzoruje' - Po wejście na serwer od razu bind. - Nieoficjalny polski support AMX Mod X
sma:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Home"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
}

public client_authorized(id)
{
	client_cmd(id,"bind MOUSE3 nanosuit")
}
Chodzi o to, aby automatyczne bindowanie było dla graczy z daną flagą(przykładowo z flagą d). Po naciśnięciu klawisza F10, uruchamia się komenda
lucia