• 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!

Feature Every changes you need to a Hardcore/War Server

Search for SKULL_BLACK through the whole sources black skull has alot of restriction.
 
Hey after doing all those changes, in the OT BlackSkull can't still attack an unskulled player, could you help me out fixing this?
 
i came fail creature
help lucas
21mufyh.png
 
player.cpp: In member function ‘virtual void Player::dropLoot(Container*)’:
player.cpp:778:54: error: ‘tmp’ was not declared in this scope
player.cpp:777:12: warning: unused variable ‘rand’ [-Wunused-variable]


i got this errors and i do same than u whats rong¿?
 
there is some problem when i try to change this it fail!
PHP:
if(skull > SKULL_WHITE || (item->getContainer() && tmp < loss) || (!item->getContainer() && tmp < itemLoss))
{
g_game.internalMoveItem(NULL, this, corpse, INDEX_WHEREEVER, item, item->getItemCount(), 0);
sendRemoveInventoryItem((slots_t)i, inventory[(slots_t)i]);
}
to:

PHP:
if(skull > SKULL_BLACK || (item->getContainer() && tmp < loss) || (!item->getContainer() && tmp < itemLoss))
{
g_game.internalMoveItem(NULL, this, corpse, INDEX_WHEREEVER, item, item->getItemCount(), 0);
sendRemoveInventoryItem((slots_t)i, inventory[(slots_t)i]);
}
 
hello sir.

i got problems with this i compailed and 0 errors!

but the problem is after compail i tested i cant attack black skull players!
you can say spells example exevo tera hur etc

any body can help me pls!
 
hello sir.

i got problems with this i compailed and 0 errors!

but the problem is after compail i tested i cant attack black skull players!
you can say spells example exevo tera hur etc

any body can help me pls!

Search for SKULL_BLACK in combat.cpp, player.cpp & spells.cpp
Remove all lines including SKULL_BLACK
 
im sorry for post in this old thread
but how i can make posible to keep skull if player logout and only when player die lose the skull?
 
Back
Top