Register for your free account! | Forgot your password?

You last visited: Today at 08:38

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

 

[C++] No EXP or SPECIAL EXP BONUS for some maps

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2017
Posts: 15
Received Thanks: 24
[C++] No EXP or SPECIAL EXP BONUS for some maps

Actually we can block exp or add special exp bonus to several maps.
Here I'll show you how.

Open char_battle.cpp and search for:
Code:
if (to->GetMapIndex() >= 660000 && to->GetMapIndex() < 670000)
After the statement put this (for blocking exp on a map):
Code:
if (to->GetMapIndex() == MAPINDEX) 
         iExp == 0;
Or put this (for extra exp bonus):
Code:
if (to->GetMapIndex() == MAPINDEX) 
         iExp += iExp * 10 / 100;
iExp += iExp * 10 / 100;
in this case it's +10% exp bonus but you can change the percentage by changing the number highlighted in red



ericblck is offline  
Thanks
7 Users
Old   #2
 
elite*gold: 35
Join Date: Jan 2014
Posts: 1,413
Received Thanks: 265
Merci !


Drαεth is offline  
Old   #3
 
elite*gold: 0
Join Date: Sep 2010
Posts: 73
Received Thanks: 31
Merci bien !
galetlefrancais is offline  
Old   #4

 
elite*gold: 1
Join Date: Aug 2014
Posts: 1,378
Received Thanks: 293
Sehr nützlich danke dir!


.0x404´Err0xR is offline  
Old   #5
 
elite*gold: 309
Join Date: Jun 2012
Posts: 4,845
Received Thanks: 4,639
merci... Simple.. danke das du gezeigt hast wo das zu finden ist.
Daraus könnte man ne nette config option schreiben, zbsp bei welchen maps kein exp gegeben wird und bei welchen maps spezial und wv
Lauling is offline  
Old   #6
 
elite*gold: 0
Join Date: Aug 2011
Posts: 164
Received Thanks: 11
Wenn man das macht, gillt das dann für alle maps?
gamehacker1 is offline  
Old   #7
 
elite*gold: 0
Join Date: May 2017
Posts: 7
Received Thanks: 0
Nein, du musst deine MAPINDEX eintragen.. dann gilt das auch nur für diese MAPINDEX


Aiceal is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Koordinaten] Alle Maps ; Neue Maps ; Unbekannte Maps.
Hallu o.o Das Tool von Eddy² hat mich auf die Idee gebracht, alle Orte mal aufzulisten, mit den Koordinaten die man brauch um sich dahin zu...
28 Replies - Metin2 PServer Guides & Strategies



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


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.