Register for your free account! | Forgot your password?

You last visited: Today at 22:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Trade problem

Discussion on [Help] Trade problem within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2008
Posts: 19
Received Thanks: 1
[Help] Trade problem

ok um the requesting trade function...i dont think its coded correctly and i tried several times trying to fix it. heres the problem. whenever someone requests trade to me 2 times and i click no it opens up the trade box even if i click no. and the annoying part is you can keep spamming other players like forcing the trade box open.
heres the code for requesting trade. anyone know how to make it better?
Code:
                                case 1://Request trade
                                    {
                                        Character Who = (Character)World.AllChars[UID];
                                        if (UID != Character.TradingWith)
                                        {
                                            Who.MyClient.SendPacket(General.MyPackets.TradePacket(Character.UID, 1));
                                            Character.TradingWith = UID;
                                            Who.TradingWith = Character.UID;
                                            SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", Character.Name, "[Trade]Request for trading has been sent out.", 2005));
                                        }
                                        else
                                        {
                                            Who.Trading = true;
                                            Character.Trading = true;
                                            Who.MyClient.SendPacket(General.MyPackets.TradePacket(Character.UID, 3));
                                            SendPacket(General.MyPackets.TradePacket(Who.UID, 3));
                                        }
 
                                        break;
                                    }
crappyreleases2 is offline  
Old 05/11/2009, 00:24   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
try to make it so even if it clicks twice like if trades twice then wont let him..i dont have time to look at it atm since i dont have a source ><
PeTe Ninja is offline  
Reply


Similar Threads Similar Threads
Problem with TRADE HACK -.- [p-serv]
08/12/2008 - Kal Online - 1 Replies
Hello peepz! I only need 1min help from you..I read the post from "bloodx" about trade hack, and i dont understand one thing.. I have UCE from Ghostkillergirl bloodx post about trade hack:
Account Trade -The Black Market opening/no acc trade in this Forum !!!
10/14/2007 - Kal Online - 1 Replies
http://www.elitepvpers.com/images/tbmopening.gif ger: Wir haben uns nun entschlossen die Account/Item/Gold (etc.) Trades im Forum wieder zu tolerieren. Anders als früher gibt es nun eine komplette Kategorie für die Angebote und Suche von Trades. In dem Black Market forum darf jeder user seine Angebote/Suche posten, unteranderem hat auch jeder die Berechtigung seinen eigenen Thread zu schließen sobald der Deal erledigt ist. Bitte postet alle Trades absofort in dem "The Black Market"...



All times are GMT +1. The time now is 22:24.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.