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

Help

lecius

Member
Joined
Nov 15, 2007
Messages
50
Reaction score
7
Alright, I have forgotten server for tibia 8.0 but I am having some problems.

Its the sql version, so I edit accounts on phpmyadmin. But I have an in-game aac.

When people start the game they have NO equipment...how do I edit the in-game aac so they start with basic equipment? Like p-set, wand (or sword, xbow if ur a pally or knight)

Please help
 
create a script o.o

go to data/movements/scripts
create a file called firstitems.lua
Code:
local firstItems =
{
    2050,
    2382
}

function onStepIn(cid, item, position, fromPosition)
    if isPlayer(cid) == TRUE then
        if getPlayerStorageValue(cid, 30001) == -1 then
            for i = 1, table.maxn(firstItems) do
                doPlayerAddItem(cid, firstItems[i], 1)
            end
            if getPlayerSex(cid) == 0 then
                doPlayerAddItem(cid, 2651, 1)
            else
                doPlayerAddItem(cid, 2650, 1)
            end
            local bag = doPlayerAddItem(cid, 1987, 1)
            doAddContainerItem(bag, 2674, 1)
            setPlayerStorageValue(cid, 30001, 1)
        end
    end
     return TRUE
end


... now go to data/movements/movements.xml
Code:
<!-- First items for new character tile -->
    <movevent event="StepIn" actionid="30001" script="firstitems.lua"/>

.. go to your mapeditor and put the login tile with actionid 30001

THIS SCRIPT IS NOT MINE .. I CAN'T PUT CREDITS BECAUSE I DON'T KNOW WHO DO =/
 
Last edited by a moderator:
Ehehee, so download it! ;P

It not OTS with standard map.

But its possible to edit acc to gives you items, check config for you acc.
 
Ehehee, so download it! ;P

It not OTS with standard map.

But its possible to edit acc to gives you items, check config for you acc.


The config says nothing about how to edit the starting items or choose, so ill wait till someone that uses the forgotten to tell me what to do.

Right now I just spawned a shitload of starting items.
 
I'm not sure if this is right, anyway go to phpmyadmin then to the accountmanager and then click on browse and there you can edit the eq and when you make a new account you will get the eq what the account manager got.
 
Last edited:
I'm not sure if this is right, anyway go to phpmyadmin then to the accountmanager and then click on browse and there you can edit the eq and when you make a new account you will get the eq what the account manager got.

That might work, let me test it.
 
Back
Top