fauuuuckkkk
#1

my old .pwn gm got deleted by mistake without any backup and now i tried to DeAMX it and i got a shit load of bullshit..

its useless cause now i need to sit for hours and try to remember all the variables and functions i wrote for this gm..
Код:
if(!strcmp(cmdtext + 4, "pm", true, 2) && ((!(cmdtext + 12) && function6A34(playerid, glob5D9C)) || (cmdtext + 12 == 32 && function6A34(playerid, cmdtext + 16))))
	{
		return 1;
	}
	if(!strcmp(cmdtext + 4, "switchteam", true, 10) && ((!(cmdtext + 44) && function6810(playerid, 24012)) || (cmdtext + 44 == 32 && function6810(playerid, cmdtext + 48))))
	{
		return 1;
	}
	if(!strcmp(cmdtext + 4, "pms", true, 3) && ((!(cmdtext + 16) && function6924(playerid, 24032)) || (cmdtext + 16 == 32 && function6924(playerid, cmdtext + 20))))
	{
		return 1;
	}
pawn Код:
function6A34(playerid, arg1)
{
    new var0[256], var1[256], var2 = 0;
    var0 = function8(arg1, var2);
    var1 = function8(arg1, var2);
    if(!strlen(arg1))
    {
        return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /pm [id] [message]");
    }
    if(!strlen(var1))
    {
        return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /pm [id] [message]");
    }
    new var3 = 0, var4[54], var5[54], var6[124];
    var3 = strval(var0);
    if(IsPlayerConnected(var3) && 65535 != var3)
    {
        if(playerid != var3)
        {
            if(!glob1F40[var3])
            {
                GetPlayerName(var3, var4, 54);
                GetPlayerName(playerid, var5, 54);
                format(var6, 124, "PM To %s (%d): %s", var4, var3, arg1 + 8);
                SendClientMessage(playerid, 0xFFFF22AA, var6);
                format(var6, 124, "PM From %s (%d): %s", var5, playerid, arg1 + 8);
                SendClientMessage(var3, 0xFFFF22AA, var6);
                PlayerPlaySound(var3, 1085, 0.0, 0.0, 0.0);
                printf("[pm] PM From %s (%i) To %s (%i): %s", var5, playerid, var4, var3, arg1 + 8);
            }
        }
    }
}
yep.. so its possible but its going to take some time..

is there any other way to de-script the gm faster?
Reply
#2

Judging by the code that was successfully decompiled, it doesn't even look as if it's worth trying.
Reply
#3

yep ur right... i think i will just re write the code in dcmd ... its not more then just a couple of simple commands
Reply
#4

This is a good lesson for you. Always backup your work! Back it up online somewhere, and on a flash stick if you can from not on.


You didnt give the source to anyone at all? It it just you coding it ?
Reply
#5

If i back it up somewhere online it will be open to the public...

yeah its only me scripting the gamemode, why you ask?
Reply
#6

When compiler compiles, he replaces the text with the one he understands. So, in the AMX, it's like that ^^. You must make your GM from beggining now, or use that DeAMX'd version, which isn't so "nicetouse".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)