Thread: Need help with swap mode

Results 1 to 3 of 3
  1. #1 Need help with swap mode 
    Registered Member
    Join Date
    Sep 2020
    Posts
    26
    Thanks given
    1
    Thanks received
    1
    Discord
    View profile
    Rep Power
    11
    Need help with swap mode this is the code in RSinterface
    addBankHover(21000, 4, 21001, 172, 175, 35, 25, 304, 1, "Swap Withdraw Mode", 21002, 174, 173, 21003, "Switch to insert items \nmode", "Switch to swap items \nmode.", 12, 20);
    setBounds(21000, 240, 285, 40, rsinterface);
    addText(27000, "0", 0xff981f, false, true, 52, fonts, 1);


    And this in buttonclickpacketlist
    case 21000:
    if (!player.isBanking() || player.getInterfaceId() != 5292)
    return;
    player.setSwapMode(false);
    player.getPacketSender().sendConfig(304, 0).sendMessage("This feature is coming soon!");
    // player.setSwapMode(!player.swapMode());
    break;

    Why its not working or the code is busted?
    Reply With Quote  
     

  2. #2  
    What's a sundial in the shade?

    Lumiere's Avatar
    Join Date
    May 2013
    Age
    26
    Posts
    543
    Thanks given
    224
    Thanks received
    100
    Rep Power
    113
    Quote Originally Posted by kostaskzk View Post
    Need help with swap mode this is the code in RSinterface
    addBankHover(21000, 4, 21001, 172, 175, 35, 25, 304, 1, "Swap Withdraw Mode", 21002, 174, 173, 21003, "Switch to insert items \nmode", "Switch to swap items \nmode.", 12, 20);
    setBounds(21000, 240, 285, 40, rsinterface);
    addText(27000, "0", 0xff981f, false, true, 52, fonts, 1);


    And this in buttonclickpacketlist
    case 21000:
    if (!player.isBanking() || player.getInterfaceId() != 5292)
    return;
    player.setSwapMode(false);
    player.getPacketSender().sendConfig(304, 0).sendMessage("This feature is coming soon!");
    // player.setSwapMode(!player.swapMode());
    break;

    Why its not working or the code is busted?
    Here's a tip, a little nudge in the right direction. Idk why I'm even on here so, sorry I can't provide more help, but I believe in you.
    Code:
    player.getPacketSender().sendConfig(304, 0).sendMessage("This feature is coming soon!");
    Code:
    addBankHover(21000, 4, 21001, 172, 175, 35, 25, 304, 1, "Swap Withdraw Mode", 21002, 174, 173, 21003, "Switch to insert items \nmode", "Switch to swap items \nmode.", 12, 20);

    Spoiler for Revy is perfect:
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2020
    Posts
    26
    Thanks given
    1
    Thanks received
    1
    Discord
    View profile
    Rep Power
    11
    Ye this is cryptic to me if i would know what is 304 might help i barely knew how to change the png to a different for that command
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. (Need help with EXP Modes)
    By slipala in forum Help
    Replies: 2
    Last Post: 01-25-2016, 07:12 PM
  2. Need help with turning something back
    By ftmaster in forum RS2 Server
    Replies: 0
    Last Post: 12-20-2007, 03:11 PM
  3. Need help with DomScape
    By thegreatblob in forum Requests
    Replies: 4
    Last Post: 11-30-2007, 04:25 AM
  4. need help with making a client with new stuff
    By yahoo112 in forum RS2 Client
    Replies: 1
    Last Post: 09-19-2007, 08:06 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •