Register for your free account! | Forgot your password?

You last visited: Today at 10:39

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

Advertisement



[C++] Fix exp exploit

Discussion on [C++] Fix exp exploit within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 336
[C++] Fix exp exploit

Hallo All

That is fix for exploit that is only exist in arabic - turkey servers !

open char_item.cpp

search :


Code:
case ITEM_RAMADAN_CANDY:


add after
Code:
                                    if (FindAffect(AFFECT_RAMADAN_ABILITY))
                                    {
                                        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ہج¹ج ب؟°ْ°، °ة·ء ہض½ہ´د´ظ."));
                                        return false;
                                    }


it will looks like :



have good day !
MrLibya is offline  
Thanks
9 Users
Old 05/24/2016, 18:45   #2
 
elite*gold: 260
Join Date: Jan 2013
Posts: 178
Received Thanks: 103
well done and good timing Ramadan is close.
Metin2 Team is offline  
Thanks
3 Users
Old 05/26/2016, 12:59   #3
 
elite*gold: 2518
Join Date: Feb 2008
Posts: 1,368
Received Thanks: 1,287
Quote:
Originally Posted by MrLibya View Post
Hallo All

That is fix for exploit that is only exist in arabic - turkey servers !

open char_item.cpp

search :


Code:
case ITEM_RAMADAN_CANDY:


add after
Code:
                                    if (FindAffect(AFFECT_RAMADAN_ABILITY))
                                    {
                                        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ہج¹ج ب؟°ْ°، °ة·ء ہض½ہ´د´ظ."));
                                        return false;
                                    }


it will looks like :



have good day !
Hi,

"That is fix for exploit that is only exist in arabic - turkey servers !",
is there any locale check above?
It seems like this exploit also exists on german servers supporting the ramadan event.

GER: Auch die Deutschen Server haben dieses Problem.

Kind regards
Sphinx
Sphinx² is offline  
Old 05/26/2016, 13:00   #4
 
elite*gold: 50
Join Date: May 2011
Posts: 269
Received Thanks: 986
I do not understand, really.
What are you talking about? Exploit? Under what circumstances?
Your code is not bad, but the override parameter is true.
I was test right now, I used a lot of from this ramadan item but I did not found any problem.
xP3NG3Rx is offline  
Thanks
1 User
Old 05/26/2016, 13:06   #5
 
elite*gold: 100
Join Date: Dec 2014
Posts: 93
Received Thanks: 51
Quote:
Originally Posted by xP3NG3Rx View Post
I do not understand, really.
What are you talking about? Exploit? Under what circumstances?
Your code is not bad, but the override parameter is true.
I was test right now, I used a lot of from this ramadan item but I did not found any problem.
Same
fcsk_aim is offline  
Old 05/26/2016, 14:50   #6
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 336
Quote:
Originally Posted by Sphinx² View Post
Hi,

"That is fix for exploit that is only exist in arabic - turkey servers !",
is there any locale check above?
It seems like this exploit also exists on german servers supporting the ramadan event.

GER: Auch die Deutschen Server haben dieses Problem.

Kind regards
Sphinx
i said arabic - turkey server cuz thos are who only use this event



Quote:
Originally Posted by xP3NG3Rx View Post
I do not understand, really.
What are you talking about? Exploit? Under what circumstances?
Your code is not bad, but the override parameter is true.
I was test right now, I used a lot of from this ramadan item but I did not found any problem.
in old files that has same bug , when i use the item and get 5% exp , then use it again u will get more exp bonus..etc

MrLibya is offline  
Old 05/26/2016, 15:42   #7
 
elite*gold: 50
Join Date: May 2011
Posts: 269
Received Thanks: 986
Override is true in r34k also:
Code:
            if ( v110 == 50183 )
            {
              v326 = CItem__GetValue(a2, 0);
              v327 = CItem__GetValue(a2, 1);
              v328 = CItem__GetValue(a2, 2);
              v329 = CItem__GetValue(a2, 3);
              CHARACTER__AddAffect(a1, 300, 19, v327, 12, v326, 0, 1, 1);
              CHARACTER__AddAffect(a1, 300, 114, v328, 0, v326, 0, 1, 1);
              CHARACTER__AddAffect(a1, 300, 116, v329, 0, v326, 0, 1, 1);
              v330 = CItem__GetCount(a2);
              CItem__SetCount(a2, v330 - 1);
              result = 1;
              goto LABEL_32;
            }
What makes you think that only Arabs used?
Other countries this event is unavailable or what?
xP3NG3Rx is offline  
Old 05/26/2016, 16:59   #8
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 336
Quote:
Originally Posted by xP3NG3Rx View Post
Override is true in r34k also:
Code:
            if ( v110 == 50183 )
            {
              v326 = CItem__GetValue(a2, 0);
              v327 = CItem__GetValue(a2, 1);
              v328 = CItem__GetValue(a2, 2);
              v329 = CItem__GetValue(a2, 3);
              CHARACTER__AddAffect(a1, 300, 19, v327, 12, v326, 0, 1, 1);
              CHARACTER__AddAffect(a1, 300, 114, v328, 0, v326, 0, 1, 1);
              CHARACTER__AddAffect(a1, 300, 116, v329, 0, v326, 0, 1, 1);
              v330 = CItem__GetCount(a2);
              CItem__SetCount(a2, v330 - 1);
              result = 1;
              goto LABEL_32;
            }
What makes you think that only Arabs used?
Other countries this event is unavailable or what?
cuz it's Muslims event and I didn't see german server has this event, just Arabic - turkey
MrLibya is offline  
Old 05/26/2016, 18:50   #9
 
elite*gold: 2518
Join Date: Feb 2008
Posts: 1,368
Received Thanks: 1,287
Quote:
Originally Posted by MrLibya View Post
cuz it's Muslims event and I didn't see german server has this event, just Arabic - turkey
The german servers also support this event.
I'm not sure if this is really an exploit just saw that
"case ITEM_NOG_POCKET:" above also do this check.

edit:
AddAffect override parameter is true, so this just
give an error message if the affect already exists to avoid
that the player lose the item for an affect that is not expired.

Kind regards
Sphinx
Sphinx² is offline  
Old 05/26/2016, 19:06   #10
 
elite*gold: 50
Join Date: May 2011
Posts: 269
Received Thanks: 986
Yes, this was clear for (I hoped not only)me, I tried to figure out why thought this to an exploit, because this is not that.

Quote:
Originally Posted by MrLibya View Post
in old files that has same bug , when i use the item and get 5% exp , then use it again u will get more exp bonus..etc
Not bad.
xP3NG3Rx is offline  
Thanks
1 User
Old 05/30/2016, 16:18   #11
 
elite*gold: 0
Join Date: Oct 2012
Posts: 2,341
Received Thanks: 3,359
Quote:
Originally Posted by Lauling View Post
going Christian and u don't Need this, do you don't use the Event !
Wenn du die englische Sprache nicht beherrschst, lass es bitte.


Und ich sehe da irgendwie keinen Fix, bzw. keinen Sinn für solch einen "Fix"?!
Mr. 'Avenue™ is offline  
Thanks
2 Users
Old 05/30/2016, 17:53   #12
 
elite*gold: 0
Join Date: Feb 2012
Posts: 95
Received Thanks: 29
this is indeed a bug if compared with how it goes in gf , and be logical after why would you be allowed to use an item that boost your exp (even if it is just by 5%) n times ?
the reason why you do not understand is bcz most of you does not use this event, (though it is quite the simple one).
anyway. think about it again and read that simple change once more.
kstmr is offline  
Thanks
1 User
Old 05/30/2016, 22:00   #13
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,166
Received Thanks: 4,809
Quote:
Originally Posted by Mr. 'Avenue™ View Post
Wenn du die englische Sprache nicht beherrschst, lass es bitte.


Und ich sehe da irgendwie keinen Fix, bzw. keinen Sinn für solch einen "Fix"?!
tut mir leid, willst du mir english stunden anbieten?
Lauling is offline  
Old 05/31/2016, 14:18   #14
 
elite*gold: 0
Join Date: Nov 2011
Posts: 395
Received Thanks: 29
Quote:
Originally Posted by Lauling View Post
going Christian and u don't Need this, do you don't use the Event !
shut up sht
Laben is offline  
Old 05/31/2016, 15:10   #15
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,166
Received Thanks: 4,809
Quote:
Originally Posted by Laben View Post
shut up sht
who are u? u noname talk to me?
Lauling is offline  
Reply


Similar Threads Similar Threads
[Exploit] How To Exploit Garen Ult Mechanic For Extended Range
11/26/2011 - League of Legends - 9 Replies
How To Exploit Garen Ult Mechanic For Extended Range - YouTube not my Video, so dont thank me :)
Guild Vault Exploit/Gpromote Exploit (working on 3.0.3 servers)
01/12/2009 - WoW PServer Exploits, Hacks & Tools - 1 Replies
Credits go to powerget23 from MM0wned tested and confirmed, have fun XD



All times are GMT +1. The time now is 10:39.


Powered by vBulletin®
Copyright ©2000 - 2021, 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.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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