Ir para conteúdo

Session Start

Conde
  • Total de itens

    752
  • Registro em

  • Última visita

  • Dias Ganhos

    9

Tudo que Session Start postou

  1. Os erros das libs não são diferentes? é um dev normal, mas eu baixei as libs pelo updater, se tiver como me passar o link do correto, agradeceria, ta ficando chato já, pensei que era pelo fato do OS ser 64bits, mas pleo jeito não é :x
  2. Bem, TODAS, mas TODAS as source que tento compila da essa porra de filhdaputa do brioco de capiroto de erro -.- ( Estou usando na maquina virtual XP 32 bits e no meu pc, 7 64bits ) AMBOS dão o mesmo erro :x
  3. Cara, notei que tem um nego ai que faz sitio, me concede lhe fazer uma pergunta?...poderia entrar na minha equipe brother? Att: Equipe Fazenda do Oeste - MS
  4. Desconheço, contrata um bom host com proteção DDOS
  5. Duvida sanada, reportado para moverem
  6. Só coloca um = depois do local telar ficando local telar = { Esqueci :3
  7. Session Start

    Quest addon

    Já que deu SERTO, reportado para moverem
  8. Reportado para moverem
  9. FEITO! local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local cfg = { price = 100, -- Money to sign in tournament startPos = {x = 1064, y = 1053, z = 7}, -- Posição central da sala de torneio hour = "20:00:00", -- Hour to start maxhour = "20:10:00", -- Max to start } if msgcontains(msg, 'torneio') or msgcontains(msg, 'enter') then selfSay('You want to participate in the tournament by '..cfg.price..' gps / dollars?', cid) talkState[talkUser] = 2 elseif talkState[talkUser] == 2 then if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') then if os.date("%X") < cfg.hour or os.date("%X") > cfg.maxhour then selfSay('Registration for the tournament finished, come back later.', cid) return true end local telar { [1] = {x= 1818, y= 1340, z = 7}, [2] = {x= 1821, y= 1340, z = 7}, [3] = {x= 1824, y= 1340, z = 7}, [4] = {x= 1827, y= 1340, z = 7}, } if doPlayerRemoveMoney(cid, 10000) then local random = math.random(0, 5) doTeleportThing(cid, telar[random]) doPlayerSendTextMessage(cid, 27, "Welcome to the tournament, the fights will start on time, good luck, hahaha!") return true else selfSay('You do not have enough money ('..cfg.price..').', cid) end else selfSay('Sure you do not want to participate? Okay, see you next time!!', cid) talkState[talkUser] = 0 end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  10. Session Start

    Quest addon

    action.xml ( ESSES UNIQUE ID VOCE COLOCA NAS ALAVANCA... <action uniqueid="17000" script="addons.lua"/> <action uniqueid="18000" script="addons.lua"/> <action uniqueid="19000" script="addons.lua"/> <action uniqueid="20000" script="addons.lua"/> <action uniqueid="21000" script="addons.lua"/> ADDONS.LUA function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 21000 then queststatus = getPlayerStorageValue(cid,19002) if queststatus == -1 and doPlayerRemoveItem(cid, 2160, 50) then doPlayerSendTextMessage(cid,22,"voce acabou de ganha assassin full") doPlayerAddOutfit(cid, 156, 3) -- 156, 3 = outfit assassin e addon doPlayerAddOutfit(cid, 152, 3) setPlayerStorageValue(cid,19002,1) else doPlayerSendTextMessage(cid,22,"voce ja pegou esse addon ou nao tem o item.") end elseif item.uid == 20000 then queststatus = getPlayerStorageValue(cid,21002) if queststatus == -1 and doPlayerRemoveItem(cid, 2160, 50) then -- 2160 é o item e 50 é a quantidade doPlayerSendTextMessage(cid,22,"voce acabou de ganha mage full") doPlayerAddOutfit(cid, 130, 3) --mage doPlayerAddOutfit(cid, 138, 3) setPlayerStorageValue(cid,21002,1) else doPlayerSendTextMessage(cid,22,"voce ja pegou esse addon ou nao tem o item.") end elseif item.uid == 19000 then queststatus = getPlayerStorageValue(cid,21003) if queststatus == -1 and doPlayerRemoveItem(cid, 2160, 50) then -- 2160 é o item e 50 é a quantidade doPlayerSendTextMessage(cid,22,"voce acabou de ganha druid full") doPlayerAddOutfit(cid, 148, 3) --druid doPlayerAddOutfit(cid, 144, 3) setPlayerStorageValue(cid,21003,1) else doPlayerSendTextMessage(cid,22,"voce ja pegou esse addon ou nao tem o item.") end elseif item.uid == 18000 then queststatus = getPlayerStorageValue(cid,21004) if queststatus == -1 and doPlayerRemoveItem(cid, 2160, 50) then -- 2160 é o item e 50 é a quantidade doPlayerSendTextMessage(cid,22,"voce acabou de ganha warrior full") doPlayerAddOutfit(cid, 134, 3) --warrior doPlayerAddOutfit(cid, 142, 3) setPlayerStorageValue(cid,21004,1) else doPlayerSendTextMessage(cid,22,"voce ja pegou esse addon ou nao tem o item.") end elseif item.uid == 17000 then queststatus = getPlayerStorageValue(cid,21005) if queststatus == -1 and doPlayerRemoveItem(cid, 2160, 50) then -- 2160 é o item e 50 é a quantidade doPlayerSendTextMessage(cid,22,"voce acabou de ganha knight full") doPlayerAddOutfit(cid, 131, 3) --knight doPlayerAddOutfit(cid, 139, 3) setPlayerStorageValue(cid,21005,1) else doPlayerSendTextMessage(cid,22,"voce ja pegou esse addon ou nao tem o item.") end else return 0 end return 1 end
  11. Tenta function onUse(cid, item, itemEx, toPosition, fromPosition) if (doRemoveItem(item.uid,1) == true) then AddonMale = {128} -- numero outfit AddonMulher = {136} -- mesma coisa for _, uid in pairs(AddonMale) do doPlayerRemoveOutfit(cid, uid, 1) doPlayerRemoveOutfit(cid, uid, 2) end for _, uid in pairs(AddonMulher) do doPlayerRemoveOutfit(cid, uid, 1) doPlayerRemoveOutfit(cid, uid, 2) end else doPlayerSendCancel(cid, "Voce não tem o item") end return true end
  12. Já aconteceu isso comigo, não podia fazer nada, pelo que me falaram na época só o Brun123 poderia arrumar. É isso '-'
  13. Tenta isso: ( TESTADO E FUNCIONOU ) ESSE ID ALI ( 10223 ) já é usado, portanto tire ele dá de baixo... O script só vai funcionar depois do skill 100 com a vara de pescar 10223... 00:24 You see a mechanical fishing rod. It weighs 9.20 oz. ItemID: [10223]. ACTION.XML <action itemid="10223" event="script" value="pescar.lua" allowfaruse="1"/> PESCAR.LUA
  14. No treco das quests.. é só colocar pra checar a storage de estar assistindo o cast... e já era Ex: if getPlayerStorageValue(cid, 42361) ~= 1 and getPlayerStorageValue(cid, 12269) <= 0 then recebe a quest else voce está assistindo ao cast :3 end # TOPIC REP + MANO
  15. Esta página da web não está disponível >.<
  16. tenta function onUse(cid, item, fromPosition, itemEx, toPosition) doPlayerSetVocation(cid, getPlayerVocation(cid) + 8) return true end
  17. troca setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) por setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) :3
  18. Ai sim :3
  19. Tenta usar assim nao te garanto nada, to quase 1 ano sem mexe com script e.e
  20. data/creaturescript/login.lua Lá tem umas coisa de lostpercent... na linha 5 +- Muda de 100 pra 10 / 20 o que vc quiser ^^
  21. Se não tiver é só colocar ;s
  22. ["Charizard"] = {offense = 800.5, defense = 700.8, specialattack = 101, vitality = 70.8, agility = 1600, exp = 2009, level = 85, type = "fire", type2 = "flying"}, aió balanceado
  23. Ta tentando usa naquelas arvores? e.e
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...