Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

ciagle crashe serwa


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

#1 Weed.

    Profesjonalista

  • Użytkownik

Reputacja: 3
Nowy

  • Postów:158
  • Lokalizacja:Kwidzyn
Offline

Napisano 19.02.2010 15:45

diablo mod 5.9l
amx - 1.8.1

LOGI:
L 02/19/2010 - 14:09:34: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 14:09:34: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 14:09:34: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 14:10:12: [FUN] Player out of range (0)
L 02/19/2010 - 14:10:12: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 14:10:12: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 14:10:12: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 14:10:12: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 14:10:12: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 14:10:12: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 14:10:12: [FUN] Player out of range (0)
L 02/19/2010 - 14:10:12: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 14:10:12: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 14:10:12: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 14:10:12: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 14:10:12: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 14:10:12: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 14:11:08: [FUN] Player out of range (0)
L 02/19/2010 - 14:11:08: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 14:11:08: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 14:11:08: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 14:11:08: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 14:11:08: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 14:11:08: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 14:11:08: [FUN] Player out of range (0)
L 02/19/2010 - 14:11:08: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 14:11:08: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 14:11:08: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 14:11:08: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 14:11:08: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 14:11:08: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 14:12:18: [FUN] Player out of range (0)
L 02/19/2010 - 14:12:18: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 14:12:18: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 14:12:18: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 14:12:18: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 14:12:18: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 14:12:18: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 14:13:19: [FUN] Player out of range (0)
L 02/19/2010 - 14:13:19: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 14:13:19: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 14:13:19: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 14:13:19: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 14:13:19: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 14:13:19: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 14:58:19: Start of error session.
L 02/19/2010 - 14:58:19: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100219.log")
L 02/19/2010 - 14:58:19: [MySQL] Invalid handle: 0
L 02/19/2010 - 14:58:19: [AMXX] Run time error 10 (plugin "amxbans.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 02/19/2010 - 14:58:19: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/19/2010 - 15:10:52: Start of error session.
L 02/19/2010 - 15:10:52: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100219.log")
L 02/19/2010 - 15:10:52: [FUN] Player out of range (0)
L 02/19/2010 - 15:10:52: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:10:52: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:10:52: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:10:52: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:10:52: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:10:52: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:11:55: [FUN] Player out of range (0)
L 02/19/2010 - 15:11:55: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:11:55: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:11:55: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:11:55: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:11:55: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:11:55: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:12:52: [FUN] Player out of range (0)
L 02/19/2010 - 15:12:52: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:12:52: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:12:52: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:12:52: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:12:52: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:12:52: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:13:53: [FUN] Player out of range (0)
L 02/19/2010 - 15:13:53: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:13:53: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:13:53: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:13:53: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:13:53: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:13:53: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:14:35: [FUN] Player out of range (0)
L 02/19/2010 - 15:14:35: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:14:35: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:14:35: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:14:35: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:14:35: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:14:35: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:15:46: [FUN] Player out of range (0)
L 02/19/2010 - 15:15:46: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:15:46: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:15:46: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:15:46: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:15:46: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:15:46: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:17:02: [FUN] Player out of range (0)
L 02/19/2010 - 15:17:02: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:17:02: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:17:02: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:17:02: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:17:02: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:17:02: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:18:04: [FUN] Player out of range (0)
L 02/19/2010 - 15:18:04: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:18:04: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:18:04: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:18:04: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:18:04: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:18:04: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:19:36: [FUN] Player out of range (0)
L 02/19/2010 - 15:19:36: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:19:36: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:19:36: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:19:36: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:19:36: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:19:36: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:20:37: [FUN] Player out of range (0)
L 02/19/2010 - 15:20:37: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:20:37: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:20:37: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:20:37: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:20:37: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:20:37: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:22:05: [FUN] Player out of range (0)
L 02/19/2010 - 15:22:05: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:22:05: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:22:05: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:22:05: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:22:05: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:22:05: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:23:13: [FUN] Player out of range (0)
L 02/19/2010 - 15:23:13: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:23:13: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:23:13: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:23:13: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:23:13: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:23:13: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:23:13: [FUN] Player out of range (0)
L 02/19/2010 - 15:23:13: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:23:13: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:23:13: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:23:13: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:23:13: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:23:13: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:24:06: [FUN] Player out of range (0)
L 02/19/2010 - 15:24:06: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:24:06: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:24:06: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:24:06: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:24:06: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:24:06: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:24:06: [FUN] Player out of range (0)
L 02/19/2010 - 15:24:06: [AMXX] Displaying debug trace (plugin "diablofast.amxx")
L 02/19/2010 - 15:24:06: [AMXX] Run time error 10: native error (native "set_user_frags")
L 02/19/2010 - 15:24:06: [AMXX]    [0] diablofast.sma::UTIL_Kill (line 8142)
L 02/19/2010 - 15:24:06: [AMXX]    [1] diablofast.sma::change_health (line 8125)
L 02/19/2010 - 15:24:06: [AMXX]    [2] diablofast.sma::add_redhealth_bonus2 (line 3746)
L 02/19/2010 - 15:24:06: [AMXX]    [3] diablofast.sma::ResetHUD (line 1343)
L 02/19/2010 - 15:37:39: Start of error session.
L 02/19/2010 - 15:37:39: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100219.log")
L 02/19/2010 - 15:37:39: [MySQL] Invalid handle: 0
L 02/19/2010 - 15:37:39: [AMXX] Run time error 10 (plugin "amxbans.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 02/19/2010 - 15:37:39: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

L 02/19/2010 - 09:47:43: 02/19/2010 - 09:47:43 ### MAPA: cs_assault_upc ### 
L 02/19/2010 - 10:35:23: 02/19/2010 - 10:35:23 ### MAPA: de_nuke_rarea ### 
L 02/19/2010 - 11:07:37: 02/19/2010 - 11:07:37 ### MAPA: de_dust2 ### 
L 02/19/2010 - 11:07:38: 02/19/2010 - 11:07:38 ### MAPA: de_dust2 ### 
L 02/19/2010 - 11:33:28: 02/19/2010 - 11:33:28 ### MAPA: de_prodigy ### 
L 02/19/2010 - 11:59:27: 02/19/2010 - 11:59:27 ### MAPA: de_dust2_long ### 
L 02/19/2010 - 12:24:00: 02/19/2010 - 12:24:00 ### MAPA: de_outhide ### 
L 02/19/2010 - 12:49:21: 02/19/2010 - 12:49:21 ### MAPA: de_westwood ### 
L 02/19/2010 - 13:22:08: 02/19/2010 - 13:22:08 ### MAPA: cs_assault_december ### 
L 02/19/2010 - 13:48:02: 02/19/2010 - 13:48:02 ### MAPA: de_dust ### 
L 02/19/2010 - 14:13:30: 02/19/2010 - 14:13:30 ### MAPA: de_nuke_1337 ### 
L 02/19/2010 - 14:39:02: 02/19/2010 - 14:39:02 ### MAPA: de_aztec ### 
L 02/19/2010 - 14:58:18: 02/19/2010 - 14:58:18 ### MAPA: de_dust2 ### 
L 02/19/2010 - 14:58:19: 02/19/2010 - 14:58:19 ### MAPA: de_dust2 ### 
L 02/19/2010 - 15:24:17: 02/19/2010 - 15:24:17 ### MAPA: de_nuke ### 
L 02/19/2010 - 15:25:46: 02/19/2010 - 15:25:46 ### MAPA: de_nuke_1337 ### 
L 02/19/2010 - 15:37:38: 02/19/2010 - 15:37:38 ### MAPA: de_dust2 ### 
L 02/19/2010 - 15:37:39: 02/19/2010 - 15:37:39 ### MAPA: de_dust2 ###

modules :

mysql
;sqlite

fun
engine
fakemeta
geoip
sockets
regex
;nvault
cstrike
csx
hamsandwich



serwer ciagle crashuje.
  • +
  • -
  • 0

#2 KariiO

    Super Hero

  • Power User

Reputacja: 395
Wszechpomocny

  • Postów:1133
  • GG:
  • Imię:Korneliusz
  • Lokalizacja:Cieszyn
Offline

Napisano 19.02.2010 15:48

Diablo podstawowy 5.9l ? Czy jakiś edytowany ?

@EDIT
spróbuj skompilować lokalnie i zobacz czy nie będzie crashów :)

Użytkownik KariiO edytował ten post 19.02.2010 15:49

  • +
  • -
  • 0

#3 Weed.

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 3
Nowy

  • Postów:158
  • Lokalizacja:Kwidzyn
Offline

Napisano 19.02.2010 15:51

diablo Edytowany. compiluje lokalnie przez amxx studio
  • +
  • -
  • 0

#4 KariiO

    Super Hero

  • Power User

Reputacja: 395
Wszechpomocny

  • Postów:1133
  • GG:
  • Imię:Korneliusz
  • Lokalizacja:Cieszyn
Offline

Napisano 19.02.2010 15:52

Możesz zarzucić .sma ?Czy nie za bardzo ?
  • +
  • -
  • 0

#5 Weed.

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 3
Nowy

  • Postów:158
  • Lokalizacja:Kwidzyn
Offline

Napisano 19.02.2010 16:07

własnie chodzi o to ze nie zabardzo :D ale moge ci dac kawalki kodu tam gdzie sa bledy


new m_health = race_heal[player_class[id]]+player_strength[id]*2
if(player_item_id[id]==17 &&hp>0)
{
set_user_health(id,health+floatround(float(hp/10),floatround_floor)+1)
}
else if (hp+health>m_health) set_user_health(id,m_health)
else set_user_health(id,get_user_health(id)+hp)
}
else
{
if(health+hp<1)
{
UTIL_Kill(attacker,id,weapon) < LINE 8125
}
else set_user_health(id,get_user_health(id)+hp)
}

