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
 

Zawartość użytkownika WzOrEk

Odnotowano 8 pozycji dodanych przez WzOrEk (Rezultat wyszukiwania ograniczony do daty: 28.06.2023 )


Sortuj według                Sortuj  

#646223 Klasa nie chce sie kompilowac, błędy.

Napisano przez WzOrEk w 29.06.2014 10:47 w Problemy

Siemka, gdy chce skompilowac klase wyskakuja mi nastepujace bledy:

 

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team

codclass_KptBrass.sma(46) : error 017: undefined symbol "ma_klase"
codclass_KptBrass.sma(46) : warning 215: expression has no effect
codclass_KptBrass.sma(46) : error 001: expected token: ";", but found "]"
codclass_KptBrass.sma(46) : error 029: invalid expression, assumed zero
codclass_KptBrass.sma(46) : fatal error 107: too many error messages on one line

Compilation aborted.
4 Errors.

 

 

 

 

 

 

 

 

 

 

 

 

 

|Sma klasy|

 

#include <amxmodx>
#include <hamsandwich>
#include <amxmisc>
#include <codmod>
#include <fun>

#define DMG_BULLET (1<<1)
        
new const nazwa[]   = "Kpt.Brass[Premium]";
new const opis[]    = "1/1 z AWP, +10dmg z m4a1, 1/3 z He.";
new const bronie    = (1<<CSW_HEGRENADE)|(1<<CSW_SMOKEGRENADE)|(1<<CSW_AWP)|(1<<CSW_M4A1)|(1<<CSW_FLASHBANG)|(1<<CSW_DEAGLE);
new const zdrowie   = 30;
new const kondycja  = 30;
new const inteligencja = 0;
new const wytrzymalosc = 0;
    
public plugin_init()
{
        RegisterHam(Ham_TakeDamage, "player", "TakeDamage");

    register_plugin(nazwa, "1.0", "amxx.pl");

    cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
}

public cod_class_enabled(id)
{
    if(!(get_user_flags(id) & ADMIN_LEVEL_B))
    {
        client_print(id, print_chat, "[Kpt.Brass[Premium]] Nie masz uprawnien, aby uzywac tej klasy.")
        return COD_STOP;
    }
    give_item(id, "weapon_hegrenade");
    give_item(id, "weapon_flashbang");
    give_item(id, "weapon_flashbang");
    give_item(id, "weapon_smokegrenade");
   
    return COD_CONTINUE;
}

public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
    if(!is_user_connected(idattacker))
        return HAM_IGNORED;
    
    if(!ma_klase[idattacker])
        return HAM_IGNORED;
    
    if(damagebits & DMG_BULLET)
    {
        new weapon = get_user_weapon(idattacker);
        
        if(weapon == CSW_AWP && damage > 20.0)
            cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);

                if(weapon == CSW_HEGRENADE && damage > 20.0 && random_num(1,3) == 1)
            cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);
            
    }
    
    return HAM_IGNORED;
}

public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
        if(!is_user_connected(idattacker))
                return HAM_IGNORED;

        if(!ma_klase[idattacker])
                return HAM_IGNORED;

        if(get_user_team(this) != get_user_team(idattacker) && get_user_weapon(idattacker) == CSW_M4A1 && damagebits & DMG_BULLET)

                cod_inflict_damage(idattacker, this, 10.0, 0.0, idinflictor, damagebits);



        return HAM_IGNORED;

}




#638860 Prośba o dodanie do klasy odbijanie pociskow

Napisano przez WzOrEk w 17.05.2014 18:46 w Prośby o modyfikacje silników/klas/perków

Do zamknięcia. A tobie bardzo dziękuje.




#638498 Błedy z kompilacją z jedną klasą dokładniej z mniejsza widocznascia tej klasy

Napisano przez WzOrEk w 15.05.2014 17:18 w Problemy

Siema, ogarnie ktos tą klase? bo dodalem ze zadaje +12dmg z famas ma 1 dodatkowy skok i dzialalo ale gdy chce dodac ze ma mniejsza widocznosc (95) to wyskakuje bład przy kompilacji.

Załączone pliki




#638382 Prośba o dodanie do klasy odbijanie pociskow

