Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 04:47

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

Advertisement



[Guide]Exploits -logic, examples, solutions

Discussion on [Guide]Exploits -logic, examples, solutions within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 09/28/2012, 23:02   #16
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by -impulse- View Post
It wouldn't work like that given you would use an unsigned type (I know it's just an example, but still give a proper example)

In CO's case a int would work fine with the given example like this:

public int Money
{
get { return _money; }
set { value < 0? _money = 0: _money = value; }
}

Wow... that's what I get for typing things out in the middle of the night. I'm aware of that but just had a very blonde moment. Thanks for the corrections. Accuracy ftw!
pro4never is offline  
Old 10/21/2012, 16:46   #17
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
how about this one

PHP Code:
public uint ConquerPoints
        
{
            
get { return _conquerpoints; }
            
set 
            
{
                if (
value <= 0)
                 
value 0;
                
_conquerpoints value;
                if (
EntityFlag == EntityFlag.Player)
                    
Update(Network.GamePackets.Update.ConquerPoints, (uint)valuefalse);
            }
        } 
marlyandedsel is offline  
Old 10/21/2012, 16:59   #18
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
mate it doesn't really matter the conquer points being uint or int , both are exploitable
the uint can be exploited by negative cash like i showed in funnyco
the int gives underflow(what u name it ?) the one i showed in this thread

so it doesn't really matter being uint or int , what matters is to add checks on it
go for it is offline  
Old 10/21/2012, 17:16   #19
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
i always use something like this when it involve conquerpoints or silver

example:
PHP Code:
 if (client.Entity.Money >= 1000)
                                                {
                                                    
client.Entity.Money -= 1000;
                                                    
client.Entity.Teleport(60003272);
                                                }
                                                else
                                                {
                                                    
dialog.Text("You need 1000 silvers to be able to enter the jail.");
                                                    
dialog.Option("Alright."255);
                                                } 
is it exploitable?
marlyandedsel is offline  
Old 10/21/2012, 17:44   #20
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Nope. Also why do you check the entity flag for your conquer points? Aren't they only available to players anyways? Otherwise your source must be coded a hell weird and wrong way o.o
I don't have a username is offline  
Thanks
1 User
Old 10/21/2012, 17:59   #21
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
Quote:
Originally Posted by I don't have a username View Post
Nope. Also why do you check the entity flag for your conquer points? Aren't they only available to players anyways? Otherwise your source must be coded a hell weird and wrong way o.o
ops yea sorry with it, it was just in my backup source i have removed it already...
marlyandedsel is offline  
Reply


Similar Threads Similar Threads
Full version new Zygor guide v3.3.2898
11/30/2011 - WoW Guides & Templates - 7 Replies
Full version new Zygor guide v3.3.2898 This includes the following guides Leveling Addon Talent Advisor Loremaster Dailies Event(s) Reputation
Socketing talismans with free item danger?!?
04/06/2009 - Conquer Online 2 - 26 Replies
Seems like there have been some reports of TQ confiscating people talismans that where socket with free items. Is that true or is just some lame guy that doesnt have anything better to do but mess with us or was probably hacked, and since TQ changed the bonus quests they might have added a way to detect if a free item was used. Did anyone used free items since the changes? and keept their talismans? BTW TQ screwed the bonus equipment quest and you can do them again even if you had done...
[EXPLOIT] Socketing glitch
12/11/2005 - Conquer Online 2 - 5 Replies
hey how about we hide the thread mods? we don't want too many ppl knowin this or else socket boots w/ would be priceless



All times are GMT +1. The time now is 04:49.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.