• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

I need some scripts :)

Sir Wirox

New Member
Joined
Apr 4, 2009
Messages
6
Reaction score
0
Hello, this time I need some scripts.
1: I need script for armor which is adding skills + 5
2: I need script for ethno coat which adding 5+ mlvl
3: I need script for spellbook which is adding 5+ mlvl
4: Script for firewalker boots
5: UPGRADER
6: Experience Boots
7: Moster-Outfit Changer
and this Super Promotion

If you would help me I'll give you 4 rep. points and God on my OT!

And how to add images to my shop? Oh and if I want to write something in my "news" and bold it what I need to do?
 
Here is Super Vocations

</vocation>
<vocation id="23" name="Super Knight" description="a super knight" gaincap="40" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="50" gainmanaticks="10" gainmanaamount="60" manamultiplier="3.0" attackspeed="100" soulmax="200" gainsoulticks="15" fromvoc="0">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.1"/>
<skill id="1" multiplier="1.1"/>
<skill id="2" multiplier="1.1"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="1.4"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="22" name="Super Paladin" description="a super paladin" gaincap="30" gainhp="10" gainmana="20" gainhpticks="7" gainhpamount="35" gainmanaticks="15" gainmanaamount="60" manamultiplier="1.4" attackspeed="100" soulmax="200" gainsoulticks="15" fromvoc="0">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="21" name="Super Druid" description="a super druid" gaincap="20" gainhp="5" gainmana="30" gainhpticks="8" gainhpamount="25" gainmanaticks="8" gainmanaamount="85" manamultiplier="1.1" attackspeed="600" soulmax="100" gainsoulticks="15" fromvoc="0">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.5"/>
<skill id="1" multiplier="1.8"/>
<skill id="2" multiplier="1.8"/>
<skill id="3" multiplier="1.8"/>
<skill id="4" multiplier="1.8"/>
<skill id="5" multiplier="1.5"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="20" name="Super Sorcerer" description="a super sorcerer" gaincap="20" gainhp="5" gainmana="30" gainhpticks="7" gainhpamount="12" gainmanaticks="8" gainmanaamount="85" manamultiplier="1.1" attackspeed="600" soulmax="100" gainsoulticks="15" fromvoc="0">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.5"/>
<skill id="1" multiplier="2.0"/>
<skill id="2" multiplier="2.0"/>
<skill id="3" multiplier="2.0"/>
<skill id="4" multiplier="2.0"/>
<skill id="5" multiplier="1.5"/>
<skill id="6" multiplier="1.1"/>
</vocation>
</vocations>
 
local outfits = {5, 6, 7, 8, 9, 15, 18, 23, 24, 25, 29, 33, 37, 40, 48, 50, 53, 54, 57, 58, 59, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 76, 78, 93, 96, 97, 98, 100, 126, 127, 193,
194, 195, 196, 203, 214, 215, 216, 229, 232, 235, 237, 246, 249, 253, 254, 255, 259, 260, 264, 281, 282, 287, 296, 297, 298, 300, 301}
local outfit =
{
lookType = 2,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0
}
local outfit0 =
{
lookType = 2,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,1921) == -1 or getPlayerStorageValue(cid,1921) == #outfits then
setPlayerStorageValue(cid,1921,1)
doSetCreatureOutfit(cid, outfit0, -1)
else
for i=1,#outfits do
if getPlayerStorageValue(cid,1921) == i then
outfit.lookType = outfits
doCreatureSay(cid, "MWHAHA!", TALKTYPE_ORANGE_1)
doSetCreatureOutfit(cid, outfit, -1)
setPlayerStorageValue(cid,1921,i+1)
break
end
end
end
end


VOODOO Doll
 
To add the item images from your shop you have to go to Items - TibiaWiki
Find all the pictures of items you need there. Save them all to the folder item_images with their names corresponding to their id of the offer as a .jpg

That is all you need to do.
 
Hello, this time I need some scripts.
1: I need script for armor which is adding skills + 5
2: I need script for ethno coat which adding 5+ mlvl
3: I need script for spellbook which is adding 5+ mlvl
4: Script for firewalker boots
5: UPGRADER
6: Experience Boots
7: Moster-Outfit Changer
and this Super Promotion

If you would help me I'll give you 4 rep. points and God on my OT!

And how to add images to my shop? Oh and if I want to write something in my "news" and bold it what I need to do?

Firewalker Boots
Code:
<item id="9932" article="a" name="firewalker boots">
  <attribute key="description" value="Wearing these boots reduces the damage gotten from fiery ground."/>
  <attribute key="weight" value="950"/>
  <attribute key="armor" value="2"/>
  <attribute key="slotType" value="feet"/>
  <attribute key="absorbPercentFire" value="90"/>
  <attribute key="decayTo" value="9934"/>
  <attribute key="transformDeEquipTo" value="9933"/>
  <attribute key="duration" value="3600"/>
  <attribute key="showduration" value="1"/>
</item>
Armor which increase skills by 5(Insert under desired item)
Code:
<attribute key="skillShield" value="5"/>
<attribute key="skillSword" value="5"/>
<attribute key="skillAxe" value="5"/>
<attribute key="skillClub" value="5"/>
<attribute key="skillDist" value="5"/>
<attribute key="skillFist" value="5"/>
Ethno Coat which increase Mlvl with 5
Code:
<item id="8892" article="an" name="ethno coat">
  <attribute key="armor" value="7"/>
  <attribute key="slotType" value="body"/>
  <attribute key="weight" value="2550"/>
  <attribute key="magiclevelpoints" value="5"/>
</item>
Spell book which increase magiclevel by 5
Code:
<item id="2175" article="a" name="spellbook">
  <attribute key="description" value="It shows your spells and can also shield against attack when worn."/>
  <attribute key="weight" value="5800"/>
  <attribute key="defense" value="14"/>
  <attribute key="weaponType" value="shield"/>
  <attribute key="magiclevelpoints" value="5"/>
</item>
Outfit Changer
Code:
local outfits = {5, 6, 7, 8, 9, 15, 18, 23, 24, 25, 29, 33, 37, 40, 48, 50, 53, 54, 57, 58, 59, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 76, 78, 93, 96, 97, 98, 100, 126, 127, 193,
194, 195, 196, 203, 214, 215, 216, 229, 232, 235, 237, 246, 249, 253, 254, 255, 259, 260, 264, 281, 282, 287, 296, 297, 298, 300, 301}
local outfit =
{
lookType = 2,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0
}
local outfit0 =
{
lookType = 2,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,1921) == -1 or getPlayerStorageValue(cid,1921) == #outfits then
setPlayerStorageValue(cid,1921,1)
doSetCreatureOutfit(cid, outfit0, -1)
else
for i=1,#outfits do
if getPlayerStorageValue(cid,1921) == i then
outfit.lookType = outfits[i]
doCreatureSay(cid, "MWHAHA!", TALKTYPE_ORANGE_1)
doSetCreatureOutfit(cid, outfit, -1)
setPlayerStorageValue(cid,1921,i+1)
break
end
end
end
end
Second promotion
Code:
	<vocation id="9" name="Epic Master Sorcerer" description="an epic master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="5">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="10" name="Epic Elder Druid" description="an epic elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="5">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="11" name="Epic Royal Paladin" description="an epic royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.4" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="5">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="12" name="Epic Elite Knight" description="an epic elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="5">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
Add images to shop
Save the desired pictures in /xampp/htdocs/item_images/
as .jpg
Change the name of the image to the ID in your database.
Example:
If Boots Of Haste has ID #13 in your Shop, save the image of Boots Of Haste as 13.jpg in /xampp/htdocs/item_images/

Hopefully this solved all your problems.
 
Back
Top