Results 1 to 4 of 4
  1. #1
    miltontec's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    Brazil
    Posts
    25
    Reputation
    10
    Thanks
    2
    My Mood
    Flirty

    Question USEPORTAL not working?

    Hello guys,
    I'm trying to send a package to the server, but it doesn't work no matter what.
    My code:
    Code:
    if(_enabled)
                {
                    UsePortalPacket upp = (UsePortalPacket)Packet.Create(PacketType.USEPORTAL);
                    upp.ObjectId = key; //key is a int variable
                    upp.Send = true;
                    client.SendToServer((Packet)usePortalPacket);
                }
    Before someone asks: Yes, the "key" variable is a valid portal id.
    What's wrong with my code?
    Appreciate HELP

  2. #2
    New's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Location
    Location:
    Posts
    2,605
    Reputation
    386
    Thanks
    4,708
    My Mood
    Angelic
    Quote Originally Posted by miltontec View Post
    What's wrong with my code?
    Nothing, but deca recently made it so that you have to be sitting on top of the portal before using useportal.

    Were you sitting on top of the portal?

    Also try removing (Packet) from the client.SendToServer((Packet)usePortalPacket);
    New

    Current Project:
    SimpleExaltHack

    Outdated stuff I made in the past:
    Famebot
    Clientless tradebot
    RotMG ping checker
    Zautonexus crack

  3. The Following User Says Thank You to New For This Useful Post:

    miltontec (06-21-2017)

  4. #3
    miltontec's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    Brazil
    Posts
    25
    Reputation
    10
    Thanks
    2
    My Mood
    Flirty
    You're right.
    Sitting in target portal, it works.
    Thanks!

  5. #4
    New's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Location
    Location:
    Posts
    2,605
    Reputation
    386
    Thanks
    4,708
    My Mood
    Angelic
    Quote Originally Posted by miltontec View Post
    You're right.
    Sitting in target portal, it works.
    Thanks!
    np @Ahlwong close
    New

    Current Project:
    SimpleExaltHack

    Outdated stuff I made in the past:
    Famebot
    Clientless tradebot
    RotMG ping checker
    Zautonexus crack

Similar Threads

  1. Hacks not working
    By crazy4her in forum WarRock - International Hacks
    Replies: 12
    Last Post: 06-07-2007, 03:25 AM
  2. TerrainGeometry Not Working Anymore?
    By Jammy in forum WarRock - International Hacks
    Replies: 0
    Last Post: 03-16-2007, 05:31 PM
  3. why warrock not working now??
    By tolik13 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 07-09-2006, 03:27 PM
  4. WPE not work
    By trekpik in forum WarRock - International Hacks
    Replies: 3
    Last Post: 07-09-2006, 10:09 AM