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

tfs-mods

Other slawkens (check the mod /bg) cause crash in lasted sources in 0.3.7
m=..., channel=0) at talkaction.cpp:379
#7 0x082bab69 in TalkActions::eek:nPlayerSay (this=0x16354a00,
creature=0x861ea1f8, channelId=0, words=..., ignoreAccess=false)
at talkaction.cpp:202
#8 0x08111374 in Game::playerSay (this=0x8424ba0, playerId=268470868,
channelId=0, type=SPEAK_PRIVATE, receiver=..., text=...) at game.cpp:3740
#9 0x0827faa7 in boost::_mfi::mf5<bool, Game, unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&>::eek:perator()(Game*, unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&) const
()
#10 0x0827ddb5 in bool boost::_bi::list6<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<unsigned short>, boost::_bi::value<SpeakClasses>, boost::_bi::value<std::string>, boost::_bi::value<std::string> >::eek:perator()<bool, boost::_mfi::mf5<bool, Game, unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&>, boost::_bi::list0>(boost::_bi::type<bool>, boost::_mfi::mf5<bool, Game, unsigned int, unsigned short, SpeakClasses,---Type <return> to continue, or q <return> to quit---
std::string const&, std::string const&>&, boost::_bi::list0&, long) ()
#11 0x0827bbb4 in boost::_bi::bind_t<bool, boost::_mfi::mf5<bool, Game, unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&>, boost::_bi::list6<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<unsigned short>, boost::_bi::value<SpeakClasses>, boost::_bi::value<std::string>, boost::_bi::value<std::string> > >::eek:perator()() ()
#12 0x0827a397 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<bool, boost::_mfi::mf5<bool, Game, unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&>, boost::_bi::list6<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<unsigned short>, boost::_bi::value<SpeakClasses>, boost::_bi::value<std::string>, boost::_bi::value<std::string> > >, void>::invoke(boost::detail::function::function_buffer&)
()
#13 0x080fb0a1 in boost::function0<void>::eek:perator() (this=0xaf98a21c)
at /usr/include/boost/function/function_template.hpp:1013
#14 0x080fae54 in Task::eek:perator() (this=0xaf98a210) at dispatcher.h:34
#15 0x080fa360 in Dispatcher::dispatcherThread (p=0x8412e20)
at dispatcher.cpp:72
#16 0x080fc3a5 in boost::_bi::list1<boost::_bi::value<void*> >::eek:perator()<void (*)(void*), boost::_bi::list0> (this=0x84366b0, f=@0x84366ac, a=...)
at /usr/include/boost/bind/bind.hpp:246
#17 0x080fc36a in boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > >::eek:perator() (this=0x84366ac)
---Type <return> to continue, or q <return> to quit---
at /usr/include/boost/bind/bind_template.hpp:20
#18 0x080fc274 in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >::run (this=0x84365f0)
at /usr/include/boost/thread/detail/thread.hpp:56
#19 0xb7b357c5 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
#20 0xb774296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#21 0xb7823a4e in clone () from /lib/tls/i686/cmov/libc.so.6
 
Last edited:
Do you mean guild-cast command? Can't find nothing wrong there. Are you sure its my script who causes it? I am using it on one of my servers, which is using TFS 0.3.6pl1.
 
Not only "/bg" if not also the current TFS commands cause crash "/b" - "/bc" Messages when using very long cause crash.
 
it should go to the bug tracker section then ; )

I will try to look into it later, not promising anything.
 
What's that ban book? :eek:

In 8.61 update Cipsoft removed gamemasters from the game including CTRL + R option (rule violations window) so there was no ability to ban peoples in game anymore. Thats why TFS introduced ban book that allows you to continue to ban peoples in the game.
 
The next MOD cause debug in tibia 8.61+
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="command-mana" version="1.0" author="slawkens" contact="[email protected]" enabled="yes">
    <talkaction words="!mana" event="script"><![CDATA[
         function onSay(cid, words, param, channel)
            doPlayerSendTextMessage(cid, 27, "You need to spent " .. (getPlayerRequiredMana(cid, getPlayerMagLevel(cid, TRUE) + 1) - getPlayerSpentMana(cid))  ..
                " mana to next magic level.")
            return true
        end
    ]]></talkaction>
</mod>
is problem -- change typo
doPlayerSendTextMessage(cid, 27,
 
Back
Top