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

First Items Problem

Olausson92

New Member
Joined
Sep 12, 2008
Messages
49
Reaction score
0
Location
Sweden / Ljungby
Hiho,

I changed server to the newest TFS and my firstitem script does not work. When new players are mad, they just got a club and some rook eq. Is there anything I can change so i can use my old ?


Kind Regards,
Erik
 
Do you use Gesior AAC, or just Account Manager character ?

1.If you use Account Manager

Go to your server folder
Open MODS folder
Find firstitems.xml

Open it with Notepad/WordPad or other text editor:

You will see this:

<?xml version="1.0" encoding="UTF-8"?>
<mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes">
<config name="firstitems_config"><![CDATA[
config = {
storage = 30001,
items = {2050, 2382}
}
]]></config>
<event type="login" name="FirstItems" event="script"><![CDATA[
domodlib('firstitems_config')

function onLogin(cid)
if(getPlayerStorageValue(cid, config.storage) > 0) then
return true
end

for _, id in ipairs(config.items) do
doPlayerAddItem(cid, id, 1)
end

if(getPlayerSex(cid) == PLAYERSEX_FEMALE) then
doPlayerAddItem(cid, 2651, 1)
else
doPlayerAddItem(cid, 2650, 1)

end

doAddContainerItem(doPlayerAddItem(cid, 1987, 1), 2674, 1)
setPlayerStorageValue(cid, config.storage, 1)
return true
end
]]></event>
</mod>

THIS IS BAG
THIS IS APPLE IN BAG
THOSE ARE ARMORS YOU GAIN, FIRST IS Female's armor, SECOND is Male's armor

You can change id's however you want ;)

2. If you use Gesior AAC

Login on your vocation samples and make equipment what you need.

Characters you'll make will be copies of samples.



Rep++
 
Last edited:
Oki i use gesior acc and when i relog it disapears , so i cant save the eq and i dont want apple only in the bag , i need bag and eq , so how i add eq to the apple's ID?
 
Oki i use gesior acc and when i relog it disapears , so i cant save the eq and i dont want apple only in the bag , i need bag and eq , so how i add eq to the apple's ID?

I have the same problem..
 
Back
Top