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!
I would like to know if it is possible to add the middle mouse button in tfs0.4 rev3777 on Ubuntu 14.04, so that when it is clicked, if it has some summon, send it to where it was clicked
I know there are pokemon script, but I wanted it that way
i has done it on player.cpp
void Player::onWalk(Direction& dir)
setNextAction(OTSYS_TIME() + getStepDuration(dir));
if(getSummonCount() > 0)
creature.h: In member function ‘virtual void Monster::onThink(uint32_t)’:
creature.h:507:12: error: ‘uint32_t Creature::eventWalk’ is protected
monster.cpp:636:48: error: within this context
else if(master != followCreature && master->eventWalk != 0)...
I use Ubuntu 14.04 with tfs 0.4 rev3777
when i am compiling, these warnings comes to me:
Warning in chat.cpp
chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
chat.cpp:1143:10: warning: converting ‘false’ to pointer type ‘ChatChannel*’ [-Wconversion-null]...
i sayd, i did it, but i got these erros
edit: now only this error
monster.cpp: In member function ‘virtual void Monster::onThink(uint32_t)’:
monster.cpp:640:13: error: ‘class Player’ has no member named ‘getStorageValue’
But I was thinking...
i've got this erros, and yes, i did included player.h
monster.cpp:637:9: warning: unused variable ‘allowFollowMaster’ [-Wunused-variable]
bool allowFollowMaster = true;
monster.cpp:640:13: error: ‘class Player’ has no member named ‘getStorageValue’...
This is part of my monster.cpp
i would like this part
work with a storage, like this
of course what i've done is wrong, but is the perfect example of what i want, someone could help me?
this is the source i use MEGA
I would like to know if is possible to change the skills in skill channel when player change his weapon (E.g: if is a sword then will show up (ML, Sword, Shielding and fishing)), the same if is axe, club or distance, if has no weapon then appear Fist