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

Server is shuting down


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
8 odpowiedzi w tym temacie

#1 SofcikCSowicze

    Nowy

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Łukasz
  • Lokalizacja:Zabrze
Offline

Napisano 07.08.2014 17:54

Opisze problem raz jeszcze, bo nie wiem dlaczego ktoś mi zamknął ten temat...
 
Witam.
Od początku istnienia mojego serwera przy każdej zmianie mapki z DD2 na DD2 (bo to serwer only DD2) wysępuje crashserwera. Nie wiem już co mam robić. Wykupiłem reklamę, a tracę graczy, bo serwer crashuje...
Tu daje plugins.ini:
;Standardowe pluginy
 
admin.amxx
amxbans_core.amxx
amxbans_main.amxx
;admin_sql.amxx 
admincmd.amxx 
adminhelp.amxx 
adminslots.amxx 
multilingual.amxx 
menufront.amxx 
cmdmenu.amxx 
plmenu.amxx 
telemenu.amxx 
;mapsmenu.amxx 
pluginmenu.amxx 
adminchat.amxx 
antiflood.amxx 
scrollmsg.amxx 
;imessage.amxx 
adminvote.amxx 
nextmap.amxx 
;mapchooser.amxx 
invisible_spectator.amxx 
timeleft.amxx 
pausecfg.amxx 
statscfg.amxx 
restmenu.amxx 
statsx.amxx 
;miscstats.amxx 
;stats_logging.amxx 
;amxmod_compat.amxx 
 
;Pluginy instalowane ręcznie
 
ad_manager.amxx
admin_alltalk.amxx
;admin_chat_colors.amxx
admin_chect.amxx
admin_chat.amxx
admin_freelook.amxx
AdminTag.amxx
amx_ssban.amxx
amx_subnetban2.amxx
asysta_i_zemsta_fragi.amxx
bf3rank.amxx
block_team_flash.amxx
bomb_explode_3sounds.amxx
bullet_damage.amxx
customflashlight.amxx
czerwony_ekran.amxx
descriptive_fire_in_the_hole.amxx
eim.amxx
kit_on_body.amxx
lotto.amxx
nasty_flashbangs.amxx
podmiana_menu.amxx
QuakeSounds.amxx
ReasonKicker.amxx
runplanting.amxx
wymuszanie_interpu.amxx
no_fall_damage.amxx
vip.amxx
topme.amxx
 
;Pluginy zainstalowane z poziomu panelu
 
afkkicker2.amxx
admin_spec_esp.amxx
amx_ip.amxx
Bullet_Whizz.amxx
lastmanbets.amxx
MPZ.amxx
realnadedrops.amxx
ruletka3.0.amxx
ultimate_ss.amxx
sell_weapons.amxx
timer.amxx
ptb.amxx
sillyc4.amxx
 
Tu daje logi:
 
******************************         Login Passed... Welcome       ******************************
 
