Ir para conteúdo

Featured Replies

Postado

Alguem pra me ajudar a resolver os erros na distro:

Spoiler

[15:41:13.722] [Warning - Items::loadFromXml] Unknown fluidSource poison
[15:41:13.724] [Warning - Items::loadFromXml] Unknown key value dscription
[15:41:13.729] [Warning - Items::loadFromXml] Unknown weaponType hand
[15:41:13.729] [Warning - Items::loadFromXml] Unknown key value weaponAction
[15:41:13.752] [Warning - Items::loadFromXml] Unknown shootType infernalarrow
[15:41:13.757] [Warning - Items::loadFromXml] Unknown shootType piercingarrow
[15:41:13.758] [Warning - Items::loadFromXml] Unknown ammoAction aoveback
[15:41:13.761] [Warning - Items::loadFromXml] Duplicate registered item with id 7688
[15:41:13.761] [Warning - Items::loadFromXml] Unknown key value useable
[15:41:13.769] [Warning - Items::loadFromXml] Unknown weaponType hand
[15:41:13.771] [Warning - Items::loadFromXml] Unknown key value weaponAction
[15:41:13.778] [Warning - Items::loadFromXml] Duplicate registered item with id 10615
[15:41:13.783] [Warning - Items::loadFromXml] Duplicate registered item with id 11389
[15:41:13.783] [Warning - Items::loadFromXml] Duplicate registered item with id 11390
[15:41:13.784] [Warning - Items::loadFromXml] Duplicate registered item with id 11391
[15:41:13.785] [Warning - Items::loadFromXml] Duplicate registered item with id 11392
[15:41:13.786] [Warning - Items::loadFromXml] Duplicate registered item with id 11393
[15:41:13.786] [Warning - Items::loadFromXml] Duplicate registered item with id 11394
[15:41:13.787] [Warning - Items::loadFromXml] Duplicate registered item with id 11395
[15:41:13.801] >> Loading groups
[15:41:13.812] >> Loading vocations
[15:41:13.833] >> Loading outfits
[15:41:13.848] >> Loading chat channels
[15:41:13.868] [Warning - Vocations::getVocation] Vocation 7 not found.
[15:41:13.868] [Warning - Chat::loadFromXml] Wrong vocation id: 7
[15:41:13.869] >> Loading script systems
[15:41:14.284] [Warning - RuneSpell::loadFunction] Function "soulfire" does not exist.
[15:41:14.455] [Warning - Vocations::getVocation] Vocation 9 not found.
[15:41:14.456] [Warning - Spell::configureSpell] Wrong vocation id: 9
[15:41:14.480] [Warning - Vocations::getVocation] Vocation 9 not found.
[15:41:14.480] [Warning - Spell::configureSpell] Wrong vocation id: 9
[15:41:14.486] [Warning - Vocations::getVocation] Vocation 9 not found.
[15:41:14.486] [Warning - Spell::configureSpell] Wrong vocation id: 9
[15:41:14.571] [Error - LuaInterface::loadFile] cannot open data/spells/scripts/Demollition/Demollition1.lua: No such file or directory
[15:41:14.577] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/Demollition/Demollition1.lua)
[15:41:14.579] cannot open data/spells/scripts/Demollition/Demollition1.lua: No such file or directory
[15:41:14.645] [Error - LuaInterface::loadFile] data/spells/scripts/Demollition/DemollitionB.lua:7: ')' expected near 'Ancient'
[15:41:14.647] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/Demollition/DemollitionB.lua)
[15:41:14.648] data/spells/scripts/Demollition/DemollitionB.lua:7: ')' expected near 'Ancient'

[15:41:14.684] [Error - Spell Interface]
[15:41:14.687] data/spells/scripts/mimicry.lua
[15:41:14.688] Description:
[15:41:14.689] (luaGetCreatureTarget) Creature not found

[15:41:14.691] [Error - Spell Interface]
[15:41:14.692] data/spells/scripts/mimicry.lua
[15:41:14.693] Description:
[15:41:14.694] (luaGetCreatureOutfit) Creature not found

