• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Need Help :((

Keshoo

Newer Rich
Joined
Feb 23, 2010
Messages
166
Reaction score
5
in my ot when i eat food it say you cant use it its not work i dont know why? lol (thats first)


in my ot when i use mana its not say how many i have of mana//\\ example:if i have 100 great mana and use it
say you have 25 great mana lol


please anyone have idea for these problems help me Thx :$
 
1. You can Download -> Copiler For Windows: http://otland.net/f19/stians-dev-cpp-repack-0-2-crypto-64bit-62455/
2. Download your GAME Source
3. And do:
game.cpp
Repleace this
LUA:
void Game::showHotkeyUseMessage(Player* player, Item* item)
 {
        int32_t subType = -1;
        if(item->hasSubType() && !item->hasCharges())
                subType = item->getSubType();
 
        const ItemType& it = Item::items[item->getID()];
        uint32_t count = player->__getItemTypeCount(item->getID(), subType, false);
 
        char buffer[40 + it.name.size()];
        if(count == 1)
                sprintf(buffer, "Using the last %s...", it.name.c_str());
        else
                sprintf(buffer, "Using one of %d %s...", count, it.pluralName.c_str());
 
        player->sendTextMessage(MSG_INFO_DESCR, buffer);
 }

for this
LUA:
void Game::showHotkeyUseMessage(Player* player, Item* item)
{
    const ItemType& it = Item::items[item->getID()];
    uint32_t count = player->__getItemTypeCount(item->getID(), -1);

    char buffer[40 + it.name.size()];
    if(count == 1)
        sprintf(buffer, "Using the last %s...", it.name.c_str());
    else
        sprintf(buffer, "Using one of %d %s...", count, it.pluralName.c_str());

    player->sendTextMessage(MSG_INFO_DESCR, buffer);
}

Then copile your .exe

Narko
 
Back
Top