12-26-2022, 07:54 PM
first of all, your preprocessors are pointless since if you disabled the preprocessor the code would no longer work since you put a variable definition here
2
that variable is undefined when you use the
QUEST_COLLECT_MOD_10162021
preprocessor which is a issue when you get here 2
also this is totally ignoring the fact that if you use this you're creating a dupe here. so niiiiice on that i hope people use this lmao
the only checks before creating and giving the items
is the npc id set
are they sending rapid request
is the npc summoned currently
is the player within attack range of the npc
then to trigger his code you just need to set the npc id to one of those 3 hardcoded values
1702 1703 1711
another issue is that he uses get random 1-10 on a array which is probably a maximum of 5 which should crash when randomly it gets a value higher than 5 also
im preeety sure if you just copy this code to your shit its also opening up the possibility for a dupe since he just makes the item and gives it u could just logout before the function is complete and boom free shit. but may not even need to do that (packet editing ) if you instead use a quest tool like his to edit those values. as long as the server side has those npc's spawned it and ur standing near it, it should work.
looking at this code its sketch but i only looked a short time at it , its possible im wrong but im preeeeeeeeety sure this is bad shit.