[15:41:14.754] [Error - Action Interface]
[15:41:14.757] data/actions/scripts/1WSell.lua
[15:41:14.758] Description:
[15:41:14.759] (luaDoPlayerAddItem) Player not found

[15:41:14.779] [Error - Action Interface]
[15:41:14.783] data/actions/scripts/2WSell.lua
[15:41:14.784] Description:
[15:41:14.786] (luaDoPlayerAddItem) Player not found

[15:41:14.816] [Error - Action Interface]
[15:41:14.819] data/actions/scripts/3WSell.lua
[15:41:14.821] Description:
[15:41:14.822] (luaDoPlayerAddItem) Player not found

[15:41:14.830] [Error - Action Interface]
[15:41:14.834] data/actions/scripts/4WSell.lua
[15:41:14.838] Description:
[15:41:14.842] (luaDoPlayerAddItem) Player not found

[15:41:14.852] [Error - Action Interface]
[15:41:14.855] data/actions/scripts/5WSell.lua
[15:41:14.856] Description:
[15:41:14.858] (luaDoPlayerAddItem) Player not found

[15:41:14.872] [Error - Action Interface]
[15:41:14.875] data/actions/scripts/6WSell.lua
[15:41:14.876] Description:
[15:41:14.877] (luaDoPlayerAddItem) Player not found

[15:41:14.893] [Error - Action Interface]
[15:41:14.896] data/actions/scripts/7WSell.lua
[15:41:14.896] Description:
[15:41:14.897] (luaDoPlayerAddItem) Player not found

[15:41:14.905] [Error - Action Interface]
[15:41:14.906] data/actions/scripts/8WSell.lua
[15:41:14.906] Description:
[15:41:14.908] (luaDoPlayerAddItem) Player not found
[15:41:15.241] [Warning - Actions::registerEvent] Duplicate registered item id: 2395
[15:41:15.242] [Warning - Actions::registerEvent] Duplicate registered item id: 7451
[15:41:15.246] [Warning - Actions::registerEvent] Duplicate registered item id: 2421
[15:41:15.259] [Warning - Actions::registerEvent] Duplicate registered item id: 2412
[15:41:15.906] [Error - LuaInterface::loadFile] cannot open data/talkactions/scripts/zombie/onsay.lua: No such file or directory
[15:41:15.907] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/zombie/onsay.lua)
[15:41:15.908] cannot open data/talkactions/scripts/zombie/onsay.lua: No such file or directory
[15:41:16.536] [Warning - MoveEvents::addEvent] Duplicate move event found: 3962
[15:41:16.537] [Warning - MoveEvents::addEvent] Duplicate move event found: 2453
[15:41:16.554] [Warning - MoveEvents::addEvent] Duplicate move event found: 2409
[15:41:16.563] [Warning - MoveEvents::addEvent] Duplicate move event found: 3962
[15:41:16.566] [Warning - MoveEvents::addEvent] Duplicate move event found: 2453
[15:41:16.570] [Warning - MoveEvents::addEvent] Duplicate move event found: 2409
[15:41:16.578] [Warning - MoveEvents::addEvent] Duplicate move event found: 11060
[15:41:16.653] [Warning - Event::loadScript] Event onStepOut not found (data/movements/scripts/trap.lua)
[15:41:16.655] [Warning - Event::loadScript] Event onStepOut not found (data/movements/scripts/trap.lua)
[15:41:16.656] [Warning - Event::loadScript] Event onRemoveItem not found (data/movements/scripts/trap.lua)
[15:41:16.704] [Warning - MoveEvents::addEvent] Duplicate move event found: 2474
[15:41:16.706] [Warning - MoveEvents::addEvent] Duplicate move event found: 2474
[15:41:16.779] [Warning - Event::loadScript] Event onAttack not found (data/creaturescripts/scripts/TestAttack.lua)
[15:41:16.976] >> Loading mods...
[15:41:17.016] > Loading autoLoot.xml... done.
[15:41:17.033] > Loading buypremium_command.xml... done.
[15:41:17.042] > Loading changender_command.xml... done.
[15:41:17.148] > Loading custommonsters.xml... done.
[15:41:17.152] > Loading highscorebook.xml... done.
[15:41:17.153] > 5 mods were loaded.
[15:41:17.155] >> Loading experience stages
[15:41:17.160] >> Loading monsters
[15:41:17.653] [Warning - Monsters::loadMonster] Unknown race type poison. (data/monster/Hunter Beta.xml)
I/O warning : failed to load external entity "data/monster/cao.xml"
[15:41:17.892] [Warning - Monsters::loadMonster] Cannot load monster (Zombie Dog) file (data/monster/cao.xml).
[15:41:17.894] Info: failed to load external entity "data/monster/cao.xml"