Napisano przez WzOrEk w 14.05.2014 18:03 w Prośby o modyfikacje silników/klas/perków

proszę o dodanie do klasy odbijanie 2 pociskow na runde.

Załączone pliki




#638323 Prośba o 2 klasy, Ghost, Gen.Gonevil

Napisano przez WzOrEk w 14.05.2014 12:42 w Prośby o Klasę/Perk

Nazwa:Ghost [Premium] na ADMIN_LEVEL_F

hp:10
kon:50
wytrz:0
int:0

Bronie:M4A1, Deagl
Opis: Przenika przez sciany przez 5 sekund, 2skoki, laduje hp na nozu(3hp/sec)

 

 

Nazwa:Gen.Gonevil [Premium] na ADMIN_LEVEL_F

hp:10
kon:40
wytrz:50
int:0

Bronie:Famas
Opis: Odbija 2 pociski, 1 apteczka, widocznosc 120

 

 

 




#638266 Problem RS pobiera dwa razy ten sam plik.

Napisano przez WzOrEk w 13.05.2014 19:31 w Problemy z pluginami

A wiec wgralem rs na serwer i podzileilem na TT, CT rs'y i mozna jakos zrobic zeby pobieralo ludziom tylko 1 raz tą nutke bo na razie to pobiera z folderu TT i CT tą samą piosenke?




#637093 Cod mod nie działają komendy typu /klasa,/perk itp.

Napisano przez WzOrEk w 07.05.2014 15:28 w Problemy

Wgrałem Nowy cod mod QTM. i nie działają mi komendy: /klasa, /klasy,/perki,/perki itp. dodatkowo gdy zrobilem klase w generatorze i miala byc mało widoczna to na serwerze bylo ją widac proszę o pomoc :3




#637066 Cod mod nie mozna wybrac /klasa, crash po wejsciu na serwer

Napisano przez WzOrEk w 07.05.2014 13:43 w Problemy

Witajcie, kupiłem serwer cs na ownserwer i chce wgrac z automatu(maja tam na 1 kilkniecie instalacje paczki) cod moda i gdy juz jest on wgrany wbijam na serwer i gdy tylko na niego wejde od razu sie crashuje wiec postanowilem wbic na stronke i zobaczyc konsole a wiec to wycinek z konsoli:

Aktualizacja: 07-05-2014 14:16:46 L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codclass_Mr.Crack.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codclass_Reducer.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "fwSpawn_Grawitacja" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codclass_Sheriff.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codclass_Hitler.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "Killed" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codclass_Addicted.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codclass_DmGz.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "fwSpawn_Rakiety" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codclass_RollerCoaster.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_Dangerous.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "fwSpawn_Rakiety" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_Duch.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_Kalczuk.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_KamizelkaOleo.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_MistrzGlocka.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "fwSpawn_Grawitacja" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_Mohombi.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_Morderca.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_Opentany.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "fwTakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_OstryNoz.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "fwSpawn_Rakiety" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_SzybkieRakiety.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "TakeDamage" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_Terminator.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 05/07/2014 - 14:22:44: [HAMSANDWICH] Failed to retrieve vtable for "player", hook for "Losowanie" not active.
L 05/07/2014 - 14:22:44: [AMXX] Run time error 10 (plugin "codperk_ZoRRo.amxx") (native "RegisterHam") - debug not enabled!
L 05/07/2014 - 14:22:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
PTB: (limitjoin) WTJ prevention is ON.
PTB: (limitafter) Team limiting starts after 0 round(s).
PTB: (limitmin) Team limiting needs at least 0 player(s).
PTB: (maxsize) Maximum team size is 10 player(s).
PTB: (maxdiff) Maximum team size difference is 2.
PTB: (autorounds) First 3 rounds no free team choice.
PTB: (wtjauto) Auto-joining WTJ after 3 tr(y/ies).
PTB: (wtjauto) Auto-kicking WTJ after 5 tr(y/ies).
PTB: (kick) WTJ kicking is OFF.
PTB: (savewtj) Saving to wtj.log is OFF.
PTB: (switch) Team switching is ON.
PTB: (switchafter) Switching starts after 3 round(s).
PTB: (switchmin) Switching needs at least 5 player(s).
PTB: (switchfreq) Switch occurs every 1 round(s) at maximum.
PTB: (playerfreq) Individual players are switched every 7 round(s) at maximum.
PTB: (forceswitch) Forcing switch after 0 unsuccessful switch(es).
PTB: (deadonly) Switching dead only is OFF.
PTB: (tellwtj) Telling about WTJ tries is OFF.
PTB: (announce) Announcements are OFF.
PTB: (sayok) "OK" announcements are OFF.
PTB: (typesay) typesay usage is OFF.
PTB: (maxstreak) Maximum accepted win streak is 3.
PTB: (maxscore) Maximum accepted team score difference is 2.
PTB: (minrating) Minimum critical strength rating is 1.49.
PTB: (maxrating) Maximum critical strength rating is 2.00.
PTB: (superrating) Super critical strength rating is 3.00.
PTB: (maxincidents) Maximum incidents before internal player score scale down is 50.
PTB: (scaledown) Integer scale down factor for player scores is 2.
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

