Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Hello..
Why does not the FOR start?
Is this going to start only if the creature has registered ??
bool Game::playerRequestOutfit(uint32_t playerId)
{
Player* player = getPlayerByID(playerId);
if(!player || player->isRemoved())
return false...
Normal monsters are affected by the creativecripts and registerCreatureEvent
But when it is a summon the event does not happen.
Anyone know the reason?
Thanks!
Hello.
How do I create a ghost function?
TFS 0.3.6
bool TalkAction::ghost(Creature* creature, const std::string&, const std::string&)
How would I add this function in luascript.cpp?
Hello guys.
What are the features I have with this command? (getCreatureCondition(cid, feature, etc..)
If you want to check a parameter within the attribute, how use?
getCreatureCondition(cid, CONDITION_PARAM_SKILL_SWORD, ?) ?
Help, plz. Thanks
Hello guys
The topic name says it all!
I tried some things, but still something is missing.
Examples:
void ProtocolGame::sendDistanceShoot(const Position& from, const Position& to, uint8_t type)
void ProtocolGame::sendDistanceShoot(const Position& from, const Position& to, uint16_t type)...
My server isn't saving some characters.
When some players login or logout on the game their items simply disappear.
If anybody knows how to fix this problem, please contact me.
I'm willing to pay $150
Info Server:
tfs 0.4 - Rev3777
Linux ubuntu 12.04.5 LTS
Mysql 5.6.35
root@lucas:/home/testes/otxsrc# make -j 4
make all-am
make[1]: Entering directory `/home/testes/otxsrc'
CXX protocolgame.o
CXX spells.o
CXX status.o
CXX talkaction.o
In file included from /usr/include/boost/bind.hpp:22:0,
from otpch.h:36...
Is there a bug that can occur when saving players' items?
Some players offline items, simply SOMEM from player_depotitems and playeritems..
Can someone tell me something about it?
If anyone knows how to solve the problem..
add skype(lucasmilbradt) or reply to this topic.
Log error crash:
http://pastebin.com/GkwrDDSn
Source code lines:
https://github.com/milbradt/TFS/blob/master/src/server.cpp#L239
https://github.com/milbradt/TFS/blob/master/src/otserv.cpp#L357
Is there a command to get into an open debug?
ex:
ps aux
list..
root 19947 0.1 0.4 167864 137592 pts/4 S+ 21:07 0:01 gdb ./tfs
'gdb tfs processid'
gdb tfs 19947
But it does not open the debugger as it should.
Does anyone know another command?
Tested:
mysqldump -u root -p database player_items > player_items.sql
and
mysqldump -u root -p database2 player_items < player_items.sql
Did not work.
Does anyone know of a solution?
How can I add a log to all players who log in?
Ex:
[16/12/2016 5:12:58] The Sniper - creature id = (Here registers the cid)
Objective:
This is for me to check some things in gdb.
ex:
To check which creature caused the crash...
http://prntscr.com/dbrm9v
Once I have the following condition: player->hasCondition(CONDITION_GAMEMASTER, GAMEMASTER_TELEPORT)
I wish I couldn't "use" any object when I'm far from it, such as ladders, chests or even the floor. Could someone please tell me if it's possible and if so how can I do it?
The lua language using :
os.time()
How do the same for mysql?
Example in lua:
getPlayerStorageValue(uid, storage, os.time() + time)
In sql would it?(page php)
$SQL->query("INSERT INTO `player_storage` (`player_id` ,`key` ,`value`) VALUES ('".$player->getId()."', '999'...
Hello!
Someone knows how can I limit the attributes of skills?
For example, if I equip an item that removes 20 MagicLevel the limit prevents this and leaves the 10 minimum.