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);
}
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);
}
HOW to turn off Stack items ?
It's verryyy buged ?;s
[Error - Npc interface]
(Unknown script file)
Description:
data/npc/lib/npcsystem/modules.lua:1234: bad argument #2 to 'error' (number expected, got string)
stack traceback:
[C]: in function 'error'
data/npc/lib/npcsystem/modules.lua:1234: in function 'callbackOnSell'
data/npc/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
data/npc/lib/npcsystem/npchandler.lua:450: in function 'onSell'
data/npc/lib/npcsystem/modules.lua:1296: in function <data/npc/lib/npcsystem/modules.lua:1295>
So this one doesn't have guild war system?
newPlayerSpawnPosX = 857
newPlayerSpawnPosY = 964
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
If you are creating characters through account manager then you need to change posistion in config.lua:
Or if you create characters through website then you need to change characters pos on the samples. Ex. Knight Sample, Sorcerer Sample and etc...
Thanks a lot man
- - - Updated - - -
sorry to bother you again, but after doing those changes it still says temple position is wrong.
After those changes, did you try create new char?
I have the same problem, and yes I have tried to create a new character with those coordinates and still says temple position is wrong.
any suggestions?
Thanks
- - - Updated - - -
I don't know if this helps either
10:49 /town 1
10:49 Town 1 does not exists or has invalid temple position.
- - - Updated - - -
By the way I just checked the source folder I downloaded too, maybe I have to copy/paste those sources into my main folder?
Thanks