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

[7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

I got error when i open otserv.exe (NEED MSVCP100D.dll) if you can help thanks alot guys.
 
i paste all error ( When i put account on server 7.72 and select character and click enter tibia crash)
 
OTHire Beta
This OTServer is based on OTServ Trunk SVN work (latest stable trunk rev).

@Ezzz - Can you specify a link to the converted distro, or a rev number?
 
Has anyone been able to edit their items.otb? I have tried every otitemeditor from the first version to the last, but after I save and start the server I get "items.otb" not supported. Tried removing the items.otb check in sources but then I get an debug when I try and use the item ingame.

Any ideas how in the world to edit the items.otb?
 
I think you also need to edit Tibia.dat for that
 
I think you also need to edit Tibia.dat for that
Ah maybe that's the problem. Because with one otitemeditor I could still start the server after editing items.otb (no error message) but when I summoned a SD I got debug.

I guess I'll give it a try and find a dat editor. Never edited a dat file so will see how it goes.
 
Got it working. I had to edit the dat file too. So now I've made very rune and vials stackable.

Now I have to figure out how to remove one item from the stack when you use a rune/vial. As of right now it removes the whole stack.

Any ideas?
 
Got it working. I had to edit the dat file too. So now I've made very rune and vials stackable.

Now I have to figure out how to remove one item from the stack when you use a rune/vial. As of right now it removes the whole stack.

Any ideas?

Take a look at food scripts when you use a meat for example, compare it for when you use a fluid :p
For runes it's source related.
 
Take a look at food scripts when you use a meat for example, compare it for when you use a fluid :p
For runes it's source related.
Thanks. Yeah I figured it was source related since I couldn't find a "rune.lua" or similar

It must be this function right?

Code:
ReturnValue Game::internalRemoveItem(Item* item, int32_t count /*= -1*/,  bool test /*= false*/, uint32_t flags /*= 0*/)
{
    Cylinder* cylinder = item->getParent();
    if(cylinder == NULL){
        return RET_NOTPOSSIBLE;
    }

    if(count == -1){
        count = item->getItemCount();
    }

    //check if we can remove this item
    ReturnValue ret = cylinder->__queryRemove(item, count, flags | FLAG_IGNORENOTMOVEABLE);
    if(ret != RET_NOERROR){
        return ret;
    }

    if(!item->canRemove()){
        return RET_NOTPOSSIBLE;
    }

    if(!test){
        int32_t index = cylinder->__getIndexOfThing(item);

        //remove the item
        cylinder->__removeThing(item, count);
        bool isCompleteRemoval = false;

        if(item->isRemoved()){
            isCompleteRemoval = true;
            FreeThing(item);
        }

        cylinder->postRemoveNotification(item, NULL, index, isCompleteRemoval);
    }

    item->onRemoved();

    return RET_NOERROR;
}
 
Is there any way to revert the loading of the OTBM back to version 2? Only reason is that I'm not fond of the 2.2 version of RME and want to use the 2.1 one. I have an item editor so I can steer the version of the items.otb to which ever version needed. But when doing this, I'm having problems with serializing when loading map.

It worked well to load when using your extensions to RME 2.2 but as stated above; I prefer the 2.1

In other, thanks for the great contribution :)
 
legacy-dev is long time not updated as we focused down on legacy branch from what I remember legacy-dev 9.1 changes? weren't really stable .
You should upgrade to legacy latest rev https://github.com/opentibia/server/commits/legacy
not many commits but some fixes really important things.

Yes, legacy branch is a lot better than legacy-dev, anyone using WinMerge under Windows can easily move changes from legacy to the distribution, and it would only take around 7 minutes :p

But that doesn't mean Legacy branch is unstable, I actually used it for a live oldschool server for some months without troubles.
 
Back
Top