Ir para conteúdo
  • Cadastre-se

Normal MATO O BIXO MAS NÃO CONTA PARA A TASK


Posts Recomendados

Ola,estou testando o script killinginthenameof.lua

Porem,instalei tudo corretamente,com algumas edições,mas não funciona nem o original,nem o editado com os monstros defenidos por mim,Criei na pasta creaturescripts,e registrei no login.lua,mas mesmo assim quando eu mato o bixo determinado ele não aparece no meu default,e quando falo report para o npc ,ele fala que matei 0 de X monstros.

 

Segue meus scripts.

Login.lua

Citar

local config = {
	loginMessage = getConfigValue('loginMessage')
}

function onLogin(cid)
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 8)
	end

	local accountManager = getPlayerAccountManager(cid)
	if(accountManager == MANAGER_NONE) then
		local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
		if(lastLogin > 0) then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
			str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
		else
			str = str .. " Please choose your outfit."
			doPlayerSendOutfitWindow(cid)
		end

		doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
	elseif(accountManager == MANAGER_NAMELOCK) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
	elseif(accountManager == MANAGER_ACCOUNT) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
	else
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
	end

	if(not isPlayerGhost(cid)) then
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
	end

	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "ferumbrasoftower")
	registerCreatureEvent(cid, "ushuriel")
	registerCreatureEvent(cid, "thed")
    registerCreatureEvent(cid, "TopFrags")
	registerCreatureEvent(cid, "GuildMotd")
	registerCreatureEvent(cid, "azerus")
	registerCreatureEvent(cid, "points")
	registerCreatureEvent(cid, "attackguild")	
	registerCreatureEvent(cid, "advance")
	registerCreatureEvent(cid, "inquisitionPortals")
	registerCreatureEvent(cid, "SkullCheck")
	registerCreatureEvent(cid, "ReportBug")
	registerCreatureEvent(cid, "PlayerKill")
	registerCreatureEvent(cid, "KillingInTheNameOf")
	registerCreatureEvent(cid, "AutoLootMoney")
	registerCreatureEvent(cid, "war")
	registerCreatureEvent(cid, "war_login")
    registerCreatureEvent(cid, "FimVip")
    registerCreatureEvent(cid, "VipReceive")
	registerCreatureEvent(cid, "killer")
	registerCreatureEvent(cid, "amulet")
	registerCreatureEvent(cid, "ExpVip")
	registerCreatureEvent(cid, "skullamulet")
	registerCreatureEvent(cid, "chargeamulet")
	registerCreatureEvent(cid, "foreveramulet")
      registerCreatureEvent(cid, "zombieevent")
	
	registerCreatureEvent(cid, "ga1")
			registerCreatureEvent(cid, "ga2")
				registerCreatureEvent(cid, "ga3")
					registerCreatureEvent(cid, "gv1")
						registerCreatureEvent(cid, "gv2")
							registerCreatureEvent(cid, "gv3")
								

    if (InitArenaScript ~= 0) then
    InitArenaScript = 1
    -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 3 he must start from zero
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena  
return true
end

 

 

Killinginthenameof.lua

 

  function onKill(cid, target, lastHit)

local questCreatures =
{
        ["Rotworm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 20, raceName = "Rotworms"},
        ["Carrion Worm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15001, killsRequired = 20, raceName = "Rotworms"},

        ["Dwarf"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15004, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Soldier"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15005, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Guard"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15006, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Geomancer"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15007, killsRequired = 20, raceName = "Dwarfs"},

        ["Kongra"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15011, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Sibang"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15008, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Merlkin"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15009, killsRequired = 50, raceName = "Apes-Macacos"},

        ["Bog Raider"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15016, killsRequired = 50, raceName = "Bog Raiders"},
        ["Blood Beast"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15042, killsRequired = 50, raceName = "Bog Raiders"},

        ["Dragon"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15013, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15014, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15010, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15055, killsRequired = 50, raceName = "Dragons"},

        ["Hydra"] = {questStarted = 1515, questStorage = 65005, creatureStorage = 15017, killsRequired = 100, raceName = "Hydras"},

        ["Frost Dragon"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15018, killsRequired = 100, raceName = "Frost Dragons"},
        ["Frost Dragon Hatchling"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15002, killsRequired = 100, raceName = "Frost Dragons"},

        ["Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15019, killsRequired = 100, raceName = "Sea Serpents"},
        ["Young Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15040, killsRequired = 100, raceName = "Sea Serpents"},

        ["Serpent Spawn"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15020, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Serpent Spawns"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15041, killsRequired = 100, raceName = "Serpent Spawns"},

        ["Medusa"] = {questStarted = 1519, questStorage = 65009, creatureStorage = 15021, killsRequired = 100, raceName = "Medusas"},

        ["Lizard Templar"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15022, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Lord"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15023, killsRequired = 100, raceName = "Lizards"},
        ["Lizard High Guard"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15024, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Zaogun"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15025, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Legionnaire"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15026, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Chosen"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15031, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Dragon Priest"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15030, killsRequired = 100, raceName = "Lizards"},

        ["Draken Warmaster"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15027, killsRequired = 100, raceName = "Drakens"},
        ["Draken Spellweaver"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15003, killsRequired = 100, raceName = "Drakens"},
        ["Draken Elite"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15028, killsRequired = 100, raceName = "Drakens"},
        ["Draken Abomination"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15029, killsRequired = 100, raceName = "Drakens"},

        ["Warlock"] = {questStarted = 1522, questStorage = 65012, creatureStorage = 15032, killsRequired = 100, raceName = "Warlocks"},

        ["Infernalist"] = {questStarted = 1523, questStorage = 65013, creatureStorage = 15036, killsRequired = 100, raceName = "Infernalists"},

        ["Behemoth"] = {questStarted = 1524, questStorage = 65014, creatureStorage = 15043, killsRequired = 100, raceName = "Behemoths"},

        ["Worker Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15044, killsRequired = 100, raceName = "Golems"},
        ["War Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15045, killsRequired = 100, raceName = "Golems"},
        ["Moria Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15046, killsRequired = 100, raceName = "Golems"},
        ["Manwe"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15047, killsRequired = 100, raceName = "Golems"},

        ["Caribian Pirate"] = {questStarted = 1526, questStorage = 65016, creatureStorage = 15048, killsRequired = 100, raceName = "Pirates"},

        ["Ghastly Dragon"] = {questStarted = 1527, questStorage = 65017, creatureStorage = 15049, killsRequired = 100, raceName = "Ghastly Dragons"},

        ["Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15050, killsRequired = 100, raceName = "Necrolords"},
        ["Blood Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15051, killsRequired = 100, raceName = "Necrolords"},

        ["Demon"] = {questStarted = 1529, questStorage = 65019, creatureStorage = 15052, killsRequired = 50, raceName = "Demons"}
}

local creature = questCreatures[getCreatureName(target)]
       
        if creature then
                if(isPlayer(target) == true) then
                        return true
                end
                if getPlayerStorageValue(cid, creature.questStarted) > 0 then
                        if getPlayerStorageValue(cid, creature.questStorage) < creature.killsRequired then
                                if getPlayerStorageValue(cid, creature.questStorage) < 0 then
                                        setPlayerStorageValue(cid, creature.questStorage, 0)
                                end

                                if getPlayerStorageValue(cid, creature.creatureStorage) < 0 then
                                        setPlayerStorageValue(cid, creature.creatureStorage, 0)
                                end
                                setPlayerStorageValue(cid, creature.questStorage, getPlayerStorageValue(cid, creature.questStorage) + 1)
                                setPlayerStorageValue(cid, creature.creatureStorage, getPlayerStorageValue(cid, creature.creatureStorage) + 1)
                                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "" .. getPlayerStorageValue(cid, creature.creatureStorage) .. " " .. getCreatureName(target) .. " defeated. Total [" .. getPlayerStorageValue(cid, creature.questStorage) .. "/" .. creature.killsRequired .. "] " .. creature.raceName .. ".")
                        end
                end
        end
        return true
end

Creaturescripts.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
	<event type="login" name="PlayerLogin" event="script" value="login.lua"/>
    	<event type="login" name="viplogin" script="viplogin.lua"/>
    	<event type="login" name="firstitem" script="firstitems.lua"/>
    	<event type="death" name="ferumbrasoftower" event="script" value="ferumbrasoftower.lua"/>
    	<event type="death" name="ushuriel" event="script" value="ushuriel.lua"/>
	<event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/>
	<event type="receivemail" name="Mail" event="script" value="mail.lua"/>
	<event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
	<event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>
	<event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/>
      <event type="statschange" name="zombieevent" event="script" value="zombievent.lua"/>
	<event type="login" name="FimVip" event="script" value="vip.lua"/>
	<event type="login" name="ExpVip" script="vipexp.lua"/>

	<event type="PrepareDeath" name="pvparena" script="pvparena.lua"/>
	<event type="attack" name="attackguild" script="attackguild.lua"/>
	<event type="kill" name="TopFrags" event="script" value="topfrags.lua"/>
	<event type="death" name="azerus" event="script" value="azerus.lua"/>
	<event type="death" name="teleportmonster" script="tpmonster.lua"/>
	<event type="preparedeath" name="b_hunterKill" event="script" value="b_hunterKill.lua"/>
	<event type="kill" name="KillingInTheNameOf" event="script" value="killinginthenameof.lua"/>

	<!-- Amulet Shop -->
	<event type="PrepareDeath" name="skullamulet" event="script" value="skullamulet.lua"/>
	<event type="PrepareDeath" name="chargeamulet" event="script" value="chargeamulet.lua"/>
	<event type="preparedeath" name="foreveramulet" event="script" value="foreveramulet.lua"/>


	<!-- Potion Double Exp -->
	<event type="login" name="expRate" event="script" value="potionexp.lua"/>	
	
	    <event type="death" name="ga1" event="script" value="ga1.lua"/>
	    <event type="death" name="ga2" event="script" value="ga2.lua"/>
	    <event type="death" name="ga3" event="script" value="ga3.lua"/>
           <event type="death" name="gv1" event="script" value="gv1.lua"/>
	    <event type="death" name="gv2" event="script" value="gv2.lua"/>
	    <event type="death" name="gv3" event="script" value="gv3.lua"/>
	
	<!-- WoE -->
	<event type="death" name="empe_broken" event="script" value="empe_broken.lua"/>
	<event type="death" name="pre_empes" event="script" value="pre_empes.lua"/>
	<event type="statschange" name="empe_dmg" event="script" value="empe_dmg.lua"/>
	<event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/>
	<event type="statschange" name="vs_guard" event="script" value="vs_guard.lua"/>

</creaturescripts>

<!--     <event type="think" name="idle" event="script" value="idle.lua"/> -->

 

Ajudei ? Clique em GOSTEI!

Skype : neoowned
Link para o post
Compartilhar em outros sites

pelo que percebi o código não tem erro, o npc entrega a task?

 

function onKill(cid, target)
local questCreatures ={
        ["Rotworm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 20, raceName = "Rotworms"},
        ["Carrion Worm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15001, killsRequired = 20, raceName = "Rotworms"},
        ["Dwarf"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15004, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Soldier"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15005, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Guard"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15006, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Geomancer"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15007, killsRequired = 20, raceName = "Dwarfs"},
        ["Kongra"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15011, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Sibang"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15008, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Merlkin"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15009, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Bog Raider"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15016, killsRequired = 50, raceName = "Bog Raiders"},
        ["Blood Beast"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15042, killsRequired = 50, raceName = "Bog Raiders"},
        ["Dragon"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15013, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15014, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15010, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15055, killsRequired = 50, raceName = "Dragons"},
        ["Hydra"] = {questStarted = 1515, questStorage = 65005, creatureStorage = 15017, killsRequired = 100, raceName = "Hydras"},
        ["Frost Dragon"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15018, killsRequired = 100, raceName = "Frost Dragons"},
        ["Frost Dragon Hatchling"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15002, killsRequired = 100, raceName = "Frost Dragons"},
        ["Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15019, killsRequired = 100, raceName = "Sea Serpents"},
        ["Young Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15040, killsRequired = 100, raceName = "Sea Serpents"},
        ["Serpent Spawn"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15020, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Serpent Spawns"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15041, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Medusa"] = {questStarted = 1519, questStorage = 65009, creatureStorage = 15021, killsRequired = 100, raceName = "Medusas"},
        ["Lizard Templar"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15022, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Lord"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15023, killsRequired = 100, raceName = "Lizards"},
        ["Lizard High Guard"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15024, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Zaogun"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15025, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Legionnaire"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15026, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Chosen"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15031, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Dragon Priest"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15030, killsRequired = 100, raceName = "Lizards"},
        ["Draken Warmaster"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15027, killsRequired = 100, raceName = "Drakens"},
        ["Draken Spellweaver"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15003, killsRequired = 100, raceName = "Drakens"},
        ["Draken Elite"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15028, killsRequired = 100, raceName = "Drakens"},
        ["Draken Abomination"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15029, killsRequired = 100, raceName = "Drakens"},
        ["Warlock"] = {questStarted = 1522, questStorage = 65012, creatureStorage = 15032, killsRequired = 100, raceName = "Warlocks"},
        ["Infernalist"] = {questStarted = 1523, questStorage = 65013, creatureStorage = 15036, killsRequired = 100, raceName = "Infernalists"},
        ["Behemoth"] = {questStarted = 1524, questStorage = 65014, creatureStorage = 15043, killsRequired = 100, raceName = "Behemoths"},
        ["Worker Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15044, killsRequired = 100, raceName = "Golems"},
        ["War Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15045, killsRequired = 100, raceName = "Golems"},
        ["Moria Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15046, killsRequired = 100, raceName = "Golems"},
        ["Manwe"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15047, killsRequired = 100, raceName = "Golems"},
        ["Caribian Pirate"] = {questStarted = 1526, questStorage = 65016, creatureStorage = 15048, killsRequired = 100, raceName = "Pirates"},
        ["Ghastly Dragon"] = {questStarted = 1527, questStorage = 65017, creatureStorage = 15049, killsRequired = 100, raceName = "Ghastly Dragons"},
        ["Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15050, killsRequired = 100, raceName = "Necrolords"},
        ["Blood Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15051, killsRequired = 100, raceName = "Necrolords"},
        ["Demon"] = {questStarted = 1529, questStorage = 65019, creatureStorage = 15052, killsRequired = 50, raceName = "Demons"}
}
if not isMonster(target) then return true end
local creature = questCreatures[getCreatureName(target)]
        if creature then
                if getPlayerStorageValue(cid, creature.questStarted) > 0 then
                        if getPlayerStorageValue(cid, creature.questStorage) < creature.killsRequired then
                                setPlayerStorageValue(cid, creature.questStorage, getPlayerStorageValue(cid, creature.questStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.questStorage) + 1)
                                setPlayerStorageValue(cid, creature.creatureStorage, getPlayerStorageValue(cid, creature.creatureStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.creatureStorage) + 1)
                                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPlayerStorageValue(cid, creature.creatureStorage) .. " " .. getCreatureName(target) .. " defeated. Total [" .. getPlayerStorageValue(cid, creature.questStorage) .. "/" .. creature.killsRequired .. "] " .. creature.raceName .. ".")
                        end
                end
        end
        return true
end

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites
9 horas atrás, Vodkart disse:

cal questCreatures ={ ["Rotworm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 20, raceName = "Rotworms"}, ["Carrion Worm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15001, killsRequired = 20, raceName = "Rotworms"}, ["Dwarf"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15004, killsRequired = 20, raceName = "Dwarfs"}, ["Dwarf Soldier"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15005, killsRequired = 20, raceName = "Dwarfs"}, ["Dwarf Guard"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15006, killsRequired = 20, raceName = "Dwarfs"}, ["Dwarf Geomancer"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15007, killsRequired = 20, raceName = "Dwarfs"}, ["Kongra"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15011, killsRequired = 50, raceName = "Apes-Macacos"}, ["Sibang"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15008, killsRequired = 50, raceName = "Apes-Macacos"}, ["Merlkin"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15009, killsRequired = 50, raceName = "Apes-Macacos"}, ["Bog Raider"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15016, killsRequired = 50, raceName = "Bog Raiders"}, ["Blood Beast"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15042, killsRequired = 50, raceName = "Bog Raiders"}, ["Dragon"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15013, killsRequired = 50, raceName = "Dragons"}, ["Dragon Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15014, killsRequired = 50, raceName = "Dragons"}, ["Dragon Lord"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15010, killsRequired = 50, raceName = "Dragons"}, ["Dragon Lord Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15055, killsRequired = 50, raceName = "Dragons"}, ["Hydra"] = {questStarted = 1515, questStorage = 65005, creatureStorage = 15017, killsRequired = 100, raceName = "Hydras"}, ["Frost Dragon"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15018, killsRequired = 100, raceName = "Frost Dragons"}, ["Frost Dragon Hatchling"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15002, killsRequired = 100, raceName = "Frost Dragons"}, ["Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15019, killsRequired = 100, raceName = "Sea Serpents"}, ["Young Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15040, killsRequired = 100, raceName = "Sea Serpents"}, ["Serpent Spawn"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15020, killsRequired = 100, raceName = "Serpent Spawns"}, ["Serpent Spawns"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15041, killsRequired = 100, raceName = "Serpent Spawns"}, ["Medusa"] = {questStarted = 1519, questStorage = 65009, creatureStorage = 15021, killsRequired = 100, raceName = "Medusas"}, ["Lizard Templar"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15022, killsRequired = 100, raceName = "Lizards"}, ["Lizard Lord"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15023, killsRequired = 100, raceName = "Lizards"}, ["Lizard High Guard"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15024, killsRequired = 100, raceName = "Lizards"}, ["Lizard Zaogun"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15025, killsRequired = 100, raceName = "Lizards"}, ["Lizard Legionnaire"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15026, killsRequired = 100, raceName = "Lizards"}, ["Lizard Chosen"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15031, killsRequired = 100, raceName = "Lizards"}, ["Lizard Dragon Priest"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15030, killsRequired = 100, raceName = "Lizards"}, ["Draken Warmaster"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15027, killsRequired = 100, raceName = "Drakens"}, ["Draken Spellweaver"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15003, killsRequired = 100, raceName = "Drakens"}, ["Draken Elite"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15028, killsRequired = 100, raceName = "Drakens"}, ["Draken Abomination"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15029, killsRequired = 100, raceName = "Drakens"}, ["Warlock"] = {questStarted = 1522, questStorage = 65012, creatureStorage = 15032, killsRequired = 100, raceName = "Warlocks"}, ["Infernalist"] = {questStarted = 1523, questStorage = 65013, creatureStorage = 15036, killsRequired = 100, raceName = "Infernalists"}, ["Behemoth"] = {questStarted = 1524, questStorage = 65014, creatureStorage = 15043, killsRequired = 100, raceName = "Behemoths"}, ["Worker Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15044, killsRequired = 100, raceName = "Golems"}, ["War Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15045, killsRequired = 100, raceName = "Golems"}, ["Moria Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15046, killsRequired = 100, raceName = "Golems"}, ["Manwe"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15047, killsRequired = 100, raceName = "Golems"}, ["Caribian Pirate"] = {questStarted = 1526, questStorage = 65016, creatureStorage = 15048, killsRequired = 100, raceName = "Pirates"}, ["Ghastly Dragon"] = {questStarted = 1527, questStorage = 65017, creatureStorage = 15049, killsRequired = 100, raceName = "Ghastly Dragons"}, ["Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15050, killsRequired = 100, raceName = "Necrolords"}, ["Blood Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15051, killsRequired = 100, raceName = "Necrolords"}, ["Demon"] = {questStarted = 1529, questStorage = 65019, creatureStorage = 15052, killsRequired = 50, raceName = "Demons"} } if not isMonster(target) then return true end local creature = questCreatures[getCreatureName(target)] if creature then if getPlayerStorageValue(cid, creature.questStarted) > 0 then if getPlayerStorageValue(cid, creature.questStorage) < creature.killsRequired then setPlayerStorageValue(cid, creature.questStorage, getPlayerStorageValue(cid, creature.questStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.questStorage) + 1) setPlayerStorageValue(cid, creature.creatureStorage, getPlayerStorageValue(cid, creature.creatureStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.creatureStorage) + 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPlayerStorageValue(cid, creature.creatureStorage) .. " " .. getCreatureName(target) .. " defeated. Total [" .. getPlayerStorageValue(cid, creature.questStorage) .. "/" .. creature.killsRequired .. "] " .. creature.raceName .. ".") end end end return true end

 

Testei seu código ,mas ficou na mesma, sim o npc entrega a task.

 

09:23 Grizzly Adams: You have started the task number 1, in this task you need to kill 20 Rotworms.

 

Porém não conta os bixos que morrem ,apos isso fui e matei 1 rotworm,ele não aparece a contagem no default,e também quando digo report ao npc ele me retorna :

 

09:23 Grizzly Adams: Current 0 Rotworms killed, you need to kill 20.

Esse npc foi um amigo que me passou,era do antigo servidor dele,funcionava 100% ,o player nao escolhe as tasks,ele ja dá a  task uma seguida da outra 1,2,3 até 20.

Testei colocar dentro do script das rotworm o event Killinginthenameof,como diz em algum tutorias de instalação do Grizzly adams,mas também não adiantou.

Ajudei ? Clique em GOSTEI!

Skype : neoowned
Link para o post
Compartilhar em outros sites

então vamos testar para vê se ganhou a storage, usa ele assim e ve se retorna alguma mensagem:

 

function onKill(cid, target)
local questCreatures ={
        ["Rotworm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 20, raceName = "Rotworms"},
        ["Carrion Worm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15001, killsRequired = 20, raceName = "Rotworms"},
        ["Dwarf"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15004, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Soldier"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15005, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Guard"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15006, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Geomancer"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15007, killsRequired = 20, raceName = "Dwarfs"},
        ["Kongra"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15011, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Sibang"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15008, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Merlkin"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15009, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Bog Raider"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15016, killsRequired = 50, raceName = "Bog Raiders"},
        ["Blood Beast"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15042, killsRequired = 50, raceName = "Bog Raiders"},
        ["Dragon"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15013, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15014, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15010, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15055, killsRequired = 50, raceName = "Dragons"},
        ["Hydra"] = {questStarted = 1515, questStorage = 65005, creatureStorage = 15017, killsRequired = 100, raceName = "Hydras"},
        ["Frost Dragon"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15018, killsRequired = 100, raceName = "Frost Dragons"},
        ["Frost Dragon Hatchling"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15002, killsRequired = 100, raceName = "Frost Dragons"},
        ["Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15019, killsRequired = 100, raceName = "Sea Serpents"},
        ["Young Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15040, killsRequired = 100, raceName = "Sea Serpents"},
        ["Serpent Spawn"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15020, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Serpent Spawns"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15041, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Medusa"] = {questStarted = 1519, questStorage = 65009, creatureStorage = 15021, killsRequired = 100, raceName = "Medusas"},
        ["Lizard Templar"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15022, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Lord"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15023, killsRequired = 100, raceName = "Lizards"},
        ["Lizard High Guard"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15024, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Zaogun"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15025, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Legionnaire"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15026, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Chosen"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15031, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Dragon Priest"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15030, killsRequired = 100, raceName = "Lizards"},
        ["Draken Warmaster"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15027, killsRequired = 100, raceName = "Drakens"},
        ["Draken Spellweaver"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15003, killsRequired = 100, raceName = "Drakens"},
        ["Draken Elite"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15028, killsRequired = 100, raceName = "Drakens"},
        ["Draken Abomination"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15029, killsRequired = 100, raceName = "Drakens"},
        ["Warlock"] = {questStarted = 1522, questStorage = 65012, creatureStorage = 15032, killsRequired = 100, raceName = "Warlocks"},
        ["Infernalist"] = {questStarted = 1523, questStorage = 65013, creatureStorage = 15036, killsRequired = 100, raceName = "Infernalists"},
        ["Behemoth"] = {questStarted = 1524, questStorage = 65014, creatureStorage = 15043, killsRequired = 100, raceName = "Behemoths"},
        ["Worker Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15044, killsRequired = 100, raceName = "Golems"},
        ["War Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15045, killsRequired = 100, raceName = "Golems"},
        ["Moria Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15046, killsRequired = 100, raceName = "Golems"},
        ["Manwe"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15047, killsRequired = 100, raceName = "Golems"},
        ["Caribian Pirate"] = {questStarted = 1526, questStorage = 65016, creatureStorage = 15048, killsRequired = 100, raceName = "Pirates"},
        ["Ghastly Dragon"] = {questStarted = 1527, questStorage = 65017, creatureStorage = 15049, killsRequired = 100, raceName = "Ghastly Dragons"},
        ["Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15050, killsRequired = 100, raceName = "Necrolords"},
        ["Blood Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15051, killsRequired = 100, raceName = "Necrolords"},
        ["Demon"] = {questStarted = 1529, questStorage = 65019, creatureStorage = 15052, killsRequired = 50, raceName = "Demons"}
}
if not isMonster(target) then return true end
local creature = questCreatures[getCreatureName(target)]
        if creature then
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"matando "..getCreatureName(target).." teste 1.")
                if getPlayerStorageValue(cid, creature.questStarted) > 0 then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"started storage"..getPlayerStorageValue(cid, creature.questStarted).." teste 2.")
                        if getPlayerStorageValue(cid, creature.questStorage) < creature.killsRequired then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"creature Storage "..getPlayerStorageValue(cid, creature.questStorage).." teste 3.")
                                setPlayerStorageValue(cid, creature.questStorage, getPlayerStorageValue(cid, creature.questStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.questStorage) + 1)
                                setPlayerStorageValue(cid, creature.creatureStorage, getPlayerStorageValue(cid, creature.creatureStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.creatureStorage) + 1)
                                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPlayerStorageValue(cid, creature.creatureStorage) .. " " .. getCreatureName(target) .. " defeated. Total [" .. getPlayerStorageValue(cid, creature.questStorage) .. "/" .. creature.killsRequired .. "] " .. creature.raceName .. ".")
                        end
                end
        end
        return true
end

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites
23 minutos atrás, Vodkart disse:

então vamos testar para vê se ganhou a storage, usa ele assim e ve se retorna alguma mensagem:

 


function onKill(cid, target)
local questCreatures ={
        ["Rotworm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 20, raceName = "Rotworms"},
        ["Carrion Worm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15001, killsRequired = 20, raceName = "Rotworms"},
        ["Dwarf"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15004, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Soldier"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15005, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Guard"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15006, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Geomancer"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15007, killsRequired = 20, raceName = "Dwarfs"},
        ["Kongra"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15011, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Sibang"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15008, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Merlkin"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15009, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Bog Raider"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15016, killsRequired = 50, raceName = "Bog Raiders"},
        ["Blood Beast"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15042, killsRequired = 50, raceName = "Bog Raiders"},
        ["Dragon"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15013, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15014, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15010, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15055, killsRequired = 50, raceName = "Dragons"},
        ["Hydra"] = {questStarted = 1515, questStorage = 65005, creatureStorage = 15017, killsRequired = 100, raceName = "Hydras"},
        ["Frost Dragon"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15018, killsRequired = 100, raceName = "Frost Dragons"},
        ["Frost Dragon Hatchling"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15002, killsRequired = 100, raceName = "Frost Dragons"},
        ["Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15019, killsRequired = 100, raceName = "Sea Serpents"},
        ["Young Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15040, killsRequired = 100, raceName = "Sea Serpents"},
        ["Serpent Spawn"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15020, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Serpent Spawns"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15041, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Medusa"] = {questStarted = 1519, questStorage = 65009, creatureStorage = 15021, killsRequired = 100, raceName = "Medusas"},
        ["Lizard Templar"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15022, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Lord"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15023, killsRequired = 100, raceName = "Lizards"},
        ["Lizard High Guard"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15024, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Zaogun"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15025, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Legionnaire"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15026, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Chosen"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15031, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Dragon Priest"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15030, killsRequired = 100, raceName = "Lizards"},
        ["Draken Warmaster"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15027, killsRequired = 100, raceName = "Drakens"},
        ["Draken Spellweaver"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15003, killsRequired = 100, raceName = "Drakens"},
        ["Draken Elite"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15028, killsRequired = 100, raceName = "Drakens"},
        ["Draken Abomination"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15029, killsRequired = 100, raceName = "Drakens"},
        ["Warlock"] = {questStarted = 1522, questStorage = 65012, creatureStorage = 15032, killsRequired = 100, raceName = "Warlocks"},
        ["Infernalist"] = {questStarted = 1523, questStorage = 65013, creatureStorage = 15036, killsRequired = 100, raceName = "Infernalists"},
        ["Behemoth"] = {questStarted = 1524, questStorage = 65014, creatureStorage = 15043, killsRequired = 100, raceName = "Behemoths"},
        ["Worker Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15044, killsRequired = 100, raceName = "Golems"},
        ["War Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15045, killsRequired = 100, raceName = "Golems"},
        ["Moria Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15046, killsRequired = 100, raceName = "Golems"},
        ["Manwe"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15047, killsRequired = 100, raceName = "Golems"},
        ["Caribian Pirate"] = {questStarted = 1526, questStorage = 65016, creatureStorage = 15048, killsRequired = 100, raceName = "Pirates"},
        ["Ghastly Dragon"] = {questStarted = 1527, questStorage = 65017, creatureStorage = 15049, killsRequired = 100, raceName = "Ghastly Dragons"},
        ["Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15050, killsRequired = 100, raceName = "Necrolords"},
        ["Blood Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15051, killsRequired = 100, raceName = "Necrolords"},
        ["Demon"] = {questStarted = 1529, questStorage = 65019, creatureStorage = 15052, killsRequired = 50, raceName = "Demons"}
}
if not isMonster(target) then return true end
local creature = questCreatures[getCreatureName(target)]
        if creature then
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"matando "..getCreatureName(target).." teste 1.")
                if getPlayerStorageValue(cid, creature.questStarted) > 0 then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"started storage"..getPlayerStorageValue(cid, creature.questStarted).." teste 2.")
                        if getPlayerStorageValue(cid, creature.questStorage) < creature.killsRequired then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"creature Storage "..getPlayerStorageValue(cid, creature.questStorage).." teste 3.")
                                setPlayerStorageValue(cid, creature.questStorage, getPlayerStorageValue(cid, creature.questStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.questStorage) + 1)
                                setPlayerStorageValue(cid, creature.creatureStorage, getPlayerStorageValue(cid, creature.creatureStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.creatureStorage) + 1)
                                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPlayerStorageValue(cid, creature.creatureStorage) .. " " .. getCreatureName(target) .. " defeated. Total [" .. getPlayerStorageValue(cid, creature.questStorage) .. "/" .. creature.killsRequired .. "] " .. creature.raceName .. ".")
                        end
                end
        end
        return true
end

Não retornou nada,esta igual antes,não aparece nada no default,e no console do servidor nao aparece nada também

Esse é o arquivo da creaturescript certo ?

Editado por sxeinjected (veja o histórico de edições)

Ajudei ? Clique em GOSTEI!

Skype : neoowned
Link para o post
Compartilhar em outros sites

então ele não está nem lendo o código do onKill...

 

na tag em creaturescript.xml apaga essa linha:

 

<event type="kill" name="KillingInTheNameOf" event="script" value="killinginthenameof.lua"/>

 

e no seu login apaga:

 

registerCreatureEvent(cid, "KillingInTheNameOf")


agora coloca o script assim:

 

function onLogin(cid)
registerCreatureEvent(cid, "TaskKIlling")
return true
end
function onKill(cid, target)
local questCreatures ={
        ["Rotworm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 20, raceName = "Rotworms"},
        ["Carrion Worm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15001, killsRequired = 20, raceName = "Rotworms"},
        ["Dwarf"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15004, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Soldier"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15005, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Guard"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15006, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Geomancer"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15007, killsRequired = 20, raceName = "Dwarfs"},
        ["Kongra"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15011, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Sibang"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15008, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Merlkin"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15009, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Bog Raider"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15016, killsRequired = 50, raceName = "Bog Raiders"},
        ["Blood Beast"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15042, killsRequired = 50, raceName = "Bog Raiders"},
        ["Dragon"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15013, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15014, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15010, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15055, killsRequired = 50, raceName = "Dragons"},
        ["Hydra"] = {questStarted = 1515, questStorage = 65005, creatureStorage = 15017, killsRequired = 100, raceName = "Hydras"},
        ["Frost Dragon"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15018, killsRequired = 100, raceName = "Frost Dragons"},
        ["Frost Dragon Hatchling"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15002, killsRequired = 100, raceName = "Frost Dragons"},
        ["Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15019, killsRequired = 100, raceName = "Sea Serpents"},
        ["Young Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15040, killsRequired = 100, raceName = "Sea Serpents"},
        ["Serpent Spawn"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15020, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Serpent Spawns"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15041, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Medusa"] = {questStarted = 1519, questStorage = 65009, creatureStorage = 15021, killsRequired = 100, raceName = "Medusas"},
        ["Lizard Templar"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15022, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Lord"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15023, killsRequired = 100, raceName = "Lizards"},
        ["Lizard High Guard"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15024, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Zaogun"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15025, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Legionnaire"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15026, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Chosen"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15031, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Dragon Priest"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15030, killsRequired = 100, raceName = "Lizards"},
        ["Draken Warmaster"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15027, killsRequired = 100, raceName = "Drakens"},
        ["Draken Spellweaver"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15003, killsRequired = 100, raceName = "Drakens"},
        ["Draken Elite"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15028, killsRequired = 100, raceName = "Drakens"},
        ["Draken Abomination"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15029, killsRequired = 100, raceName = "Drakens"},
        ["Warlock"] = {questStarted = 1522, questStorage = 65012, creatureStorage = 15032, killsRequired = 100, raceName = "Warlocks"},
        ["Infernalist"] = {questStarted = 1523, questStorage = 65013, creatureStorage = 15036, killsRequired = 100, raceName = "Infernalists"},
        ["Behemoth"] = {questStarted = 1524, questStorage = 65014, creatureStorage = 15043, killsRequired = 100, raceName = "Behemoths"},
        ["Worker Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15044, killsRequired = 100, raceName = "Golems"},
        ["War Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15045, killsRequired = 100, raceName = "Golems"},
        ["Moria Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15046, killsRequired = 100, raceName = "Golems"},
        ["Manwe"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15047, killsRequired = 100, raceName = "Golems"},
        ["Caribian Pirate"] = {questStarted = 1526, questStorage = 65016, creatureStorage = 15048, killsRequired = 100, raceName = "Pirates"},
        ["Ghastly Dragon"] = {questStarted = 1527, questStorage = 65017, creatureStorage = 15049, killsRequired = 100, raceName = "Ghastly Dragons"},
        ["Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15050, killsRequired = 100, raceName = "Necrolords"},
        ["Blood Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15051, killsRequired = 100, raceName = "Necrolords"},
        ["Demon"] = {questStarted = 1529, questStorage = 65019, creatureStorage = 15052, killsRequired = 50, raceName = "Demons"}
}
if not isMonster(target) then return true end
local creature = questCreatures[getCreatureName(target)]
        if creature then
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"matando "..getCreatureName(target).." teste 1.")
                if getPlayerStorageValue(cid, creature.questStarted) > 0 then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"started storage"..getPlayerStorageValue(cid, creature.questStarted).." teste 2.")
                        if getPlayerStorageValue(cid, creature.questStorage) < creature.killsRequired then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"creature Storage "..getPlayerStorageValue(cid, creature.questStorage).." teste 3.")
                                setPlayerStorageValue(cid, creature.questStorage, getPlayerStorageValue(cid, creature.questStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.questStorage) + 1)
                                setPlayerStorageValue(cid, creature.creatureStorage, getPlayerStorageValue(cid, creature.creatureStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.creatureStorage) + 1)
                                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPlayerStorageValue(cid, creature.creatureStorage) .. " " .. getCreatureName(target) .. " defeated. Total [" .. getPlayerStorageValue(cid, creature.questStorage) .. "/" .. creature.killsRequired .. "] " .. creature.raceName .. ".")
                        end
                end
        end
        return true
end

 

 

e a tag em creaturescript.xml deixa:

 

<event type="login" name="KillingLogin" script="Killinginthenameof.lua"/>
<event type="kill" name="TaskKIlling" script="Killinginthenameof.lua"/>

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites
9 minutos atrás, Vodkart disse:

então ele não está nem lendo o código do onKill...

 

na tag em creaturescript.xml apaga essa linha:

 


<event type="kill" name="KillingInTheNameOf" event="script" value="killinginthenameof.lua"/>

 

e no seu login apaga:

 


registerCreatureEvent(cid, "KillingInTheNameOf")


agora coloca o script assim:

 


function onLogin(cid)
registerCreatureEvent(cid, "TaskKIlling")
return true
end
function onKill(cid, target)
local questCreatures ={
        ["Rotworm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 20, raceName = "Rotworms"},
        ["Carrion Worm"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15001, killsRequired = 20, raceName = "Rotworms"},
        ["Dwarf"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15004, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Soldier"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15005, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Guard"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15006, killsRequired = 20, raceName = "Dwarfs"},
        ["Dwarf Geomancer"] = {questStarted = 1511, questStorage = 65001, creatureStorage = 15007, killsRequired = 20, raceName = "Dwarfs"},
        ["Kongra"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15011, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Sibang"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15008, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Merlkin"] = {questStarted = 1512, questStorage = 65002, creatureStorage = 15009, killsRequired = 50, raceName = "Apes-Macacos"},
        ["Bog Raider"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15016, killsRequired = 50, raceName = "Bog Raiders"},
        ["Blood Beast"] = {questStarted = 1513, questStorage = 65004, creatureStorage = 15042, killsRequired = 50, raceName = "Bog Raiders"},
        ["Dragon"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15013, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15014, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15010, killsRequired = 50, raceName = "Dragons"},
        ["Dragon Lord Hatchling"] = {questStarted = 1514, questStorage = 65003, creatureStorage = 15055, killsRequired = 50, raceName = "Dragons"},
        ["Hydra"] = {questStarted = 1515, questStorage = 65005, creatureStorage = 15017, killsRequired = 100, raceName = "Hydras"},
        ["Frost Dragon"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15018, killsRequired = 100, raceName = "Frost Dragons"},
        ["Frost Dragon Hatchling"] = {questStarted = 1516, questStorage = 65006, creatureStorage = 15002, killsRequired = 100, raceName = "Frost Dragons"},
        ["Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15019, killsRequired = 100, raceName = "Sea Serpents"},
        ["Young Sea Serpent"] = {questStarted = 1517, questStorage = 65007, creatureStorage = 15040, killsRequired = 100, raceName = "Sea Serpents"},
        ["Serpent Spawn"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15020, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Serpent Spawns"] = {questStarted = 1518, questStorage = 65008, creatureStorage = 15041, killsRequired = 100, raceName = "Serpent Spawns"},
        ["Medusa"] = {questStarted = 1519, questStorage = 65009, creatureStorage = 15021, killsRequired = 100, raceName = "Medusas"},
        ["Lizard Templar"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15022, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Lord"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15023, killsRequired = 100, raceName = "Lizards"},
        ["Lizard High Guard"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15024, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Zaogun"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15025, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Legionnaire"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15026, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Chosen"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15031, killsRequired = 100, raceName = "Lizards"},
        ["Lizard Dragon Priest"] = {questStarted = 1520, questStorage = 65010, creatureStorage = 15030, killsRequired = 100, raceName = "Lizards"},
        ["Draken Warmaster"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15027, killsRequired = 100, raceName = "Drakens"},
        ["Draken Spellweaver"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15003, killsRequired = 100, raceName = "Drakens"},
        ["Draken Elite"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15028, killsRequired = 100, raceName = "Drakens"},
        ["Draken Abomination"] = {questStarted = 1521, questStorage = 65011, creatureStorage = 15029, killsRequired = 100, raceName = "Drakens"},
        ["Warlock"] = {questStarted = 1522, questStorage = 65012, creatureStorage = 15032, killsRequired = 100, raceName = "Warlocks"},
        ["Infernalist"] = {questStarted = 1523, questStorage = 65013, creatureStorage = 15036, killsRequired = 100, raceName = "Infernalists"},
        ["Behemoth"] = {questStarted = 1524, questStorage = 65014, creatureStorage = 15043, killsRequired = 100, raceName = "Behemoths"},
        ["Worker Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15044, killsRequired = 100, raceName = "Golems"},
        ["War Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15045, killsRequired = 100, raceName = "Golems"},
        ["Moria Golem"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15046, killsRequired = 100, raceName = "Golems"},
        ["Manwe"] = {questStarted = 1525, questStorage = 65015, creatureStorage = 15047, killsRequired = 100, raceName = "Golems"},
        ["Caribian Pirate"] = {questStarted = 1526, questStorage = 65016, creatureStorage = 15048, killsRequired = 100, raceName = "Pirates"},
        ["Ghastly Dragon"] = {questStarted = 1527, questStorage = 65017, creatureStorage = 15049, killsRequired = 100, raceName = "Ghastly Dragons"},
        ["Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15050, killsRequired = 100, raceName = "Necrolords"},
        ["Blood Necrolord"] = {questStarted = 1528, questStorage = 65018, creatureStorage = 15051, killsRequired = 100, raceName = "Necrolords"},
        ["Demon"] = {questStarted = 1529, questStorage = 65019, creatureStorage = 15052, killsRequired = 50, raceName = "Demons"}
}
if not isMonster(target) then return true end
local creature = questCreatures[getCreatureName(target)]
        if creature then
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"matando "..getCreatureName(target).." teste 1.")
                if getPlayerStorageValue(cid, creature.questStarted) > 0 then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"started storage"..getPlayerStorageValue(cid, creature.questStarted).." teste 2.")
                        if getPlayerStorageValue(cid, creature.questStorage) < creature.killsRequired then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"creature Storage "..getPlayerStorageValue(cid, creature.questStorage).." teste 3.")
                                setPlayerStorageValue(cid, creature.questStorage, getPlayerStorageValue(cid, creature.questStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.questStorage) + 1)
                                setPlayerStorageValue(cid, creature.creatureStorage, getPlayerStorageValue(cid, creature.creatureStorage) < 0 and 1 or getPlayerStorageValue(cid, creature.creatureStorage) + 1)
                                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPlayerStorageValue(cid, creature.creatureStorage) .. " " .. getCreatureName(target) .. " defeated. Total [" .. getPlayerStorageValue(cid, creature.questStorage) .. "/" .. creature.killsRequired .. "] " .. creature.raceName .. ".")
                        end
                end
        end
        return true
end

 

 

e a tag em creaturescript.xml deixa:

 


<event type="login" name="KillingLogin" script="Killinginthenameof.lua"/>
<event type="kill" name="TaskKIlling" script="Killinginthenameof.lua"/>

 

Fiz tudo ,mas não funcionou não teria que alterar algo no NPC?

 

Tentei colocar também no login.lua :

 

registerCreatureEvent(cid, "TaskKIlling")

 

Mas não deu,porem agora está dando um erro no console 

[WARNING - Error:: Killing in the name of::Tasks config] Something is wrong.

 

Ajudei ? Clique em GOSTEI!

Skype : neoowned
Link para o post
Compartilhar em outros sites

WARNING - Error:: Killing in the name of::Tasks config

 

e a lib está certa?

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites
4 minutos atrás, Vodkart disse:

WARNING - Error:: Killing in the name of::Tasks config

 

e a lib está certa?

Qual lib ?

Ajudei ? Clique em GOSTEI!

Skype : neoowned
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 Jaurez
      .
    • Por Cat
      Em alguns casos, o tibia 8.60 comum não abre de jeito nenhum no map editor, mesmo desmarcando check file signatures e configurando o path corretamente.
       
      Este é o client 8.60 adaptado para o Remere's Map Editor. Resolvi postar já que ele foi removido do site oficial do RME. (ficou apenas a versão para linux lá)
      Se estiver tendo problemas para abrir a versão 8.60, tente utilizar este.
                                                                                                                     
      Baixar o Tibia Client 8.60 que funciona no Remere’s Map Editor
      Essa versão do Tibia 8.60 client resolve o erro unsupported client version ou Could not locate tibia.dat and/or tibia.spr, please navigate to your tibia 8.60 installation folder.
       
      Downloads
      https://tibiaking.com/applications/core/interface/file/attachment.php?id=47333

      Scan: https://www.virustotal.com/gui/file/333e172ac49ba2028db9eb5889994509e7d2de28ebccfa428c04e86defbe15cc
       
    • Por danilo belato
      Fala Galera To Com um problema aki 
       
      quero exporta umas sprites de um server para colocar em outro 
       
      eu clico na sprites ai aparece tds a forma delas do lado de la >>
       
      ai eu clico nela e ponho a opiçao de export mais quando salvo a sprite ela n abri 
       
      aparece isso quando tento vê-la 
       
      visualização não disponível ( no formatos png e bitmap)
       
      Agora no formato idc fala que o paint n pode ler 
       
      me ajudem ae...
    • Por Vitor Bicaleto
      Galera to com o script do addon doll aqui, quando eu digito apenas "!addon" ele aparece assim: Digite novamente, algo está errado!"
      quando digito por exemplo: "!addon citizen" ele não funciona e não da nenhum erro
       
      mesma coisa acontece com o mount doll.. 
    • Por Ayron5
      Substitui uma stone no serve, deu tudo certo fora  esse  erro ajudem  Valendo  Rep+  Grato  

      Erro: data/actions/scripts/boost.lua:557: table index is nil
       [Warning - Event::loadScript] Cannot load script (data/actions/scripts/boost.lua)

      Script:
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo