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

TibiaCore 7.4 TFS 1.2 same Nostalrius project.

MySQL Error Message: Plugin caching_sha2_password could not be loaded dont find the module specific. Library path is 'caching_sha2_password.dll'
Post automatically merged:

help
 
MySQL Error Message: Plugin caching_sha2_password could not be loaded dont find the module specific. Library path is 'caching_sha2_password.dll'
Post automatically merged:

help
I've had that error when mysql was not launched from xampp. try killing process that takes port 3306 and run mysql from xampp
 
Hi, is it possible to get the special looktype 628 outfit after using the item? If so, could someone explain how to do it?
 
Compiling on 24.04 LTS gives the following error; View attachment 92919 Any workarounds for this error?
change this class "OutputMessageAllocator" in outputmessage.cpp:
C++:
class OutputMessageAllocator
{
public:
    typedef OutputMessage value_type;
    
    OutputMessageAllocator() = default;
    
    template<typename U>
    constexpr OutputMessageAllocator(const OutputMessageAllocator&) noexcept {}
    
    template<typename U>
    struct rebind {
        typedef typename std::conditional<
            std::is_same<U, OutputMessage>::value,
            OutputMessageAllocator,
            LockfreePoolingAllocator<U, OUTPUTMESSAGE_FREE_LIST_CAPACITY>
        >::type other;
    };
    
    OutputMessage* allocate(size_t n) const {
        if (n != 1) {
            throw std::bad_alloc();
        }
        
        OutputMessage* p;
        if (!getFreeList().pop(p)) {
            p = static_cast<OutputMessage*>(operator new(sizeof(OutputMessage)));
        }
        return p;
    }
    
    void deallocate(OutputMessage* p, size_t n) const {
        if (n != 1 || !p) {
            return;
        }
        
        if (!getFreeList().bounded_push(p)) {
            operator delete(p);
        }
    }
    
    bool operator==(const OutputMessageAllocator&) const noexcept {
        return true;
    }
    
    bool operator!=(const OutputMessageAllocator&) const noexcept {
        return false;
    }

private:
    typedef boost::lockfree::stack<OutputMessage*, boost::lockfree::capacity<OUTPUTMESSAGE_FREE_LIST_CAPACITY>> FreeList;
    
    static FreeList& getFreeList() {
        static FreeList freeList;
        return freeList;
    }
};
 
Last edited:
Hi!


Is it possible to automatically add max HP to a player when they equip an item (for example, a shield or armor)?

I’d like to:​
  • Grant the player a +X bonus to max HP while the item is equipped
  • Remove the bonus when the item is unequipped
Thanks for any advice or examples!
 
Back
Top