Results 1 to 8 of 8
  1. #1
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy

    Sending useitem ability packet!

    Hello there!

    I need help (AGAIN! :3 ) ;

    Code:
    function use_ability(event){
    	
    	var useitem_packet = event.createPacket(ID_USEITEM);
    	
    	useitem_packet.time = _time;
    	
    	//SLOTOBJECT
    	useitem_packet.objectId = 128;
    	useitem_packet.slotId = 1;
    	useitem_packet.objectType = 2609;
    	
    	//LOCATION
    	useitem_packet.x = 0;
    	useitem_packet.y = 0;
    	
    	useitem_packet.useType = 1;	 //Int
    	
    	event.sendToServer(useitem_packet);
    	
    	$.echo("# Used ability \n # _time : "+_time+"\n # objectId : "+slotObject.objectId+"\n # slotId : "+slotObject.slotId+"\n # objectType : "+slotObject.objectType+"\n # itemUsePos.x : "+itemUsePos.x+"\n # itemUsePos.y : "+itemUsePos.y+"\n # useType : "+useType);
    	
    }



    @infern000 @Nisuxen @zekikez @059 @mezamog @DeVoidCoder
    Last edited by Alde.; 12-29-2013 at 07:49 PM.
    Alde is Alde is

  2. #2
    Nisuxen's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    164
    Reputation
    10
    Thanks
    95
    Everyone is so interested in ability packets I might just have to release the Eendi script... That'd be fun.

    I almost guarantee your issue is with the time.

  3. The Following 2 Users Say Thank You to Nisuxen For This Useful Post:

    059 (12-29-2013),Alde. (12-29-2013)

  4. #3
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,312
    Reputation
    700
    Thanks
    92,771
    Quote Originally Posted by Nisuxen View Post
    Everyone is so interested in ability packets I might just have to release the Eendi script... That'd be fun.

    I almost guarantee your issue is with the time.
    And with that post, I've figured it out... I do get disconnected but I still can send as many as I want. Jesus christ. As you said before, the server is really dumb. Thank you, this is fun as hell.
    Last edited by 059; 12-29-2013 at 10:43 PM.
    My Vouches
    Having an issue with RotMG? Check for the solution here.


    Need Realm items? Come to RealmStock!

    Accepting PayPal - Bitcoin - Giftcards
    Selling ST Sets, Class Top Sets, Life Pots, and much more!


    Find it here: MPGH Sales Thread

  5. The Following User Says Thank You to 059 For This Useful Post:

    Alde. (12-29-2013)

  6. #4
    Nisuxen's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    164
    Reputation
    10
    Thanks
    95
    Quote Originally Posted by 059 View Post
    And with that post, I've figured it out... I do get disconnected but I still can send as many as I want. Jesus christ. As you said before, the server is really dumb. Thank you, this is fun as hell.
    Let me know if you get ninja to work. The speedy shit seems to make the server very cautious with mana usage. But before that try to get archer and knight to work; they take some special care.

  7. #5
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,312
    Reputation
    700
    Thanks
    92,771
    Quote Originally Posted by Nisuxen View Post
    Let me know if you get ninja to work. The speedy shit seems to make the server very cautious with mana usage. But before that try to get archer and knight to work; they take some special care.
    No idea yet, but my guess is a playershoot packet too?
    My Vouches
    Having an issue with RotMG? Check for the solution here.


    Need Realm items? Come to RealmStock!

    Accepting PayPal - Bitcoin - Giftcards
    Selling ST Sets, Class Top Sets, Life Pots, and much more!


    Find it here: MPGH Sales Thread

  8. The Following User Says Thank You to 059 For This Useful Post:

    Alde. (12-29-2013)

  9. #6
    rocker1988's Avatar
    Join Date
    Sep 2006
    Gender
    male
    Posts
    301
    Reputation
    10
    Thanks
    62
    My Mood
    Doubtful
    What is this script meant to do exactly?

  10. #7
    Threadstarter
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy
    Un-related question ;

    In the HELLO client packet, many strings, such as obf2 are equal to "rotmg". Why is it like so?
    Last edited by Alde.; 12-30-2013 at 03:55 AM.
    Alde is Alde is

  11. #8
    Threadstarter
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy
    Quote Originally Posted by rocker1988 View Post
    What is this script meant to do exactly?
    Simulate the player's use ability.
    Alde is Alde is

Similar Threads

  1. Sending a pong packet.
    By Notsomeone in forum Realm of the Mad God Help & Requests
    Replies: 0
    Last Post: 12-14-2013, 08:19 AM
  2. [Help Request] How do you send an escape packet?
    By 75dragon in forum Realm of the Mad God Help & Requests
    Replies: 6
    Last Post: 09-09-2013, 08:20 PM
  3. When do you send the Map Packets?
    By Banshou in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 08-06-2008, 05:18 PM
  4. How to send a packet Help.
    By Lotrkiller3000 in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 08-06-2008, 10:35 AM
  5. Sending packets from VB/C++?
    By unseenss in forum WarRock - International Hacks
    Replies: 5
    Last Post: 07-21-2007, 03:17 PM