Code:
function abilitySpam()
{
ability.time = currentTime;
ability.useType = 1;
ability.itemUsePos = startingLocation;
ability.slotObject.objectId = myObjectId;
ability.slotObject.slotId = 1;
ability.slotObject.objectType = 2606;
for(var i = 1; i < 1000; i++)
{
ability.time += 250;
$.sendToServer(ability);
}
}
So I have finished my bulletspam, which is incredibly entertaining, and am working on a trade bot. I did however find a task I very much so believe to be possible, though difficult. This is pretty new to me and most certainly a step up from the trade bot and bullet spam script. I want to make an ability spam where mana is basically ignored.
I began by looking at the list of packets I have at my disposal and tested the above script which most certainly did not achieve what I wanted it to. But, I did learn a bit from it, even though I am still far off from what I want to achieve. I also tested creating and updating ACK packets, really not sure how these work but I know I got a protocol error. The above script did work in using the ability, however it also consumed mana and dced me about 2 iterations into the for loop.
So I'm trying to figure out now, primarily how to ignore mana, and what the fuck these ack packets are and how they work. I'm determined to figure this out and I know some of the stuff that I said here is stupid as shit, and I know I will be spending both a bit of time on this and will need to learn a good deal.
I apologize that some of this may sound stupid to the veterans, but I have really only coded 2 1/2 working scripts. A spambot, bulletspammer, and 1/2 of a tradebot. All of these seem a good deal easier than this, which is a major exploit, but either way I am determined to tackle this.
Trust me, again, I understand full well how this little function is nothing, and most likely hardly going to get me to my goal, if at all. Basically I just wanted a little push and some explanation on these ACK packets. I've primarily noticed that each bullet of my mage spell seems to create a shootack packet, and before/after each ability use, the updateack packet is sent from my client. Not really sure what the fuck is going on here, so yea.
Don't hate me FTM.