CountryWelcome i GeoIP
paulin
21.01.2010
Problem tkwi w tym że po zainstalowaniu pluginu Country Welcome po prostu nie działa !
Możliwe że jest to powód tego że moduł GeoIP nie odpala (wynik meta list ) :
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] dproto RUN - dproto_i386.so v0.3.7 ini Start Never
[ 2] AMX Mod X RUN - amxmodx_mm_i386. v1.8.1.3 ini Start ANY
[ 3] Fun RUN - fun_amxx_i386.so v1.8.1.3 pl2 ANY ANY
[ 4] FakeMeta RUN - fakemeta_amxx_i3 v1.8.1.3 pl2 ANY ANY
[ 5] CStrike RUN - cstrike_amxx_i38 v1.8.1.3 pl2 ANY ANY
[ 6] CSX RUN - csx_amxx_i386.so v1.8.1.3 pl2 ANY ANY
[ 7] Ham Sandwich RUN - hamsandwich_amxx v1.8.1.3 pl2 ANY ANY
7 plugins, 7 running
Wszystko jest odchaszowane tak jak powinno być. ... spotkał się ktoś z tym problemem ? Z góry dzięki za pomoc
Może dodam że po wydaniu polecenia amx_plugins wyskakuje że plugin Country Welcome running ....
Użytkownik paulin edytował ten post 21.01.2010 14:06
Saper
21.01.2010
Portek
21.01.2010
Sam Sobie na pytanie odpowiedziałeś. Nie wgrywasz przypadkiem moduły pod windowsa mimo że serwer jest na linuxie?Witam ....
Problem tkwi w tym że po zainstalowaniu pluginu Country Welcome po prostu nie działa !
Możliwe że jest to powód tego że moduł GeoIP nie odpala (wynik meta list ) :
paulin
21.01.2010
Auto-restarting the server on crash
Console initialized.
scandir failed:/root/cs/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 15:58:06 Jun 15 2009 (4617)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 127.0.1.1:27015
Metamod version 1.19p32 Copyright © 2001-2006 Will Day
Patch: Metamod-P (mm-p) v32 Copyright © 2004-2007 Jussi Kivilinna
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
[DPROTO]: Version 0.3.7 Linux
[DPROTO]: Loading config './cstrike/dproto.cfg'
[DPROTO]: LoggingMode = 2
[DPROTO]: Config sucessfully loaded.
[DPROTO]: Done.
AMX Mod X version 1.8.1.3746 Copyright © 2004-2006 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.
stray key in process_key: item_getiteminfo 63
scandir failed:/root/cs/./platform/SAVE
L 01/21/2010 - 16:59:41: -------- Mapchange to de_dust --------
[AMXX] Zaladowano 3 adminow z pliku
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
Executing AMX Mod X Configuration File
Czestotliwosc wyswietlania wiadomosci: 10:00 minut
Server logging data to file logs/L0121041.log
L 01/21/2010 - 16:59:43: Log file started (file "logs/L0121041.log") (game "cstrike") (version "48/1.1.2.6/Stdio/4617")
L 01/21/2010 - 16:59:43: Server cvar "mp_timelimit" = "20"
Adding master server 72.165.61.189:27010
Adding master server 69.28.151.162:27013
L 01/21/2010 - 16:59:43: Server cvar "mp_c4timer" = "25"
L 01/21/2010 - 16:59:43: Server cvar "mp_flashlight" = "1"
L 01/21/2010 - 16:59:43: Server cvar "mp_freezetime" = "4"
L 01/21/2010 - 16:59:43: Server cvar "mp_hostagepenalty" = "2"
L 01/21/2010 - 16:59:43: Server cvar "mp_roundtime" = "4"
L 01/21/2010 - 16:59:43: Server cvar "mp_tkpunish" = "1"
L 01/21/2010 - 16:59:43: Server cvar "mp_chattime" = "0"
L 01/21/2010 - 16:59:43: Server cvar "sv_maxspeed" = "320"
L 01/21/2010 - 16:59:43: Server cvar "allow_spectators" = "0"
L 01/21/2010 - 16:59:43: Server cvar "decalfrequency" = "60"
L 01/21/2010 - 16:59:43: Server cvar "sv_aim" = "0"
L 01/21/2010 - 16:59:43: Server cvar "pausable" = "1"
L 01/21/2010 - 16:59:43: Server cvar "sv_maxrate" = "25000"
L 01/21/2010 - 16:59:43: Server cvar "sv_minrate" = "2500"
Could not establish connection to Steam servers.
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 01/21/2010 - 16:59:56: World triggered "Round_Start"
Więc nie wiem ...
"Portek" podstawy jakies tam mam ... moduł GeoIP jest wpisany poprawnie, a plugin CountryWelcome jest wyswietlany jako odpalony " running" tylko nie funkcjonuje
Jeszcze wynik amx_plugins:
amx_plugins
Aktualnie zaladowane pluginy:
nazwa wersja autor plik status
Admin Base 1.76 AMXX Dev Team admin.amxx running
Admin Commands 1.76 AMXX Dev Team admincmd.amxx running
Admin Help 1.76 AMXX Dev Team adminhelp.amxx running
Slots Reservation 1.76 AMXX Dev Team adminslots.amxx running
Multi-Lingual Sys 1.76 AMXX Dev Team multilingual.am running
Menus Front-End 1.76 AMXX Dev Team menufront.amxx running
Commands Menu 1.76 AMXX Dev Team cmdmenu.amxx running
Players Menu 1.76 AMXX Dev Team plmenu.amxx running
Maps Menu 1.76a AMXX Dev Team mapsmenu.amxx running
Plugin Menu 1.8.1.3 AMXX Dev Team pluginmenu.amxx running
Admin Chat 1.76 AMXX Dev Team adminchat.amxx running
Anti Flood 1.76 AMXX Dev Team antiflood.amxx running
Scrolling Message 1.76 AMXX Dev Team scrollmsg.amxx running
Info. Messages 1.76 AMXX Dev Team imessage.amxx running
Admin Votes 1.76 AMXX Dev Team adminvote.amxx running
NextMap 1.76 AMXX Dev Team nextmap.amxx running
Nextmap Chooser 1.76 AMXX Dev Team mapchooser.amxx running
TimeLeft 1.76 AMXX Dev Team timeleft.amxx running
Pause Plugins 1.76 AMXX Dev Team pausecfg.amxx running
Stats Configurati 1.76 AMXX Dev Team statscfg.amxx running
StatsX 1.8.1.3 AMXX Dev Team statsx.amxx running
CS Misc. Stats 1.8.1.3 AMXX Dev Team miscstats.amxx running
CS Stats Logging 1.8.1.3 AMXX Dev Team stats_logging.a running
Country Welcome 1.7 SweatyBanana countrywelcome. running
Aim Info + Countr 1.1 xPaw aimcountry.amxx running
Show IP 1.0 $uicid3 amx_ip.amxx running
CS Polish 0.1 KaLoSZyFeR polski_cs.amxx running
c4 timer 1.1 cheap_suit c4timer.amxx running
High Ping Kicker 1.2.0 DynAstY translat hpk_pl.amxx running
Disable startup M 1.0 Sn!ff3r disable_motd.am running
30 pluginów, 30 uruchomionych
A moze to ma coś do znaczenia ?
cminterface.cpp (680) : Assertion Failed: 0 != m_hConnection
Użytkownik paulin edytował ten post 21.01.2010 17:31
paulin
21.01.2010
paulin
22.01.2010
Saper
22.01.2010
inny modul nic nie da....GeoIP jest wymagane do Country Welcome .... A jaki inny moduł możesz polecić ?
paulin
22.01.2010
Ktos wie jak i gdzie to zmienic ?
paulin
23.01.2010
#include <amxmodx>
#include <amxmisc>
#include <geoip>
new ShowAll, ShowMethod
public plugin_init()
{
/* Register plugin */
register_plugin("Country Welcome","1.7","SweatyBanana")
/* Register LANG file */
register_dictionary("cwlang.txt")
/* Register cvars */
ShowAll = register_cvar("amx_country_showall", "0")
ShowMethod = register_cvar("amx_country_method", "5")
}
public client_putinserver(id)
{
/* Create variables */
new ShowWho = get_pcvar_num(ShowAll),ShowHow = get_pcvar_num(ShowMethod)
static Name[33],Country[33],Ip[16]
/* Get user information */
get_user_ip(id,Ip,31,true)
get_user_name(id,Name,32)
geoip_country(Ip,Country)
/* Check who to display to */
if(ShowWho==0)
{
ShowMessages(0,ShowHow,Name,Country)
return PLUGIN_CONTINUE
}
new Players[32],Playersnum
get_players(Players,Playersnum,"c")
for(new Count = 0;Count < Playersnum;Count++)
{
new Player = Players[Count]
if(is_user_admin(Player) && Player != id)
ShowMessages(Player,ShowHow,Name,Country)
}
return PLUGIN_CONTINUE
}
/* Show the messages */
ShowMessages(id,ShowHow,Name[],Country[])
{
if(ShowHow & 1) /* Console */
client_print(id, print_console,"%L",LANG_SERVER,"MESSAGE",Name,Name,Country)
if(ShowHow & 2) /* Chat */
client_print(id, print_chat,"%L",LANG_SERVER,"MESSAGE",Name,Name,Country)
if(ShowHow & 4) /* TSAY */
{
set_hudmessage(id, 225, 0, 0.05, 0.45, 0, 6.0, 6.0, 0.5, 0.15, 3)
show_hudmessage(id,"%L",LANG_SERVER,"MESSAGE",Name,Name,Country)
}
if(ShowHow & 8) /* CSAY */
{
set_hudmessage(id, 255, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 4)
show_hudmessage(id,"%L",LANG_SERVER,"MESSAGE",Name,Name,Country)
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
a dookladniej ?? wkleic to co poprawiles ?
a dookladniej ?? wkleic to co poprawiles ?
Użytkownik Abes Mapper edytował ten post 23.01.2010 16:16
Używaj BBCODE