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

Action doesn't work after relog.

Jennyx

New Member
Joined
Aug 27, 2017
Messages
12
Solutions
1
Reaction score
0
Hello!

Have you any idea,
why actions (ladder, doors, all "right click items etc.) on my server- sometimes works sometimes not?
When I relog then all works ok, next relog - not. I have not idea what is wrong.
Additionally- click on label or letter crash the server.
[Tfs4 tibia 8.6]
Thanks for all

dark_priestess.gif
 
Find the script, ex doors.lua and below function onUse(...) add print("testing doors")
That will print out the text "testing doors" in your console, that way you know if the server is even getting any info that you are trying to use the door.

Could be client related or most likely server or script related.
If the server is crashing you should get the crash log.
 
Thanks for reply:)
It works
80525717725773786784.jpg

but after relog- stop works and then console is empty when I use somethink like doors.
It is like server "dont see" any actions scripts. It happends randomly after some relogs.
Any error I saw in console was
Code:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:46: boost::condition_variable::~condition_variable(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed.

and the 46th lines are:
Code:
~condition_variable()
        {
            BOOST_VERIFY(!pthread_mutex_destroy(&internal_mutex));
            int ret;
            do {
              ret = pthread_cond_destroy(&cond);
            } while (ret == EINTR);
            BOOST_VERIFY(!ret);
        }

        void wait(unique_lock<mutex>& m);

        template<typename predicate_type>
        void wait(unique_lock<mutex>& m,predicate_type pred)

Is it possible that it happends due to this error or I have to looking for issues deeper?
Thanks :)
dark_priestess.gif
 
Thanks for reply:)
It works
80525717725773786784.jpg

but after relog- stop works and then console is empty when I use somethink like doors.
It is like server "dont see" any actions scripts. It happends randomly after some relogs.
Any error I saw in console was
Code:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:46: boost::condition_variable::~condition_variable(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed.

and the 46th lines are:
Code:
~condition_variable()
        {
            BOOST_VERIFY(!pthread_mutex_destroy(&internal_mutex));
            int ret;
            do {
              ret = pthread_cond_destroy(&cond);
            } while (ret == EINTR);
            BOOST_VERIFY(!ret);
        }

        void wait(unique_lock<mutex>& m);

        template<typename predicate_type>
        void wait(unique_lock<mutex>& m,predicate_type pred)

Is it possible that it happends due to this error or I have to looking for issues deeper?
Thanks :)
dark_priestess.gif

What rev of TFS 0.4 are you using?
I have never heard of a problem / bug like this so im guessing you have a bugged TFS version.
 
[edit]
The recompiling helped
You had right- it was tfs issue.
Thanks for replies :)
 
Last edited:
Solution
Back
Top