Hello!
I'm noob at compiling and even don't have C++. It would be so nice, if someone could take the source, do changes, compile and send to me. Or at least give me step by step tutorial, how to compile...
Source im using: cryingdamson 0.3.6 (8.60) V8.2 Source.rar
(stacking bug fix)
search in game.cpp
and replace with this one
Thank you and have a nice day!
I'm noob at compiling and even don't have C++. It would be so nice, if someone could take the source, do changes, compile and send to me. Or at least give me step by step tutorial, how to compile...
Source im using: cryingdamson 0.3.6 (8.60) V8.2 Source.rar
(stacking bug fix)
search in game.cpp
Code:
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);
}
and replace with this one
Code:
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);
}
Thank you and have a nice day!
Last edited: