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
 

!cex! - zdjęcie

!cex!

Rejestracja: 19.02.2010
Aktualnie: Nieaktywny
Poza forum Ostatnio: 06.10.2013 23:42
-----

Moje tematy

Mapa sama się zmienia

26.12.2012 20:10

Witam, mam problem dotyczący samoistnego zmieniania się mapy na serwerze. Plugin odpowiedzialny za zmianę map to Galileo. Jest skonfigurowane domyślnie więc wszystko powinno działać. W logach nic nie ma, a mapa się sama zmienia bez vote na następną mapę.

Zwykłe logi:
L 12/26/2012 - 19:28:32: -------- Mapchange to de_rats --------
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx] Wczytywanie pliku: "addons/amxmodx/configs/roundsound.ini"
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx] [ Loading 4 CTs Sounds ]
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_01.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_03.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_05.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_07.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx] [ Loading 4 Ts Sounds ]
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_02.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_04.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_06.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_08.mp3
L 12/26/2012 - 19:28:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:31:36: [admin.amxx] Login: "DeMoN<125><STEAM_0:0:50086542><>" became an admin (account "STEAM_0:0:50086542") (access "bcdefgijmnopqsu") (address "77.254.246.83")
L 12/26/2012 - 19:31:49: [admin.amxx] Login: "DeMoN<126><STEAM_0:0:50086542><>" became an admin (account "STEAM_0:0:50086542") (access "bcdefgijmnopqsu") (address "77.254.246.83")
L 12/26/2012 - 19:32:23: [adminchat.amxx] Chat: "DeMoN<126><STEAM_0:0:50086542><>" tsay "siemka <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />"
L 12/26/2012 - 19:37:32: -------- Mapchange to de_rats --------
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx] Wczytywanie pliku: "addons/amxmodx/configs/roundsound.ini"
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx] [ Loading 4 CTs Sounds ]
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_01.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_03.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_05.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_07.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx] [ Loading 4 Ts Sounds ]
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_02.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_04.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_06.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx]	- sound/misc/xmas/xmas_08.mp3
L 12/26/2012 - 19:37:32: [alt_end_round_sounds.amxx] ---
L 12/26/2012 - 19:37:32: [admin.amxx] Login: "DeMoN<126><STEAM_0:0:50086542><>" became an admin (account "STEAM_0:0:50086542") (access "bcdefgijmnopqsu") (address "77.254.246.83")
L 12/26/2012 - 19:37:57: [mapsmenu.amxx] Cmd: "DeMoN<126><STEAM_0:0:50086542><>" changelevel "de_dust2_long"

Error logów brak, jednak sprawdziłem jeszcze konsolę na tserwery i znalazłem coś bardzo interesującego:
Bad Rcon from 178.33.237.86:50509:
rcon 1701714986 "" amxmodx_version
Bad rcon_password.
Bad Rcon from 178.33.237.86:44282:
rcon 1701714986 "" amxbans_version
Bad rcon_password.
Bad Rcon from 178.33.237.86:44545:
rcon 1701714986 "" amx_cvar mp_timelimit
Bad rcon_password.

Cała zmiana wygląda tak jakby ktoś zmieniał czas mapy albo limit rundy. O co może chodzić i jak to naprawić? Z góry wielkie dzięki za pomoc :)

Sprawdziłem te IP i należy ono do proserver.pl, o co może chodzić?

Podskakiwanie ustrzelonego przeciwnika

24.04.2012 20:57

Wyciągnąłem kod z jednego perku do COD'a, lekko go przerobiłem pod moc do Diablo i mam pytanie czy to ma szansę trybić, bo mam lekkie wątpliwości?

   if((attacker_id!=id)&&player_class[attacker] == Mag) && (weapon == CSW_P228 || weapon == CSW_ELITE || weapon == CSW_FIVESEVEN || weapon == CSW_USP || weapon == CSW_GLOCK18 || weapon == CSW_DEAGLE) && random_num(1, iRandom)==1 && this != idattacker && get_user_team(idattacker) != get_user_team(this))
{
  new Float:velocity[3];
  velocity[0]=0.0;
  velocity[1]=0.0;
  velocity[2]=0.0;
  set_pev(this, pev_velocity, velocity);
  velocity[2] = random_float(500.0,600.0);
  set_pev(this, pev_velocity, velocity);
  set_pev(this, pev_renderfx, kRenderFxGlowShell);
  set_pev(this, pev_renderamt, 16);
  new Float:Color[3];
  Color[0]=random_float(1.0, 255.0);
  Color[1]=random_float(1.0, 255.0);
  Color[2]=random_float(1.0, 255.0);
  set_pev(this, pev_rendercolor, Color);
  message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("ScreenFade"), _, this)
  write_short(1<<12)
  write_short(1<<12)
  write_short(1<<1);
  write_byte(floatround(Color[0]));
  write_byte(floatround(Color[1]));
  write_byte(floatround(Color[2]));
  write_byte(160);
  message_end();
  message_begin(MSG_BROADCAST, SVC_TEMPENTITY)
  write_byte(TE_BEAMFOLLOW)
  write_short(this)
  write_short(g_trail)
  write_byte(3)
  write_byte(5)
  write_byte(floatround(Color[0]))
  write_byte(floatround(Color[1]))
  write_byte(floatround(Color[2]))
  write_byte(190)
  message_end()
  set_task(0.1, "NoneGlow", this, _, _, "b");
}
}
public NoneGlow(id)
{
if(pev(id, pev_flags) & FL_ONGROUND)
{
  set_pev(id, pev_renderfx, kRenderFxNone);
  set_pev(id, pev_renderamt, 16);
  set_pev(id, pev_rendercolor, {0.0,0.0,0.0});
  remove_task(id);
}
}

Problem z menu klas

03.02.2012 00:02

Witam,
po wpisaniu /klasa i wybraniu frakcji nie pojawia się menu z wyborem klas. W bazie jest wszystko w porządku, ponieważ tworzy się rekord dla każdej z klas. W logach również nic nie ma. Niżej zamieszczam moje sma. Za pomoc oczywiście +.

@odświeżam

Ustawianie graczowi HP

28.12.2011 18:46

Witam,
w DiabloModzie mam item, który między innymi powinien ustawiać ilość HP gracza na 900, jednakże nie zawsze to robi. Wywołuję go przez "włączenie" w itemie
player_b_zyciowka[id] = 1

Całość wygląda tak

		    if(player_b_zyciowka[i] > 0)
		 {
				  set_user_health(i, 900)
		 }

Próbowałem też zrobić to na piechotę

if(player_item_id)[id] == 117)
		 {
				  set_user_health(id, 900)
		 }

Zaznaczam, że swoją przygodę z pawnem zacząłem przedwczoraj ;)