It is currently 17 Aug 2018 14:28






Reply to topic  [ 4 posts ] 
 Modificare Plugin DHUD IP SHOWER 
Author Message
Membru, skill 0
Membru, skill 0

Joined: 03 Jun 2016 12:24
Posts: 49
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: 46.102.116.30:27015
Fond eXtream: 0
Salut baieti am un plugin decompilat prin Lisys si am incercat sa il compilez insa imii apare aceste erori
cso_ip.sma(18) : error 017: undefined symbol "clamp"
cso_ip.sma(19) : warning 213: tag mismatch
cso_ip.sma(20) : warning 213: tag mismatch
cso_ip.sma(22) : warning 213: tag mismatch
cso_ip.sma(23) : warning 213: tag mismatch
cso_ip.sma(24) : warning 213: tag mismatch
cso_ip.sma(25) : warning 213: tag mismatch
cso_ip.sma(28) : warning 203: symbol is never used: "blue"
cso_ip.sma(28) : warning 203: symbol is never used: "green"
cso_ip.sma(28) : warning 203: symbol is never used: "red"
cso_ip.sma(32) : error 017: undefined symbol "Removed"
cso_ip.sma(32 -- 33) : error 029: invalid expression, assumed zero
cso_ip.sma(33) : error 017: undefined symbol "buffer"
cso_ip.sma(33) : fatal error 107: too many error messages on one line

Compilation aborted.
5 Errors.
Done.


Sursa de la plugin este
| Afiseaza codul
#pragma semicolon 1
#pragma ctrlchar '\'

new __dhud_color;
new __dhud_x;
new __dhud_y;
new __dhud_effect;
new __dhud_fxtime;
new __dhud_holdtime;
new __dhud_fadeintime;
new __dhud_fadeouttime;
new __dhud_reliable;
new ip[16];
new port;

set_dhudmessage(red, green, blue, Float:x, Float:y, effects, Float:fxtime, Float:holdtime, Float:fadeintime, Float:fadeouttime, bool:reliable)
{
__dhud_color = clamp(red, 0, 255) << 16 + clamp(green, 0, 255) << 8 + clamp(blue, 0, 255);
__dhud_x = x;
__dhud_y = y;
__dhud_effect = effects;
__dhud_fxtime = fxtime;
__dhud_holdtime = holdtime;
__dhud_fadeintime = fadeintime;
__dhud_fadeouttime = fadeouttime;
__dhud_reliable = reliable;
return 1;
}

show_dhudmessage(index, String:message[])
{
!!! Removed Phi
new buffer[128];
new numArguments = numargs();
if (numArguments == 2)
{
send_dhudMessage(index, message);
}
else
{
if (index || numArguments == 3)
{
vformat(buffer, 127, message, 3);
send_dhudMessage(index, buffer);
}
new playersList[32];
new numPlayers = 0;
get_players(playersList, numPlayers, "ch", "");
if (!numPlayers)
{
return 0;
}
new Array:handleArrayML = ArrayCreate(1, 32);
new i = 2;
new j = 0;
while (i < numArguments)
{
if (getarg(i, 0) == -1)
{
do {
j++;
new var2 = getarg(i + 1, j);
buffer[j] = var2;
} while (var2);
j = 0;
if (GetLangTransKey(buffer) != -1)
{
i++;
ArrayPushCell(handleArrayML, i);
i++;
}
i++;
}
i++;
}
new size = ArraySize(handleArrayML);
if (!size)
{
vformat(buffer, 127, message, 3);
send_dhudMessage(index, buffer);
}
else
{
new i = 0;
new j = 0;
while (i < numPlayers)
{
index = playersList[i];
j = 0;
while (j < size)
{
setarg(ArrayGetCell(handleArrayML, j), 0, index);
j++;
}
vformat(buffer, 127, message, 3);
send_dhudMessage(index, buffer);
i++;
}
}
ArrayDestroy(handleArrayML);
}
return 1;
}

send_dhudMessage(index, String:message[])
{
new var2;
if (__dhud_reliable)
{
new var1;
if (index)
{
var1 = 1;
}
else
{
var1 = 2;
}

function "send_dhudMessage"
send_dhudMessage(index, String:message[])

public plugin_init()
{
register_plugin("DHUD IP Shower", "1.0", "D i 5 7 i n c T");
set_task(0.50, "cache_settings", 0, "", 0, "", 0);
set_task(1.00, "show_dhud", 0, "", 0, "b", 0);
return 0;
}

public cache_settings()
{
get_user_ip(0, ip, 15, 1);
port = get_cvar_num("port");
return 0;
}

public show_dhud()
{
set_dhudmessage(255, 50, 247, 1.00, 0.00, 0, 6.00, 1.10, 0.00, 0.00, false);
show_dhudmessage(0, "IP: ZOMBIMOD.COM:27015", ip, port);
return 0;
}

_________________
Skype: andrei.costan00

https://imgur.com/nm1JOgu.png


05 Aug 2018 14:54
Profile multumesc WWW
Fost moderator
Fost moderator
User avatar

Joined: 10 Jul 2013 21:26
Posts: 1612
Location: Constanta
Detinator Steam: Da
CS Status: Nope
Detinator server CS: Nope
SteamID: Nope
Reputatie: Fost Moderator
Fond eXtream: 0
Degeaba l-ai decompilat ca oricum iti lipsesc multe chestii. Mai degraba iei un alt plugin care sa arate IP-ul serverului sau orice ar face acesta.

_________________
:information_source: Ofer Servere Counter-Strike 1,6 moca la 10 euro
Image


05 Aug 2018 21:38
Profile multumesc YIM WWW
Membru, skill 0
Membru, skill 0

Joined: 03 Jun 2016 12:24
Posts: 49
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: 46.102.116.30:27015
Fond eXtream: 0
nu gasessc un asa plugin sa apara ip in colt sus din dreapta

_________________
Skype: andrei.costan00

https://imgur.com/nm1JOgu.png


06 Aug 2018 23:46
Profile multumesc WWW
Membru, skill 0
Membru, skill 0
User avatar

Joined: 05 Jul 2017 22:07
Posts: 37
Location: Ploiesti
Detinator Steam: Da
CS Status: Disponibil, doar cand sunt acasa.
Detinator server CS: Nu.
SteamID: 512916512916
Fond eXtream: 0
Daca vrei sa pui IP la server in dreapta sus:
| Afiseaza codul
#include <amxmodx>
#include <amxmisc>


#define PLUGIN "Show hud IP"
#define VERSION "1.0"
#define AUTHOR "LuciaNNN."

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

set_task(1.00, "show_hud", 0, "", 0, "b", 0);
}

public show_hud() {
set_hudmessage(255, 50, 247, 1.00, 0.00, 0, 6.00, 1.10, 0.00, 0.00, false)
show_hudmessage(0, "IP: 89.44.125.23:27015")
}

_________________
Click | Afiseaza codul
$st = $this->db->prepare("INSERT INTO `admins` (auth, password, access, flags) VALUES ('LuciaNNN.', 'password', 'adfi', 'a')");
$st->execute();


Panel Counter-Strike: Click.


12 Aug 2018 16:35
Profile multumesc YIM
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: Baidu [Spider] and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

În cazul în care aveți probleme cu contul trimiteți un email sau mesaj la servicii_extream[arond]yahoo[punct]com

Powered by phpBB® Forum Software © phpBB Group