couldn't exec banned.cfg
couldn't exec listip.cfg
couldn't exec banned.cfg
couldn't exec listip.cfg
Connection to Steam servers successful.
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"
VAC secure mode is activated.
L 05/07/2014 - 14:22:52: [mapchooser4.amxx] xvars for mapchooser 4 setuped.
 

 

 

 

Ale skoro jest tam NOWY cod mod wiec reinstalacja i lecimy z instalacja tego coda nowego (http://amxx.pl/topic...-mw-mod-update/) ale znow tu jest inny problem bo gdy wbije na serwer wszysko ladnie dziala ale gdy wybiore klase to po ponownym wpisaniu /klasa lub /klasy nic sie nie wyswietla i zeby zmienic klase trzeba wyjsc i wejsc na serwer, wycinek:

Aktualizacja: 07-05-2014 14:12:44






































Enabling debug mode
Auto-restarting the server on crash

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)
STEAM Auth Server
couldn't exec banned.cfg
couldn't exec listip.cfg
Server IP address 194.28.50.14:27153

Metamod version 1.21.1-am Copyright © 2001-2013 Will Day <[email protected]>
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.

Version 0.9.364 Linux
[DPROTO]: Loading config './dproto.cfg'
[DPROTO]: LoggingMode = 2
[DPROTO]: Config sucessfully loaded.
[DPROTO]: Done.

AMX Mod X version 1.8.2 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.

L 05/07/2014 - 14:14:47: -------- Mapchange to de_dust2 --------
stray key in process_key: item_getiteminfo 61
[AMXX] Loaded 1 admin from file
Menu item 1 added to Menus Front-End: "AMX_Super Menu" from plugin "AMX_Super Menu"
Zaladowano AMX Mod X Config
Scrolling message displaying frequency: 5:00 minutes
[AMX Super] AMX_Super.cfg has been executed
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

couldn't exec banned.cfg
couldn't exec listip.cfg
couldn't exec banned.cfg
couldn't exec listip.cfg
Connection to Steam servers successful.
Menu item 18 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 19 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
VAC secure mode is activated.
ERROR: couldn't open custom.hpk.
Dropped WzOrEk from server
Reason: Client sent 'drop'
78.9.31.104:27005:reconnect
Dropped WzOrEk from server
Reason: Client sent 'drop'
 

 

dodatkowo gdy wbije na powyzszego dzialajacego lecz źle coda i ma juz H@ i binduje amxmodmenu to nie otwiera mi żadnych opcji że np. pod przyciskiem 1 moge zbanowac itp. Tylko otwiera mi menu bez żadnego "przycisku" dla lepszego wyjasnienia screen w załaczniku, i na screnie jest od 1-9 menu a ja nie mam ani jednego:3 tylko 0 do wyjscia i sorry ze nie zrobilem ss'a ale cos mi sie stalo ze jak zrobic ss'a w cs i chce go wkleic do painta to czarny sie robi.

Załączone miniatury

  • 1229355481_amxrus.jpg




Logowanie


  • Potrzebujesz konta? Zarejestruj się!