hlmod.hu

Magyar Half-Life Mód közösség!
Pontos idő: 2024.03.28. 23:54



Jelenlévő felhasználók

Jelenleg 255 felhasználó van jelen :: 1 regisztrált, 0 rejtett és 254 vendég

A legtöbb felhasználó (1565 fő) 2020.11.21. 11:26-kor tartózkodott itt.

Regisztrált felhasználók: Google [Bot] az elmúlt 5 percben aktív felhasználók alapján

Utoljára aktív
Ahhoz hogy lásd ki volt utoljára aktív, be kell jelentkezned.



Az oldal teljeskörű
használatához regisztrálj.

Regisztráció

Kereső


Új téma nyitása  Hozzászólás a témához  [ 89 hozzászólás ]  Oldal Előző 15 6 7 8 9
Szerző Üzenet
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2018.04.08. 17:05 
Offline
Senior Tag
Avatar

Csatlakozott: 2018.02.01. 16:27
Hozzászólások: 225
Megköszönt másnak: 14 alkalommal
Megköszönték neki: 18 alkalommal
Helló!

Amint be vagy jelentkezve az ( Adminodba ) utána írd chatbe: /rush, többit tanulmányozd.


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2018.06.25. 10:29 
Offline
Tag
Avatar

Csatlakozott: 2017.09.16. 11:05
Hozzászólások: 38
Megköszönt másnak: 14 alkalommal
Megköszönték neki: 1 alkalommal
AMX Mod X Compiler 1.8.3-manual
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Modified for www.Freakz.ro / amx.freakz.ro

include_183/dhudmessage.inc(19) : error 021: symbol already defined: "set_dhudmessage"
include_183/dhudmessage.inc(24) : error 010: invalid function or declaration
include_183/dhudmessage.inc(34) : error 010: invalid function or declaration
include_183/dhudmessage.inc(37) : error 021: symbol already defined: "show_dhudmessage"
include_183/dhudmessage.inc(42) : error 010: invalid function or declaration
include_183/dhudmessage.inc(44) : warning 218: old style prototypes used with optional semicolumns
include_183/dhudmessage.inc(45) : error 054: unmatched closing brace
include_183/dhudmessage.inc(46) : error 010: invalid function or declaration
include_183/dhudmessage.inc(49) : warning 218: old style prototypes used with optional semicolumns
include_183/dhudmessage.inc(50) : error 054: unmatched closing brace
include_183/dhudmessage.inc(51) : error 010: invalid function or declaration
include_183/dhudmessage.inc(54) : error 021: symbol already defined: "get_players"
include_183/dhudmessage.inc(56) : error 010: invalid function or declaration
include_183/dhudmessage.inc(58) : error 010: invalid function or declaration
include_183/dhudmessage.inc(63) : error 010: invalid function or declaration
include_183/dhudmessage.inc(65) : error 010: invalid function or declaration
include_183/dhudmessage.inc(67) : error 010: invalid function or declaration
include_183/dhudmessage.inc(70) : error 010: invalid function or declaration
include_183/dhudmessage.inc(79) : error 010: invalid function or declaration
include_183/dhudmessage.inc(82) : warning 218: old style prototypes used with optional semicolumns
include_183/dhudmessage.inc(83) : error 054: unmatched closing brace
include_183/dhudmessage.inc(84) : error 010: invalid function or declaration
include_183/dhudmessage.inc(86) : error 010: invalid function or declaration
include_183/dhudmessage.inc(90) : error 010: invalid function or declaration
include_183/dhudmessage.inc(95) : error 021: symbol already defined: "vformat"
include_183/dhudmessage.inc(96) : warning 218: old style prototypes used with optional semicolumns
include_183/dhudmessage.inc(97) : error 054: unmatched closing brace
include_183/dhudmessage.inc(100) : error 021: symbol already defined: "ArrayDestroy"
include_183/dhudmessage.inc(103) : error 010: invalid function or declaration
include_183/dhudmessage.inc(106) : error 025: function heading differs from prototype

Compilation aborted.
26 Errors.
Done.

_________________
Done.


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2018.06.25. 12:37 
Offline
Jómunkásember
Avatar

Csatlakozott: 2017.10.14. 00:48
Hozzászólások: 304
Megköszönt másnak: 10 alkalommal
Megköszönték neki: 16 alkalommal
1.8.1 el compiláld.

_________________
2015.07.11 Konfigolás kezdete
2017.09.27 Első nagy játékosbázissal rendelkező szerver | RtD
2018.08.24 Második nagy játékosbázissal rendelkező szerver | Black Night
2018.11.16 Konfigolás befejezése


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2018.06.25. 13:29 
Offline
Őstag
Avatar

Csatlakozott: 2015.07.27. 22:56
Hozzászólások: 1367
Megköszönt másnak: 28 alkalommal
Megköszönték neki: 351 alkalommal
Vagy kommentelje ki a 21. sort.


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2019.07.25. 20:11 
Offline
Developer
Avatar

Csatlakozott: 2011.06.01. 21:11
Hozzászólások: 7962
Megköszönt másnak: 295 alkalommal
Megköszönték neki: 535 alkalommal
Valaki használja most ezt a plugint, hogy mik a hibái, mert már többször javítottam, de nemvolt elérésem hogy itt is updateljem, most meg nemtalálom már a javított verziót. 1 sor hibát már alapból észrevettem, hogy kétszer fogja írni a szöveget bomba lerakásánál!

_________________
http://www.easyrankup.eu


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2019.07.26. 14:08 
Offline
Fanatikus

Csatlakozott: 2019.07.19. 10:58
Hozzászólások: 175
Megköszönt másnak: 37 alkalommal
kiki írta:
Valaki használja most ezt a plugint, hogy mik a hibái, mert már többször javítottam, de nemvolt elérésem hogy itt is updateljem, most meg nemtalálom már a javított verziót. 1 sor hibát már alapból észrevettem, hogy kétszer fogja írni a szöveget bomba lerakásánál!


Nálam történt olyan bug, ha 4v4 van akkor be buggol a rushhalo, ha T atmegy a rush vonalon ctknek már Írja is, ugyan ez ha CT megy atrajta. (ezt nem mindig csinálta)


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2021.01.09. 12:57 
Offline
Jómunkásember

Csatlakozott: 2012.01.29. 12:48
Hozzászólások: 408
Megköszönt másnak: 15 alkalommal
Megköszönték neki: 126 alkalommal
Miért van jóváhagyva a plugin, ha tele van hibákkal?

Kommentszekcióban 1-2 hibára és azok javítására kitérek, de attól függetlenül még hibás.


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2021.01.09. 15:57 
Offline
Fanatikus

Csatlakozott: 2018.05.05. 18:34
Hozzászólások: 198
Megköszönt másnak: 39 alkalommal
Megköszönték neki: 8 alkalommal
Itt van a javított.
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <fakemeta>
  4. #include <fun>
  5. #include <cstrike>
  6.  
  7. #define PLUGIN  "Anti-Rush"
  8. #define AUTHOR  "Kiki33"
  9. #define VERSION "1.0"
  10.  
  11. #define PREFIX ".:[BadboYs]:."
  12.  
  13. #define TASK 500743
  14. #define TASK2 541246
  15.  
  16. new bool:rushmehet
  17. new g_screenfade, MessageSay;
  18. new kor_indult=0;
  19. new Float:TESZTELES=0.1
  20.  
  21. public plugin_init() {
  22.     register_plugin(PLUGIN, VERSION, AUTHOR)
  23.     register_cvar("Rush Vedo", "By kiki33", FCVAR_SERVER)
  24.     g_screenfade = get_user_msgid("ScreenFade")
  25.     MessageSay = get_user_msgid ("SayText")
  26.  
  27.     new mapname[10]
  28.     get_mapname(mapname,9)
  29.     if(equali(mapname, "de_dust2")) {
  30.         register_logevent( "eRound_start", 2, "1=Round_Start" );
  31.         register_event("SendAudio", "bomb_planted", "a", "2&%!MRAD_BOMBPL")
  32.         register_logevent("eRoundEnd", 2, "1=Round_End")
  33.         set_task(TESZTELES, "kordinata", TASK, "", 0, "b")
  34.     }
  35. }
  36.  
  37. public eRoundEnd() {
  38.     kor_indult=0
  39.     rushmehet=false
  40.  
  41.     if(task_exists(TASK2)) remove_task(TASK2)
  42. }
  43.  
  44. public eRound_start() {
  45.     kor_indult=0
  46.     rushmehet=false;
  47.     kor_indult++
  48.     if(task_exists(TASK2)) remove_task(TASK2)
  49.  
  50.     set_task(60.0, "rush_mehet", TASK2)
  51.  
  52.     new players[32], num
  53.     get_players(players,num)
  54.     for(new i = 0; i < num; i++) {
  55.         if(cs_get_user_team(players[i]) == CS_TEAM_CT) colored_print(players[i], "!g[%s] !tTilos !ya rusholás 60 másodpercig!", PREFIX)
  56.     }
  57. }
  58.  
  59. public bomb_planted() {
  60.     remove_task(TASK2)
  61.     rush_mehet()
  62.     rushmehet=true;
  63. }
  64.  
  65. public kordinata() {
  66.     if(rushmehet == true) return
  67.  
  68.     new playerek[32], pnum,tt_num,ct_num
  69.     get_players(playerek,pnum)
  70.  
  71.     for(new i=0;i<pnum;i++) {
  72.         if(is_user_alive(playerek[i])) {
  73.             if(cs_get_user_team(playerek[i])==CS_TEAM_T) tt_num++
  74.             else if(cs_get_user_team(playerek[i])==CS_TEAM_CT) ct_num++
  75.         }
  76.     }
  77.  
  78.     if (tt_num<=2) {
  79.         rush_mehet()
  80.         return
  81.     }
  82.     if (ct_num<=2) {
  83.         rush_mehet()
  84.         return
  85.     }
  86.  
  87.     new players[32], num
  88.     get_players(players,num)
  89.     for(new i = 0; i < num; i++) {
  90.         new origin[3];
  91.         get_user_origin(players[i], origin, 0)
  92.         if(cs_get_user_team(players[i]) == CS_TEAM_CT && kor_indult==1 && is_user_alive(players[i])) {
  93.             if(origin[0] <= -144 && origin[0] >= -500 && origin[1] <= 800 && origin[1] >= 700 && origin[2] >= -150 && origin[2] <= 900 ||
  94.             origin[0] <= 720 && origin[0] >= 500 && origin[1] <= 744 && origin[1] >= 610 && origin[2] >= 1 && origin[2] <= 200 ||
  95.             origin[0] <= -1610 && origin[0] >= -1720 && origin[1] <= 948 && origin[1] >= 848 && origin[2] >= 50 && origin[2] <= 200)
  96.             {
  97.                 new Float: velocity[3]
  98.                 new Float: DW
  99.                 pev(players[i],pev_velocity,velocity)
  100.                 DW=vector_length ( velocity )+0.0001
  101.                 velocity[0]=(velocity[0]/DW)*(-500.0)
  102.                 velocity[1]=(velocity[1]/DW)*(-500.0)
  103.                 if(velocity[2]<0) velocity[2]=velocity[2]*(-1.0)+15.0  
  104.                 set_pev(players[i],pev_velocity,velocity)
  105.                 message_begin(MSG_ONE_UNRELIABLE, g_screenfade, {0,0,0}, players[i])
  106.                 write_short(1<<12)
  107.                 write_short(5)
  108.                 write_short(0x0000)
  109.                 write_byte(255)
  110.                 write_byte(255)
  111.                 write_byte(255)
  112.                 write_byte(255)
  113.                 message_end()
  114.             }
  115.             if(origin[0] <= -144 && origin[0] >= -500 && origin[1] <= 640 && origin[1] >= 540 && origin[2] >= -150 && origin[2] <= 900 ||
  116.             origin[0] <= 720 && origin[0] >= 500 && origin[1] <= 584 && origin[1] >= 450 && origin[2] >= 1 && origin[2] <= 200 ||
  117.             origin[0] <= -1610 && origin[0] >= -1720 && origin[1] <= 798 && origin[1] >= 698 && origin[2] >= 50 && origin[2] <= 200)
  118.             {
  119.                 user_silentkill(players[i])
  120.                 client_print(players[i], print_chat, "TILOS a bug, ezért meghaltál!");
  121.             }
  122.         }
  123.     }
  124. }
  125.  
  126. public rush_mehet() {
  127.     if(kor_indult<1) return
  128.    
  129.     remove_task(TASK2)
  130.     kor_indult=0
  131.     rushmehet = true;
  132.     new players[32], num
  133.     get_players(players,num)
  134.     for(new i = 0; i < num; i++) {
  135.         if(is_user_connected(players[i])) colored_print(players[i], "!g[%s] !yA !tCounter-Terroristák !yrusholhatnak.", PREFIX)
  136.     }
  137. }
  138.  
  139. public client_disconnect(id) {
  140. remove_task(id)
  141. return PLUGIN_HANDLED
  142. }
  143.  
  144. stock colored_print ( const index, const input [ ], any:... )
  145. {
  146.         new sz_Message  [ 191 ]
  147.  
  148.         vformat ( sz_Message, charsmax ( sz_Message ), input, 3 )
  149.  
  150.         replace_all ( sz_Message, charsmax ( sz_Message ), "!g", "^4" )
  151.         replace_all ( sz_Message, charsmax ( sz_Message ), "!t", "^3" )
  152.         replace_all ( sz_Message, charsmax ( sz_Message ), "!y", "^1" )
  153.  
  154.         new i_Players [ 32 ]
  155.         new i_Count
  156.  
  157.         i_Count = 1
  158.  
  159.         if ( index )
  160.         {
  161.                 i_Players [ 0 ] = index
  162.         }
  163.  
  164.         else
  165.         {
  166.                 get_players ( i_Players, i_Count, "ch" )
  167.         }
  168.  
  169.         new i_Number
  170.  
  171.         for ( i_Number = 0; i_Number < i_Count; i_Number ++ )
  172.         {
  173.                 if ( is_user_connected ( i_Players [ i_Number ] ) )
  174.                 {
  175.                         message_begin ( MSG_ONE_UNRELIABLE, MessageSay, _, i_Players [ i_Number ] )
  176.                         write_byte ( i_Players [ i_Number ] )
  177.                         write_string ( sz_Message )
  178.                         message_end ( )
  179.                 }
  180.         }
  181. }

_________________
Kép

Ők köszönték meg konfigos312 nek ezt a hozzászólást: HuBaBuBa (2021.01.09. 16:15)
  Népszerűség: 2.27%


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Anti-Rush by kiki
HozzászólásElküldve: 2023.12.31. 02:14 
Offline
Fanatikus

Csatlakozott: 2018.05.05. 18:34
Hozzászólások: 198
Megköszönt másnak: 39 alkalommal
Megköszönték neki: 8 alkalommal
1.10 alá.
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <fakemeta>
  4. #include <fun>
  5. #include <cstrike>
  6.  
  7. #define PLUGIN  "Anti-Rush"
  8. #define AUTHOR  "Kiki33"
  9. #define VERSION "1.0"
  10.  
  11. #define PREFIX ".:[BadboYs]:."
  12.  
  13. #define TASK 500743
  14. #define TASK2 541246
  15.  
  16. new bool:rushmehet
  17. new g_screenfade, MessageSay;
  18. new kor_indult=0;
  19. new Float:TESZTELES=0.1
  20.  
  21. public plugin_init() {
  22.     register_plugin(PLUGIN, VERSION, AUTHOR)
  23.     register_cvar("Rush Vedo", "By kiki33", FCVAR_SERVER)
  24.     g_screenfade = get_user_msgid("ScreenFade")
  25.     MessageSay = get_user_msgid ("SayText")
  26.  
  27.     new mapname[10]
  28.     get_mapname(mapname,9)
  29.     if(equali(mapname, "de_dust2")) {
  30.         register_logevent( "eRound_start", 2, "1=Round_Start" );
  31.         register_event("SendAudio", "bomb_planted", "a", "2&%!MRAD_BOMBPL")
  32.         register_logevent("eRoundEnd", 2, "1=Round_End")
  33.         set_task(TESZTELES, "kordinata", TASK, "", 0, "b")
  34.     }
  35. }
  36.  
  37. public eRoundEnd() {
  38.     kor_indult=0
  39.     rushmehet=false
  40.  
  41.     if(task_exists(TASK2)) remove_task(TASK2)
  42. }
  43.  
  44. public eRound_start() {
  45.     kor_indult=0
  46.     rushmehet=false;
  47.     kor_indult++
  48.     if(task_exists(TASK2)) remove_task(TASK2)
  49.  
  50.     set_task(60.0, "rush_mehet", TASK2)
  51.  
  52.     new players[32], num
  53.     get_players(players,num)
  54.     for(new i = 0; i < num; i++) {
  55.         if(cs_get_user_team(players[i]) == CS_TEAM_CT) colored_print(players[i], "!g[%s] !tTilos !ya rusholás 60 másodpercig!", PREFIX)
  56.     }
  57. }
  58.  
  59. public bomb_planted() {
  60.     remove_task(TASK2)
  61.     rush_mehet()
  62.     rushmehet=true;
  63. }
  64.  
  65. public kordinata() {
  66.     if(rushmehet == true) return
  67.  
  68.     new playerek[32], pnum,tt_num,ct_num
  69.     get_players(playerek,pnum)
  70.  
  71.     for(new i=0;i<pnum;i++) {
  72.         if(is_user_alive(playerek[i])) {
  73.             if(cs_get_user_team(playerek[i])==CS_TEAM_T) tt_num++
  74.             else if(cs_get_user_team(playerek[i])==CS_TEAM_CT) ct_num++
  75.         }
  76.     }
  77.  
  78.     if (tt_num<=2) {
  79.         rush_mehet()
  80.         return
  81.     }
  82.     if (ct_num<=2) {
  83.         rush_mehet()
  84.         return
  85.     }
  86.  
  87.     new players[32], num
  88.     get_players(players,num)
  89.     for(new i = 0; i < num; i++) {
  90.         new origin[3];
  91.         get_user_origin(players[i], origin, 0)
  92.         if(cs_get_user_team(players[i]) == CS_TEAM_CT && kor_indult==1 && is_user_alive(players[i])) {
  93.             if(origin[0] <= -144 && origin[0] >= -500 && origin[1] <= 800 && origin[1] >= 700 && origin[2] >= -150 && origin[2] <= 900 ||
  94.             origin[0] <= 720 && origin[0] >= 500 && origin[1] <= 744 && origin[1] >= 610 && origin[2] >= 1 && origin[2] <= 200 ||
  95.             origin[0] <= -1610 && origin[0] >= -1720 && origin[1] <= 948 && origin[1] >= 848 && origin[2] >= 50 && origin[2] <= 200)
  96.             {
  97.                 new Float: velocity[3]
  98.                 new Float: DW
  99.                 pev(players[i],pev_velocity,velocity)
  100.                 DW=vector_length ( velocity )+0.0001
  101.                 velocity[0]=(velocity[0]/DW)*(-500.0)
  102.                 velocity[1]=(velocity[1]/DW)*(-500.0)
  103.                 if(velocity[2]<0) velocity[2]=velocity[2]*(-1.0)+15.0  
  104.                 set_pev(players[i],pev_velocity,velocity)
  105.                 message_begin(MSG_ONE_UNRELIABLE, g_screenfade, {0,0,0}, players[i])
  106.                 write_short(1<<12)
  107.                 write_short(5)
  108.                 write_short(0x0000)
  109.                 write_byte(255)
  110.                 write_byte(255)
  111.                 write_byte(255)
  112.                 write_byte(255)
  113.                 message_end()
  114.             }
  115.             if(origin[0] <= -144 && origin[0] >= -500 && origin[1] <= 640 && origin[1] >= 540 && origin[2] >= -150 && origin[2] <= 900 ||
  116.             origin[0] <= 720 && origin[0] >= 500 && origin[1] <= 584 && origin[1] >= 450 && origin[2] >= 1 && origin[2] <= 200 ||
  117.             origin[0] <= -1610 && origin[0] >= -1720 && origin[1] <= 798 && origin[1] >= 698 && origin[2] >= 50 && origin[2] <= 200)
  118.             {
  119.                 user_silentkill(players[i])
  120.                 client_print(players[i], print_chat, "TILOS a bug, ezért meghaltál!");
  121.             }
  122.         }
  123.     }
  124. }
  125.  
  126. public rush_mehet() {
  127.     if(kor_indult<1) return
  128.    
  129.     remove_task(TASK2)
  130.     kor_indult=0
  131.     rushmehet = true;
  132.     new players[32], num
  133.     get_players(players,num)
  134.     for(new i = 0; i < num; i++) {
  135.         if(is_user_connected(players[i])) colored_print(players[i], "!g[%s] !yA !tCounter-Terroristák !yrusholhatnak.", PREFIX)
  136.     }
  137. }
  138.  
  139. public client_disconnected(id) {
  140. remove_task(id)
  141. return PLUGIN_HANDLED
  142. }
  143.  
  144. stock colored_print ( const index, const input [ ], any:... )
  145. {
  146.         new sz_Message  [ 191 ]
  147.  
  148.         vformat ( sz_Message, charsmax ( sz_Message ), input, 3 )
  149.  
  150.         replace_all ( sz_Message, charsmax ( sz_Message ), "!g", "^4" )
  151.         replace_all ( sz_Message, charsmax ( sz_Message ), "!t", "^3" )
  152.         replace_all ( sz_Message, charsmax ( sz_Message ), "!y", "^1" )
  153.  
  154.         new i_Players [ 32 ]
  155.         new i_Count
  156.  
  157.         i_Count = 1
  158.  
  159.         if ( index )
  160.         {
  161.                 i_Players [ 0 ] = index
  162.         }
  163.  
  164.         else
  165.         {
  166.                 get_players ( i_Players, i_Count, "ch" )
  167.         }
  168.  
  169.         new i_Number
  170.  
  171.         for ( i_Number = 0; i_Number < i_Count; i_Number ++ )
  172.         {
  173.                 if ( is_user_connected ( i_Players [ i_Number ] ) )
  174.                 {
  175.                         message_begin ( MSG_ONE_UNRELIABLE, MessageSay, _, i_Players [ i_Number ] )
  176.                         write_byte ( i_Players [ i_Number ] )
  177.                         write_string ( sz_Message )
  178.                         message_end ( )
  179.                 }
  180.         }
  181. }

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
Hozzászólások megjelenítése:  Rendezés  
Új téma nyitása  Hozzászólás a témához  [ 89 hozzászólás ]  Oldal Előző 15 6 7 8 9


Ki van itt

Jelenlévő fórumozók: nincs regisztrált felhasználó valamint 17 vendég


Nem nyithatsz témákat ebben a fórumban.
Válaszolhatsz egy témára ebben a fórumban.
Nem szerkesztheted a hozzászólásaidat ebben a fórumban.
Nem törölheted a hozzászólásaidat ebben a fórumban.
Nem küldhetsz csatolmányokat ebben a fórumban.

Keresés:
Ugrás:  
Powered by phpBB® Forum Software © phpBB Limited
Magyar fordítás © Magyar phpBB Közösség
Portal: Kiss Portal Extension © Michael O'Toole