Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 16:08

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

Advertisement



[C++/Source] Item Bonus auf Maps

Discussion on [C++/Source] Item Bonus auf Maps within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2015
Posts: 67
Received Thanks: 13
[C++/Source] Item Bonus auf Maps

Guten Abend,

Ich habe hier eine kleine Funktion geschrieben, und diese soll Bonuse
von Item`s auf Maps ändern.
Jedoch klappt meine const int Funktion nicht.

Eingefügt im Code -> bool CHARACTER::EquipItem(LPITEM item, int iCandidateCell)
PHP Code:
    /* Item Bonus Check */
    
const int item_table[3] = { 271274275 };
    const 
int index_warp[12] = { 1214181621101111136358143243 };
    
    if(
iWearCell == WEAR_WEAPON && (GetMapIndex() == 26) && item_table[item->GetVnum()])
    {
        
/* Add Affect */
        
ChatPacket(CHAT_TYPE_INFO"Angezogen.");
        
        if(
item_table[item->IsEquipped()] && index_warp[GetMapIndex()])
        {
            
/* Remove Affect */
            
AutoGiveItem(710511);
            
ChatPacket(CHAT_TYPE_INFO"Warp Village: Remove Effect");
        }
    }
    
/* Item Bonus Check Ende */ 
Eingefügt im Code -> bool CHARACTER::UnequipItem(LPITEM item, int iCandidateCell)
PHP Code:
    /* Item Bonus Check */
    
const int item_table[3] = { 271274275 };
    
    if(
iWearCell == WEAR_WEAPON && (GetMapIndex() == 26) && item_table[item->GetVnum()])
    {
        
ChatPacket(CHAT_TYPE_INFO"Ausgezogen.");
        
        
/* Remove Effect*/
    
}
    
/* Item Bonus Check Ende*/ 
[Flash] is offline  
Reply


Similar Threads Similar Threads
help bot wor maps bonus
03/22/2015 - Seafight - 1 Replies
i search bot for map bonus
Bonus Maps
12/22/2014 - Seafight - 16 Replies
Now we all know people are trying to sell you a bug to get bonus maps, I will tell you how to do the bug to get bonus maps if you PM me. There is a very high ban risk of doing this and I feel a bit stupid because I did it on my main account >.< I logged in to the wrong one out of force of habit. I will probably be banned.
New bug in bonus maps?
11/14/2014 - Seafight - 1 Replies
Hello now i'm in Capricornio Bonus Map and i don't move when ships waves come me, any ship soot me. sorry my english: Handsdown:
Bonus maps
04/20/2014 - Seafight - 4 Replies
Hello Please ,all , tell me all u know about getting bonuses in bm like hp in sagittarius at an coord. All u know about this kind of "trick" i really need it , i did 1. bm's and i got just hp , i need dmg and mojo deck. THx
New Bonus Maps
02/26/2013 - Seafight - 32 Replies
Taurus & Aquarius Maps will be on payment from 26.02 till 03.02 Waves: Taurus - 10 Aquarius -15 Pearls reward: Taurus - 35 000



All times are GMT +1. The time now is 16:09.


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.