Tudo que lukmeq postou
- Mudar site em area donate
- site e config.lua
- site e config.lua
- site e config.lua
- site e config.lua
- criando site pro servidor
- CRIAR SITE PRO SERVIDOR
- CRIAR SITE PRO SERVIDOR
- CRIAR SITE PRO SERVIDOR
- ACCOUNT Manager
- ACCOUNT Manager
- ACCOUNT Manager
- ACCOUNT Manager
- COMANDOS
- COMANDOS
- problema no Save
- problema no Save
-
problema no Save
no advancesave.lua tem isso local multiplier = {} local counter = 0 function onStatsChange(cid, attacker, type, combat, value) if getPlayerStorageValue(cid, 10094) >= 1 and attacker ~= 0 and combat ~= COMBAT_HEALING then if isPlayer(attacker) == TRUE then multiplier = 4 else multiplier = 10 end function doAttack(attacker) if isCreature(attacker) == TRUE and getTilePzInfo(getCreaturePosition(cid)) == false and getTilePzInfo(getCreaturePosition(attacker)) == false then if counter < 5 then local damage = math.floor((value * multiplier) / 5) doTargetCombatHealth(cid, attacker, COMBAT_DROWNDAMAGE, -damage, -damage, 129) doSendDistanceShoot(getCreaturePosition(cid), getCreaturePosition(attacker), 24) counter = counter + 1 addEvent(doAttack,1000,attacker) else stopEvent(attacker,doAttack) counter = 0 end else stopEvent(attacker,doAttack) counter = 0 end end addEvent(doAttack, 0, attacker) if isCreature(attacker) == TRUE then doSendMagicEffect(getCreaturePos(attacker), 66) end doSendAnimatedText(getCreaturePos(cid), 'REFLECT', TEXTCOLOR_DARKYELLOW) if isCreature(attacker) == true and isPlayer(attacker) == false then local addSoul = 40 if (getPlayerSoul(cid) + 40) > 250 then addSoul = 250 - getPlayerSoul(cid) end doPlayerAddSoul(cid, addSoul) end --if getPlayerStorageValue(cid, 10094) == 1 then --setPlayerStorageValue(cid, 10094, 2) --elseif getPlayerStorageValue(cid, 10094) == 2 then doRemoveCondition(cid, CONDITION_FOOD) setPlayerStorageValue(cid, 10094, 0) --end return false else return true end end
- problema no Save
-
Tirar o System reset do seu mapa
ACHEI ISSO <?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end function getResets(cid) return (isPlayer(cid) and getCreatureStorage(cid, config.storage) + 1) end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> </mod>
- Tirar o System reset do seu mapa
-
Tirar o System reset do seu mapa
<?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Gods --> <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/> <talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/> <talkaction log="yes" words="!mc" access="5" event="script" value="mc.lua"/> <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/> <talkaction words="/searchitem" access="5" event="script" value="searchitem.lua"/> <!-- Community Managers --> <talkaction words="/additem" acces="5" event="script" value="additem.lua"/> <talkaction log="yes" words="/s" access="5" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="5" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="5" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="5" event="script" value="reload.lua"/> <talkaction log="yes" words="/newtype" access="5" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="5" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="5" event="script" value="owner.lua"/> <talkaction log="yes" words="/storage" access="5" event="script" value="storage.lua"/> <talkaction log="yes" words="/config" access="5" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i" access="5" event="script" value="createitem.lua"/> <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/> <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/> <talkaction access="4" words="/y" event="script" value="animatedtext.lua"/> <talkaction log="yes" words="/bc" access="5" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="5" words="/mkick" event="script" value="masskick.lua"/> <talkaction log="yes" words="/save" access="5" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="5" event="script" value="clean.lua"/> <talkaction log="yes" words="/c" access="5" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/kick" access="5" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="5" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/mc" access="5" event="script" value="multicheck.lua"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/> <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/> <talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="/pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!car" event="script" value="car.lua"/> <talkaction log="no" access="0" words="!dance" event="script" value="dance.lua"/> <talkaction words="!vipdays;!buyvip;/checkvip;/addvip;/delvip" script="systemvip.lua"/> <talkaction words="!frags" event="script" value="frags.lua"/> <talkaction words="!fly" event="script" value="fly.lua"/> <talkaction words="!aol;!AOL" event="script" value="aol.lua"/> <talkaction words="!online".. tem isso mais nao tem o bang do reset mano
- Tirar o System reset do seu mapa
- Tirar o System reset do seu mapa
- [8.60] Baiak ROX ! Editado By DeathRocks [Cast + Wars System]