Ir para conteúdo
  • Cadastre-se

11.x [WIP] OTXServer 12.31 Global Full + Kilmaresh (Issavi) + BESTIARY - QUICKLOOT


Posts Recomendados

Errinho de console após 10 minutos de server on:

Lua Script Error: [Npc interface]
data/npc/scripts/Captain Kurt.lua:onCreatureSay
data/npc/scripts/Captain Kurt.lua:26: attempt to call global 'getVocationInfo' (
a nil value)
stack traceback:
        [C]: in function 'getVocationInfo'
        data/npc/scripts/Captain Kurt.lua:26: in function 'callback'
        data/npc/lib/npcsystem/npchandler.lua:431: in function 'onCreatureSay'
        data/npc/scripts/Captain Kurt.lua:9: in function <data/npc/scripts/Capta
in Kurt.lua:9>

Quando diz "Hi" para o npc "Captain Kurt" também dá esse erro.

captain kurt.png

CONHEÇA MEU PROJETO:

WWW.ETERNUS-GLOBAL.COM

 

tibia-logo.gif

Link para o post
Compartilhar em outros sites
  • Respostas 5k
  • Created
  • Última resposta

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

OTXServer Global Full Kilmaresh by Malucooo   [CLIENTS COMPATÍVEIS]   http://www.gitlab.com/guilhermesidney/cliente10/   [DOWNLOAD] BAIXEM EM: https://github.com/malucooo

Adicionado Imbuing System, Inspection System por Charles (Eternal-Scripts) Corrigido e atualizado Prey System por Charles (Eternal-Scripts)   Obrigado pela colaboração, acredito que no

Atualizações de Médio Porte:   - Items.otb 11.31 (adicionado os novos barris de potion e mais uns 700 items adicionado..) - Client 10 Atualizado - Adicionado a categoria carpet...

Posted Images

Quando da /i draken doll, esta criando um bookworm doll ao inves do draken doll e também tive o msm erro do @Rockersz, em relação ao Captain Kurt.

Link para o post
Compartilhar em outros sites
1 hora atrás, Lukiinhaaa disse:

Acabei de Testar Todos Na Parte Dos Skill e Magic Estao 100 % ! Agora Blade Of Carving (Overcharged) Esta Infinita No Set e Fora do Set ! e Chopper Of Remedy (Overcharged)  Nao Esta Infinito Fora Do Set e Quando Poe e Tira ele Vira chopper of remedy ! So Essse 2 o Resto Esta Ok !

Em

item.xml substitua

Spoiler

    <item id="25962" article="a" name="blade of carving (overcharged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="skillSword" value="1" />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillmanachance" value="30" />
        <attribute key="skillmanaamount" value="9" />
        <attribute key="transformDeEquipTo" value="26270" />
        <attribute key="duration" value="54000" />
        <attribute key="showduration" value="1" />        
    </item>

 

 Por:

 

Spoiler

    <item id="25962" article="a" name="blade of carving (overcharged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="skillSword" value="1" />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillmanachance" value="30" />
        <attribute key="skillmanaamount" value="9" />
        <attribute key="decayTo" value="25959" />
        <attribute key="transformDeEquipTo" value="26270" />
        <attribute key="duration" value="54000" />
        <attribute key="showduration" value="1" />        
    </item>

 

E:

 

Spoiler

    <item id="26273" article="a" name="chopper of remedy (overcharged) (axe fighting +1)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="53" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="weaponType" value="axe" />
        <attribute key="slotType" value="two-handed" />
        <attribute key="transformEquipTo" value="25931" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />    
    </item>

 

 Por:

Spoiler

    <item id="26273" article="a" name="chopper of remedy (overcharged) (axe fighting +1)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="53" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="weaponType" value="axe" />
        <attribute key="slotType" value="two-handed" />
        <attribute key="transformEquipTo" value="25934" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />    
    </item>    

 

 

 

Passa o script do Captain Kurt ai pf

Link para o post
Compartilhar em outros sites
18 minutos atrás, Guivalladao disse:

Em

item.xml substitua

  Mostrar conteúdo oculto


    <item id="25962" article="a" name="blade of carving (overcharged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="skillSword" value="1" />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillmanachance" value="30" />
        <attribute key="skillmanaamount" value="9" />
        <attribute key="transformDeEquipTo" value="26270" />
        <attribute key="duration" value="54000" />
        <attribute key="showduration" value="1" />        
    </item>

 

 Por:

 

  Mostrar conteúdo oculto


    <item id="25962" article="a" name="blade of carving (overcharged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="skillSword" value="1" />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillmanachance" value="30" />
        <attribute key="skillmanaamount" value="9" />
        <attribute key="decayTo" value="25959" />
        <attribute key="transformDeEquipTo" value="26270" />
        <attribute key="duration" value="54000" />
        <attribute key="showduration" value="1" />        
    </item>

 

E:

 

  Mostrar conteúdo oculto


    <item id="26273" article="a" name="chopper of remedy (overcharged) (axe fighting +1)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="53" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="weaponType" value="axe" />
        <attribute key="slotType" value="two-handed" />
        <attribute key="transformEquipTo" value="25931" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />    
    </item>

 

 Por:

  Mostrar conteúdo oculto


    <item id="26273" article="a" name="chopper of remedy (overcharged) (axe fighting +1)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="53" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="weaponType" value="axe" />
        <attribute key="slotType" value="two-handed" />
        <attribute key="transformEquipTo" value="25934" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />    
    </item>    

 

 

 

Passa o script do Captain Kurt ai pf

A blade of carving (overcharged) não fica "brilhando" ao equipar.

 

Captain Kurt.lua :

Spoiler

local keywordHandler = KeywordHandler:new()

local npcHandler = NpcHandler:new(keywordHandler)

NpcSystem.parseParameters(npcHandler)

local Topic, Town = {}, {}

function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end

function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end

function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end

function onThink() npcHandler:onThink() end

function thinkCallback(cid)

if math.random(300) == 1 then

npcHandler:say("Harr! Wanna go off this island? Need me an' my ship!")

end

return true

end

function creatureSayCallback(cid, type, msg)

if (msgcontains(msg, "hello") or msgcontains(msg, "hi")) and (not npcHandler:isFocused(cid)) then

local v, k = getPlayerVocation(cid), getCreatureName(cid)

if v == 0 then

npcHandler:say(getPlayerSex(cid) == 0 and "Well hello there, lovely lady! Can't sail you anywhere without a {vocation}, though. Y'should talk to the four vocation {masters} first, " .. k .. "." or "How cute, a freshly hatched newcomer. Harr. Can't leave this island without a {vocation}, y'know? Y'should talk to the four vocation {masters} first, " .. k.. ".", cid)

Topic[cid] = 0

else

npcHandler:say("Harrr, a new " .. getVocationInfo(v).name .. "! Can't wait to get off this lousy island and head for adventure, eh? Want me to bring ya somewhere nice, I rlly recomend you thais cuz the king lives ther an also if u wanna hav' lot f fun, " .. k .. "?", cid)

Topic[cid] = 1

end

Town[cid] = nil

npcHandler:addFocus(cid)

elseif(not npcHandler:isFocused(cid)) then

return false

elseif msgcontains(msg, "bye") or msgcontains(msg, "farewell") then

npcHandler:say("Hrrrm. Better y'stay here for a bit, aight.", cid, TRUE)

Topic[cid] = nil

Town[cid] = nil

npcHandler:releaseFocus(cid)

elseif Topic[cid] == 1 then

if msgcontains(msg, "yes") then

npcHandler:say("Take a hint from old Cap'n Kurt. Make sure y'dun leave here before yer equipped well. Ya went for rob- err, shopping and got stuff like rope, armor, and weap'n?", cid)

Topic[cid] = 2

elseif msgcontains(msg, "no") then

npcHandler:say("Then what'd ya want? Learn about the main Tibian cities?", cid)

Topic[cid] = 3

else

npcHandler:say("Kid, one thing y'should learn. Answer with {yes} or {no} and ya'll get much farther than with random babbling.", cid)

Topic[cid] = 1

end

elseif Topic[cid] == 2 then

if msgcontains(msg, "yes") then

npcHandler:say("Harrharr. Good answer. Wanna know somethin' about the main Tibian cities before you choose yer new home?", cid)

Topic[cid] = 3

elseif msgcontains(msg, "no") then

npcHandler:say("Then prepare yourself and come back later, eh?", cid)

npcHandler:releaseFocus(cid)

Topic[cid] = nil

end

elseif Topic[cid] == 3 then

if msgcontains(msg, "yes") then

npcHandler:say("Aye. Wanna know about {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Kazordoon}, {Liberty} {Bay}, {Port} {Hope}, {Svargrond}, {Thais}, {Venore} or {Yalahar}?", cid)

Topic[cid] = 0

elseif msgcontains(msg, "no") then

npcHandler:say(isPremium(cid) and "So ya know it all, eh? Where'd ya want me to bring ya then, kid? {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}?" or "So ya know it all, eh? Where'd ya want me to bring ya then, kid? {Ab'Dendriel}, {Carlin}, {Thais} or {Venore}?", cid)

Topic[cid] = 4

end

elseif Topic[cid] == 4 then

if msgcontains(msg, "ab'dendriel") then

npcHandler:say("So it's Ab'Dendriel y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = "Ab'Dendriel"

elseif msgcontains(msg, "ankrahmun") then

if isPremium(cid) then

npcHandler:say("So it's Ankrahmun y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Ankrahmun'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "carlin") then

npcHandler:say("So it's Carlin y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Carlin'

elseif msgcontains(msg, "darashia") then

if isPremium(cid) then

npcHandler:say("So it's Darashia y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Darashia'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "edron") then

if isPremium(cid) then

npcHandler:say("So it's Edron y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Edron'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "liberty") and msgcontains(msg, "bay") then

if isPremium(cid) then

npcHandler:say("So it's Liberty Bay y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Liberty Bay'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "port") and msgcontains(msg, "hope") then

if isPremium(cid) then

npcHandler:say("So it's Port Hope y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Port Hope'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "thais") then

npcHandler:say("So it's Thais y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Thais'

elseif msgcontains(msg, "venore") then

npcHandler:say("So it's Venore y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Venore'

else

npcHandler:say("Nope, wha'ever that is, I dun sail there. ".. isPremium(cid) and "{Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}" or "{Ab'Dendriel}, {Carlin}, {Thais} or {Venore}" .."?", cid)

Topic[cid] = 5

end

elseif msgcontains(msg, "passage") or msgcontains(msg, "sail") or msgcontains(msg, "travel") then

if getPlayerVocation(cid) == 0 then

npcHandler:say("Nope, yer not going anywhere. Can't transport ya without a {vocation}, y'know?", cid)

Topic[cid] = 0

else

npcHandler:say("So, y'chose your new home city? Which one's it gonna be?", cid)

Topic[cid] = 4

end

elseif Topic[cid] == 5 then

if msgcontains(msg, 'yes') then

npcHandler:say("And off we go! If yer lost, dun forget t'talk to the guide on the ship!", cid)

local v = getTownId(Town[cid])

npcHandler:releaseFocus(cid)

doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT)

doTeleportThing(cid, getTownTemplePosition(v))

doSendMagicEffect(getTownTemplePosition(v), CONST_ME_TELEPORT)

doPlayerSetTown(cid, v)

Topic[cid] = nil

else

npcHandler:say("Changed yer mind? What city d'ya wanna head to, {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}?", cid)

Topic[cid] = 4

end

Town[cid] = nil

elseif msgcontains(msg, "ab'dendriel") then

npcHandler:say("Ab... Den... wha'ever, I never get that spelling right. Main city of the elves, lots of trees 'n stuff. Very cosy and safe I guess if yer fond of nature. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "ankrahmun") then

npcHandler:say("Only for {premium} travellers! Desert pyramid city close to the ocean, far too hot and dry for my taste. But word is there are good hunting grounds nearby. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "carlin") then

npcHandler:say("A city ruled by crazy amazon women! Blimey! Depends on yer taste whether ya think that's good or not. Harr. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "darashia") then

npcHandler:say("Only for {premium} travellers! One of the two desert cities. Built around an oasis. Decent location for a newcomer. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "edron") then

npcHandler:say("Only for {premium} travellers! Quiet little castle city on an island in the north-eastern part of Tibia. Good place for starters, really. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "kazordoon") then

npcHandler:say("The underground dwarven city. Doesn't have a real harbour, so I can't bring ya there, y'know.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "liberty") and msgcontains(msg, "bay") then

npcHandler:say("Only for {premium} travellers! Liberty Bay is on an island group in the South Seas. Pirates 'n stuff, y'know. Gotta be careful, but good hunting location. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "port") and msgcontains(msg, "hope") then

npcHandler:say("Only for {premium} travellers! Port Hope is an outpost right in the middle of the jungle. Who'd want to go there?? Except for really crazy adventurers? I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "svargrond") then

npcHandler:say("Nah, can't bring ya there. Those nordic barbarians have their own rules of who they wanna let live in their city. But go there sometime, heard it's quite interesting.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "thais") then

npcHandler:say("Old-school city. Actually the oldest main city in Tibia. Be careful on those streets, there're bandits everywhere. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "venore") then

npcHandler:say("Harrr, one of the richest cities, filled with merchants. Dunno though why they built it over a stinking swamp. Go there if ya have a good sense of orientation. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "yalahar") then

npcHandler:say("Now that must be one o' the biggest cities I've ever seen. Might be not cosy for a newcomer like yerself though. And I can't sail there anyway... they don't let everyone enter their fine pretty harbour, y'know.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "rookgaard") then

npcHandler:say("Nah, y'dun wanna go back there.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "main") then

npcHandler:say("The main continent can be dangerous. Other fellas can kill ya, y'know? So be careful! Wanna go there, ask fo' a {passage}.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "master") then

npcHandler:say("Lemme get this right, ahum. {Estrella}, {Hykrion}, {Narai} and {Yandur}. Aye, that's it.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "estrella") then

npcHandler:say("Scary lady. Makes me feel sorta stupid at times. Talk t'her for {sorcerer} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "hykrion") then

npcHandler:say("Harr. My training partner, aye. Talk t'him for {knight} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "narai") then

npcHandler:say("Harrrrrrrrrr. Nuff said. Talk t'her for {paladin} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "raffael") then

npcHandler:say("A shop without rum or beer ain't a good shop. Just my opinion, man.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "kurt") then

npcHandler:say("Hrm?", cid)

Topic[cid] = 0

elseif msgcontains(msg, "yandur") then

npcHandler:say("Can be nice t'have a healer around. Talk t'him for {druid} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "knight") then

npcHandler:say("Rock solid vocation. Easy t'play, hard t'master.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "sorcerer") then

npcHandler:say("Turns out pretty powerful in the end.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "druid") then

npcHandler:say("Decent vocation. Healing's always nice.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "paladin") then

npcHandler:say("I prefer t'have my enemies closer to my face than those distance fighters. Harrr.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "vocation") then

npcHandler:say("Ya must have one if ya wanna leave here. Need some power before going to the {main} continent, aye!", cid)

Topic[cid] = 0

elseif msgcontains(msg, "ship") then

npcHandler:say("She's pretty, ain't she? Will bring ya almost anywhere and even fo' free. Just once though! Gotta ask fo' a {passage}.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "premium") then

npcHandler:say("Some regions in the world can't be accessed by everyone. Gotta pay, y'know? If y'spend some real cash fo' premium time, I can bring ya t'much cooler locations.", cid)

Topic[cid] = 0

end

return true

end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)

npcHandler:setMessage(MESSAGE_WALKAWAY, "Hrrrrm. And a good day to you, too!")

npcHandler:setCallback(CALLBACK_ONTHINK, thinkCallback)

Também removi os itens "donate" e editei como os itens normais de acordo com o tibiawiki, são eles:

Obsidian Truncheon = 8928

Solar Axe = 8925

The Epiphany = 8931

Crystal Arrow = 2352

 

items.xml :

items.xml

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

CONHEÇA MEU PROJETO:

WWW.ETERNUS-GLOBAL.COM

 

tibia-logo.gif

Link para o post
Compartilhar em outros sites
47 minutos atrás, Rockersz disse:

A blade of carving (overcharged) não fica "brilhando" ao equipar.

 

Captain Kurt.lua :

  Mostrar conteúdo oculto

local keywordHandler = KeywordHandler:new()

local npcHandler = NpcHandler:new(keywordHandler)

NpcSystem.parseParameters(npcHandler)

local Topic, Town = {}, {}

function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end

function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end

function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end

function onThink() npcHandler:onThink() end

function thinkCallback(cid)

if math.random(300) == 1 then

npcHandler:say("Harr! Wanna go off this island? Need me an' my ship!")

end

return true

end

function creatureSayCallback(cid, type, msg)

if (msgcontains(msg, "hello") or msgcontains(msg, "hi")) and (not npcHandler:isFocused(cid)) then

local v, k = getPlayerVocation(cid), getCreatureName(cid)

if v == 0 then

npcHandler:say(getPlayerSex(cid) == 0 and "Well hello there, lovely lady! Can't sail you anywhere without a {vocation}, though. Y'should talk to the four vocation {masters} first, " .. k .. "." or "How cute, a freshly hatched newcomer. Harr. Can't leave this island without a {vocation}, y'know? Y'should talk to the four vocation {masters} first, " .. k.. ".", cid)

Topic[cid] = 0

else

npcHandler:say("Harrr, a new " .. getVocationInfo(v).name .. "! Can't wait to get off this lousy island and head for adventure, eh? Want me to bring ya somewhere nice, I rlly recomend you thais cuz the king lives ther an also if u wanna hav' lot f fun, " .. k .. "?", cid)

Topic[cid] = 1

end

Town[cid] = nil

npcHandler:addFocus(cid)

elseif(not npcHandler:isFocused(cid)) then

return false

elseif msgcontains(msg, "bye") or msgcontains(msg, "farewell") then

npcHandler:say("Hrrrm. Better y'stay here for a bit, aight.", cid, TRUE)

Topic[cid] = nil

Town[cid] = nil

npcHandler:releaseFocus(cid)

elseif Topic[cid] == 1 then

if msgcontains(msg, "yes") then

npcHandler:say("Take a hint from old Cap'n Kurt. Make sure y'dun leave here before yer equipped well. Ya went for rob- err, shopping and got stuff like rope, armor, and weap'n?", cid)

Topic[cid] = 2

elseif msgcontains(msg, "no") then

npcHandler:say("Then what'd ya want? Learn about the main Tibian cities?", cid)

Topic[cid] = 3

else

npcHandler:say("Kid, one thing y'should learn. Answer with {yes} or {no} and ya'll get much farther than with random babbling.", cid)

Topic[cid] = 1

end

elseif Topic[cid] == 2 then

if msgcontains(msg, "yes") then

npcHandler:say("Harrharr. Good answer. Wanna know somethin' about the main Tibian cities before you choose yer new home?", cid)

Topic[cid] = 3

elseif msgcontains(msg, "no") then

npcHandler:say("Then prepare yourself and come back later, eh?", cid)

npcHandler:releaseFocus(cid)

Topic[cid] = nil

end

elseif Topic[cid] == 3 then

if msgcontains(msg, "yes") then

npcHandler:say("Aye. Wanna know about {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Kazordoon}, {Liberty} {Bay}, {Port} {Hope}, {Svargrond}, {Thais}, {Venore} or {Yalahar}?", cid)

Topic[cid] = 0

elseif msgcontains(msg, "no") then

npcHandler:say(isPremium(cid) and "So ya know it all, eh? Where'd ya want me to bring ya then, kid? {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}?" or "So ya know it all, eh? Where'd ya want me to bring ya then, kid? {Ab'Dendriel}, {Carlin}, {Thais} or {Venore}?", cid)

Topic[cid] = 4

end

elseif Topic[cid] == 4 then

if msgcontains(msg, "ab'dendriel") then

npcHandler:say("So it's Ab'Dendriel y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = "Ab'Dendriel"

elseif msgcontains(msg, "ankrahmun") then

if isPremium(cid) then

npcHandler:say("So it's Ankrahmun y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Ankrahmun'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "carlin") then

npcHandler:say("So it's Carlin y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Carlin'

elseif msgcontains(msg, "darashia") then

if isPremium(cid) then

npcHandler:say("So it's Darashia y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Darashia'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "edron") then

if isPremium(cid) then

npcHandler:say("So it's Edron y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Edron'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "liberty") and msgcontains(msg, "bay") then

if isPremium(cid) then

npcHandler:say("So it's Liberty Bay y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Liberty Bay'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "port") and msgcontains(msg, "hope") then

if isPremium(cid) then

npcHandler:say("So it's Port Hope y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Port Hope'

else

npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)

Topic[cid] = 0

end

elseif msgcontains(msg, "thais") then

npcHandler:say("So it's Thais y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Thais'

elseif msgcontains(msg, "venore") then

npcHandler:say("So it's Venore y'wanna live in? What y'say, {yes} or {no}?", cid)

Topic[cid] = 5

Town[cid] = 'Venore'

else

npcHandler:say("Nope, wha'ever that is, I dun sail there. ".. isPremium(cid) and "{Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}" or "{Ab'Dendriel}, {Carlin}, {Thais} or {Venore}" .."?", cid)

Topic[cid] = 5

end

elseif msgcontains(msg, "passage") or msgcontains(msg, "sail") or msgcontains(msg, "travel") then

if getPlayerVocation(cid) == 0 then

npcHandler:say("Nope, yer not going anywhere. Can't transport ya without a {vocation}, y'know?", cid)

Topic[cid] = 0

else

npcHandler:say("So, y'chose your new home city? Which one's it gonna be?", cid)

Topic[cid] = 4

end

elseif Topic[cid] == 5 then

if msgcontains(msg, 'yes') then

npcHandler:say("And off we go! If yer lost, dun forget t'talk to the guide on the ship!", cid)

local v = getTownId(Town[cid])

npcHandler:releaseFocus(cid)

doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT)

doTeleportThing(cid, getTownTemplePosition(v))

doSendMagicEffect(getTownTemplePosition(v), CONST_ME_TELEPORT)

doPlayerSetTown(cid, v)

Topic[cid] = nil

else

npcHandler:say("Changed yer mind? What city d'ya wanna head to, {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}?", cid)

Topic[cid] = 4

end

Town[cid] = nil

elseif msgcontains(msg, "ab'dendriel") then

npcHandler:say("Ab... Den... wha'ever, I never get that spelling right. Main city of the elves, lots of trees 'n stuff. Very cosy and safe I guess if yer fond of nature. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "ankrahmun") then

npcHandler:say("Only for {premium} travellers! Desert pyramid city close to the ocean, far too hot and dry for my taste. But word is there are good hunting grounds nearby. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "carlin") then

npcHandler:say("A city ruled by crazy amazon women! Blimey! Depends on yer taste whether ya think that's good or not. Harr. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "darashia") then

npcHandler:say("Only for {premium} travellers! One of the two desert cities. Built around an oasis. Decent location for a newcomer. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "edron") then

npcHandler:say("Only for {premium} travellers! Quiet little castle city on an island in the north-eastern part of Tibia. Good place for starters, really. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "kazordoon") then

npcHandler:say("The underground dwarven city. Doesn't have a real harbour, so I can't bring ya there, y'know.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "liberty") and msgcontains(msg, "bay") then

npcHandler:say("Only for {premium} travellers! Liberty Bay is on an island group in the South Seas. Pirates 'n stuff, y'know. Gotta be careful, but good hunting location. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "port") and msgcontains(msg, "hope") then

npcHandler:say("Only for {premium} travellers! Port Hope is an outpost right in the middle of the jungle. Who'd want to go there?? Except for really crazy adventurers? I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "svargrond") then

npcHandler:say("Nah, can't bring ya there. Those nordic barbarians have their own rules of who they wanna let live in their city. But go there sometime, heard it's quite interesting.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "thais") then

npcHandler:say("Old-school city. Actually the oldest main city in Tibia. Be careful on those streets, there're bandits everywhere. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "venore") then

npcHandler:say("Harrr, one of the richest cities, filled with merchants. Dunno though why they built it over a stinking swamp. Go there if ya have a good sense of orientation. I can {sail} there if ya like.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "yalahar") then

npcHandler:say("Now that must be one o' the biggest cities I've ever seen. Might be not cosy for a newcomer like yerself though. And I can't sail there anyway... they don't let everyone enter their fine pretty harbour, y'know.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "rookgaard") then

npcHandler:say("Nah, y'dun wanna go back there.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "main") then

npcHandler:say("The main continent can be dangerous. Other fellas can kill ya, y'know? So be careful! Wanna go there, ask fo' a {passage}.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "master") then

npcHandler:say("Lemme get this right, ahum. {Estrella}, {Hykrion}, {Narai} and {Yandur}. Aye, that's it.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "estrella") then

npcHandler:say("Scary lady. Makes me feel sorta stupid at times. Talk t'her for {sorcerer} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "hykrion") then

npcHandler:say("Harr. My training partner, aye. Talk t'him for {knight} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "narai") then

npcHandler:say("Harrrrrrrrrr. Nuff said. Talk t'her for {paladin} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "raffael") then

npcHandler:say("A shop without rum or beer ain't a good shop. Just my opinion, man.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "kurt") then

npcHandler:say("Hrm?", cid)

Topic[cid] = 0

elseif msgcontains(msg, "yandur") then

npcHandler:say("Can be nice t'have a healer around. Talk t'him for {druid} info.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "knight") then

npcHandler:say("Rock solid vocation. Easy t'play, hard t'master.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "sorcerer") then

npcHandler:say("Turns out pretty powerful in the end.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "druid") then

npcHandler:say("Decent vocation. Healing's always nice.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "paladin") then

npcHandler:say("I prefer t'have my enemies closer to my face than those distance fighters. Harrr.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "vocation") then

npcHandler:say("Ya must have one if ya wanna leave here. Need some power before going to the {main} continent, aye!", cid)

Topic[cid] = 0

elseif msgcontains(msg, "ship") then

npcHandler:say("She's pretty, ain't she? Will bring ya almost anywhere and even fo' free. Just once though! Gotta ask fo' a {passage}.", cid)

Topic[cid] = 0

elseif msgcontains(msg, "premium") then

npcHandler:say("Some regions in the world can't be accessed by everyone. Gotta pay, y'know? If y'spend some real cash fo' premium time, I can bring ya t'much cooler locations.", cid)

Topic[cid] = 0

end

return true

end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)

npcHandler:setMessage(MESSAGE_WALKAWAY, "Hrrrrm. And a good day to you, too!")

npcHandler:setCallback(CALLBACK_ONTHINK, thinkCallback)

 

Tenta esse:

 

Spoiler

local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local Topic, Town = {}, {}
function onCreatureAppear(cid)            npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid)        npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)    npcHandler:onCreatureSay(cid, type, msg) end
function onThink()                        npcHandler:onThink() end
function thinkCallback(cid)
    if math.random(300) == 1 then
        npcHandler:say("Harr! Wanna go off this island? Need me an' my ship!")
    end
    return true
end
function creatureSayCallback(cid, type, msg)
    if (msgcontains(msg, "hello") or msgcontains(msg, "hi")) and (not npcHandler:isFocused(cid)) then
        local player = Player(cid)
        local v, k = player:getVocation(), getCreatureName(cid)
        if v == 0 then
            npcHandler:say(getPlayerSex(cid) == 0 and "Well hello there, lovely lady! Can't sail you anywhere without a {vocation}, though. Y'should talk to the four vocation {masters} first, " .. k .. "." or "How cute, a freshly hatched newcomer. Harr. Can't leave this island without a {vocation}, y'know? Y'should talk to the four vocation {masters} first, " .. k.. ".", cid)
            Topic[cid] = 0
        else
            npcHandler:say("Harrr, a new " .. v:getName() .. "! Can't wait to get off this lousy island and head for adventure, eh? Want me to bring ya somewhere nice, I rlly recomend you thais cuz the king lives ther an also if u wanna hav' lot f fun, " .. k .. "?", cid)
            Topic[cid] = 1
        end
        Town[cid] = nil
        npcHandler:addFocus(cid)
    elseif(not npcHandler:isFocused(cid)) then
        return false
    elseif msgcontains(msg, "bye") or msgcontains(msg, "farewell") then
        npcHandler:say("Hrrrm. Better y'stay here for a bit, aight.", cid, TRUE)
        Topic[cid] = nil
        Town[cid] = nil
        npcHandler:releaseFocus(cid)
    elseif Topic[cid] == 1 then
        if msgcontains(msg, "yes") then
            npcHandler:say("Take a hint from old Cap'n Kurt. Make sure y'dun leave here before yer equipped well. Ya went for rob- err, shopping and got stuff like rope, armor, and weap'n?", cid)
            Topic[cid] = 2
        elseif msgcontains(msg, "no") then
            npcHandler:say("Then what'd ya want? Learn about the main avalian city?", cid)
            Topic[cid] = 3
        else
            npcHandler:say("Kid, one thing y'should learn. Answer with {yes} or {no} and ya'll get much farther than with random babbling.", cid)
            Topic[cid] = 1
        end
    elseif Topic[cid] == 2 then
        if msgcontains(msg, "yes") then
            npcHandler:say("Harrharr. Good answer. Wanna know somethin' about the main Tibian cities before you choose yer new home?", cid)
            Topic[cid] = 3
        elseif msgcontains(msg, "no") then
            npcHandler:say("Then prepare yourself and come back later, eh?", cid)
            npcHandler:releaseFocus(cid)
            Topic[cid] = nil
        end
    elseif Topic[cid] == 3 then
        if msgcontains(msg, "yes") then
            npcHandler:say("Aye. Wanna know about {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Kazordoon}, {Liberty} {Bay}, {Port} {Hope}, {Svargrond}, {Thais}, {Venore} or {Yalahar}?", cid)
            Topic[cid] = 0
        elseif msgcontains(msg, "no") then
            npcHandler:say(isPremium(cid) and "So ya know it all, eh? Where'd ya want me to bring ya then, kid? {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}?" or "So ya know it all, eh? Where'd ya want me to bring ya then, kid? {Ab'Dendriel}, {Carlin}, {Thais} or {Venore}?", cid)
            Topic[cid] = 4
        end
    elseif Topic[cid] == 4 then
        if msgcontains(msg, "ab'Dendriel") then
            npcHandler:say("So it's Ab'Dendriel y'wanna live in? What y'say, {yes} or {no}?", cid)
            Topic[cid] = 5
            Town[cid] = "Ab'Dendriel"
        elseif msgcontains(msg, "Ankrahmun") then
            if isPremium(cid) then
                npcHandler:say("So it's Ankrahmun y'wanna live in? What y'say, {yes} or {no}?", cid)
                Topic[cid] = 5
                Town[cid] = 'Ankrahmun'
            else
                npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)
                Topic[cid] = 0
            end
        elseif msgcontains(msg, "carlin") then
            npcHandler:say("So it's Carlin y'wanna live in? What y'say, {yes} or {no}?", cid)
            Topic[cid] = 5
            Town[cid] = 'Carlin'
        elseif msgcontains(msg, "darashia") then
            if isPremium(cid) then
                npcHandler:say("So it's Darashia y'wanna live in? What y'say, {yes} or {no}?", cid)
                Topic[cid] = 5
                Town[cid] = 'Darashia'
            else
                npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)
                Topic[cid] = 0
            end
        elseif msgcontains(msg, "edron") then
            if isPremium(cid) then
                npcHandler:say("So it's Edron y'wanna live in? What y'say, {yes} or {no}?", cid)
                Topic[cid] = 5
                Town[cid] = 'Edron'
            else
                npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)
                Topic[cid] = 0
            end
        elseif msgcontains(msg, "liberty bay") and msgcontains(msg, "sdfds") then
            if isPremium(cid) then
                npcHandler:say("So it's Liberty Bay y'wanna live in? What y'say, {yes} or {no}?", cid)
                Topic[cid] = 5
                Town[cid] = 'Liberty Bay'
            else
                npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)
                Topic[cid] = 0
            end
        elseif msgcontains(msg, "port hope") and msgcontains(msg, "dasads") then
            if isPremium(cid) then
                npcHandler:say("So it's Port Hope y'wanna live in? What y'say, {yes} or {no}?", cid)
                Topic[cid] = 5
                Town[cid] = 'Port Hope'
            else
                npcHandler:say("Nope, can't bring y'there without a premium account. Y'should be glad you get to travel by ship, usually a premium service, too, y'know.", cid)
                Topic[cid] = 0
            end
        elseif msgcontains(msg, "thais") then
            npcHandler:say("So it's Thais y'wanna live in? What y'say, {yes} or {no}?", cid)
            Topic[cid] = 5
            Town[cid] = 'Thais'
        elseif msgcontains(msg, "venore") then
            npcHandler:say("So it's Venore y'wanna live in? What y'say, {yes} or {no}?", cid)
            Topic[cid] = 5
            Town[cid] = 'Venore'
        else
            npcHandler:say("Nope, wha'ever that is, I dun sail there. ".. isPremium(cid) and "{Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}" or "{Ab'Dendriel}, {Carlin}, {Thais} or {Venore}" .."?", cid)
            Topic[cid] = 5
        end
    elseif msgcontains(msg, "passage") or msgcontains(msg, "sail") or msgcontains(msg, "travel") then
        if getPlayerVocation(cid) == 0 then
            npcHandler:say("Nope, yer not going anywhere. Can't transport ya without a {vocation}, y'know?", cid)
            Topic[cid] = 0
        else
            npcHandler:say("So, y'chose your new home city? Which one's it gonna be?", cid)
            Topic[cid] = 4
        end
    elseif Topic[cid] == 5 then
        if msgcontains(msg, 'yes') then
            npcHandler:say("And off we go! If yer lost, dun forget t'talk to the guide on the ship!", cid)
            local v = getTownId(Town[cid])
            npcHandler:releaseFocus(cid)
            doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT)
            doTeleportThing(cid, getTownTemplePosition(v))
            doSendMagicEffect(getTownTemplePosition(v), CONST_ME_TELEPORT)
            doPlayerSetTown(cid, v)
            Topic[cid] = nil
        else
            npcHandler:say("Changed yer mind? What city d'ya wanna head to, {Ab'Dendriel}, {Ankrahmun}, {Carlin}, {Darashia}, {Edron}, {Liberty Bay}, {Port Hope}, {Thais} or {Venore}?", cid)
        end
 
        Topic[cid] = 0
    elseif msgcontains(msg, "venore") then
        npcHandler:say("Old-school city. Actually the oldest main city in Tibia. Be careful on those streets, there're bandits everywhere. I can {sail} there if ya like.", cid)
   
    end
    return true
end
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:setMessage(MESSAGE_WALKAWAY, "Hrrrrm. And a good day to you, too!")
npcHandler:setCallback(CALLBACK_ONTHINK, thinkCallback)

 

 

Sobre o blade of carving, tambem nao sei porque ela nao fica brilhando, tem 2 ids, o que brilha e o que nao brilha, mas ela em ambos nao brilham

Editado por Guivalladao (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

As magias HASTE e STRONG HASTE não estão cancelando a paralize...

SOLUÇÃO

SUBSTITUA O QUE TEM EM:

 

 

1 - data/spells/support/haste.lua

local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false)
combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

local condition = Condition(CONDITION_HASTE)
condition:setParameter(CONDITION_PARAM_SUBID, 1)
condition:setParameter(CONDITION_PARAM_TICKS, 33000)
condition:setFormula(0.3, -24, 0.3, -24)
combat:setCondition(condition)

function onCastSpell(creature, variant)
	return combat:execute(creature, variant)
end

2 - data/spells/support/strong haste.lua

local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0)
combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

local condition = Condition(CONDITION_HASTE)
condition:setParameter(CONDITION_PARAM_TICKS, 22000)
condition:setFormula(0.7, -56, 0.7, -56)
combat:setCondition(condition)

function onCastSpell(creature, var)
	return combat:execute(creature, var)
end

 

 

Link para o post
Compartilhar em outros sites

Há um pequeno problema com NPCs e monstros. É um pouco preso. Eles sabem como corrigir esse erro? Quero dizer, exahusted, caminhar lentamente, e quando se escreve com o NPC, leva um tempo para responder. Outro pequeno bug que encontrei é que quando eu excluir um jogador da página ainda existe no servidor, mas não na página, eu quero dizer que eu ainda brincar.

Link para o post
Compartilhar em outros sites
11 minutos atrás, thedooms disse:

Há um pequeno problema com NPCs e monstros. É um pouco preso. Eles sabem como corrigir esse erro? Quero dizer, exahusted, caminhar lentamente, e quando se escreve com o NPC, leva um tempo para responder. Outro pequeno bug que encontrei é que quando eu excluir um jogador da página ainda existe no servidor, mas não na página, eu quero dizer que eu ainda brincar.

O npc tem esse delay de resposta para evitar ataques WPE..

 

"Outro pequeno bug que encontrei é que quando eu excluir um jogador da página ainda existe no servidor, mas não na página, eu quero dizer que eu ainda brincar."

nao entendi nada dessa parte..

Link para o post
Compartilhar em outros sites
6 horas atrás, Marcosergio123 disse:

o Help channel está com o seguinte problema: players e staff falam como se fosse o Local Chat, como resolvo?

 

Isso só ocorre porque a account_type está no 6 (usada na conta do god)

Se for uma conta comum, o chat funciona normalmente

Link para o post
Compartilhar em outros sites

Lamps de oramond com ID 22871 somem caso alguem de use nelas...

----------

Faltando um npc UZON no mapa... Para corrigir, adicione isto depois da tag <spawns>  no arquivo data/world/global-spawn.xml

	<spawn centerx="32660" centery="31913" centerz="0" radius="2">
		<npc name="Uzon" x="0" y="1" z="0" spawntime="60" />
	</spawn>

 

Link para o post
Compartilhar em outros sites
16 horas atrás, Guivalladao disse:

Em

item.xml substitua

  Ocultar conteúdo


    <item id="25962" article="a" name="blade of carving (overcharged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="skillSword" value="1" />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillmanachance" value="30" />
        <attribute key="skillmanaamount" value="9" />
        <attribute key="transformDeEquipTo" value="26270" />
        <attribute key="duration" value="54000" />
        <attribute key="showduration" value="1" />        
    </item>

 

 Por:

 

  Ocultar conteúdo


    <item id="25962" article="a" name="blade of carving (overcharged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="skillSword" value="1" />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillmanachance" value="30" />
        <attribute key="skillmanaamount" value="9" />
        <attribute key="decayTo" value="25959" />
        <attribute key="transformDeEquipTo" value="26270" />
        <attribute key="duration" value="54000" />
        <attribute key="showduration" value="1" />        
    </item>

 

E:

 

  Ocultar conteúdo


    <item id="26273" article="a" name="chopper of remedy (overcharged) (axe fighting +1)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="53" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="weaponType" value="axe" />
        <attribute key="slotType" value="two-handed" />
        <attribute key="transformEquipTo" value="25931" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />    
    </item>

 

 Por:

  Ocultar conteúdo


    <item id="26273" article="a" name="chopper of remedy (overcharged) (axe fighting +1)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="35" />
        <attribute key="attack" value="53" />
        <attribute key="description" value="This weapon is over charged." />
        <attribute key="weaponType" value="axe" />
        <attribute key="slotType" value="two-handed" />
        <attribute key="transformEquipTo" value="25934" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />    
    </item>    

 

 

 

Passa o script do Captain Kurt ai pf

oi gostaria de uma ajuda nessa duvida, são 5 chopper of remedy

 

duvida.thumb.jpg.1a8507ddf65285161de34b3de13d759f.jpg

 

a ultima da direita é a infinite >>

segue a sequencia chopper of remedy (id 25931) , Chopper of Remedy (charged)(id 25932), Chopper of Remedy (heavily charged)(id 25933), Chopper of Remedy (overcharged)(id 25934)

e por fim a infinite, Chopper of Remedy (infinite) (id 26273)

 

eu queria saber se a infinite esta dando problemas nas outras? é isso?

obrigado

Link para o post
Compartilhar em outros sites
3 hours ago, brunolamonato said:

O npc tem esse delay de resposta para evitar ataques WPE..

 

"Outro pequeno bug que encontrei é que quando eu excluir um jogador da página ainda existe no servidor, mas não na página, eu quero dizer que eu ainda brincar."

nao entendi nada dessa parte..

A parte que você não entende não é tão importante, mas você pode me ajudar a resolver o que monstros? eles têm exahusted quando ataque. Por segundo ficar preso quando estão atacando

Link para o post
Compartilhar em outros sites
2 horas atrás, thedooms disse:

A parte que você não entende não é tão importante, mas você pode me ajudar a resolver o que monstros? eles têm exahusted quando ataque. Por segundo ficar preso quando estão atacando

explica isso melhor, mano, tá dificil de entender!

Link para o post
Compartilhar em outros sites
2 horas atrás, higorvf disse:

ola amigos nao sei compila Sources para ubuntu

gostaria de saber se alguem tem ja compilada ou se pode mostrar como fazer para compilar

 

gostaria de aprender a compilar ^^

Abra o terminal na pasta do ot e use esses comandos:

 

# apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libpugixml-dev

 

# mkdir build && cd build

# cmake ..

# make

Link para o post
Compartilhar em outros sites

@rexxton poderia me informar (se souber logicamente), se esse servidor da suporte ao cliente 10.99? Rodei ele em minha máquina e ao informar a senha e aparecer o char ele avisa que o cliente não é suportado e tenta dar o update para a versão 11.

 

Alguém poderia informar?

https://github.com/gutogirardon

 

O importante não é vencer todos os dias, mas lutar sempre.

Link para o post
Compartilhar em outros sites
1 minuto atrás, Girardon disse:

@rexxton poderia me informar (se souber logicamente), se esse servidor da suporte ao cliente 10.99? Rodei ele em minha máquina e ao informar a senha e aparecer o char ele avisa que o cliente não é suportado e tenta dar o update para a versão 11.

 

Alguém poderia informar?

Você colocou o ip no cliente ou usou algum ipchanger? eu uso ele com versão 10.99, estou tentando fazer rodar na 10.00

Link para o post
Compartilhar em outros sites
Agora, rexxton disse:

Você colocou o ip no cliente ou usou algum ipchanger? eu uso ele com versão 10.99, estou tentando fazer rodar na 10.00

Sim, tentei pelo changeip do magebot! Será que pode ser esse o problema?

https://github.com/gutogirardon

 

O importante não é vencer todos os dias, mas lutar sempre.

Link para o post
Compartilhar em outros sites
  • Erimyth pinned this tópico
  • Erimyth featured this tópico
  • Erimyth unfeatured e unpinned this tópico

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 Johncore
      Olá galera, é com muita dedicação que trago para este forum uma exclusividade que só eu tinha.
      Mapa Dragonsouls 11x 99%, tem alguns detalhes de sqm ou borda que você possa precisar fazer,
      Dragonsouls é um servidor ATS Custom, baseado em senhor dos aneis. via muita gente perguntando por esse mapa e eu tinha a muitos anos, resolvi converter.
      mas ele está 99% pronto para uso.
       
      Esse mapa é 100% compativel para rodar na Datapack Otg Server 11,
      Otg Server é um projeto que trabalha com varias datapacks de tibia rl e ATS Custom.
       
      Github:
      https://github.com/otg-br/
       
      Participe do grupo Otg Server:  
      https://chat.whatsapp.com/EWV3dVvS6nt1em7q23FGu7
       
       
      MAPA:
       
      INICIAL ISLAND

       
      CARLIN

       
      CIDADE TIRITH

       
      CIDADE BREE

       
       
       
       
      world.zip
    • Por Johncore
      Olá pessoas, estou disponibilizando aqui mais uma exclusividade que é o Mapa Evolunia, ele é baseado no servidor Evolunia.net
       
      Esse mapa é 100% compativel para rodar na Datapack Otg Server 11x,
      Otg Server é um projeto que trabalha com varias datapacks de tibia rl e ATS Custom.
       
      Participe do grupo Otg Server:  
      https://chat.whatsapp.com/EWV3dVvS6nt1em7q23FGu7
       
      Creditos:
      evolunia
      world.zip
    • Por Johncore
      Otg Server é um projeto fork do The Forgotten Server 1.3, feito por brasileiros que visam sempre por estabilidade, um código mais clean, temos no projeto várias Datapacks como
      Global 11.0, Global 8.6, Global 8.0, RadBR 11.0, Evolutions 11.0, Yurots Classic 11.0, nossa base também é excelente para rodar projetos que são mapa Baiak ou ATS Custom pelo baixissimo uso de cpu e fix do Decay de itens.

      Todos são bem vindos para colaborar com o projeto... que não visa nenhum lucro financeiro, queremos apenas colaborar com a comunidade OTSERV,
      temos ouvido de muitas pessoas que procuram uma base estável, limpa, esse é o nosso objetivo nesse projeto.
       
      Estamos a procura de programadores/dev/webmaster que queiram ajudar / que tenham tempo e serão recompensados por isso.
       
      Nossa Datapack principal Global 11.00 contem as seguintes features:
      CAST SYSTEM ✅
      AUTOLOOT ✅
      WINTER UPDATE 2023 ✅
      SUMMER UPDATE 2023 ✅
      ADDONS 13.22 UPDATE ✅
      MONTARIAS 13.22 UPDATE ✅
      ITEMS 13.22 UPDATE ✅
      DAILY REWARD ✅
      IMBUEMENTS ✅
      PREY ✅
      EXERCISE WEAPONS ✅
      HIRELINGS NPCS ✅
      ANTI ROLLBACK ✅
       
       
      Github Global 11x:  💾
      https://github.com/otg-br/global-11x
      Clients e outras ferramentas:  💾
      https://github.com/otg-br/tools
      Github Otg Gesior:  💾
      https://github.com/otg-br/gesior
      Github Otg Otclientv8:  💾
      https://github.com/otg-br/otclientv8
      Wiki Otg:  💾
      https://github.com/otg-br/global-11x/wiki
       
       
      Creditos:
      TFS Team Erick Nunes Gui Bruxo Worthdavi LuSKT Leo Pereira Luan Luciano Cjaker Comedinhas Nekiro OTG Colaborators
    • Por Dnzk21
      COMO POSSO IMPORTAR UMA CITY EMCIMA DE OUTRA CITY SEM PERDER AS HOUSES
      ALGUEM PODE M,E AJUDAR 
      E A MESMA CITY MJAIS QUANDO IMPORTO PERDE TODAS CASAS QUANDO SALVA E ABRE O SERVIDOR
    • Por Johncore
      Arcadia é uma cidade custom bem bonita que pode ser encontrada no servidor AureraGlobal,
      Por ter esse conteudo aqui em primeira mão, resolvi disponibilizar para a comunidade.
       


       
      Creditos:
      Aurera Team
      Johncorex
      Arcadia-spawn.xml Arcadia-house.xml Arcadia.otbm

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo