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

Windows first items on floor

unoxot

New Member
Joined
Feb 23, 2012
Messages
134
Reaction score
1
Location
sweden
Hello all my items come to the floor ? why ? In my warconfig
equipment =
{
[5] =
{
2323,
2173,
{10518,{7731,5710,2293,2305,2261,2268,2304,2271,2313,2273,2269,7620,2420,7590}},
2656,
8902,
2187,
7730,
7893
},
[6] =
{
2323,
2173,
{3940,{7731,5710,2293,2305,2261,2268,2304,2271,2313,2273,2269,7620,2278,2420,7590}},
2656,
8902,
2183,
7730,
7893
},
[7] =
{
2498,
2173,
{3940,{7731,5710,2293,2305,2261,2268,2304,2271,2313,2273,2269,7620,2420}},
8891,
2537,
2399,
2488,
2645
},
[8] =
{
2493,
2173,
{9774,{7731,5710,2293,2305,2261,2268,2304,2271,2313,2273,2269,7620,2420,8473}},
2492,
2517,
7434,
2470,
2645
}
}
 
(credits to whoever that made it.)
Try this script: (Its a mod)
Lua:
<?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, 30001) == -1 then
        if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 9 then
            doPlayerAddItem(cid, 2190, 1)--Wand Of Vortex
            doPlayerAddItem(cid, 2175, 1)--Spellbook
            doPlayerAddItem(cid, 8820, 1)--Mage hat
            doPlayerAddItem(cid, 8819, 1)--Magician Robe
            doPlayerAddItem(cid, 2648, 1)--Chain Legs
            doPlayerAddItem(cid, 2643, 1)--Leather Boots
            doPlayerAddItem(cid, 1988, 1)--Brown Backpack
            doPlayerAddItem(cid, 2152, 10)--Money
            doPlayerAddItem(cid, 7620, 20)--Mana Potion
			doPlayerAddItem(cid, 2789, 100)--Food
        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Sorcerer items. Remember that you automatical got bless below level 75 even if you die.")
        end
        if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 or getPlayerVocation(cid) == 10 then
            doPlayerAddItem(cid, 2182, 1)--Snakekbite Rod
            doPlayerAddItem(cid, 2175, 1)--Spellbook
            doPlayerAddItem(cid, 8820, 1)--Mage hat
            doPlayerAddItem(cid, 8819, 1)--Magician Robe
            doPlayerAddItem(cid, 2648, 1)--Chain Legs
            doPlayerAddItem(cid, 2643, 1)--Leather Boots
            doPlayerAddItem(cid, 1988, 1)--Brown Backpack
            doPlayerAddItem(cid, 2152, 10)--Money
            doPlayerAddItem(cid, 7620, 20)--Mana Potion
			doPlayerAddItem(cid, 2789, 100)--Food
        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Druid items. Remember that you automatical got bless below level 75 even if you die.")
        end
        if getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 7 or getPlayerVocation(cid) == 11 then
            doPlayerAddItem(cid, 2389, 1)--Spear
            doPlayerAddItem(cid, 2530, 1)--Copper Shield
            doPlayerAddItem(cid, 2660, 1)--Cloak
            doPlayerAddItem(cid, 8923, 1)--Legs
            doPlayerAddItem(cid, 2643, 1)--Leather Boots
            doPlayerAddItem(cid, 1988, 1)--Brown Backpack
            doPlayerAddItem(cid, 2152, 10)--Money
            doPlayerAddItem(cid, 7618, 20)--HP
			doPlayerAddItem(cid, 2789, 100)--Food
        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Paladin items. Remember that you automatical got bless below level 75 even if you die.")
        end
        if getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 8 or getPlayerVocation(cid) == 12 then
            doPlayerAddItem(cid, 2481, 1)--Soldier Helmet
            doPlayerAddItem(cid, 2465, 1)--Brass Armor
            doPlayerAddItem(cid, 2509, 1)--Steel Shield
            doPlayerAddItem(cid, 2478, 1)--Brass Legs
            doPlayerAddItem(cid, 2643, 1)--Leather Boots
            doPlayerAddItem(cid, 1988, 1)--Brown Backpack
            doPlayerAddItem(cid, 8602, 1)--Sword
            doPlayerAddItem(cid, 2439, 1)--Club
            doPlayerAddItem(cid, 8601, 1)--Axe
            doPlayerAddItem(cid, 2152, 10)--Money
            doPlayerAddItem(cid, 7618, 20)--HP
			doPlayerAddItem(cid, 2789, 100)--Food
        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Knight items. Remember that you automatical got bless below level 75 even if you die.")
        end
            setPlayerStorageValue(cid, 30001, 1)
    end
     return TRUE
end 
	]]></event>
</mod>
 
Back
Top