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
 

Zdjęcie
CoD Stary

Crashe serwera

CoD Stary

  • Zamknięty Temat jest zamknięty
8 odpowiedzi w tym temacie

#1 Pro3Trafi

    Nowy

  • Zbanowany

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Michał
  • Lokalizacja:Płock
Offline

Napisano 25.06.2011 20:17

Witam. Wykupiłem swój serwer na Ownserwer.pl "Łódź" zrobiłem z niego COD`a w sma nie ma żadnych błędów a w logach errorów. Lecz crashuje mi serwer co Pare map robi już to się dziwne więc myślę że wt mi pomożecie.

Daje Logi w linku ponieważ nie zmiesci się w [code=auto:0]

P.S inni mają wykupiąnę serwery na ownserwer i im nie crashuje.


Kod: 100231 WKLEJTO.PL Darmowa wklejka, na zawsze!

#2 ptk.

    Wszechwidzący

  • Zbanowany

Reputacja: 31
Życzliwy

  • Postów:248
  • GG:
  • Imię:Patryk
  • Lokalizacja:PL
Offline

Napisano 25.06.2011 21:05

Podałeś złe logi z tego nic nie można się dowiedzieć zobacz czy na pewno nie masz errora jakiegoś (a na pewno masz) .
Jak masz to podaj a jak nie to posprawdzaj wszystkie mapy na serwerze czy dobrze chodzą .

#3 Pro3Trafi

    Nowy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Michał
  • Lokalizacja:Płock
Offline

Napisano 25.06.2011 21:09

Podaje juz w debug znalazłem coś takiego

Kod: 100240 WKLEJTO.PL Darmowa wklejka, na zawsze!

#4 Goliath

    Godlike

  • Przyjaciel

Reputacja: 1 237
Godlike

  • Postów:2 334
  • GG:
  • Steam:steam
  • Imię:Maciej
  • Lokalizacja:Mońki
Offline

Napisano 25.06.2011 21:14

Nie o to chodzi. Podaj zawartość pliku w amxmodx/logs/ zaczynający się na error_.

PS. Brawo. W tym co podałeś znajduje się twoje hasło RCON.
  • +
  • -
  • 0

#5 Pro3Trafi

    Nowy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Michał
  • Lokalizacja:Płock
Offline

Napisano 25.06.2011 21:31

ok mam error przed chwilą wpadł alę wątpię żeby on crashował cały serwer. Jeśli przedtem się nie pojawiał.


L 06/25/2011 - 22:10:48: Start of error session.
L 06/25/2011 - 22:10:48: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20110625.log")
L 06/25/2011 - 22:10:48: [CSTRIKE] Invalid player 12
L 06/25/2011 - 22:10:48: [AMXX] Displaying debug trace (plugin "ultimate_ss.amxx")
L 06/25/2011 - 22:10:48: [AMXX] Run time error 10: native error (native "cs_set_user_team")
L 06/25/2011 - 22:10:48: [AMXX]    [0] 24755.attach::ss_propriuzis (line 118)


#6 Goliath

    Godlike

  • Przyjaciel

Reputacja: 1 237
Godlike

  • Postów:2 334
  • GG:
  • Steam:steam
  • Imię:Maciej
  • Lokalizacja:Mońki
Offline

Napisano 26.06.2011 08:59

To nie przez CoD Moda, ale przez plugin ultimate_ss. Wrzuć kod źródłowy tego pluginu.
  • +
  • -
  • 0

#7 Pro3Trafi

    Nowy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Michał
  • Lokalizacja:Płock
Offline

Napisano 26.06.2011 10:16


#include <amxmodx>

#include <amxmisc>

#include <cstrike>



new player

new ip[32]

new finish;



new maxscreens  //max nr of ss to a player

new screeninterval  //interval between 2 ss

new design  //visual stuff

new site  //the site/forum where a user can post ther pics to be unbanned



public plugin_init() 

{ 

	register_plugin("Ultimate SS", "1.2", "Hack")

	

	register_concmd("amx_ss", "concmd_screen", ADMIN_LEVEL_A, "<authid, nick or #userid> <screens>")

	register_clcmd("say /ip", "show_ip")

	

	maxscreens = register_cvar("amx_ss_max", "5")

	screeninterval = register_cvar("amx_ss_interval", "1.0")

	design = register_cvar("amx_ss_design", "3")

	site = register_cvar("amx_ss_site","www.google.ro")

}



public concmd_screen(id, level, cid)

{

	if(!cmd_access(id, level, cid, 3))   //if the one who requests an ss isnt admin exit

	{

		return PLUGIN_HANDLED

	}

	

	new arg1[24], arg2[4]

	read_argv(1, arg1, 23)

	read_argv(2, arg2, 3)

	

	new screens = str_to_num(arg2)

	new maxss = get_pcvar_num(maxscreens)

	

	if(screens > maxss)   //too many ss?

	{

		console_print(id, "[SS]Prea multe poze!")

		

		return PLUGIN_HANDLED

	}

	

	player = cmd_target(id, arg1, 1) 

	if (!player)   //the player has exited the sv or he didnt existed

	{

		return PLUGIN_HANDLED

	}

	finish = screens

	

	new Float:interval = get_pcvar_float(screeninterval)	//a set_task for each "amx_ss nickname nr_of_ss"

	new array[2]

	array[0] = id //save usefull data in a vector so it can be reused

	array[1] = player

	set_task(interval, "ss_propriuzis", 0, array,2, "a", screens)

        

	return PLUGIN_HANDLED

}

 

public ss_propriuzis(array[2])

{

	//take data and set them accordingly

	new player = array[1]

	new id = array[0]

	

	//save time,adminname,playername so that the player cant give us other ss's and because it LOOKS COOOL!

	new timestamp[32], timestampmsg[128], name[32], adminname[32]

	get_time("%m/%d/%Y - %H:%M:%S", timestamp, 31)

	get_user_name(player, name, 31)

	get_user_name(id, adminname, 31)

	get_user_ip(player, ip, 31)

	        

	//Clasic Design

	if(get_pcvar_num(design) == 0)

	{

		client_print(player, print_chat, "** Screenshot taken on player ^"%s^" by adminl ^"%s^" **", name, adminname)

		client_cmd(player, "snapshot") //ss

	}

	//Doar Playerului

	else if(get_pcvar_num(design) == 1)

	{

		client_print(player, print_chat, "** Screenshot taken on player ^"%s^" by admin ^"%s^" (%s) **", name, adminname, timestamp)

		client_cmd(player, "snapshot") //ss

	}

	//HUD Message doar Playerului

	else if(get_pcvar_num(design) == 2)

	{

		set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4)

		format(timestampmsg, 127, "** TIME: - %s **", timestamp)

		show_hudmessage(player, timestampmsg)

		

		client_cmd(player, "snapshot")  //ss

	}

	//Full

	else if(get_pcvar_num(design) == 3)

	{

		//HUD Timestamp Message

		set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4)

		format(timestampmsg, 127, "** PLAYER %s TIME: - %s **",name,timestamp)

		show_hudmessage(player, timestampmsg)

	    

		client_print(0, print_chat, "** Screenshot taken on player ^"%s^" by admin ^"%s^" (%s) **", name, adminname, timestamp)

		

		client_cmd(player, "snapshot") //ss

	}

	console_print(id, "[SS]%s 's ip is %s!",name,ip)

	console_print(id, "[SS]%s 's ip is %s!",name,ip)

	console_print(id, "[SS]%s 's ip is %s!",name,ip)

	finish = finish - 1;

	

	if(finish == 0)

	{

		client_cmd(player, "kill")

		cs_set_user_team(player,CS_TEAM_SPECTATOR);

		new forum[51];

		get_pcvar_string(site,forum,50)

		client_print(player, print_chat, "Post your screenshots on %s for unban", forum)

	}

	

	return PLUGIN_CONTINUE;

}



public show_ip(id)

{

	console_print(id, "[SS]Last Stored IP: %s!",ip)

}


#8 Goliath

    Godlike

  • Przyjaciel

Reputacja: 1 237
Godlike

  • Postów:2 334
  • GG:
  • Steam:steam
  • Imię:Maciej
  • Lokalizacja:Mońki
Offline

Napisano 26.06.2011 11:22

Zobacz:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

new player
new ip[32]
new finish;

new maxscreens //max nr of ss to a player
new screeninterval //interval between 2 ss
new design //visual stuff
new site //the site/forum where a user can post ther pics to be unbanned

public plugin_init()
{
register_plugin("Ultimate SS", "1.2", "Hack")

register_concmd("amx_ss", "concmd_screen", ADMIN_LEVEL_A, "<authid, nick or #userid> <screens>")
register_clcmd("say /ip", "show_ip")

maxscreens = register_cvar("amx_ss_max", "5")
screeninterval = register_cvar("amx_ss_interval", "1.0")
design = register_cvar("amx_ss_design", "3")
site = register_cvar("amx_ss_site","www.google.ro")
}

public concmd_screen(id, level, cid)
{
if(!cmd_access(id, level, cid, 3)) //if the one who requests an ss isnt admin exit
{
return PLUGIN_HANDLED
}

new arg1[24], arg2[4]
read_argv(1, arg1, 23)
read_argv(2, arg2, 3)

new screens = str_to_num(arg2)
new maxss = get_pcvar_num(maxscreens)

if(screens > maxss) //too many ss?
{
console_print(id, "screenshotPrea multe poze!")

return PLUGIN_HANDLED
}

player = cmd_target(id, arg1, 1)
if (!is_user_connected(player)) //the player has exited the sv or he didnt existed
{
return PLUGIN_HANDLED
}
finish = screens

new Float:interval = get_pcvar_float(screeninterval) //a set_task for each "amx_ss nickname nr_of_ss"
new array[2]
array[0] = id //save usefull data in a vector so it can be reused
array[1] = player
set_task(interval, "ss_propriuzis", 0, array,2, "a", screens)

return PLUGIN_HANDLED
}

public ss_propriuzis(array[2])
{
//take data and set them accordingly
new player = array[1]
new id = array[0]

//save time,adminname,playername so that the player cant give us other ss's and because it LOOKS COOOL!
new timestamp[32], timestampmsg[128], name[32], adminname[32]
get_time("%m/%d/%Y - %H:%M:%S", timestamp, 31)
get_user_name(player, name, 31)
get_user_name(id, adminname, 31)
get_user_ip(player, ip, 31)

//Clasic Design
if(get_pcvar_num(design) == 0)
{
client_print(player, print_chat, "** Screenshot taken on player ^"%s^" by adminl ^"%s^" **", name, adminname)
client_cmd(player, "snapshot") //ss
}
//Doar Playerului
else if(get_pcvar_num(design) == 1)
{
client_print(player, print_chat, "** Screenshot taken on player ^"%s^" by admin ^"%s^" (%s) **", name, adminname, timestamp)
client_cmd(player, "snapshot") //ss
}
//HUD Message doar Playerului
else if(get_pcvar_num(design) == 2)
{
set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4)
format(timestampmsg, 127, "** TIME: - %s **", timestamp)
show_hudmessage(player, timestampmsg)

client_cmd(player, "snapshot") //ss
}
//Full
else if(get_pcvar_num(design) == 3)
{
//HUD Timestamp Message
set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4)
format(timestampmsg, 127, "** PLAYER %s TIME: - %s **",name,timestamp)
show_hudmessage(player, timestampmsg)

client_print(0, print_chat, "** Screenshot taken on player ^"%s^" by admin ^"%s^" (%s) **", name, adminname, timestamp)

client_cmd(player, "snapshot") //ss
}
console_print(id, "screenshot%s 's ip is %s!",name,ip)
console_print(id, "screenshot%s 's ip is %s!",name,ip)
console_print(id, "screenshot%s 's ip is %s!",name,ip)
finish = finish - 1;

if(finish == 0)
{
client_cmd(player, "kill")
cs_set_user_team(player,CS_TEAM_SPECTATOR);
new forum[51];
get_pcvar_string(site,forum,50)
client_print(player, print_chat, "Post your screenshots on %s for unban", forum)
}

return PLUGIN_CONTINUE;
}

public show_ip(id)
{
console_print(id, "screenshotLast Stored IP: %s!",ip)
}

  • +
  • -
  • 0

#9 Pro3Trafi

    Nowy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Michał
  • Lokalizacja:Płock
Offline

Napisano 26.06.2011 11:29

Poprostu było przeciążenie serwera. Ale teraz jest drugi błąd w czasie mapki crashuje serwer na 2-4s .

Dodano 26 czerwiec 2011 - 16:50:
Cięcia serwera są wywoływane przez : bana,slap`a,kick`a. Co z tym zrobić??

Dodano 27 czerwiec 2011 - 06:10:
I jeszcze w konsoli to się wyświetla
Brak ikonki ustawiony na blask!






Również z jednym lub większą ilością słów kluczowych: CoD Stary

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych