Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Boa Noite, Galera. Esta dando este erro no distro do nada começou, lembrando que o script in game funciona normal(por enquanto), mas queira tirar este erro do distro:

Erro  :

http://i.imgur.com/Cd6hLX6.png
http://i.imgur.com/rmHBCsH.png

Script Vip Tile:

 

function onStepIn(cid, item, position, fromPosition)
local config = {
msgDenied = "Voce nao tem a VIP3, para adquirir faca a quest logo ao lado <",
msgWelcome = "Welcome to VIP 3!!"
}
if getPlayerStorageValue(cid, 445566) - os.time() <= 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
return TRUE
end

Movements.xml


<?xml version="1.0" encoding="UTF-8"?>
<movements>
<!-- Decaying tiles -->
<movevent type="StepIn" itemid="293" event="script" value="decay.lua"/>
<movevent type="StepIn" itemid="461" event="script" value="decay.lua"/>
 
<!-- Swimming -->
<movevent type="StepIn" itemid="4828-4831" event="script" value="swimming.lua"/>
<movevent type="StepIn" itemid="7943-7954" event="script" value="swimming.lua"/>
 
<!-- Underwater drown -->
<movevent type="StepIn" fromid="5405" toid="5410" event="script" value="drown.lua"/>
<movevent type="StepOut" fromid="5405" toid="5410" event="script" value="drown.lua"/>
 
<!-- Cassino -->
<movevent type="AddItem" tileitem="1" actionid="6577" event="script" value="cassino.lua"/>
 
        <!-- Dota -->
<movevent type="StepIn" uniqueid="5036" event="script" value="dota_templonormalp.lua" />
<movevent type="StepIn" uniqueid="5035" event="script" value="dota_templonormal.lua" />
<movevent type="StepIn" uniqueid="5040" event="script" value="dota.lua" />
<movevent type="StepIn" uniqueid="5031" event="script" value="blue.lua" />
<movevent type="StepIn" uniqueid="5032" event="script" value="red.lua" />
 
 
<!-- (Depot & Level) tiles -->
<movevent type="StepIn" itemid="416" event="script" value="tiles.lua"/>
<movevent type="StepOut" itemid="417" event="script" value="tiles.lua"/>
<movevent type="StepIn" itemid="426" event="script" value="tiles.lua"/>
<movevent type="StepOut" itemid="425" event="script" value="tiles.lua"/>
<movevent type="StepIn" itemid="446" event="script" value="tiles.lua"/>
<movevent type="StepOut" itemid="447" event="script" value="tiles.lua"/>
<movevent type="StepIn" itemid="3216" event="script" value="tiles.lua"/>
<movevent type="StepOut" itemid="3217" event="script" value="tiles.lua"/>
<movevent type="StepIn" itemid="3202" event="script" value="tiles.lua"/>
<movevent type="StepOut" itemid="3215" event="script" value="tiles.lua"/>
<movevent type="StepIn" itemid="10551" event="script" value="tiles.lua"/>
<movevent type="StepOut" itemid="10552" event="script" value="tiles.lua"/>
<!-- <movevent type="StepIn" itemid="8714" event="script" value="tiles.lua"/> -->
 
<!-- Traps -->
<movevent type="StepIn" itemid="1510" event="script" value="trap.lua"/>
<movevent type="StepOut" itemid="1511" event="script" value="trap.lua"/>
<movevent type="StepIn" itemid="1512" event="script" value="trap.lua"/>
<movevent type="StepOut" itemid="1513" event="script" value="trap.lua"/>
<movevent type="StepIn" itemid="2579" event="script" value="trap.lua"/>
<movevent type="RemoveItem" itemid="2579" event="script" value="trap.lua"/>
 
<!-- Citizen teleport -->
<movevent type="StepIn" itemid="1387" event="script" value="citizen.lua"/>
 
<!-- Walkback when walking on quest chest -->
<movevent type="StepIn" itemid="1738" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1740" event="script" value="walkback.lua"/>
<movevent type="StepIn" fromid="1746" toid="1749" event="script" value="walkback.lua"/>
 
<!-- (Level & quest) doors -->
<movevent type="StepOut" itemid="1228" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1230" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1246" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1248" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1260" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1262" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="3541" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="3550" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5104" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5113" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5122" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5131" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5293" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5295" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1224" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1226" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1242" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1244" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1256" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="1258" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="3543" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="3552" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5106" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5115" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5124" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5133" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5289" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5291" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5746" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="5749" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6203" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6205" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6207" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6209" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6260" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6262" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6264" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6266" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6897" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6899" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6906" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="6908" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="7039" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="7041" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="7048" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="7050" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="8552" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="8554" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="8556" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="8558" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9176" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9178" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9180" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9182" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9278" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9280" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9282" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="9284" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10279" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10281" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10283" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10285" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10474" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10476" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10483" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10485" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10783" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10785" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10792" event="script" value="closingdoor.lua"/>
<movevent type="StepOut" itemid="10794" event="script" value="closingdoor.lua"/>
<movevent type="StepIn" itemid="1228" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1230" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1246" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1248" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1260" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1262" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="3541" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="3550" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5104" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5113" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5122" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5131" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5293" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5295" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1224" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1226" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1242" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1244" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1256" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="1258" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="3543" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="3552" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5106" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5115" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5124" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5133" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5289" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5291" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5746" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="5749" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6203" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6205" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6207" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6209" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6260" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6262" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6264" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6266" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6897" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6899" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6906" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="6908" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="7039" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="7041" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="7048" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="7050" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="8552" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="8554" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="8556" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="8558" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9176" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9178" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9180" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9182" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9278" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9280" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9282" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="9284" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10279" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10281" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10283" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10285" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10474" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10476" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10483" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10485" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10783" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10785" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10792" event="script" value="walkback.lua"/>
<movevent type="StepIn" itemid="10794" event="script" value="walkback.lua"/>
 
<!-- Snow footprint tiles -->
<movevent type="StepIn" itemid="670" event="script" value="snow.lua"/>
<movevent type="StepIn" itemid="6594" event="script" value="snow.lua"/>
 
<!-- Create bread movements -->
<movevent type="AddItem" tileitem="1" itemid="1786" event="script" value="dough.lua"/>
<movevent type="AddItem" tileitem="1" itemid="1788" event="script" value="dough.lua"/>
<movevent type="AddItem" tileitem="1" itemid="1790" event="script" value="dough.lua"/>
<movevent type="AddItem" tileitem="1" itemid="1792" event="script" value="dough.lua"/>
 
<!-- Campfires -->
<movevent type="StepIn" itemid="1423" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1423" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1424" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1424" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1425" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1425" event="function" value="onAddField"/>
 
<!-- Fields -->
<movevent type="StepIn" itemid="1487" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1487" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1488" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1488" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1489" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1489" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1490" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1490" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1491" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1491" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1492" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1492" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1493" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1493" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1494" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1494" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1495" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1495" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1496" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1496" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1497" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1497" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1498" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1498" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1499" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1499" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1500" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1500" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1501" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1501" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1502" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1502" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1503" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1503" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1504" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1504" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1505" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1505" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1506" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1506" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1507" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1507" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="1508" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="1508" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="7359" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="7359" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="7360" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="7360" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="7465-7473" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="7465-7473" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="11094" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="11094" event="function" value="onAddField"/>
<movevent type="StepIn" itemid="11095" event="function" value="onStepInField"/>
<movevent type="AddItem" itemid="11095" event="function" value="onAddField"/>
 
<!-- Boots -->
<movevent type="Equip" itemid="2195" slot="feet" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2195" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="6132" slot="feet" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="6132" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2640" slot="feet" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2640" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7886" slot="feet" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7886" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7892" slot="feet" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7892" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7891" slot="feet" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7891" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7893" slot="feet" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7893" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9932" slot="feet" level="130" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="9932" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9933" slot="feet" level="130" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="9933" slot="feet" event="function" value="onDeEquipItem"/>
 
<!-- Amulets -->
<movevent type="Equip" itemid="2161" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2161" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2170" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2170" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2172" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2172" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2197" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2197" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2198" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2198" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2199" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2199" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2200" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2200" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2201" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2201" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2173" slot="necklace" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2173" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7887" slot="necklace" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7887" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7888" slot="necklace" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7888" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7889" slot="necklace" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7889" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7890" slot="necklace" event="function" value="onEquipItem">
<vocation id="1"/>
                                    <vocation id="5" showInDescription="0"/>
<vocation id="2"/>
                                  <vocation id="6" showInDescription="0"/>
                                   <vocation id="4"/>
                                   <vocation id="3"/>
                                   <vocation id="7" showInDescription="0"/>
                                   <vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7890" slot="necklace" event="function" value="onDeEquipItem"/>
<movevent type="Equip" fromid="10018" toid="10021" slot="necklace" level="80" event="function" value="onEquipItem"/>
<movevent type="DeEquip" fromid="10018" toid="10021" slot="necklace" event="function" value="onDeEquipItem"/>
 
<!-- Rings -->
<movevent type="Equip" itemid="2164" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2164" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2165" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2202" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2202" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2166" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2203" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2203" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2167" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2204" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2204" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2168" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2205" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2205" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2169" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2206" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2206" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2207" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2210" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2210" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2208" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2211" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2211" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2209" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2212" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2212" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2213" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2215" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2215" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2214" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="2216" slot="ring" event="function" value="onEquipItem"/>
                  <movevent type="Equip" itemid="12618" event="function" value="OnEquipItem"/>
                  <movevent type="DeEquip" itemid="12618" event="function" value="OnDeEquipItem"/>
                  <movevent type="Equip" itemid="3972" event="function" value="OnEquipItem"/>
                  <movevent type="DeEquip" itemid="3972" event="function" value="OnDeEquipItem"/>
<movevent type="DeEquip" itemid="2216" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="6300" slot="ring" event="function" value="onEquipItem"/>
<movevent type="Equip" itemid="6301" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="6301" slot="ring" event="function" value="onDeEquipItem"/>
 
<!-- Helmets -->
<movevent type="Equip" itemid="5461" slot="head" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="5461" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2474" slot="head" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2474" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2343" slot="head" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2343" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2323" slot="head" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2323" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7900" slot="head" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7900" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7901" slot="head" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7901" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7902" slot="head" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7902" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7903" slot="head" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7903" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8820" slot="head" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="6433" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="6433" slot="shield" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8820" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9778" slot="head" level="80" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="9778" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="10016" slot="head" level="50" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="10016" slot="head" event="function" value="onDeEquipItem"/>
 
<!-- Armors -->
<movevent type="Equip" itemid="2472" slot="armor" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2472" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2487" slot="armor" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2487" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2492" slot="armor" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2492" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2466" slot="armor" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2466" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2476" slot="armor" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2476" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2500" slot="armor" level="60" event="function" value="onEquipItem">
<vocation id="5"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2499" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2499" slot="head" level="60" event="function" value="onEquipItem">
<vocation id="5"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2537" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2537" slot="shield" level="60" event="function" value="onEquipItem">
<vocation id="5"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="10022" slot="feet" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="10022" slot="feet" level="60" event="function" value="onEquipItem">
<vocation id="5"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="3983" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="3983" slot="legs" level="60" event="function" value="onEquipItem">
<vocation id="5"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2500" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2660" slot="armor" event="function" value="onEquipItem">
<vocation id="5"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2660" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7884" slot="armor" level="50" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7884" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7897" slot="armor" level="50" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7897" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7898" slot="armor" level="50" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7898" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7899" slot="armor" level="50" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7899" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8819" slot="armor" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8819" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8821" slot="armor" level="50" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="8821" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8865" slot="armor" level="65" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8865" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8866" slot="armor" event="function" value="onEquipItem">
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8866" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8867" slot="armor" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8867" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8868" slot="armor" level="75" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8868" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8869" slot="armor" level="75" event="function" value="onEquipItem">
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8869" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8870" slot="armor" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8870" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8871" slot="armor" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8871" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8872" slot="armor" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8872" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8877" slot="armor" level="60" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8877" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8878" slot="armor" level="60" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8878" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8879" slot="armor" level="60" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8879" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8880" slot="armor" level="60" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8880" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8881" slot="armor" level="90" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8881" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8882" slot="armor" level="90" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8882" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8883" slot="armor" level="90" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8883" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8884" slot="armor" level="90" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8884" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8885" slot="armor" level="75" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8885" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8886" slot="armor" level="75" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="12603" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="12603" slot="armor" level="75" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8886" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8887" slot="armor" level="75" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8887" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8888" slot="armor" level="100" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8888" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8889" slot="armor" level="100" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8889" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8890" slot="armor" level="100" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8890" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8891" slot="armor" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8891" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8892" slot="armor" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8891" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8892" slot="armor" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8892" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9776" slot="armor" level="80" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="9776" slot="armor" event="function" value="onDeEquipItem"/>
 
<!-- Legs -->
<movevent type="Equip" itemid="2477" slot="legs" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2477" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2488" slot="legs" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2488" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2470" slot="legs" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2470" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2504" slot="legs" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2504" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7885" slot="legs" level="40" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7885" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7894" slot="legs" level="40" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7894" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7895" slot="legs" level="40" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7895" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7896" slot="legs" level="40" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7896" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9777" slot="legs" level="80" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="9777" slot="legs" event="function" value="onDeEquipItem"/>
 
<!-- Shields -->
<movevent type="Equip" fromid="8905" toid="8909" slot="shield" level="100" event="function" value="onEquipItem">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" fromid="8905" toid="8909" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8900" slot="shield" level="30" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8900" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8901" slot="shield" level="40" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
                  </movevent>
<movevent type="DeEquip" itemid="8990" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8977" slot="shield" level="40" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8901" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8902" slot="shield" level="50" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8902" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8903" slot="shield" level="60" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8903" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8904" slot="shield" level="70" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8904" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8918" slot="shield" level="80" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8918" slot="shield" event="function" value="onDeEquipItem"/>
 
<!-- Other -->
<movevent type="Equip" itemid="9956" slot="pickupable" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="9956" slot="pickupable" event="function" value="onDeEquipItem"/>
        <movevent type="StepIn" uniqueid="13700" event="script" value="vipe.lua"/>
        <movevent type="StepIn" uniqueid="13701" event="script" value="vipe1.lua"/>
        <movevent type="StepIn" uniqueid="13560" event="script" value="vip.lua"/>
        <movevent type="StepIn" uniqueid="13000" event="script" value="Red1.lua"/>
        <movevent type="StepIn" uniqueid="13001" event="script" value="Green.lua"/>
        <movevent type="StepIn" uniqueid="13561" event="script" value="vip2.lua"/>
        <movevent type="StepIn" uniqueid="13550" event="script" value="level.lua"/>
<movevent type="StepIn" actionid="29859" event="script" value="viptile.lua"/>
 
</movements>

OBS: Pelo jeito é quando algum player [VIP3] entra no server mas o que poderia ser?

Espero alguma resposta o mais rapido possivel, obrigado, caso precisar de mais algo me diz. Valeu !!

Editado por alexpaimel (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
function onStepIn(cid, item, position, fromPosition)
local config = {
msgDenied = "Voce nao tem a VIP3, para adquirir faca a quest logo ao lado <",
msgWelcome = "Welcome to VIP 3!!"
}
if getPlayerStorageValue(cid, 445566) <= 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
return TRUE
end

Tente assim.

Link para o post
Compartilhar em outros sites
Script Vip Tile:
 
function onStepIn(cid, item, position, fromPosition)
local config = {
msgDenied = "Voce nao tem a VIP3, para adquirir faca a quest logo ao lado <",
msgWelcome = "Welcome to VIP 3!!"
}
if getPlayerStorageValue(cid, 445566) = 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
end
return TRUE
end

Conteúdos Tragos Por Mim ao Fórum:

Venda de Vocações [Modern Aac] •

• Comando !Saga 

• [Modern Aac] DragonBall 

• Esconder •

• Naruto 2018

• • •

• •

'NtoProject - Breve'

[Show OFF] Disponível

Link para o post
Compartilhar em outros sites
function onStepIn(cid, item, position, fromPosition)
local config = {
msgDenied = "Voce nao tem a VIP3, para adquirir faca a quest logo ao lado <",
msgWelcome = "Welcome to VIP 3!!"
}
if getPlayerStorageValue(cid, 445566) <= 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
return TRUE
end

Tente assim.

 

Deu certo. Obrigado. Agora deu este outro erro sabe me ajudar: http://i.imgur.com/Z238Ps6.jpg

E o cassino sytem não funciona da a seguinte mensagem : Precisa esperar o jogo finalizar para selecionar outro item da sorte. Mas eu não mechi em nada, foi apenas trocar o script e deu este erro no cassino agora, pode me ajudar?

Link para o post
Compartilhar em outros sites

Poste o script do data/actions/scripts/cassino_slots.lua

------- Script by: Adriano Swatt ----
local condition_infight = createConditionObject(CONDITION_INFIGHT)
setConditionParam(condition_infight, CONDITION_PARAM_TICKS, 8000)
 
local gstrg = 12129 -- Não Mexa, Storage de Controle Item Global.
local gstrg_control = 12130 -- Não Mexa, Storage de Controle Jogo em Execução.
local istrg = {12131, 12132, 12133} -- Não Mexa, Storage de Itens.
local items = {
[0] = {0},  -- NEUTRO
[1] = {2160}, -- ID do ITEM 1
[2] = {2140}, -- ID do ITEM 2
[3] = {8976}, -- ID do ITEM 3
[4] = {9002}, -- ID do ITEM 4
[5] = {5809}, -- ID do ITEM 5
[6] = {8266}, -- ID do ITEM 6
[7] = {5808}, -- ID do ITEM 7
[8] = {8983}, -- ID do ITEM 8
[9] = {8980}, -- ID do ITEM 9
[10] = {8979}, --ID do ITEM 10
[11] = {0}  -- NEUTRO
}
local qtdd = 10 -- Quantidade de Itens a Sortear // Não precisa apagar as demais linhas de configuração acima.
local valor = {2160, 20} -- ID da Moeda pra Jogar, Quantidade (preço)
local comb1 = {2160, 50} -- ID , Quantidade, para quem acertar 1 item da combinação
local comb2 = {2160, 250} -- ID , Quantidade, para quem acertar 2 item da combinação
local comb3 = {2160, 500} -- ID , Quantidade, para quem acertar todos itens da combinação + o prêmio configurado acima
local premio = {10309, 1} -- ID do Prêmio, Quantidade (que o player ganhará ao acertar os 3 itens)
local iluck_pos = {x=159, y=43, z=6} -- Posição onde fica a amostra do item da sorte
local pos = {{x=160, y=43, z=6}, {x=161, y=43, z=6}, {x=162, y=43, z=6}} -- Posições onde os itens sorteados aparecerão
local effect = 26 -- Efeito na hora de selecionar o item da sorte
local eff = 30 -- Efeito ao criar os itens na mesa (hora do sorteio)
local reff = 29 -- Efeito ao remover itens da mesa (ao finalizar)
-------- FIM DAS CONFIGURAÇÕES --------
 
function onUse(cid, item, frompos, item2, topos)
local dir = getPlayerLookDir(cid)
local gget = getGlobalStorageValue(gstrg)
local gnumb = items[gget]
local gnumba = items[gget + 1]
local gnumbs = items[gget - 1]
    
    if gnumb then
        if dir == WEST or dir == EAST then -- Caso não esteja em posição de jogar.
            doPlayerSendTextMessage(cid, 18, "Para jogar, siga as dicas abaixo: \n Para escolher o item da sorte, vire-se para baixo e clique na alavanca até selecioná-lo. \n Para jogar, após ter selecionado o item da sorte, vire-se para cima e puxe novamente a alavanca.")
            
        elseif dir == NORTH then -- Posição de Jogar
            if gget ~= 0 then
                if getGlobalStorageValue(gstrg_control) < 1 then
                    if getPlayerItemCount(cid, valor[1]) >= valor[2] then
                    math1 = math.random(1, qtdd)
                    math2 = math.random(1, qtdd)
                    math3 = math.random(1, qtdd)
                        doPlayerRemoveItem(cid, valor[1], valor[2])
                        mayNotMove(cid, true)
                        doAddCondition(cid, condition_infight)
                        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Máquina em funcionamento, aguarde.")
                        setGlobalStorageValue(gstrg_control, 1)
                    --- Criando itens
                        doSendMagicEffect(pos[1], eff)
                        doCreateItem(items[math1][1], pos[1])
                        setGlobalStorageValue(istrg[1], items[math1][1])
                        addEvent(doSendMagicEffect, 1000, pos[2], eff)
                        addEvent(doCreateItem, 1000, items[math2][1], pos[2])
                        setGlobalStorageValue(istrg[2], items[math2][1])
                        addEvent(doSendMagicEffect, 2000, pos[3], eff)
                        addEvent(doCreateItem, 2000, items[math3][1], pos[3])
                        setGlobalStorageValue(istrg[3], items[math3][1])
                    --- Checando Itens
                        if gnumbs[1] == getGlobalStorageValue(istrg[1]) then
                            doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você já acertou o primeiro item da combinação.")
                            setPlayerStorageValue(cid, gstrg, (getPlayerStorageValue(cid, gstrg) + 1))
                        else
                            doPlayerSendTextMessage(cid, 18, "Que pena, já perdeu na primeira chance.")
                        end
                        if gnumbs[1] == getGlobalStorageValue(istrg[2]) then
                            addEvent(doPlayerSendTextMessage, 1000, cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você acertou o segundo item da combinação.")
                            setPlayerStorageValue(cid, gstrg, (getPlayerStorageValue(cid, gstrg) + 1))
                        else
                            addEvent(doPlayerSendTextMessage, 1000, cid, 18, "Que pena, perdeu na segunda chance.")
                        end
                        if gnumbs[1] == getGlobalStorageValue(istrg[3]) then
                            addEvent(doPlayerSendTextMessage, 2000, cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você acertou o terceiro item da combinação.")
                            setPlayerStorageValue(cid, gstrg, (getPlayerStorageValue(cid, gstrg) + 1))
                        else
                            addEvent(doPlayerSendTextMessage, 2000, cid, 18, "Que pena, perdeu na terceira chance.")
                        end
                        addEvent(function()
                        for z = 1, 3 do
                            doRemoveItem(getTileItemById(pos[z], getGlobalStorageValue(istrg[z])).uid, 1)
                            doSendMagicEffect(pos[z], reff)
                        end
                            mayNotMove(cid, false)
                            setGlobalStorageValue(gstrg_control, 0)
                            addEvent(CassPremio, 500, cid)
                        end, 5000)
                    --- Fim Checagem
                    else
                        doPlayerSendCancel(cid, "Você precisa de "..valor[2].." "..getItemNameById(valor[1]).." para jogar.")
                    end
                else
                    doPlayerSendCancel(cid, "Precisa esperar o jogo finalizar para jogar novamente.")
                end
            else
                doPlayerSendCancel(cid, "Primeiro selecione o item de sorte para poder jogar.")
            end
            
        elseif dir == SOUTH then -- Posição de Selecionar Item da Sorte
            if getGlobalStorageValue(gstrg_control) < 1 then
                if gget <= 0 then
                    doCreateItem(gnumba[1], 1, iluck_pos)
                    doSendMagicEffect(iluck_pos, effect)
                    doPlayerSendCancel(cid, "Você selecionou o "..getItemNameById(gnumba[1]).." como seu item da sorte.")
                    setGlobalStorageValue(gstrg, 2)
                elseif gget >= 2 and gget < (qtdd + 1) then    
                    if getTileItemById(iluck_pos, gnumbs[1]).uid > 0 then
                        doRemoveItem(getTileItemById(iluck_pos, gnumbs[1]).uid, 1)
                    end
                    doCreateItem(gnumb[1], 1, iluck_pos)
                    doSendMagicEffect(iluck_pos, effect)
                    doPlayerSendCancel(cid, "Você selecionou o "..getItemNameById(gnumb[1]).." como seu item da sorte.")
                    setGlobalStorageValue(gstrg, (gget + 1))
                elseif gget >= (qtdd + 1) then
                    if getTileItemById(iluck_pos, gnumbs[1]).uid > 0 then
                        doRemoveItem(getTileItemById(iluck_pos, gnumbs[1]).uid, 1)
                    end
                    doSendMagicEffect(iluck_pos, effect)
                    doPlayerSendCancel(cid, "Você resetou os itens.")
                    setGlobalStorageValue(gstrg, 0)
                end
            else
                doPlayerSendCancel(cid, "Precisa esperar o jogo finalizar para selecionar outro item da sorte.")
            end
        end
    else
        doPlayerSendCancel(cid, "Você ativou o Cassino Slots.")
        setGlobalStorageValue(gstrg, 0)
    end
return true
end
 
function CassPremio(cid)
    if getPlayerStorageValue(cid, gstrg) == 1 then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Hmmm, você acertou um item da combinação e foi recompensado em "..comb1[2].." "..getItemNameById(comb1[1])..".")
        doPlayerAddItem(cid, comb1[1], comb1[2])
        setPlayerStorageValue(cid, gstrg, 0)
    elseif getPlayerStorageValue(cid, gstrg) == 2 then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Uffa, foi por pouco, mas você acertou dois itens da combinação e foi recompensado em "..comb2[2].." "..getItemNameById(comb2[1])..".")
        doPlayerAddItem(cid, comb2[1], comb2[2])
        setPlayerStorageValue(cid, gstrg, 0)
    elseif getPlayerStorageValue(cid, gstrg) == 3 then
        doBroadcastMessage("Parabéns ao jogador "..getPlayerName(cid).." acertou as 3 combinações da Cassino Slots e foi recompensado em "..comb3[2].." "..getItemNameById(comb3[1]).." e "..premio[2].." "..getItemNameById(premio[1])..".")
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você acertou TODOS itens da combinação e foi recompensado em "..comb3[2].." "..getItemNameById(comb3[1]).." e "..premio[2].." "..getItemNameById(premio[1])..".")
        doPlayerAddItem(cid, premio[1], premio[2])
        doPlayerAddItem(cid, comb3[1], comb3[2])
        setPlayerStorageValue(cid, gstrg, 0)
    elseif getPlayerStorageValue(cid, gstrg) > 3 then
        doPlayerSendCancel(cid, "Mais sorte da próxima vez.")
        setPlayerStorageValue(cid, gstrg, 0)
    end
return true
end
Link para o post
Compartilhar em outros sites
------- Script by: Adriano Swatt ----
local condition_infight = createConditionObject(CONDITION_INFIGHT)
setConditionParam(condition_infight, CONDITION_PARAM_TICKS, 8000)
 
local gstrg = 12129 -- Não Mexa, Storage de Controle Item Global.
local gstrg_control = 12130 -- Não Mexa, Storage de Controle Jogo em Execução.
local istrg = {12131, 12132, 12133} -- Não Mexa, Storage de Itens.
local items = {
[0] = {0},  -- NEUTRO
[1] = {2160}, -- ID do ITEM 1
[2] = {2140}, -- ID do ITEM 2
[3] = {8976}, -- ID do ITEM 3
[4] = {9002}, -- ID do ITEM 4
[5] = {5809}, -- ID do ITEM 5
[6] = {8266}, -- ID do ITEM 6
[7] = {5808}, -- ID do ITEM 7
[8] = {8983}, -- ID do ITEM 8
[9] = {8980}, -- ID do ITEM 9
[10] = {8979}, --ID do ITEM 10
[11] = {0}  -- NEUTRO
}
local qtdd = 10 -- Quantidade de Itens a Sortear // Não precisa apagar as demais linhas de configuração acima.
local valor = {2160, 20} -- ID da Moeda pra Jogar, Quantidade (preço)
local comb1 = {2160, 50} -- ID , Quantidade, para quem acertar 1 item da combinação
local comb2 = {2160, 250} -- ID , Quantidade, para quem acertar 2 item da combinação
local comb3 = {2160, 500} -- ID , Quantidade, para quem acertar todos itens da combinação + o prêmio configurado acima
local premio = {10309, 1} -- ID do Prêmio, Quantidade (que o player ganhará ao acertar os 3 itens)
local iluck_pos = {x=159, y=43, z=6} -- Posição onde fica a amostra do item da sorte
local pos = {{x=160, y=43, z=6}, {x=161, y=43, z=6}, {x=162, y=43, z=6}} -- Posições onde os itens sorteados aparecerão
local effect = 26 -- Efeito na hora de selecionar o item da sorte
local eff = 30 -- Efeito ao criar os itens na mesa (hora do sorteio)
local reff = 29 -- Efeito ao remover itens da mesa (ao finalizar)
-------- FIM DAS CONFIGURAÇÕES --------
 
function onUse(cid, item, frompos, item2, topos)
local dir = getPlayerLookDir(cid)
local gget = getGlobalStorageValue(gstrg)
local gnumb = items[gget]
local gnumba = items[gget + 1]
local gnumbs = items[gget - 1]
    
    if gnumb then
        if dir == WEST or dir == EAST then -- Caso não esteja em posição de jogar.
            doPlayerSendTextMessage(cid, 18, "Para jogar, siga as dicas abaixo: \n Para escolher o item da sorte, vire-se para baixo e clique na alavanca até selecioná-lo. \n Para jogar, após ter selecionado o item da sorte, vire-se para cima e puxe novamente a alavanca.")
            
        elseif dir == NORTH then -- Posição de Jogar
            if gget ~= 0 then
                if getGlobalStorageValue(gstrg_control) < 1 then
                    if getPlayerItemCount(cid, valor[1]) >= valor[2] then
                    math1 = math.random(1, qtdd)
                    math2 = math.random(1, qtdd)
                    math3 = math.random(1, qtdd)
                        doPlayerRemoveItem(cid, valor[1], valor[2])
                        mayNotMove(cid, true)
                        doAddCondition(cid, condition_infight)
                        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Máquina em funcionamento, aguarde.")
                        setGlobalStorageValue(gstrg_control, 1)
                    --- Criando itens
                        doSendMagicEffect(pos[1], eff)
                        doCreateItem(items[math1][1], pos[1])
                        setGlobalStorageValue(istrg[1], items[math1][1])
                        addEvent(doSendMagicEffect, 1000, pos[2], eff)
                        addEvent(doCreateItem, 1000, items[math2][1], pos[2])
                        setGlobalStorageValue(istrg[2], items[math2][1])
                        addEvent(doSendMagicEffect, 2000, pos[3], eff)
                        addEvent(doCreateItem, 2000, items[math3][1], pos[3])
                        setGlobalStorageValue(istrg[3], items[math3][1])
                    --- Checando Itens
                        if gnumbs[1] == getGlobalStorageValue(istrg[1]) then
                            doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você já acertou o primeiro item da combinação.")
                            setPlayerStorageValue(cid, gstrg, (getPlayerStorageValue(cid, gstrg) + 1))
                        else
                            doPlayerSendTextMessage(cid, 18, "Que pena, já perdeu na primeira chance.")
                        end
                        if gnumbs[1] == getGlobalStorageValue(istrg[2]) then
                            addEvent(doPlayerSendTextMessage, 1000, cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você acertou o segundo item da combinação.")
                            setPlayerStorageValue(cid, gstrg, (getPlayerStorageValue(cid, gstrg) + 1))
                        else
                            addEvent(doPlayerSendTextMessage, 1000, cid, 18, "Que pena, perdeu na segunda chance.")
                        end
                        if gnumbs[1] == getGlobalStorageValue(istrg[3]) then
                            addEvent(doPlayerSendTextMessage, 2000, cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você acertou o terceiro item da combinação.")
                            setPlayerStorageValue(cid, gstrg, (getPlayerStorageValue(cid, gstrg) + 1))
                        else
                            addEvent(doPlayerSendTextMessage, 2000, cid, 18, "Que pena, perdeu na terceira chance.")
                        end
                        addEvent(function()
						if (getTileItemById(pos[z], getGlobalStorageValue(istrg[z])).uid) > 0 then
                        for z = 1, 3 do
                            doRemoveItem(getTileItemById(pos[z], getGlobalStorageValue(istrg[z])).uid, 1)
                            doSendMagicEffect(pos[z], reff)
                        end
						end
                            mayNotMove(cid, false)
                            setGlobalStorageValue(gstrg_control, 0)
                            addEvent(CassPremio, 500, cid)
                        end, 5000)
                    --- Fim Checagem
                    else
                        doPlayerSendCancel(cid, "Você precisa de "..valor[2].." "..getItemNameById(valor[1]).." para jogar.")
                    end
                else
                    doPlayerSendCancel(cid, "Precisa esperar o jogo finalizar para jogar novamente.")
                end
            else
                doPlayerSendCancel(cid, "Primeiro selecione o item de sorte para poder jogar.")
            end
            
        elseif dir == SOUTH then -- Posição de Selecionar Item da Sorte
            if getGlobalStorageValue(gstrg_control) < 1 then
                if gget <= 0 then
                    doCreateItem(gnumba[1], 1, iluck_pos)
                    doSendMagicEffect(iluck_pos, effect)
                    doPlayerSendCancel(cid, "Você selecionou o "..getItemNameById(gnumba[1]).." como seu item da sorte.")
                    setGlobalStorageValue(gstrg, 2)
                elseif gget >= 2 and gget < (qtdd + 1) then    
                    if getTileItemById(iluck_pos, gnumbs[1]).uid > 0 then
                        doRemoveItem(getTileItemById(iluck_pos, gnumbs[1]).uid, 1)
                    end
                    doCreateItem(gnumb[1], 1, iluck_pos)
                    doSendMagicEffect(iluck_pos, effect)
                    doPlayerSendCancel(cid, "Você selecionou o "..getItemNameById(gnumb[1]).." como seu item da sorte.")
                    setGlobalStorageValue(gstrg, (gget + 1))
                elseif gget >= (qtdd + 1) then
                    if getTileItemById(iluck_pos, gnumbs[1]).uid > 0 then
                        doRemoveItem(getTileItemById(iluck_pos, gnumbs[1]).uid, 1)
                    end
                    doSendMagicEffect(iluck_pos, effect)
                    doPlayerSendCancel(cid, "Você resetou os itens.")
                    setGlobalStorageValue(gstrg, 0)
                end
            else
                doPlayerSendCancel(cid, "Precisa esperar o jogo finalizar para selecionar outro item da sorte.")
            end
        end
    else
        doPlayerSendCancel(cid, "Você ativou o Cassino Slots.")
        setGlobalStorageValue(gstrg, 0)
    end
return true
end
 
function CassPremio(cid)
    if getPlayerStorageValue(cid, gstrg) == 1 then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Hmmm, você acertou um item da combinação e foi recompensado em "..comb1[2].." "..getItemNameById(comb1[1])..".")
        doPlayerAddItem(cid, comb1[1], comb1[2])
        setPlayerStorageValue(cid, gstrg, 0)
    elseif getPlayerStorageValue(cid, gstrg) == 2 then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Uffa, foi por pouco, mas você acertou dois itens da combinação e foi recompensado em "..comb2[2].." "..getItemNameById(comb2[1])..".")
        doPlayerAddItem(cid, comb2[1], comb2[2])
        setPlayerStorageValue(cid, gstrg, 0)
    elseif getPlayerStorageValue(cid, gstrg) == 3 then
        doBroadcastMessage("Parabéns ao jogador "..getPlayerName(cid).." acertou as 3 combinações da Cassino Slots e foi recompensado em "..comb3[2].." "..getItemNameById(comb3[1]).." e "..premio[2].." "..getItemNameById(premio[1])..".")
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabéns, você acertou TODOS itens da combinação e foi recompensado em "..comb3[2].." "..getItemNameById(comb3[1]).." e "..premio[2].." "..getItemNameById(premio[1])..".")
        doPlayerAddItem(cid, premio[1], premio[2])
        doPlayerAddItem(cid, comb3[1], comb3[2])
        setPlayerStorageValue(cid, gstrg, 0)
    elseif getPlayerStorageValue(cid, gstrg) > 3 then
        doPlayerSendCancel(cid, "Mais sorte da próxima vez.")
        setPlayerStorageValue(cid, gstrg, 0)
    end
return true
end
Link para o post
Compartilhar em outros sites

Cara não deu, mesmo erro in game. Segue a print do erro: http://i.imgur.com/hQVKj7r.jpg

Caso queira saber mais sobre o script confira em :
http://www.tibiaking.com/forum/topic/50977-sistema-cassino-slots/

Mas eu acho que não é nescessario e obrigado pelas respostas aguardo uma sobre este assunto!

Link para o post
Compartilhar em outros sites

local config = {
msgDenied = "Voce nao tem a VIP3, para adquirir faca a quest logo ao lado <",
msgWelcome = "Welcome to VIP 3!!"
}
function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) then
if getPlayerStorageValue(cid, 445566) - os.time() <= 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
end
return TRUE
end

Ando devagar, porque já tive pressa. E levo esse sorriso, porque já chorei demais...

________________________________________________________________________________

Minhas Sprites:

Mega Metagross

Mega Abomasnow

Pack de Shinys

[Posso atualizá-lo com novos shinys a qualquer momento]

Tutoriais:

[Completo] Criando e adicionando um novo Pokémon

[Actions] Criando quest no RME

Editores Lua/Xml/Sync Entre outros:

Editores Win/Mac/Linux

Link para o post
Compartilhar em outros sites

Nao é necessario 

if isPlayer(cid) then

Conteúdos Tragos Por Mim ao Fórum:

Venda de Vocações [Modern Aac] •

• Comando !Saga 

• [Modern Aac] DragonBall 

• Esconder •

• Naruto 2018

• • •

• •

'NtoProject - Breve'

[Show OFF] Disponível

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por BonasxD
      Bom galera primeiramente não sei se estou na area correta ou se nao estou, se nao por favor mover para area certa, grato!
      Estou com esse erro ao tenta instalar o gesior usando a tfs 0.4 não passa dessa parte ja tentei de tudo e nao sei oque fazer ;(
       
      Testei o mesmo procedimento no meu Windows e Funcionou corretamente agora no meu VM(Ubuntu22) não passa desse erro. 
       
      Ja pesquisei por tudo e não sei oque fazer

    • Por Kill of sumoners
      Boa noite, estou com um erro ao atacar um player em meu sv eu nao pego pk, nem sai magia, aparece a mensagem "voce so pode usar isso em criaturas"
      obs: magia em area acerta e pega pk, apenas as targets ou hits de arma nao vao 
    • Por daviscript
      Após verificar que vários servidores estão sofrendo com problemas na página Guilds, onde era possível fazer diversas modificações com os players de qualquer guild, até a Cipsoft passou por esse problema recentemente...
      Resolvi compartilhar com vocês a correção de todos os Bugs conhecidos na Página de Guilds.
       
      Foram fixados os seguintes Bugs:
      ● Remover Players que não forem de sua guild.
      ● Aceitar guild com 1 personagem que não seja da sua conta.
      ● Editar o Text/Title de 1 player que não esteja na sua guild.
      ● Editar Ranks que não sejam da sua guild.
      ● Editar Rank de Players que não são da sua guild.
       
      Qualquer outro BUG que você encontrar... Pode listar aqui nesse tópico.
       
      OBS: É meu primeiro post... Então se estiver no local errado ou se algum moderador quiser reformular / formatar o tópico, fique a vontade.
       
       Vou deixar o Spoiler do php abaixo, mas também estou anexando o arquivo.
       
       
      Download: Mediafire
      Scan: Virus Total
       
       
    • Por Guilherme HP
      ola boa noite, alguem poderia ta me ajudando nesse erro que apareceu na minha vps quando vou abrir o meu game?

      [./tfs: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory]
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo