Please Register and Login to our forum to access all features!
ROTMG free hack Hack ROTMG and Private Server ROTMG Private Server
Play ROTMG Tool Private Server Play ROTMG Hacked Client
View the Frequently Asked Questions Donate to ROTMG Tool Visit the Community Site
Realm of the Mad God Hacks, Cheats and Private Server - Come as Guests, Stay as Family!
Advertisement

Stopping the Trade Dupe - ROTMG Tool


Download the source files to run your very own Realm of the Mad God private server, or share modifications and other releases

Stopping the Trade Dupe

Postby Ahlwong » Tue 23 Sep, 2014 5:50 pm

The dupe where you can trade and then accept the trade and then leave can be stopped now.

I made this fix.

Code: Select all
public void Disconnect()
        {
            try
            {
                if (stage == ProtocalStage.Disconnected) return;
                var original = stage;
                stage = ProtocalStage.Disconnected;
                if (account != null)
                    DisconnectFromRealm();
                if (db != null && original != ProtocalStage.Ready)
                {
                    db.Dispose();
                    db = null;
                }
                if (tradeTarget.tradeTarget != null)
                   psr.SendPacket(new TradeDonePacket
                {
                    Result = 1,
                    Message = "Trade cancelled."
                });
                    tradeTarget.psr.SendPacket(new TradeDonePacket
                {
                    Result = 1,
                    Message = "Trade cancelled."
                });
                   
                skt.Close();
            }
            catch (Exception e)
            {
                Console.ForegroundColor = ConsoleColor.DarkBlue;
                Console.WriteLine("Error disconnecting client, check ClientProcessor.cs");
                Console.ForegroundColor = ConsoleColor.White;
            }
        }


This can be found in /wserver/clientprocessor.cs

Just find the line and replace it with the fix.

For proof go to
* Please Register and Login to see links *
ROTMG Tool Rank Achievements:
Developer from April 2014 - June 2016
Helper from April 2014 - June 2014
Moderator from June 2014 - August 2014
Global Moderator from August 2014 - October 2014
Supreme Moderator from October 2014 - March 2016
YouTube Team Director from August 2015 - October 2016
Ex-Staff since June 2016
My legend ends here. It's your time to build your legend!
User avatar
Ahlwong<i> Offline</i>
Ex-Staff
Ex-Staff
Posts: 1601
Joined: Feb '14
PS Name: Ahlwong
Location: Sydney
Thanks: 171
Member of the Quarter Nuclear Award Created Award Great Ideas Award YouTube Medal
Bug Zapper Award LMAO Award 20k Posts Day! [OLD] Member of the Month

Re: Stopping the Trade Dupe

Postby Cat » Tue 23 Sep, 2014 6:30 pm

Cool :D

Nice to have that dupe taken off
Can we also take off the /sell
Member
Helper
Junior Moderator
Global Moderator
You don't need ranks to feel cool
User avatar
Cat<i> Offline</i>
Ex-Staff
Ex-Staff
Posts: 1758
Joined: Nov '13
PS Name: Cat
Location: Somewhere where Soren can't eat me!
Thanks: 46
YouTube Medal Bug Zapper Award 20k Posts Day! [OLD] Member of the Month

Re: Stopping the Trade Dupe

Postby SorenOwl » Tue 23 Sep, 2014 7:01 pm

Ahlwong I have something just like this.
But it fixes another dupe at the same time <3!
Image
*note* I am Organized Chaos part of the Chaos-Coders hacking group I founded and I am also Chaos Graphics
I work for multiple servers atm
I am not up for hire
I am also working for lust gaming *dot*net


Please take your time to...
PM me if anyone hacks, dupes, etc,...
Pm if you just want to chat
Pm if you need any help!

Please Pm me if anyone hacks, dupes, spamming, or is being a nuisance to the /psplay.php, /pplay.php or Rotmgtool.com/bb environment. *WE NEED PROOF OF THIS*
User avatar
SorenOwl<i> Offline</i>
Ex-Staff
Ex-Staff
Posts: 3310
Joined: Feb '14
PS Name: SorenOwl
Location: My nest
Thanks: 51
Nuclear Award Created Award Great Ideas Award Bug Zapper Award LMAO Award
20k Posts Day! [OLD] Member of the Month

Re: Stopping the Trade Dupe

Postby Ahlwong » Tue 23 Sep, 2014 9:57 pm

SorenOwl wrote:Ahlwong I have something just like this.
But it fixes another dupe at the same time <3!

Yeah but still Hai needs to add it in
ROTMG Tool Rank Achievements:
Developer from April 2014 - June 2016
Helper from April 2014 - June 2014
Moderator from June 2014 - August 2014
Global Moderator from August 2014 - October 2014
Supreme Moderator from October 2014 - March 2016
YouTube Team Director from August 2015 - October 2016
Ex-Staff since June 2016
My legend ends here. It's your time to build your legend!
User avatar
Ahlwong<i> Offline</i>
Ex-Staff
Ex-Staff
Posts: 1601
Joined: Feb '14
PS Name: Ahlwong
Location: Sydney
Thanks: 171
Member of the Quarter Nuclear Award Created Award Great Ideas Award YouTube Medal
Bug Zapper Award LMAO Award 20k Posts Day! [OLD] Member of the Month

Re: Stopping the Trade Dupe

Postby Hai » Wed 08 Oct, 2014 8:39 am

Ahlwong wrote:
SorenOwl wrote:Ahlwong I have something just like this.
But it fixes another dupe at the same time <3!

Yeah but still Hai needs to add it in


Thanks, this will be added into the next build :)
Privacy Policy | Forum Rules | Server Rules
Image

contact me by email, at:
Code: Select all
[email protected]
User avatar
Hai<i> Offline</i>
Administrator
Administrator
Posts: 2348
Joined: Apr '13
PS Name: Hai
Location: England
Thanks: 114
Member of the Quarter Nuclear Award Dev Award Created Award Great Ideas Award
YouTube Medal Bug Zapper Award LMAO Award 20k Posts Day! [OLD] Member of the Month

Re: Stopping the Trade Dupe

Postby Nyaro » Wed 08 Oct, 2014 11:10 am

Omfg
Thank u Ahl
Big Love
( Much homo jk LOL)

next build will be the best.
hi
User avatar
Nyaro<i> Offline</i>
Staff Manager
Staff Manager
Posts: 1460
Joined: Apr '14
PS Name: Nyaro
Location: Germany
Thanks: 112
Nuclear Award Created Award Great Ideas Award YouTube Medal Bug Zapper Award
LMAO Award 20k Posts Day! [OLD] Member of the Month

Re: Stopping the Trade Dupe

Postby Vanilla » Wed 08 Oct, 2014 12:34 pm

for the /sell
We shouldn't exactly get rid of it because some items
can be worth some good fame
User avatar
Vanilla<i> Offline</i>
Helper
Helper
Posts: 1120
Joined: Feb '14
PS Name: Vanilla
Location: CandyLand
Thanks: 5
Member of the Quarter YouTube Medal Bug Zapper Award

Re: Stopping the Trade Dupe

Postby RegalDerp » Wed 08 Oct, 2014 3:42 pm

I can't wait for the next build. That get rids of like 10000000 dupers. Thx Ahl.
-Regal
Nom Nom :3
RegalDerp<i> Offline</i>
Ex-Staff
Ex-Staff
Posts: 858
Joined: Jun '14
PS Name: Regal
Location: In the Depths of RotmgTool...
Thanks: 47
Created Award Great Ideas Award Bug Zapper Award [OLD] Member of the Month