Register for your free account! | Forgot your password?

You last visited: Today at 08:30

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

Advertisement



Trade Bug/Problem

Discussion on Trade Bug/Problem within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Trade Bug/Problem

Hey guys...I got a problem...every time somebody trades with some other player and both players press OK the trade cancels (even though the items and silvers are traded)
I made it so that it tells me the Types that are called during the trade...
First Player Pressing Ok --> case 10
Second Player Pressing Ok --> case 10
After they both pressed OK --> case 2 (for both of the players)
Case 10:
Case 2:
Suggestions?
ryuchetval is offline  
Old 10/26/2010, 12:37   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Errr yeah that CancelTrade method shouldnt be there, you should write a similar method called CompleteTrade or something like that which sends the correct packets to end the trade.
Korvacs is offline  
Old 10/26/2010, 20:10   #3
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
well but case 2 is called both when pressing cancel/ both press OK so...how am I supossed to do it...make a bool value (or 2) and in case 2 make if bool1 then cancel else completetrade?
ryuchetval is offline  
Old 10/26/2010, 20:46   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
That would be one way of doing it yes, you would need a check like this anyway to confirm that both members were ready to trade.
Korvacs is offline  
Thanks
1 User
Old 10/27/2010, 21:18   #5
 
elite*gold: 0
Join Date: Sep 2008
Posts: 128
Received Thanks: 8
Search for [Release] Trade , has been started by WTFIDKBBQ (aKa Arco)...
Press Thanks if it helped.
StefanHAKER is offline  
Old 10/27/2010, 22:07   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by StefanHAKER View Post
Search for [Release] Trade , has been started by WTFIDKBBQ (aKa Arco)...
Press Thanks if it helped.
That's not even part of the problem
Arcо is offline  
Old 10/28/2010, 11:59   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 128
Received Thanks: 8
Quote:
Originally Posted by WTFIDKBBQ View Post
That's not even part of the problem
I Don't Know then..
StefanHAKER is offline  
Old 10/28/2010, 20:23   #8
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Quote:
Originally Posted by StefanHAKER View Post
I Don't Know then..
no need...Korvacs helped me out already
ryuchetval is offline  
Reply


Similar Threads Similar Threads
[Help] Trade problem
05/11/2009 - CO2 Private Server - 1 Replies
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? case 1://Request trade ...
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:



All times are GMT +1. The time now is 08:32.


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.