Thread: [PI] New Trade Screen, Wealth Transfer, Total Offer Item Value, Dupes Fixed

Page 12 of 21 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 205
  1. #111  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    16
    Posts
    4,364
    Thanks given
    1,027
    Thanks received
    703
    Discord
    View profile
    Rep Power
    2991
    Quote Originally Posted by cry 4 merci View Post
    no if you actually read it on step 0.2 all it says is...Below
    then a code..doesnt even say which file.and on step 0.5 it says "Add this variable to class Player"hmm never heard of that file in the source?Have you?
    class Player = Player.java, that's just Java terminology.
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

  2. #112  
    Mysteria Developer

    DatguyJay's Avatar
    Join Date
    Mar 2011
    Age
    25
    Posts
    2,134
    Thanks given
    295
    Thanks received
    161
    Rep Power
    212
    well thanks for actually trying to help.
    Reply With Quote  
     

  3. #113  
    Registered Member
    Ninja assassin's Avatar
    Join Date
    Oct 2008
    Posts
    1,961
    Thanks given
    217
    Thanks received
    115
    Rep Power
    77
    Quote Originally Posted by cry 4 merci View Post
    well thanks for actually trying to help.
    if your still struggling ill add it for you on TV
    Btc: 1tpWTbAznzWYh6YpoUJeQ3MDVK56GGJ
    Reply With Quote  
     

  4. #114  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,246
    Thanks given
    3,283
    Thanks received
    2,874
    Discord
    View profile
    Rep Power
    5000
    Complete rip of Galkon's idea..
    Reply With Quote  
     

  5. #115  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    16
    Posts
    4,364
    Thanks given
    1,027
    Thanks received
    703
    Discord
    View profile
    Rep Power
    2991
    Quote Originally Posted by Mister Maggot View Post
    Complete rip of Galkon's idea..
    Which was a complete rip of RuneScape's idea. I haven't seen the RuneScape one and I thought it was how Galkon showed it, not my fault.

    Gtfo idiot.
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

  6. Thankful users:


  7. #116  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,246
    Thanks given
    3,283
    Thanks received
    2,874
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Dagenham View Post
    Which was a complete rip of RuneScape's idea. I haven't seen the RuneScape one and I thought it was how Galkon showed it, not my fault.

    Gtfo idiot.
    Chill your nips, kid.. Galkon did this a few weeks ago, then you post it. It's suspicious.
    Reply With Quote  
     

  8. #117  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    16
    Posts
    4,364
    Thanks given
    1,027
    Thanks received
    703
    Discord
    View profile
    Rep Power
    2991
    Quote Originally Posted by Mister Maggot View Post
    Chill your nips, kid.. Galkon did this a few weeks ago, then you post it. It's suspicious.
    Learn to read kid.
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

  9. #118 [PI] Bank All Fix 
    Fuck the rest join the best, WoR
    Jinx's Avatar
    Join Date
    Oct 2010
    Posts
    635
    Thanks given
    99
    Thanks received
    65
    Rep Power
    364
    Thanks for this, but I'm pretty sure that one of your dupe fixes messes up the banking system. After this was full done, I couldn't use the Store All feature. I am going to try and revert it. I did this a while ago. I will check to see if it is your dupe fix that messed up the feature. The other features are fine, that is the only ones I am have problems with.

    EDIT: Ok, I have fixed the problem that I was having. It is a lot easier to just paste my entire BankAll.java file into this post instead of making a snippet. So if you are having the same problem, just paste the code I have provided.

    Code:
    package server.model.players.packets;
    import server.model.items.GameItem;
    import server.model.items.Item;
    import server.model.players.Client;
    import server.model.players.PacketType;
    /**
     * Bank All Items
     **/
    public class BankAll implements PacketType {
     @Override
     public void processPacket(Client c, int packetType, int packetSize) {
     int removeSlot = c.getInStream().readUnsignedWordA();
     int interfaceId = c.getInStream().readUnsignedWord();
     int removeId = c.getInStream().readUnsignedWordA();
     
      switch(interfaceId){   
       case 3900:
       c.getShops().buyItem(removeId, removeSlot, 10);
       break;
     
       case 3823:
       c.getShops().sellItem(removeId, removeSlot, 10);
       break;
     
       case 5064:
       if (Item.itemStackable[removeId]) {
        c.getItems().bankItem(c.playerItems[removeSlot] , removeSlot, c.playerItemsN[removeSlot]);
       } else {
        c.getItems().bankItem(c.playerItems[removeSlot] , removeSlot, c.getItems().itemAmount(c.playerItems[removeSlot]));
       }
       break;
     
       case 5382:
       c.getItems().fromBank(c.bankItems[removeSlot] , removeSlot, c.bankItemsN[removeSlot]);
       break; 
     
       case 3322:
       if(c.duelStatus <= 0) { 
        if(Item.itemStackable[removeId]){
         c.getTradeAndDuel().tradeItem(removeId, removeSlot, c.playerItemsN[removeSlot]);
           } else {
         c.getTradeAndDuel().tradeItem(removeId, removeSlot, 28);  
        }
       } else {
        if(Item.itemStackable[removeId] || Item.itemIsNote[removeId]) {
         c.getTradeAndDuel().stakeItem(removeId, removeSlot, c.playerItemsN[removeSlot]);
        } else {
         c.getTradeAndDuel().stakeItem(removeId, removeSlot, 28);
        }
       }
       break;
     
       case 3415: 
       if(c.duelStatus <= 0) { 
        if(Item.itemStackable[removeId]) {
         for (GameItem item : c.getTradeAndDuel().offeredItems) {
          if(item.id == removeId) {
           c.getTradeAndDuel().fromTrade(removeId, removeSlot, c.getTradeAndDuel().offeredItems.get(removeSlot).amount);
          }
         }
        } else {
         for (GameItem item : c.getTradeAndDuel().offeredItems) {
          if(item.id == removeId) {
           c.getTradeAndDuel().fromTrade(removeId, removeSlot, 28);
          }
         }
        }
                } 
       break;
     
       case 6669:
       if(Item.itemStackable[removeId] || Item.itemIsNote[removeId]) {
        for (GameItem item : c.getTradeAndDuel().stakedItems) {
         if(item.id == removeId) {
          c.getTradeAndDuel().fromDuel(removeId, removeSlot, c.getTradeAndDuel().stakedItems.get(removeSlot).amount);
         }
        }
     
       } else {
        c.getTradeAndDuel().fromDuel(removeId, removeSlot, 28);
       }
       break;
      }
     }
    }
    The wor has begun.


    Reply With Quote  
     

  10. #119  
    Registered Member
    Join Date
    Apr 2010
    Posts
    97
    Thanks given
    1
    Thanks received
    4
    Rep Power
    1
    Heres my errors help please :/ reply on my msn if you can msn: [Only registered and activated users can see links. ]

    Code:
    src\server\model\players\Player.java:774: cannot find symbol
    symbol  : class GameItem
    location: class server.model.players.Player
                    for (GameItem item : c.getTradeAndDuel().offeredItems) {
                         ^
    src\server\model\players\Player.java:778: cannot find symbol
    symbol  : class GameItem
    location: class server.model.players.Player
                    for (GameItem item : o.getTradeAndDuel().offeredItems) {
                         ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Press any key to continue . . .
    Reply With Quote  
     

  11. #120  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    16
    Posts
    4,364
    Thanks given
    1,027
    Thanks received
    703
    Discord
    View profile
    Rep Power
    2991
    Quote Originally Posted by ladesman120 View Post
    Heres my errors help please :/ reply on my msn if you can msn: [Only registered and activated users can see links. ]

    Code:
    src\server\model\players\Player.java:774: cannot find symbol
    symbol  : class GameItem
    location: class server.model.players.Player
                    for (GameItem item : c.getTradeAndDuel().offeredItems) {
                         ^
    src\server\model\players\Player.java:778: cannot find symbol
    symbol  : class GameItem
    location: class server.model.players.Player
                    for (GameItem item : o.getTradeAndDuel().offeredItems) {
                         ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Press any key to continue . . .
    You add that method in TradeAndDuel
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

Page 12 of 21 FirstFirst ... 21011121314 ... LastLast

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. [PI] Fixing the 'Offer X' bug in trade screen
    By Chimeric in forum Snippets
    Replies: 12
    Last Post: 03-04-2012, 05:05 AM
  2. [PI] Drop in Trade Screen Dupe Fixed
    By HiImRusty in forum Snippets
    Replies: 5
    Last Post: 07-19-2010, 12:06 AM
  3. Wealth Transfer?
    By Xuzk in forum Requests
    Replies: 8
    Last Post: 12-04-2009, 01:44 AM
  4. Replies: 4
    Last Post: 12-02-2009, 12:26 AM
  5. [508]Wealth Transfer[508]
    By Gluon in forum Tutorials
    Replies: 38
    Last Post: 07-02-2009, 02:15 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
  •