ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 4067

[XBOX 360] How to do scriptevent protection properly

by Venom_Modz - 11-12-2018 - 12:15 AM
#31
(12-27-2018 - 07:26 PM)XBLxPhantom Wrote:
(11-14-2018 - 05:57 AM)Venom_Modz Wrote:
(11-14-2018 - 05:17 AM)XBLxPhantom Wrote:
(11-14-2018 - 04:12 AM)Venom_Modz Wrote:
(11-14-2018 - 01:17 AM)XBLxPhantom Wrote: "Don't be dumb"  lol.... you  just gave out offhost kick?  thanks for release lolll


Also, C&P Decrash, can't even fix protections :/

thank what you want i have had this code before decrash was even a menu lol
yet all this time you couldn't fix the one's that don't work? lel

i bet you don't even have these working so stfu

Aiight, I'mma be nice, Here is an Example on what you're doing wrong......... if (iArgs[0] == 0x3 && iArgs[2] == 0x14) {
ShowMessage_Name("~r~Attempted To Force You To GTA:O Tutorial! ~o~#Celestial FTW!!", sName);
ProtectionResponse(sName);
*(int*)0x835DB068 = 0x60000000;
}

pay close attention, iArgs[2] == 0x14 okay? now look at force to tutorial script event...void ForceTutorial(int player)
{
int args[3];
args[0] = 0x3;
args[1] = player;
args[2] = 0x14;     <-----///////
TriggerScriptEvent(args, 3, player);
}

in your protections instead of you iArgs being [2] == 0x14  you probably have Args [1] == 0x14....
*Edit* fucking tard. next time don't C&P protections if u can't even make them work.

Congrats on the gift.
Reply
#32
Just print out the arguments and all the registers to find it
Reply
#33
(12-27-2018 - 07:59 PM)Kakashi Wrote:
(12-27-2018 - 07:26 PM)XBLxPhantom Wrote:
(11-14-2018 - 05:57 AM)Venom_Modz Wrote:
(11-14-2018 - 05:17 AM)XBLxPhantom Wrote:
(11-14-2018 - 04:12 AM)Venom_Modz Wrote: thank what you want i have had this code before decrash was even a menu lol
yet all this time you couldn't fix the one's that don't work? lel

i bet you don't even have these working so stfu

Aiight, I'mma be nice, Here is an Example on what you're doing wrong......... if (iArgs[0] == 0x3 && iArgs[2] == 0x14) {
ShowMessage_Name("~r~Attempted To Force You To GTA:O Tutorial! ~o~#Celestial FTW!!", sName);
ProtectionResponse(sName);
*(int*)0x835DB068 = 0x60000000;
}

pay close attention, iArgs[2] == 0x14 okay? now look at force to tutorial script event...void ForceTutorial(int player)
{
int args[3];
args[0] = 0x3;
args[1] = player;
args[2] = 0x14;     <-----///////
TriggerScriptEvent(args, 3, player);
}

in your protections instead of you iArgs being [2] == 0x14  you probably have Args [1] == 0x14....
*Edit* fucking tard. next time don't C&P protections if u can't even make them work.

Congrats on the gift.
yeah, thanks but what do i do w it ? lol.
Reply
#34
(12-29-2018 - 11:59 PM)XBLUnbound Wrote: This is literally my code...

This is not 'properly' either... You should hook the function that actually handles every single event in the game. Not replace the handler in the table.

cool for you but most of the event protections wouldn't work bcuz of the small thing i pointed out^ so I guess nice job?... granted there are things i could do better to improve it aswell. but just saying. atleast i showed em how to make your broken protections work.
Reply
#35
lmao I love demon forums
Reply

Users browsing: 2 Guest(s)