Thread: Fixing One Trade Bug In Czar

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Fixing One Trade Bug In Czar 
    Software
    Guest
    Description: This Tutorial fixes the trading bug that when u just show any item Or item's and just decline you loose the item's.

    Difficulty: 0.1

    Assumed Knowledge: Nothing.

    Tested Server: Czar

    Files/Classes Modified: client.java

    Note:The bug Is that u showed any item or item's in trade and just declined the trade u loosed the items.

    Procedure

    Step 1: Open Up your client.java and find:
    Code:
    public void DeclineTrade() {


    Step 2: [i]U Should See this:
    Code:
    public void DeclineTrade() {
            if (!hasAccepted) {
                for (int i = 0; i < playerTItems.length; i++) {
                    if (playerTItems[i] > 0) {
                        if (tradeStatus < 4) {
                            fromTrade((playerTItems[i] - 1), i, playerTItemsN);
                        }
                    }
                }
            }
    		resetItems(3214);
            resetTrade();
        }


    Step 3: Take Out the
    Code:
    resetItems(3214);
    and ur done


    I just found the bug while i was chekking trade things

    Credits: Software 100 %
     

  2. #2  
    Joshz
    Guest
    i didnt know this was a bug
     

  3. #3  
    Registered Member i cliff i's Avatar
    Join Date
    Dec 2007
    Posts
    294
    Thanks given
    0
    Thanks received
    0
    Rep Power
    33
    ty for this many ppl complained about items .... ty
     

  4. #4  
    Software
    Guest
    Quote Originally Posted by Joshz View Post
    i didnt know this was a bug
    glitch or bug it doesnt matter
     

  5. #5  
    Registered Member
    novalye's Avatar
    Join Date
    Sep 2007
    Posts
    784
    Thanks given
    1
    Thanks received
    0
    Rep Power
    393
    What did it do, the Bug?
     

  6. #6  
    Software
    Guest
    Quote Originally Posted by novalye View Post
    What did it do, the Bug?
    Well the bug did that when u only like showed any item or items and just declined the trade u loosed the items =)
     

  7. #7  
    Registered Member

    Join Date
    Sep 2007
    Age
    32
    Posts
    2,396
    Thanks given
    5
    Thanks received
    436
    Rep Power
    902
    this isnt only in czar its in most sources including enkrona happened to me loads in that server not needed for dodian though good job even tho u hate me lol hacked my comp yet ?
    Hyperion V2 Martin's Updates.

    Scar says:
    i hate it when it hits your face
     

  8. #8  
    Software
    Guest
    Quote Originally Posted by mad turnip View Post
    this isnt only in czar its in most sources including enkrona happened to me loads in that server not needed for dodian though good job even tho u hate me lol hacked my comp yet ?
    Anyways hi again mate btw.Does this bug was in other sources too =0?
     

  9. #9  
    patrick m 25
    Guest
    I don't even have the !hasAccepted part..
     

  10. #10  
    Registered Member

    Join Date
    Jan 2008
    Posts
    1,338
    Thanks given
    243
    Thanks received
    85
    Rep Power
    250
    oo nice if there is somekind of bug like it didnt find
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •