Witam.
AmxBans dodaje mi adminow na Steam Id lecz gdy daje na Nick to nawet przy wejsciu nie prosi o haslo ...
proszę o Pomoc.
To równanie zostało stworzone przy pomocy kodu LaTeX:
Edytor LaTeX online: CodeCogs.com/latex/eqneditor.php
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.
|
I'1998 nie posiada znajomych
10.12.2015 14:06
Witam.
AmxBans dodaje mi adminow na Steam Id lecz gdy daje na Nick to nawet przy wejsciu nie prosi o haslo ...
proszę o Pomoc.
01.12.2015 22:12
Witam mam pewien problem z pluginem "ranga".
#include <amxmodx>
#include <amxmisc>
#include <csx>
#define PLUGIN "Rangi"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
#define TASK 666
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_connect(id)
{
if(is_user_bot(id))
return
new param[1]
param[0] = id
set_task(1.0,"rank",TASK+id,param,1,"b")
}
public client_disconnect(id)
if(task_exists(TASK+id))
remove_task(TASK+id)
public rank(param[])
{
new id = param[0]
static stats[8], body[8]
get_user_stats(id, stats, body)
new ranga[30]
if ( stats[0] >= 0 && stats[0] <= 29)
format(ranga,29,"Wiesniak")
else if ( stats[0] >= 30 && stats[0] <= 59)
format(ranga,29,"Lama")
else if ( stats[0] >= 60 && stats[0] <= 119)
format(ranga,29,"Sierota")
else if ( stats[0] >= 120 && stats[0] <= 209)
format(ranga,29,"Owieczka")
else if ( stats[0] >= 210 && stats[0] <= 324)
format(ranga,29,"Staruszka")
else if ( stats[0] >= 325 && stats[0] <= 499)
format(ranga,29,"Cherlak")
else if ( stats[0] >= 500 && stats[0] <= 729)
format(ranga,29,"Kozak")
else if ( stats[0] >= 730 && stats[0] <= 999)
format(ranga,29,"Macho")
else if ( stats[0] >= 100 && stats[0] <= 1399)
format(ranga,29,"Snajper")
else if ( stats[0] >= 1400 && stats[0] <= 1849)
format(ranga,29,"Rambo")
else if ( stats[0] >= 1850 && stats[0] <= 2299)
format(ranga,29,"Terminator")
else if ( stats[0] >= 2300 && stats[0] <= 2899)
format(ranga,29,"Wiesiek")
else if ( stats[0] >= 2900 && stats[0] <= 3549)
format(ranga,29,"Morfeusz")
else if ( stats[0] >= 4200 && stats[0] <= 4999)
format(ranga,29,"Wybraniec")
else if ( stats[0] >= 5000 && stats[0] <= 5899)
format(ranga,29,"Killer")
else if ( stats[0] >= 5900 && stats[0] <= 6899)
format(ranga,29,"Multi Killer")
else if ( stats[0] >= 6900 && stats[0] <= 7999)
format(ranga,29,"Owner")
else if ( stats[0] >= 8000 && stats[0] <= 9299)
format(ranga,29,"Cziter")
else if ( stats[0] >= 9300 && stats[0] <= 1999)
format(ranga,29,"Vip TeamKielce")
set_hudmessage(255, 255, 0, 0.02, 0.23, 0, 0.0, 0.3, 0.0, 0.0)
show_hudmessage(id, "Cs-LastShoot^nRanga: %s^nZabojstw: %d",ranga,stats[0])
}
Chciał bym aby hud znikał po śmierci i pojawiał się znowu od nowej rundy.
Tak jak na cod mod tylko bez info o innym graczu.
17.06.2015 22:42
Witam nwm w czym tkwi problem
dograłem wiele modyfikacji do silnika Cod'a .
Komplikuje bez błędu ale działa gorzej proszę o pomoc Bd bardzo wdzięczny ...
LOGI. error_20150617.log
L 06/17/2015 - 23:34:31: Start of error session.
L 06/17/2015 - 23:34:31: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20150617.log")
L 06/17/2015 - 23:34:31: Function "KomendaResetujPunkty" was not found
L 06/17/2015 - 23:34:31: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx")
L 06/17/2015 - 23:34:31: [AMXX] Run time error 19: function not found
L 06/17/2015 - 23:34:31: [AMXX] [0] QTM_CodMod.sma::plugin_init (line 143)
L 06/17/2015 - 23:35:51: Expected 0 parameters, got 2
L 06/17/2015 - 23:35:51: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx")
L 06/17/2015 - 23:35:51: [AMXX] Run time error 10: native error (native "ExecuteForward")
L 06/17/2015 - 23:35:51: [AMXX] [0] QTM_CodMod.sma::UstawNowaKlase (line 337)
L 06/17/2015 - 23:35:51: [AMXX] [1] QTM_CodMod.sma::UsunUmiejetnosci (line 539)
L 06/17/2015 - 23:35:51: [AMXX] [2] QTM_CodMod.sma::client_authorized (line 520)
L 06/17/2015 - 23:36:01: Expected 0 parameters, got 2
L 06/17/2015 - 23:36:01: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx")
L 06/17/2015 - 23:36:01: [AMXX] Run time error 10: native error (native "ExecuteForward")
L 06/17/2015 - 23:36:01: [AMXX] [0] QTM_CodMod.sma::UstawNowaKlase (line 337)
L 06/17/2015 - 23:36:01: [AMXX] [1] QTM_CodMod.sma::UsunUmiejetnosci (line 539)
L 06/17/2015 - 23:36:01: [AMXX] [2] QTM_CodMod.sma::client_disconnect (line 532)
Kombinowałem na wiele sposobów. Ale moja wiedza na ten temat ma granice...
Za każdą pomoc serdecznie dziękuje
07.06.2015 07:40
Witam. Nwm czy ten problem nie wynika z problemu połączenia sie amxbans do bazy czy jest to coś innego .Ale to tylko moje przypuszczenia. Bardzo prosił bym o Pomoc bo jestem w tej sytuaci bezradny ...
Plugin.ini
amxbans_core.amxx ;amxbans
amxbans_main.amxx debug ;amxbans
; -----------------------------------------
; Amx Mod X 1.8.2 | HLDS 2013 | Pukawka.pl
; -----------------------------------------
; AMX Mod X plugins
; Admin Base - Always one has to be activated
;admin.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)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
; 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
; Custom - Add 3rd party plugins here
Konsola.
****************************** Login Passed... Welcome ******************************
dlopen failed trying to load:
/data/norbertmt2/.steam/sdk32/steamclient.so
with error:
/data/norbertmt2/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
L 06/07/2015 - 08:30:32: Server cvar "sv_accelerate" = "5"
L 06/07/2015 - 08:30:32: Server cvar "sv_stopspeed" = "75"
L 06/07/2015 - 08:30:32: Started map "de_dust2" (CRC "1159425449")
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
[AMXBans] laduje plik amxbans.cfg
[AMXBans] amxbans.cfg zostal zaladowany | AMXX.PL | Wersja PL - Szyfrant i MisieQ
L 06/07/2015 - 08:30:32: Log file closed
Server logging data to file logs/L0607010.log
L 06/07/2015 - 08:30:32: Log file started (file "logs/L0607010.log") (game "cstrike") (version "48/1.1.2.7/Stdio/6153")
L 06/07/2015 - 08:30:32: Server cvar "mp_timelimit" = "25"
L 06/07/2015 - 08:30:32: Server cvar "mp_c4timer" = "30"
L 06/07/2015 - 08:30:32: Server cvar "mp_flashlight" = "1"
L 06/07/2015 - 08:30:32: Server cvar "mp_freezetime" = "4"
L 06/07/2015 - 08:30:32: Server cvar "mp_friendlyfire" = "1"
L 06/07/2015 - 08:30:32: Server cvar "mp_hostagepenalty" = "2"
L 06/07/2015 - 08:30:32: Server cvar "mp_roundtime" = "4"
L 06/07/2015 - 08:30:32: Server cvar "mp_tkpunish" = "1"
L 06/07/2015 - 08:30:32: Server cvar "mp_chattime" = "0"
L 06/07/2015 - 08:30:32: Server cvar "sv_maxspeed" = "320"
L 06/07/2015 - 08:30:32: Server cvar "allow_spectators" = "0"
L 06/07/2015 - 08:30:32: Server cvar "decalfrequency" = "60"
[AMXBans] SQL error: can't connect: 'Access denied for user 'amxbanst_admin'@'37.187.168.115' (using password: YES)'
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
L 06/07/2015 - 08:30:32: [amxbans_main.amxx] [AMXBans] Connection failed!
L 06/07/2015 - 08:30:32: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 1
L 06/07/2015 - 08:30:32: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'amxbanst_admin'@'37.187.168.115' (using password: YES) (1045)
L 06/07/2015 - 08:30:32: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = '188.165.17.19:27361'
L 06/07/2015 - 08:30:33: [amxbans_main.amxx] [AMXBans] Connection failed!
L 06/07/2015 - 08:30:33: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 5
L 06/07/2015 - 08:30:33: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'amxbanst_admin'@'37.187.168.115' (using password: YES) (1045)
L 06/07/2015 - 08:30:33: [amxbans_main.amxx] [AMXBans] Query statement:
[AMXBans] No Reasons found
[AMXBans] No Reasons found in Database. Static reasons were loaded instead.
L 06/07/2015 - 08:30:33: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead.
Connection to Steam servers successful.
VAC secure mode is activated.
Menu item 19 added to Menus Front-End: "AMXBans: Player-Flagging" from plugin "AMXBans Main"
Menu item 20 added to Menus Front-End: "AMXBans: Disconnected Players" from plugin "AMXBans Main"
Menu item 21 added to Menus Front-End: "AMXBans: Banhistory" from plugin "AMXBans Main"
Menu item 22 added to Menus Front-End: "AMXBans: Screens" from plugin "AMXBans: Screens"
31.186.82.251:52115: password failed
L 06/07/2015 - 08:30:40: World triggered "Round_Start"
L 06/07/2015 - 08:35:40: Team "CT" triggered "Target_Saved" (CT "1") (T "0")
L 06/07/2015 - 08:35:40: World triggered "Round_End"
L 06/07/2015 - 08:35:49: World triggered "Round_Start"
L 06/07/2015 - 08:39:49: Team "CT" triggered "Target_Saved" (CT "2") (T "0")
L 06/07/2015 - 08:39:49: World triggered "Round_End"
L 06/07/2015 - 08:39:58: World triggered "Round_Start"
naprawdę będę wdzieczny za pomoc