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
 

SaMonCho - zdjęcie

SaMonCho

Rejestracja: 10.01.2017
Aktualnie: Nieaktywny
Poza forum Ostatnio: 14.01.2017 11:44
-----

Moje posty

W temacie: [ROZWIĄZANE] Problem ze zmianą mapy

12.01.2017 11:05

@Edit
Naprawiłem, wystarczyło zainstalować nowszą wersję HLDS, do zamknięcia :D.

W temacie: [ROZWIĄZANE] Problem ze zmianą mapy

12.01.2017 09:50

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/servers/users/srv43763/.steam/sdk32/steamclient.so
with error:
/home/servers/users/srv43763/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:51:37 Jul 30 2016 (840)
STEAM Auth Server

Server IP address 94.75.91.219:27015

Metamod version 1.21p37 Copyright © 2001-2013 Will Day
Patch: Metamod-P (mm-p) v37 Copyright © 2004-2013 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.


AMX Mod X version 1.8.3-dev+5068 Copyright © 2004-2015 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 01/12/2017 - 09:49:07: Binding/Hooking cvars have been disabled - check your gamedata files.
L 01/12/2017 - 09:49:07: client_disconnected forward has been disabled - check your gamedata files.
Version 0.9.534 Linux
[FakeDetector]: Config loaded.
[FakeDetector]: dproto 0.9.356+ required.
[WHB] Version: 1.5.626 Linux
[WHB] Success: Build ReHLDS version defined Linux "840"
[WHB] Success: Configuration executed.
ReGameDLL build: 02:21:06 Jul 21 2016 (0.2.128)
ReGameDLL API version 4.1
L 01/12/2017 - 09:49:07: -------- Mapchange to de_dust2 --------
L 01/12/2017 - 09:49:07: [CSTRIKE] BuyGunAmmo is not available
L 01/12/2017 - 09:49:07: [CSTRIKE] AddAccount is not available
L 01/12/2017 - 09:49:07: [CSTRIKE] Some functions are not available - forwards CS_OnBuy[Attempt] have been disabled
L 01/12/2017 - 09:49:07: [CSTRIKE] svs global variable is not available
L 01/12/2017 - 09:49:07: [CSTRIKE] sv global variable is not available
L 01/12/2017 - 09:49:07: [AMXX] Plugin file open error (plugin "galileo.amxx")
L 01/12/2017 - 09:49:07: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/new/w_deagle.mdl" (Line 1 of new_weapons.ini)
Executing ReGameDLL Configuration File
[AMXX] Loaded 2 admins from file
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
/home/servers/users/srv43763/.steam/sdk32/steamclient.so
with error:
/home/servers/users/srv43763/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
couldn't exec listip.cfg
couldn't exec banned.cfg
Connection to Steam servers successful.
VAC secure mode is activated.
L 01/12/2017 - 09:49:12: [admin.amxx] Login: "reS T-rekS<1><STEAM_1:0:485668509><>" became an admin (account "reS T-rekS") (access "abcdefghijklmnopqrstuv") (address "87.207.161.137")
ERROR: couldn't open custom.hpk.
reS T-rekS : ssss
reS T-rekS : amxmodmenu
L 01/12/2017 - 09:49:47: [mapsmenu.amxx] Cmd: "reS T-rekS<1><STEAM_1:0:485668509><>" changelevel "cs_italy"
/home/servers/bin/games/CS_1.6.sh: line 51: 31252 Segmentation fault LD_LIBRARY_PATH=".:bin" start-stop-daemon --start --chuid $USER:$GROUP -m --pidfile $PID_FILE --chdir $USER_DIR/$BIN_DIR --exec $USER_DIR/$BIN_DIR/$BIN_NAME -- $GAME_PARAMS


Nic dalej nie ma.

W temacie: Problem z kompilacją

10.01.2017 23:39

 

Wyskakuje mi błąd:

 
Error: Undefined symbol "skoki" on line 47
Warning: Expression has no effect on line 47
Error: Invalid expression, assumed zero on line 47
Error: Invalid expression, assumed zero on line 47
Error: Too many error messages on one line on line 47
 
Tutaj pełny sma:
 
1. #include <amxmodx>
2. #include <codmod>
3. #include <fakemeta>
4.
5. new const nazwa[] = "Terminator";
6. new const opis[] = "Posiada 1/6 z m4, 3 skoki, 1/1 he";
7. new const bronie = 1<<CSW_M4A1 | 1<<CSW_DEAGLE | 1<<CSW_HEGRENADE;
8. new const zdrowie = 40;
9. new const kondycja = 35;
10. new const inteligencja = 10;
11. new const wytrzymalosc = 40;
12.
13. new ma_klase[33];
14.
15. public plugin_init() 
16. cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
17.
18.
19.
20.public cod_class_enabled(id)
21.
22. {
23. ma_klase[id] = true;
24.
25. }
26. 
27.public cod_class_disabled(id)
28.
29.{
30.
31. ma_klase[id] = false;
32.
33. }
34.
35. public CmdStart(id, uc_handle)
36.
37. {
38.
39. if(!is_user_alive(id) || !ma_klase[id]) //jeśli tworzymy perk, wstawiamy ma_perk zamiast ma_klase
40.
41. return FMRES_IGNORED;
42.
43.
44.
45. new flags = pev(id, pev_flags);
46.
47. {if((get_uc(uc_handle, UC_Buttons) & IN_JUMP) && !(flags & FL_ONGROUND) && !(pev(id, pev_oldbuttons) & IN_JUMP) && skoki[id;])
48.
49. {
50.
51. skoki[id]--;
52.
53 new Float:velocity[3];
54.
55. pev(id, pev_velocity,velocity);
56.
57. velocity[2] = random_float(265.0,285.0);
58.
59. set_pev(id, pev_velocity,velocity);
60.
61. }
62.
63. else if(flags & FL_ONGROUND)
64.
65. skoki[id] = 2; //tutaj podajemy ilość skokow w powietrzu, jaką może wykonać klasa
66.
67.
68.
69. return FMRES_IGNORED;
70.
71. }

 

 

Dobra już nie ważne sam ogarnąłem :) można zamknąć