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

please help bp ! ?

xavierek

New Member
Joined
Apr 11, 2009
Messages
209
Reaction score
0
Hello i dont have idea how to make bp...

i need to make bp whats can be undress player start with bp and have it forever cant move it from bp slot some idea ?

function DeEquip always return false will be work ?

else is some function to get item position in bp ?
 
Very easy with source edit.

Open game.cpp and in the function:
Code:
bool Game::playerMoveItem(uint32_t playerId, const Position& fromPos, uint16_t spriteId, int16_t fromStackpos, const Position& toPos, uint8_t count)

Add this:
Code:
if(item->getActionId() == 65530)
{ 
	player->sendCancel("Your backpack is stuck (uber glue^^) to your shoulders.");
	return false;
}

Befor this line:
Code:
ReturnValue ret = internalMoveItem(player, fromCylinder, toCylinder, toIndex, item, count, NULL);

Now just add the players backpack the action id 65530 and the player cant take it off.
 
Back
Top