hlmod.hu
https://hlmod.hu/

Ban
https://hlmod.hu/viewtopic.php?f=9&t=17839
Oldal: 2 / 2

Szerző:  xXlederXxHUN [ 2014.10.30. 22:46 ]
Hozzászólás témája:  Re: Ban

No steames?

Szerző:  Beckx [ 2014.10.30. 22:47 ]
Hozzászólás témája:  Re: Ban

Nem érted, sehogy nem megy már mindent próbáltam, de a dprotot meg nem akarom törölni :(

Igen, ns!

Szerző:  xXlederXxHUN [ 2014.10.30. 22:49 ]
Hozzászólás témája:  Re: Ban

Akkor egyszerűen steam id-t vált....
http://nandee.smmg.hu/professional-destroy/ adj neki ilyet, hátha működik mégnem tudom nem próbáltam

Szerző:  Chev Chelios [ 2014.10.30. 23:03 ]
Hozzászólás témája:  Re: Ban

dproto törlése :)

Szerző:  Beckx [ 2014.10.31. 10:03 ]
Hozzászólás témája:  Re: Ban

Beckx írta:
de a dprotot meg nem akarom törölni :(


Már leírtam, hogy nem szeretném letörölni a dprotot, azt hittem, hogy lesz rá valami más megoldásod is!

Szerző:  mforce [ 2014.10.31. 14:47 ]
Hozzászólás témája:  Re: Ban

dproto.cfg
35-52sor
Kód:
# Use these options to set authid's for clients

# for HLTV (default is HLTV [7] )
cid_HLTV = 5

# for p.47 clients that do not support unique id generation (default is STEAM_ID_LAN [8] )
cid_NoSteam47 = 5

# for p.48 clients that do not support unique id generation (default is VALVE_ID_LAN [10] )
cid_NoSteam48 = 5

# For Legit Steam clients (default is real STEAM_xx:xx:xx [1])
cid_Steam = 1

# Client recognized as pending when they sucessfully authorized, but did not get steam id
# REMARK: Actually, it got steamid, but it is useless (STEAM_0:0:0 for example)
# default is STEAM_ID_PENDGIND [9]
cid_SteamPending = 5

+

http://counteristrike.com/forums/viewtopic.php?t=44

Szerző:  Be$t.# [ 2014.12.31. 13:51 ]
Hozzászólás témája:  Re: Ban

anti hltv plugin!
SMA Forráskód: [ Mindet kijelol ]
  1. /*
  2. Anti HLTV by Lulu the hero
  3.  
  4. With this plugin you can simply keep out HLTV servers from your map.
  5.  
  6. CVARs:
  7.  - anti_hltv <0|1> //keep kicking out hltv servers. 0=off, 1=on, default value is 0
  8. */
  9.  
  10. #include <amxmodx>
  11.  
  12. new pcvar_anti_hltv;
  13.  
  14. public plugin_init(){
  15. register_plugin("Anti HLTV","1.1","Lulu the hero");
  16.  
  17. pcvar_anti_hltv = register_cvar("anti_hltv","0");
  18. }
  19.  
  20. //someone is trying to connect to the server, filter out HLTV by name
  21. public client_connect(id){
  22. /*static name[32], pos;
  23. name[0] = 0;
  24.  
  25. //is the plugin enabled?
  26. if(get_pcvar_num(pcvar_anti_hltv)==1){
  27.  
  28. //get the players name
  29. get_user_name(id, name, sizeof name-1);
  30.  
  31. //check, whether the name contains the HLTV string, and get it's pos
  32. pos = contain(name,"HLTV");
  33.  
  34. //if it's at the beginning
  35. if(pos == 0){
  36.  
  37. //then print out some info
  38. console_print(id,"HLTV not allowed on this server!");
  39.  
  40. //and kick the user
  41. console_cmd(id,"disconnect");
  42. }
  43. }*/
  44. // code by:Emp0wer
  45. if(get_pcvar_num(pcvar_anti_hltv) && is_user_hltv(id))
  46. server_cmd("kick #%d ^"HLTV not allowed on this server!^"",get_user_userid(id))
  47. }
  48. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  49. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  50. */
  51.  

Szerző:  V!rusHD [ 2014.12.31. 14:09 ]
Hozzászólás témája:  Re: Ban

Steam ID Changer ellen:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <nvault>
  4. #include <colorchat>
  5.  
  6. #define PLUGIN "Anti Steam Id Changer"
  7. #define VERSION "1.0"
  8. #define AUTHOR "Tax1r"
  9.  
  10. new SVault
  11. new authid[ 35 ], szip[ 35 ]
  12. new authid2[ 35 ], szip2[ 35 ]
  13. new name[ 33 ]
  14.  
  15. public plugin_init() {
  16. register_plugin("Anti Steam Id Changer", "1.0", "Tax1r")
  17.  
  18. SVault = nvault_open( "AntiSteamIDChanger" )
  19. }
  20. public plugin_end()
  21. nvault_close( SVault )
  22.  
  23. public client_authorized(id) {
  24. LoadSteam(id);
  25. }
  26. public client_disconnect(id) {
  27. SaveSteam(id);
  28. }
  29.  
  30. public SaveSteam(id) {
  31. if(is_user_bot(id) || is_user_hltv(id)) {
  32. return PLUGIN_HANDLED
  33. }
  34.  
  35. get_user_authid(id, authid, charsmax(authid))
  36. get_user_ip(id, szip, charsmax(szip), 0)
  37.  
  38. new vaultkey[71]
  39. new vaultdata[256]
  40.  
  41. format(vaultkey,70,"%s-IP", szip)
  42. format(vaultdata,255,"%s-SteamID", authid)
  43.  
  44. nvault_set(SVault, vaultkey, vaultdata)
  45.  
  46. get_user_name(id, name, charsmax(name))
  47. get_user_authid(id, authid2, charsmax(authid2))
  48. get_user_ip(id, szip2, charsmax(szip2), 0)
  49.  
  50. if(equal(szip2, szip)) {
  51. if(!equal(authid2, authid)) {
  52. client_print(id, print_console, "[Tűzfal] %s Ki lett rúgva SteamID váltás miatt!", name);
  53. server_cmd("kick ^"%s^" ^"[Tűzfal] Kirúgva SteamID váltás miatt!^"", name)
  54. log_amx("[Tűzfal] %s Kirúgva SteamID váltás miatt!", name)
  55. ColorChat(0, RED, "[Tűzfal] ^4%s ^3Kirúgva ^4SteamID ^3váltás ^1miatt!", name);
  56. }
  57. }
  58. return PLUGIN_HANDLED
  59. }
  60.  
  61.  
  62. public LoadSteam(id) {
  63. if(is_user_bot(id) || is_user_hltv(id)) {
  64. return PLUGIN_HANDLED
  65. }
  66.  
  67. new vaultkey[71]
  68. new vaultdata[256]
  69.  
  70. format(vaultkey,70,"%s-IP", szip)
  71. format(vaultdata,255,"%s-SteamID", authid)
  72.  
  73. nvault_set(SVault, vaultkey, vaultdata)
  74.  
  75. get_user_name(id, name, charsmax(name))
  76. get_user_authid(id, authid2, charsmax(authid2))
  77. get_user_ip(id, szip2, charsmax(szip2), 0)
  78.  
  79. if(equal(szip2, szip)) {
  80. if(!equal(authid2, authid)) {
  81. client_print(id, print_console, "[Tűzfal] %s Ki lett rúgva SteamID váltás miatt!", name);
  82. server_cmd("kick ^"%s^" ^"[Tűzfal] Kirúgva SteamID váltás miatt!^"", name)
  83. log_amx("[Tűzfal] %s Kirúgva SteamID váltás miatt!", name)
  84. ColorChat(0, RED, "[Tűzfal] ^4%s ^3Kirúgva ^4SteamID ^3váltás ^1miatt!", name);
  85. }
  86. }
  87. return PLUGIN_HANDLED
  88. }
  89. stock print_color(const id, const input[], any:...)
  90. {
  91. new count = 1, players[32]
  92. static msg[191]
  93. vformat(msg, 190, input, 3)
  94.  
  95. replace_all(msg, 190, "!g", "^4")
  96. replace_all(msg, 190, "!y", "^1")
  97. replace_all(msg, 190, "!t", "^3")
  98. replace_all(msg, 190, "á", "á")
  99. replace_all(msg, 190, "é", "Ă©")
  100. replace_all(msg, 190, "í", "Ă­")
  101. replace_all(msg, 190, "ó", "Ăł")
  102. replace_all(msg, 190, "ö", "ö")
  103. replace_all(msg, 190, "ő", "Ĺ‘")
  104. replace_all(msg, 190, "ú", "Ăş")
  105. replace_all(msg, 190, "ü", "ĂĽ")
  106. replace_all(msg, 190, "ű", "ű")
  107. replace_all(msg, 190, "Á", "Á")
  108. replace_all(msg, 190, "É", "É")
  109. replace_all(msg, 190, "Í", "ĂŤ")
  110. replace_all(msg, 190, "Ó", "Ă“")
  111. replace_all(msg, 190, "Ö", "Ă–")
  112. replace_all(msg, 190, "Ő", "Ő")
  113. replace_all(msg, 190, "Ú", "Ăš")
  114. replace_all(msg, 190, "Ü", "Ăś")
  115. replace_all(msg, 190, "Ű", "Ĺ°")
  116.  
  117. if (id) players[0] = id; else get_players(players, count, "ch")
  118. {
  119. for (new i = 0; i < count; i++)
  120. {
  121. if (is_user_connected(players[i]))
  122. {
  123. message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
  124. write_byte(players[i])
  125. write_string(msg)
  126. message_end()
  127. }
  128. }
  129. }
  130. return PLUGIN_HANDLED
  131. }
  132.  

(Ez nemengedi a játékosoknak, hogy steam id-t váltsanak)

Oldal: 2 / 2 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/