L 08/07/2014 - 16:14:07: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:14:07: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:14:09: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:14:09: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:14:09: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
*DEAD* [AWP] GiKaSe#64# : /top15
L 08/07/2014 - 16:14:11: "[AWP] GiKaSe#64#<28><STEAM_0:0:575561314><TERRORIST>" say "/top15" (dead)
L 08/07/2014 - 16:14:22: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:14:22: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:14:22: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:14:31: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:14:31: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:14:31: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:14:39: "Kamil.<12><STEAM_0:0:34273338><TERRORIST>" triggered "Got_The_Bomb"
L 08/07/2014 - 16:15:07: "Kamil.<12><STEAM_0:0:34273338><TERRORIST>" triggered "Planted_The_Bomb"
L 08/07/2014 - 16:15:22: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:15:22: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:15:22: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:15:24: "PREDATOR<31><STEAM_0:0:1207140983><CT>" killed "Kamil.<12><STEAM_0:0:34273338><TERRORIST>" with "sg552"
L 08/07/2014 - 16:15:28: "PREDATOR<31><STEAM_0:0:1207140983><CT>" triggered "Begin_Bomb_Defuse_With_Kit"
*DEAD* Kamil. : Aaa, bo ich dwoje bylo :/
L 08/07/2014 - 16:15:32: "Kamil.<12><STEAM_0:0:34273338><TERRORIST>" say "Aaa, bo ich dwoje bylo :/" (dead)
L 08/07/2014 - 16:15:33: "PREDATOR<31><STEAM_0:0:1207140983><CT>" triggered "Defused_The_Bomb"
L 08/07/2014 - 16:15:33: Team "CT" triggered "Bomb_Defused" (CT "13") (T "19")
L 08/07/2014 - 16:15:33: World triggered "Round_End"
L 08/07/2014 - 16:15:34: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:15:34: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:15:34: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
PTB: Round ended, checking teams.
PTB: Can't switch players, need valid target in each team.
L 08/07/2014 - 16:15:38: "Ha Ha Ha Ha<27><STEAM_0:0:202360934><TERRORIST>" triggered "Spawned_With_The_Bomb"
L 08/07/2014 - 16:15:39: [afkkicker2.amxx] Checkspec for id: 3
L 08/07/2014 - 16:15:39: [afkkicker2.amxx] Checkspec for id: 4
L 08/07/2014 - 16:15:39: [afkkicker2.amxx] Checkspec for id: 5
L 08/07/2014 - 16:15:39: [afkkicker2.amxx] Checkspec for id: 6
L 08/07/2014 - 16:15:39: [afkkicker2.amxx] Checkspec for id: 7
L 08/07/2014 - 16:15:39: [afkkicker2.amxx] Checkspec for id: 8
L 08/07/2014 - 16:15:40: World triggered "Round_Start"
L 08/07/2014 - 16:15:53: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:15:53: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:15:53: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:15:54: "Klaudia!^^<25><STEAM_0:0:947673242><CT>" killed "[AWP] GiKaSe#64#<28><STEAM_0:0:575561314><TERRORIST>" with "m4a1"
*DEAD* [AWP] GiKaSe#64# : /me
L 08/07/2014 - 16:15:57: "[AWP] GiKaSe#64#<28><STEAM_0:0:575561314><TERRORIST>" say "/me" (dead)
L 08/07/2014 - 16:15:59: "Sofcik<32><STEAM_0:1:21057769><SPECTATOR>" disconnected
Dropped Sofcik from server
Reason:  Client sent 'drop'
88.156.99.37:48435:reconnect
L 08/07/2014 - 16:15:59: [DPROTO]: Client 1 - Set AuthIdType 1 [Native]; pClient = 0xf3a46dfc
L 08/07/2014 - 16:15:59: "Sofcik<33><STEAM_0:1:21057769><>" connected, address "88.156.99.37:48435"
L 08/07/2014 - 16:15:59: [amxbans_core.amxx] Login: "Sofcik<33><STEAM_0:1:21057769><>" became an admin (account "Sofcik") (access "abcdefghijklmnopqrstu") (address "88.156.99.37") (nick "") (static 0)
L 08/07/2014 - 16:15:59: "Sofcik<33><STEAM_0:1:21057769><>" STEAM USERID validated
L 08/07/2014 - 16:16:01: "Sofcik<33><STEAM_0:1:21057769><>" entered the game
L 08/07/2014 - 16:16:02: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:02: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:02: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:03: "Sofcik<33><STEAM_0:1:21057769><>" joined team "TERRORIST"
L 08/07/2014 - 16:16:07: "PREDATOR<31><STEAM_0:0:1207140983><CT>" killed "Ha Ha Ha Ha<27><STEAM_0:0:202360934><TERRORIST>" with "usp"
L 08/07/2014 - 16:16:07: "Ha Ha Ha Ha<27><STEAM_0:0:202360934><TERRORIST>" triggered "Dropped_The_Bomb"
L 08/07/2014 - 16:16:08: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:08: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:08: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:12: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:12: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:12: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:15: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:15: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:15: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
*DEAD* Sofcik : /LOTTO
L 08/07/2014 - 16:16:17: "Sofcik<33><STEAM_0:1:21057769><TERRORIST>" say "/LOTTO" (dead)
L 08/07/2014 - 16:16:19: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:19: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:19: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:20: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:20: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:21: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:21: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:21: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:26: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:26: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:28: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:28: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:28: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:29: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:29: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:29: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:32: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:16:32: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:16:32: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:16:36: [DPROTO]: Client 8 - Set AuthIdType 1 [dp_RevEmu]; pClient = 0xf3a696a8
L 08/07/2014 - 16:16:36: "TKWM <3<34><STEAM_0:0:1219245566><>" connected, address "37.190.143.160:27005"
Dropped TKWM <3 from server
Reason:  Client sent 'drop'
37.190.143.160:27005:reconnect
L 08/07/2014 - 16:16:51: [DPROTO]: Client 8 - Set AuthIdType 1 [dp_RevEmu]; pClient = 0xf3a696a8
L 08/07/2014 - 16:16:51: "TKWM <3<35><STEAM_0:0:1219245566><>" connected, address "37.190.143.160:27005"
L 08/07/2014 - 16:16:52: [adminchat.amxx] Chat: "Sofcik<33><STEAM_0:1:21057769><>" tsay "MdOBRA, DO WIECZORA, NARKA :)"
L 08/07/2014 - 16:16:52: "Sofcik<33><STEAM_0:1:21057769><>" triggered "amx_tsay" (text "MdOBRA, DO WIECZORA, NARKA :)") (color "white")
L 08/07/2014 - 16:16:53: "Kamil.<12><STEAM_0:0:34273338><TERRORIST>" killed "PREDATOR<31><STEAM_0:0:1207140983><CT>" with "ak47"
L 08/07/2014 - 16:16:54: "Klaudia!^^<25><STEAM_0:0:947673242><CT>" killed "Kamil.<12><STEAM_0:0:34273338><TERRORIST>" with "m4a1"
L 08/07/2014 - 16:16:54: Team "CT" triggered "CTs_Win" (CT "14") (T "19")
L 08/07/2014 - 16:16:54: World triggered "Round_End"
L 08/07/2014 - 16:16:55: "PREDATOR<31><STEAM_0:0:1207140983><CT>" disconnected
Dropped PREDATOR from server
Reason:  Client sent 'drop'
L 08/07/2014 - 16:16:57: "Sofcik<33><STEAM_0:1:21057769><TERRORIST>" disconnected
Dropped Sofcik from server
Reason:  Client sent 'drop'
L 08/07/2014 - 16:16:57: "TKWM <3<35><STEAM_0:0:1219245566><>" entered the game
PTB: Round ended, checking teams.
L 08/07/2014 - 16:16:58: "Kamil.<12><STEAM_0:0:34273338><TERRORIST>" joined team "CT"
L 08/07/2014 - 16:16:58: "<><><>" triggered "amx_chat" (text "[PTB] Transfered Kamil. to CT")
L 08/07/2014 - 16:16:59: "[AWP] GiKaSe#64#<28><STEAM_0:0:575561314><TERRORIST>" triggered "Spawned_With_The_Bomb"
L 08/07/2014 - 16:16:59: [afkkicker2.amxx] Checkspec for id: 3
L 08/07/2014 - 16:16:59: [afkkicker2.amxx] Checkspec for id: 4
L 08/07/2014 - 16:16:59: [afkkicker2.amxx] Checkspec for id: 5
L 08/07/2014 - 16:16:59: [afkkicker2.amxx] Checkspec for id: 6
L 08/07/2014 - 16:16:59: [afkkicker2.amxx] Checkspec for id: 7
L 08/07/2014 - 16:17:01: World triggered "Round_Start"
eAsy sKill# : ale mi idzie :D
L 08/07/2014 - 16:17:06: "eAsy sKill#<29><STEAM_0:0:29109802><CT>" say "ale mi idzie :D"
L 08/07/2014 - 16:17:14: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:17:14: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:17:14: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
[AWP] GiKaSe#64# : /me
L 08/07/2014 - 16:17:14: "[AWP] GiKaSe#64#<28><STEAM_0:0:575561314><TERRORIST>" say "/me"
L 08/07/2014 - 16:17:16: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:17:16: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:17:16: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:17:16: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:17:16: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:17:16: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:17:17: [CSTRIKE] Invalid player 2
L 08/07/2014 - 16:17:17: [AMXX] Run time error 10 (plugin "lotto.amxx") (native "cs_get_user_money") - debug not enabled!
L 08/07/2014 - 16:17:17: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:17:19: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:17:19: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:17:19: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:17:24: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:17:24: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:17:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:17:25: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:17:25: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:17:25: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
SZ_GetSpace: overflow on TKWM <3
L 08/07/2014 - 16:17:33: [FAKEMETA] Invalid entity
L 08/07/2014 - 16:17:33: [AMXX] Run time error 10 (plugin "realnadedrops.amxx") (native "pev") - debug not enabled!
L 08/07/2014 - 16:17:33: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/07/2014 - 16:17:36: "[AWP] GiKaSe#64#<28><STEAM_0:0:575561314><TERRORIST>" killed "Klaudia!^^<25><STEAM_0:0:947673242><CT>" with "ak47"
 

  • +
  • -
  • 0

#2 Damian Łukasz

    Życzliwy

  • Użytkownik

Reputacja: 4
Nowy

  • Postów:37
  • GG:
  • Imię:Damian
  • Lokalizacja:Zamość
Offline

Napisano 07.08.2014 18:06

Witaj, dopisz debug obok pluginów wypisanych poniżej i daj ich sma.

realnadedrops.amxx
lotto.amxx

Następnie ogranicz ilość wiadomości wysyłanych do graczy.

 

Pozdrawiam.


  • +
  • -
  • 0

CS-Avanfer.pl

:giggle:


#3 Rivit

    Godlike

  • Support Team

Reputacja: 1 319
Godlike

  • Postów:4 381
Offline

Napisano 07.08.2014 18:10

Zamien realnadedrops.amxx na realnadedrops.amxx debug, to samo z lotto.amxx. I potem daj logi. Na przyszłość nie załączaj w logach rozmów między graczami i logów które się potwarzają 462028 razy!!

Nie ma tu nic w tych logach poza błędami pluginów.
Ani nie widzę tu momentu crashu. Chyba że bez loga się crashuje, ale w to wątpie.

//Edit.
@up
Po co ograniczać ma? Nie wywala błedu sz_GetSpaceOverflow() (na razie :) )
  • +
  • -
  • 0

#4 SofcikCSowicze

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Łukasz
  • Lokalizacja:Zabrze
Offline

Napisano 07.08.2014 18:18

lotto.sma

 

/* Plugin by emblaze */
 
#include <amxmodx>
#include <cstrike>
#include <fun>
 
#define PLUGIN "Lotek"
#define VERSION "1.0"
#define AUTHOR "emblaze"
 
new koszt
new bool:zagral[33]
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /lotto", "lotto")
register_clcmd("say /pula", "pula")
set_task(120.0, "reklama",_,_,_,"b")
set_task(150.0, "pula",_,_,_,"b")
koszt = register_cvar("amx_lotto_koszt", "500")
}
public client_connect(id) zagral[id] = false
public reklama () {
client_print(0,print_chat,"[LOTTO] Wpisz /lotto aby zagrac w lotka.")
client_print(0,print_chat,"[LOTTO] W razie problemów wejdz na amxx.pl")
client_print(0,print_chat,"[LOTTO] plugin by emblaze")
 
}
public lotto (id) {
if(zagral[id]) {
client_print(0,print_chat,"[LOTTO] Juz grales, mozesz grac co 5 minut...")
return PLUGIN_HANDLED
}
new kasa = cs_get_user_money(id)
new koszta = get_pcvar_num(koszt)
cs_set_user_money(id, kasa - koszta) 
client_print(id,print_chat,"[LOTTO] Zagraleś w lotto !")
client_print(id,print_chat,"[LOTTO] Za 1 minute dowiesz sie czy wygrales...")
client_print(id,print_chat,"[LOTTO] Losowanie trwa...")
set_task(60.0,"kumulacja",id)
return PLUGIN_CONTINUE
}
public kumulacja (id) {
new kasa = cs_get_user_money(id)
zagral[id] = true
set_task(300.0, "mozesz", id)
new rand = random_num(0,100) 
switch(rand) 
{
case 0:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 1:
{
client_print(id,print_chat,"[LOTTO] Wygrales 10$ !")
cs_set_user_money(id, kasa + 10)
}
case 2:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 3:
{
client_print(id,print_chat,"[LOTTO] Wygrales 5$ !")
cs_set_user_money(id, kasa + 5)
}
case 20:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales...")
}
case 4:
{
client_print(id,print_chat,"[LOTTO] Wygrales 10$ !")
cs_set_user_money(id, kasa + 10)
}
case 5:
{
client_print(id,print_chat,"[LOTTO] Wygrales 50$ !")
cs_set_user_money(id, kasa + 50)
}
case 6:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 7:
{
client_print(id,print_chat,"[LOTTO] Wygrales 1$ !")
cs_set_user_money(id, kasa + 1)
}
case 8:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 9:
{
client_print(id,print_chat,"[LOTTO] Wygrales 100$ !")
cs_set_user_money(id, kasa + 100)
}
case 10:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 11:
{
client_print(id,print_chat,"[LOTTO] Wygrales 500$ !")
cs_set_user_money(id, kasa + 500)
}
case 12:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 13:
{
client_print(id,print_chat,"[LOTTO] Wygrales 1000$ !")
cs_set_user_money(id, kasa + 1000)
}
case 14:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 15:
{
client_print(id,print_chat,"[LOTTO] Wygrales 5000$ !")
cs_set_user_money(id, kasa + 5000)
}
case 16:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 17:
{
client_print(id,print_chat,"[LOTTO] Wygrales 10000$ !!!")
cs_set_user_money(id, kasa + 10000)
}
case 18:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 19:
{
client_print(id,print_chat,"[LOTTO] Wygrales 16000$ !!!")
client_print(id,print_chat,"[LOTTO] Oprozniles cala pule !!!")
client_print(id,print_chat,"[LOTTO] Lotto zasponsorowalo Ci dodatkowo AWP & M4A1")
cs_set_user_money(id, kasa + 16000)
give_item(id,"weapon_m4a1")
give_item(id,"weapon_awp")
}
case 21:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
}
case 51:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 22:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 23:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 24:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 25:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 26:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 27:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 28:
{
client_print(id,print_chat,"[LOTTO] Wygrales 5$")
cs_set_user_money(id, kasa + 5)
}
case 29:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 30:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 31:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 32:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 33:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 34:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 35:
{
client_print(id,print_chat,"[LOTTO] Wygrales 100$")
cs_set_user_money(id, kasa + 100)
}
case 36:
{
client_print(id,print_chat,"[LOTTO] Wygrales 20$")
cs_set_user_money(id, kasa + 20)
}
case 37:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 38:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 39:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}case 40:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 41:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 42:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 43:
{
client_print(id,print_chat,"[LOTTO] Wygrales 2$")
cs_set_user_money(id, kasa + 2)
}
case 44:
{
client_print(id,print_chat,"[LOTTO] Wygrales 99$")
cs_set_user_money(id, kasa + 99)
}
case 45:
{
client_print(id,print_chat,"[LOTTO] 1000$")
cs_set_user_money(id, kasa + 1000)
}
case 46:
{
client_print(id,print_chat,"[LOTTO] 2500$")
cs_set_user_money(id, kasa + 2500)
}
case 47:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 48:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 49:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 50:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 87:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 52:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 53:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 54:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 55:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 56:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 57:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 58:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 59:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 60:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 61:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 62:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 63:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 64:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 65:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 66:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 67:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 68:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 69:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 70:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 71:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 72:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 73:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 74:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 75:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 76:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 77:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 78:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 79:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 80:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 81:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 82:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 83:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 84:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 85:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 86:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 88:
{
client_print(id,print_chat,"[LOTTO] Niestety nie wygrales nic...")
 
}
case 89:
{
client_print(id,print_chat,"[LOTTO] 1000$")
cs_set_user_money(id, kasa + 1000)
}
case 91:
{
client_print(id,print_chat,"[LOTTO] 1000$")
cs_set_user_money(id, kasa + 1000)
}
case 92:
{
client_print(id,print_chat,"[LOTTO] 1000$")
cs_set_user_money(id, kasa + 1000)
}
case 93:
{
client_print(id,print_chat,"[LOTTO] 1000$")
cs_set_user_money(id, kasa + 1000)
}
case 94:
{
client_print(id,print_chat,"[LOTTO] 1000$")
cs_set_user_money(id, kasa + 1000)
}
case 95:
{
client_print(id,print_chat,"[LOTTO] 1000$")
cs_set_user_money(id, kasa + 1000)
}
case 96:
{
client_print(id,print_chat,"[LOTTO] Wygrales 1000$ !")
cs_set_user_money(id, kasa + 1000)
}
case 97:
{
client_print(id,print_chat,"[LOTTO] Wygrales 1000$ !")
cs_set_user_money(id, kasa + 1000)
}
case 98:
{
client_print(id,print_chat,"[LOTTO] Wygrales 3000$ !")
cs_set_user_money(id, kasa + 3000)
}
case 99:
{
client_print(id,print_chat,"[LOTTO] Wygrales 10000$ !")
cs_set_user_money(id, kasa + 10000)
}
case 100:
{
client_print(id,print_chat,"[LOTTO] Wygrales 4000$ !")
cs_set_user_money(id, kasa + 4000)
}
 
}
return PLUGIN_CONTINUE
 
}
public pula () {
client_print(0,print_chat,"[LOTTO] Dzisiejsza pula nagrod to az 16000$!!!")
client_print(0,print_chat,"[LOTTO] Aby sie zalapac na konkurs wpisz /lotto")
}
public mozesz (id) {
zagral[id] = false
}
 

 

 

realnadedrops.sma

 

a dziwne, bo to z instalatora pukawki, a nie ma sma jest tylko amxx.


  • +
  • -
  • 0

#5 Rivit

    Godlike

  • Support Team

Reputacja: 1 319
Godlike

  • Postów:4 381
Offline

Napisano 07.08.2014 18:25

Kod umieszczaj w spoilerach i z autonumerowaniem.

Dodaj logi z debug!

 

Czytaj posty i regulamin.

 

 

Po

public kumulacja (id) {

dodaj to:

if(!is_user_alive(id)) return PLUGIN_CONTINUE

Skompiluj ten plugin i wrzuć na serwer, potem zmień mape.


  • +
  • -
  • 0

#6 SofcikCSowicze

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Łukasz
  • Lokalizacja:Zabrze
Offline

Napisano 07.08.2014 18:38

Dodałem. Jakie logi z Debug? :P


  • +
  • -
  • 0

#7 Rivit

    Godlike

  • Support Team

Reputacja: 1 319
Godlike

  • Postów:4 381
Offline

Napisano 08.08.2014 14:56

Logi ktore sa po tym jak dopisales debug.
  • +
  • -
  • 0

#8 SofcikCSowicze

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Łukasz
  • Lokalizacja:Zabrze
Offline

Napisano 08.08.2014 15:06

Tu masz logi:

Spoiler

 

A teraz na panelu w pukawce wyskoczyło mi coś takiego:

Spoiler

  • +
  • -
  • 0

#9 Rivit

    Godlike

  • Support Team

Reputacja: 1 319
Godlike

  • Postów:4 381
Offline

Napisano 08.08.2014 15:16

Nie ma nic w tych logach!!! Dawaj tylko takie logi w ktorych są błesy albo coś. Ty dałeś rozmowy itp. No jak ja Ci mam pomóc?
Przeczytaj sobie pare tutków na forum.

//Na twoim miejscu nie zabierałbym się za serwerowanie.
  • +
  • -
  • 0




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

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