data/monster/dwarf guard.xml:22: parser error : expected '>'
        </attacks>
                ^
data/monster/dwarf guard.xml:46: parser error : Opening and ending tag mismatch: attacks line 20 and monster
</monster>
          ^
data/monster/dwarf guard.xml:47: parser error : Premature end of data in tag monster line 2

^
[15:41:17.970] [Warning - Monsters::loadMonster] Cannot load monster (dwarf soldier) file (data/monster/dwarf guard.xml).
[15:41:17.971] Line: 47, Info: Premature end of data in tag monster line 2


data/monster/ghoul.xml:21: parser error : attributes construct error
                <attack name="melee" interval="2000" min="-1900 max="-4050>
                                                                     ^
data/monster/ghoul.xml:21: parser error : Couldn't find end of Start Tag attack line 21
                <attack name="melee" interval="2000" min="-1900 max="-4050>
                                                                     ^
[15:41:18.090] [Warning - Monsters::loadMonster] Cannot load monster (ghoul) file (data/monster/ghoul.xml).
[15:41:18.091] Line: 21, Info: Couldn't find end of Start Tag attack line 21


data/monster/Nemesis Boss.xml:1: parser error : Start tag expected, '<' not found
agora<?xml version="1.0" encoding="utf-8"?>
^
[15:41:18.138] [Warning - Monsters::loadMonster] Cannot load monster (Nemesis Boss) file (data/monster/Nemesis Boss.xml).
[15:41:18.139] Line: 1, Info: Start tag expected, '<' not found


[15:41:18.150] [Warning - Monsters::loadMonster] Duplicate registered monster with name: Zombie1
[15:41:18.167] [Warning - Monsters::loadMonster] Unknown race type poison. (data/monster/spider.xml)
[15:41:18.168] >> Loading map and spawns...
[15:41:18.258] > Map size: 2048x2048.
[15:41:18.259] > Map descriptions:
[15:41:18.261] "Saved with Remere's Map Editor 3.0 BETA"
[15:41:18.262] "No map description available."
[15:41:18.330] [Warning - IOMap::loadMap] Movable item in house: 2, item type: 1741, pos 954/936/6
[15:41:18.330] [Warning - IOMap::loadMap] Movable item in house: 2, item type: 1741, pos 954/937/6
[15:41:18.613] Duplicate uniqueId 5000
[15:41:19.054] > Map loading time: 0.885 seconds.
[15:41:19.305] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00802 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.306] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00802 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.311] [Warning - Spawns::loadFromXml] Zombie ( 01462 / 00805 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.312] [Warning - Spawns::loadFromXml] Zombie ( 01462 / 00805 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.313] [Warning - Spawns::loadFromXml] Zombie ( 01462 / 00805 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.314] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.317] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.319] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.320] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.322] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.322] [Warning - Spawns::loadFromXml] Zombie ( 01464 / 00821 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.323] [Warning - Spawns::loadFromXml] Zombie ( 01464 / 00821 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.324] [Warning - Spawns::loadFromXml] Zombie ( 01464 / 00821 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.325] [Warning - Spawns::loadFromXml] Zombie ( 01438 / 00829 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.327] [Warning - Spawns::loadFromXml] Zombie ( 01438 / 00829 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.328] [Warning - Spawns::loadFromXml] Zombie ( 01438 / 00829 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.329] [Warning - Spawns::loadFromXml] Zombie ( 01438 / 00829 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.330] [Warning - Spawns::loadFromXml] Zombie ( 01438 / 00829 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.332] [Warning - Spawns::loadFromXml] Zombie ( 01438 / 00829 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.333] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00830 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.334] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00830 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.335] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00830 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.337] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00830 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.338] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00830 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.340] [Warning - Spawns::loadFromXml] Zombie ( 01041 / 01054 / 006 ) spawntime cannot be less than 1 seconds.
[15:41:19.444] [Warning - Spawns::loadFromXml] Zombie ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.446] [Warning - Spawns::loadFromXml] Achad ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.447] [Warning - Spawns::loadFromXml] Zombie2 ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.448] [Warning - Spawns::loadFromXml] Zombie ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.449] [Warning - Spawns::loadFromXml] Zombie ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.450] [Warning - Spawns::loadFromXml] Zombie ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.451] [Warning - Spawns::loadFromXml] Zombie2 ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.452] [Warning - Spawns::loadFromXml] Zombie ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.453] [Warning - Spawns::loadFromXml] Zombie2 ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.455] [Warning - Spawns::loadFromXml] Zombie2 ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.456] [Warning - Spawns::loadFromXml] Zombie ( 01137 / 00961 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.456] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.457] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.458] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.458] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.459] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.460] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.460] [Warning - Spawns::loadFromXml] Zombie2 ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.461] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.462] [Warning - Spawns::loadFromXml] Zombie2 ( 01146 / 00963 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.462] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.467] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.468] [Warning - Spawns::loadFromXml] Zombie2 ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.469] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.470] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.470] [Warning - Spawns::loadFromXml] Zombie2 ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.471] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.472] [Warning - Spawns::loadFromXml] Zombie2 ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.473] [Warning - Spawns::loadFromXml] Zombie2 ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.474] [Warning - Spawns::loadFromXml] Zombie2 ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.476] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.477] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.478] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.479] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.479] [Warning - Spawns::loadFromXml] Zombie ( 01138 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.480] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.481] [Warning - Spawns::loadFromXml] Zombie2 ( 01146 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.482] [Warning - Spawns::loadFromXml] Zombie2 ( 01146 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.483] [Warning - Spawns::loadFromXml] Zombie2 ( 01146 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.486] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.487] [Warning - Spawns::loadFromXml] Zombie ( 01146 / 00970 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.488] [Warning - Spawns::loadFromXml] Zombie1 ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.489] [Warning - Spawns::loadFromXml] Zombie1 ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.490] [Warning - Spawns::loadFromXml] Zombie ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.490] [Warning - Spawns::loadFromXml] Zombie ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.491] [Warning - Spawns::loadFromXml] Zombie2 ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.492] [Warning - Spawns::loadFromXml] Zombie1 ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.492] [Warning - Spawns::loadFromXml] Zombie2 ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.493] [Warning - Spawns::loadFromXml] Zombie ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.494] [Warning - Spawns::loadFromXml] Achad ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.496] [Warning - Spawns::loadFromXml] Achad ( 01142 / 00982 / 007 ) spawntime cannot be less than 1 seconds.
[15:41:19.498] [Spawn::addMonster] Cannot find "Ice Witch"
[15:41:19.498] [Spawn::addMonster] Cannot find "Ice Witch"
[15:41:19.506] [Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (Flat 1, Area 42) (1)
[15:41:19.507] [Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (Flat 1, Area 42) (2)

 

 

babydoll2.gif

  • Respostas 20
  • Visualizações 1.2k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Qual a versão do seu TFS?   Bom, tenta ae.... Verifica se existe a Tag do Demollition1.lua no Spells.XML OBS: no Value o caminho deve estar assim: value="Demollition/Demollition1

  • Tente assim:  

  • MEu amigo, erro que só a poha kkkkkkkkkkkkkkkkkkkk   Abre o items.xml e procura os items e modificando: fluidSource poison, modifica para key="fluidSource" value="water"/> ---

Postado

Qual a versão do seu TFS?

 

Bom, tenta ae....

Citar

[Error - LuaInterface::loadFile] cannot open data/spells/scripts/Demollition/Demollition1.lua: No such file or directory

Verifica se existe a Tag do Demollition1.lua no Spells.XML

OBS: no Value o caminho deve estar assim: value="Demollition/Demollition1.lua"

 

Citar

[Error - LuaInterface::loadFile] data/spells/scripts/Demollition/DemollitionB.lua:7: ')' expected near 'Ancient'

Ta dando o erro na linha 7, algo relacionada com ')' tente trocar '' por () ou vice versa, de uma olhada ae, caso não arrume poste o script em spoiler!

 

 

 

 

 

                                                           

55f6tc.gif                     

Postado
  • Autor

o primeiro eu resolvi e o segundo n entendi aqui o script:

Spoiler
Spoiler

function onCastSpell(cid)
    local number = 0.5
    local can = false


    if getPlayerItemCount(cid, 10548) < 5 then
       doPlayerSendCancel(cid, "Você precisa de 5 polvoras "Ancient Stones" para criar uma granada.")
       return false
    end

    doSendAnimatedText(getThingPos(cid), "DM-Create", TEXTCOLOR_ORANGE)
    doSendMagicEffect(getThingPosition(cid), 12)
    doPlayerAddItem(cid, 2149, 1)
    doPlayerRemoveItem(cid, 10548, 5)
    return false
end
 

 

agradeço a ajuda

babydoll2.gif

Postado
1 hora atrás, chateadoagr disse:

o primeiro eu resolvi e o segundo n entendi aqui o script:

  Ocultar conteúdo
  Ocultar conteúdo

function onCastSpell(cid)
    local number = 0.5
    local can = false


    if getPlayerItemCount(cid, 10548) < 5 then
       doPlayerSendCancel(cid, "Você precisa de 5 polvoras "Ancient Stones" para criar uma granada.")
       return false
    end

    doSendAnimatedText(getThingPos(cid), "DM-Create", TEXTCOLOR_ORANGE)
    doSendMagicEffect(getThingPosition(cid), 12)
    doPlayerAddItem(cid, 2149, 1)
    doPlayerRemoveItem(cid, 10548, 5)
    return false
end
 

 

agradeço a ajuda

Tente assim:

Spoiler

function onCastSpell(cid)
    local number = 0.5
    local can = false

    if getPlayerItemCount(cid, 10548) < 5 then
       doPlayerSendCancel(cid, "Você precisa de 5 polvoras Ancient Stones para criar uma granada.")
       return false
    end
    doSendAnimatedText(getThingPos(cid), "DM-Create", TEXTCOLOR_ORANGE)
    doSendMagicEffect(getThingPosition(cid), 12)
    doPlayerAddItem(cid, 2149, 1)
    doPlayerRemoveItem(cid, 10548, 5)
    return false
end

 

 

                                                           

55f6tc.gif                     

Postado
  • Autor
17 horas atrás, Digoshow disse:

Tente assim:

  Ocultar conteúdo

function onCastSpell(cid)
    local number = 0.5
    local can = false

    if getPlayerItemCount(cid, 10548) < 5 then
       doPlayerSendCancel(cid, "Você precisa de 5 polvoras Ancient Stones para criar uma granada.")
       return false
    end
    doSendAnimatedText(getThingPos(cid), "DM-Create", TEXTCOLOR_ORANGE)
    doSendMagicEffect(getThingPosition(cid), 12)
    doPlayerAddItem(cid, 2149, 1)
    doPlayerRemoveItem(cid, 10548, 5)
    return false
end

 

deu certo vlw agr falta o resto kkk

 

babydoll2.gif

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo