Hey,Guest we see you didn't join yet?
Click Register to register,Or login to login to the forums.
We hope you have a great time on our forums.

Join the forum, it's quick and easy

Hey,Guest we see you didn't join yet?
Click Register to register,Or login to login to the forums.
We hope you have a great time on our forums.

Would you like to react to this message? Create an account in a few clicks or log in to continue.

+4
Mr Troy
Drum Bass
Tears
i just did
8 posters

    Dupe fix [delta]

    i just did
    i just did
    Moderators
    Moderators


    Number of posts : 562
    Rep: : 32
    Registration date : 2009-03-14
    Age : 33

    Dupe fix [delta] Empty Dupe fix [delta]

    Post  i just did Sat Apr 04, 2009 4:00 am

    Ok this tutorial was denied the first time so i am going to explain a few more things =)

    Step 1:

    We want to open client.java and search for

    Code:

    if (inTrade && (System.currentTimeMillis() - lastButton > 1000)) {


    You should see:

    Code:


    if (inTrade && (System.currentTimeMillis() - lastButton > 1000)) {
                lastButton = System.currentTimeMillis();
                getClient(trade_reqId).sM("Other player has declined the trade.");
                declineTrade();
             }


    What we want to do now is to "refresh" the declinetrade or should i call it strengthen it. when you add the code below it will send a shorter version of the decline trade to the other trader... so we don't need any timers at all and the Duping should be solved once again...there is other ways of doing this but it's slighty but harder and takes a little longer to get working on the server. We also need to remove the Systemtime Milli stuff.

    Now lets begin changing the code Razz
    replace the above code you just found in client.java with the below code:

    Code:


             if (inTrade) {            
                getClient(trade_reqId).sM("Other player has declined the trade.");
                declineTrade();
                getClient(trade_reqId).declineTrade();
                closeInterface();
                getClient(trade_reqId).closeInterface();
             }



    Credits to Maijn Buu
    avatar
    Tears
    Grand master poster
    Grand master poster


    Number of posts : 1036
    Rep: : 46
    Registration date : 2009-03-16
    Age : 30
    Location : Sydney, Australia

    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  Tears Sat Apr 04, 2009 4:15 am

    Man you should try out for coder =].
    I reckon you'd come in handy xDD.

    Tears.

    And long time no talk =]
    Drum Bass
    Drum Bass
    super poster
    super poster


    Number of posts : 362
    Rep: : 9
    Registration date : 2009-03-27
    Age : 31
    Location : England

    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  Drum Bass Sat Apr 04, 2009 4:39 am

    People also dupe in Trades
    Mr Troy
    Mr Troy
    newby
    newby


    Number of posts : 30
    Rep: : 3
    Registration date : 2009-03-26
    Age : 31
    Location : Holland

    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  Mr Troy Sat Apr 04, 2009 5:30 am

    All ur stuff leached from : rune-server.

    Gf lmao.
    razor
    razor
    Admin
    Admin


    Number of posts : 45
    Rep: : 3
    Registration date : 2009-03-14
    Age : 30
    Location : Sweden

    Dupe fix [delta] Empty [Administrator Razor]

    Post  razor Sat Apr 04, 2009 6:10 am

    Plus That Make It Worse ..

    But Fixed Duping Today


    Last edited by razor on Sun Apr 05, 2009 8:38 am; edited 1 time in total
    i just did
    i just did
    Moderators
    Moderators


    Number of posts : 562
    Rep: : 32
    Registration date : 2009-03-14
    Age : 33

    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  i just did Sat Apr 04, 2009 6:37 am

    Mr Troy wrote:All ur stuff leached from : rune-server.

    Gf lmao.

    Not leeched, See credit list ?
    t4nker
    t4nker
    Starter
    Starter


    Number of posts : 91
    Rep: : 0
    Registration date : 2009-04-12

    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  t4nker Tue Apr 14, 2009 1:25 am

    nice.
    now we need economy reset :s
    Ainergie
    Ainergie
    Starter
    Starter


    Number of posts : 102
    Rep: : 4
    Registration date : 2009-03-22
    Age : 33
    Location : Belgium, Bruxelles

    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  Ainergie Tue Apr 14, 2009 5:41 am

    Mr Troy wrote:All ur stuff leached from : rune-server.

    Gf lmao.


    Yes but he said "Credits to Maijn Buu"

    Gf lmao.
    lt_fire_cape
    lt_fire_cape
    super poster
    super poster


    Number of posts : 319
    Rep: : 13
    Registration date : 2009-04-08
    Age : 31
    Location : spain,born in england manchester

    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  lt_fire_cape Sun Apr 26, 2009 3:11 pm

    aparently u can still dupe on ti serve but thats what ive ben told.





    lt fire Twisted Evil

    Sponsored content


    Dupe fix [delta] Empty Re: Dupe fix [delta]

    Post  Sponsored content


      Current date/time is Thu Nov 21, 2024 9:55 pm