if(id!=attacker && hp<0)
{
player_dmg[attacker]-=hp
dmg_exp(attacker)
}
}
}

public UTIL_Kill(attacker,id,weapon[])
{
if( is_user_alive(id)){
if(get_user_team(attacker)!=get_user_team(id))
set_user_frags(attacker,get_user_frags(attacker) +1); < LINE 8142

if(get_user_team(attacker)==get_user_team(id))
set_user_frags(attacker,get_user_frags(attacker) -1);

if (cs_get_user_money(attacker) + 150 <= 16000)
cs_set_user_money(attacker,cs_get_user_money(attacker)+150)
else
cs_set_user_money(attacker,16000)

cs_set_user_deaths(id, cs_get_user_deaths(id)+1)
user_kill(id,1)

if(is_user_connected(attacker) && attacker!=id)
{
award_kill(attacker,id)
if(is_user_alive(attacker)) award_item(attacker,0)
}

message_begin( MSG_ALL, gmsgDeathMsg,{0,0,0},0)
write_byte(attacker)
write_byte(id)
write_byte(0)
write_string(weapon)
message_end()

message_begin(MSG_ALL,gmsgScoreInfo)
write_byte(attacker)
write_short(get_user_frags(attacker))
write_short(get_user_deaths(attacker))
write_short(0)


/* ==================================================================================================== */

public add_redhealth_bonus(id)
{
if (player_b_reduceH[id] > 0)
change_health(id,-player_b_reduceH[id],0,"")
if(player_item_id[id]==17) //stalker ring
set_user_health(id,5)
}

/* ==================================================================================================== */


public add_redhealth_bonus2(id)
{
if (player_b_reduceH[id] > 0)
change_health(id,-player_b_reduceH[id],0,"") <LINE 3746
if(player_item_id[id]==89) //klatwa vikinga
set_user_health(id,1)
}

/* ==================================================================================================== */

public add_theif_bonus(id,attacker_id)
{
if (player_b_theif[attacker_id] > 0)
{
new roll1 = random_num(1,5)
if (roll1 == 1)
{
if (cs_get_user_money(id) > player_b_theif[attacker_id])
{
cs_set_user_money(id,cs_get_user_money(id)-player_b_theif[attacker_id])
if (cs_get_user_money(attacker_id) + player_b_theif[attacker_id] <= 16000)
{
cs_set_user_money(attacker_id,cs_get_user_money(attacker_id)+player_b_theif[attacker_id])
}
}
else
{
new allthatsleft = cs_get_user_money(id)
cs_set_user_money(id,0)
if (cs_get_user_money(attacker_id) + allthatsleft <= 16000)
{
cs_set_user_money(attacker_id,cs_get_user_money(attacker_id) + allthatsleft)
}
}
}
}
}


BoostStats(id,player_b_extrastats[id])
BoostRing(id)

fired[id] = 0

player_ultra_armor_left[id]=player_ultra_armor[id]

player_b_dagfired[id] = false
ghoststate[id] = 0
earthstomp[id] = 0

if (player_b_blink[id] > 0)
player_b_blink[id] = 1

if (player_b_usingwind[id] > 0)
{
player_b_usingwind[id] = 0
}

if (player_point[id] > 0 ) skilltree(id)
if (player_class[id] == 0) select_class_query(id)

add_bonus_gamble(id) //MUST be first
c4state[id] = 0
client_cmd(id,"hud_centerid 0")
auto_help(id)
add_money_bonus(id)
set_gravitychange(id) < LINE 1343
add_redhealth_bonus(id)
add_redhealth_bonus2(id)
SelectBotRace(id)
set_renderchange(id)
}
}

public DeathMsg(id)
{
new weaponname[20]
new kid = read_data(1)
new vid = read_data(2)
new headshot = read_data(3)
read_data(4,weaponname,31)

reset_player(vid)
msg_bartime(id, 0)
static Float:minsize[3]
pev(vid, pev_mins, minsize)
if(minsize[2] == -18.0)
g_wasducking[vid] = true
else
g_wasducking[vid] = false



zaznaczylem Ci linijki w kodach. lecz wiekszosci w tych linijkach gdzie niby jest blad jest wszystko tak jak w oryginalnym kodzie. nie nie zmienialem.

Użytkownik Ven0 edytował ten post 19.02.2010 16:08

  • +
  • -
  • 0

#6 Miczu

    Godlike

  • Przyjaciel

Reputacja: 646
Wszechmogący

  • Postów:2862
Offline

Napisano 19.02.2010 16:10

Dodaj is_user_alive na poczatku funkcji dla id i atakera :rolleyes:
  • +
  • -
  • 0

#7 Weed.

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 3
Nowy

  • Postów:158
  • Lokalizacja:Kwidzyn
Offline

Napisano 20.02.2010 16:08

public add_redhealth_bonus(id)
{
is_user_alive
if (player_b_reduceH[id] > 0)
change_health(id,-player_b_reduceH[id],0,"")
if(player_item_id[id]==17) //stalker ring
set_user_health(id,5)
}

/* ==================================================================================================== */


public add_redhealth_bonus2(id)
{
if (player_b_reduceH[id] > 0)
change_health(id,-player_b_reduceH[id],0,"")
if(player_item_id[id]==89) //klatwa vikinga
set_user_health(id,1)
}


tak? bo nie rozumiem zbytnio
a jesli chodzi o to to mam tak :

case 17:
{
player_item_name[id] = "Stalkers ring"
player_item_id[id] = rannum
player_b_reduceH[id] = 95
player_b_inv[id] = 8
item_durability[id] = 100

if (is_user_alive(id)) set_user_health(id,5)
show_hudmessage(id, "Znalazles przedmiot: %s :: Masz 5 zycia i noz, jestes prawie niewidoczny",player_item_name[id])
}

refresh ja naprawdę bardzo proszę o pomoc ;/

HEEEEEEEEEEEEEELP

luudzie pomocy;/

Użytkownik Ven0 edytował ten post 19.02.2010 16:21

  • +
  • -
  • 0

#8 Miczu

    Godlike

  • Przyjaciel

Reputacja: 646
Wszechmogący

  • Postów:2862
Offline

Napisano 20.02.2010 16:37

AMX Mod X - Half-Life Scripting for Pros!
  • +
  • -
  • 0

#9 Weed.

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 3
Nowy

  • Postów:158
  • Lokalizacja:Kwidzyn
Offline

Napisano 21.02.2010 02:57

musisz tak jakos dziwnie pisac? nie mozesz mi poprawic kodu bo z tego co piszesz nic nie rozumiem, ja nie potrafie dobrze scriptingu..

odswiezam

Miczu możesz jasniej mi wyjasnić to wszystko bo nie zbyt rozumiem. a serwer mi ciagle pada :((
  • +
  • -
  • 0




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

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