Ir para conteúdo

rodrygosos

Artesão
  • Total de itens

    146
  • Registro em

  • Última visita

Tudo que rodrygosos postou

  1. rodrygosos

    Hallowened

    Galera alguem ai tem o coelho do Hallowen igual ao do global que muda outfit do player para de monstro? aguardoo...
  2. Seguinte to com dois problemas no meu modern acc. Quero por pra poder o player fazer recovery key tipo register you account e aparece a recovery key e não ta dando para trocar a imagem do logo da guild ;s ajudem ai plz
  3. emperiumsoft.servegame.com << site e ip - mapa global 100% full - 24 horas online sem leg - aberto 22/10/11. SERVIDOR DEDICADO HOTEADO NOS EUA. O Global mas full ja visto com ZAO completo.

  4. como sempre ninguem sabe nada, o xtibia esta muito bom.
  5. Meu god não consegue entrar na casa dos players no ot ;s
  6. me add no msn ai mano preciso de ajuda com modern acc rodrygo_sos@hotmail.com
  7. 1ª Quero saber como por Last News no modern account. 2ª Como configuro a pagina de doação, la tem um negoço de sms quero por apenas as informações da conta bancaria 3ª como boto pro player logar e aparecer a account dele normal sem negoço de perfil do forum, quero igual no gesior. 3ª quero um link que ensina o basico para mecher no Modern Acc eu usava o gesior mais é muito problematico ai mudei pro Modern que é mais seguro.
  8. DELETE FROM player_depotitems, player_items, tile_items WHERE itemtype = 2160; não ta funcionando no meu ot ;s
  9. rodrygosos

    Port 80

    problema que meu site começa a atakar o servido quando libero porta 80 para ele ;s
  10. rodrygosos

    Port 80

    Seguinte quero saber se tem como eu por meu site online ultilizando outra port sem ser a 80 e a 8090 porque não quero:8090 no meu ot e quando boto a port 80 o site faz ataques ao meu servidor. alguem tem um solução ai? quero que o site do ot fique ipdoserv.servegame.com sem numero nenhum. valendo rep+
  11. o NPC não esta funcionando não da a missão para fazer a Demon Oak quest nem o axe... corrijam ele pra mim ai porfavor. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end function creatureSayCallback(cid, type, msg) -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. if (not npcHandler:isFocused(cid)) then return false end if msgcontains(msg, "infested area") or msgcontains(msg, "demon oak") then npcHandler:say('How do you know? Did you go into the infested area?', cid) talk_state = 1 elseif msgcontains(msg, 'yes') and talk_state == 1 then if getPlayerStorageValue(cid, 35735) == 1 then npcHandler:say('I have searched for dareful heroes like you. ...', cid) npcHandler:say('Take this axe and bring that damn demon oak down, report back to me when you are done. The world depends on you now, kid. ...', cid) npcHandler:say('Good luck, I mean it.', cid) doPlayerSetStorageValue(cid, 35738, 1) DoPlayerAddItem(cid, 8293, 1) talk_state = 0 end else npcHandler:say('I won\'t discuss any further with you for now.', cid) talk_state = 0 end if getPlayerStorageValue(cid, 35735) == 1 and msgcontains(msg, "infested area") or msgcontains(msg, "demon oak") then npcHandler:say('Did you really defeat it?', cid) talk_state = 2 elseif msgcontains(msg, 'yes') and talk_state == 2 then if getPlayerStorageValue(cid, 35700) == 1 then npcHandler:say('You chopped down the demon oak?!? Unbelievable!! Let\'s hope it doesn\'t come back. As long as evil is still existent in the soil of the plains, it won\'t be over. Still, the demons suffered a setback, that\'s for sure. ...', cid) npcHandler:say('For your brave action, I tell you a secret which has been kept for many many years. There is an old house south of the location where you found the demon oak. There should be a grave with the name \'Yesim Adeit\' somewhere close by. ...', cid) npcHandler:say('It belongs to a Daramian nobleman named \'Teme Saiyid\'. I knew him well and he told me -almost augured- that someone will come who is worthy to obtain his treasure. I\'m sure this \'someone\' is you. Good luck in finding it!', cid) doPlayerSetStorageValue(cid, 35700, 2) talk_state = 0 else npcHandler:say('Have you entered the infested area yet?', cid) talk_state = 0 end elseif msgcontains(msg, 'no') and (talk_state >= 1 and talk_state <= 3) then npcHandler:say('Bye.', cid) talk_state = 0 end -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  12. obrigado agora c poderia mim ajudar nesse topico ninguem fala nada ;[ http://www.xtibia.com/forum/topic/168599-bug-no-shop-do-site/page__p__1107985#entry1107985 da uma força ai parceiro, os membros do xtibia estão apagados ninguem ajuda mais ninguem ;[
  13. Nossa cara, muito bom. Sempre trazendo em primeira mão Parabéns ae Rep+ 100% Aprovado :button_ok:
  14. saveGlobalStorage = true useHouseDataStorage = true storePlayerDirection = false quero saber dessas funções oq acontece se eu por false nelas ou se por true. exemplo: se eu em saveglobalstorage por false qual sera a consequencia. ajudem plz
  15. exatamente isso o shop não para de enviar itens para o player eu tava usando servidor 9.10 tava de boa, ai só mudei o servido para 8.60 e fico assim ;.s ajudemmmmmmmmmmmmmmmmmmmmmmmmm
  16. [11/07/2011 01:24:38] [Error - GlobalEvent Interface] [11/07/2011 01:24:38] data/globalevents/scripts/shop.lua:onThink [11/07/2011 01:24:38] Description: [11/07/2011 01:24:38] data/globalevents/scripts/shop.lua:55: attempt to call field 'executeQuery' (a nil value) [11/07/2011 01:24:38] stack traceback: [11/07/2011 01:24:38] data/globalevents/scripts/shop.lua:55: in function <data/globalevents/scripts/shop.lua:4> [11/07/2011 01:24:38] [Error - GlobalEvents::think] Couldn't execute event: shop Galera ajuda ai plz to com esse problema aki ja mudei para db.query e query e executequery e nada funcionou o cara compra 1 item no site e não para de ir itens para ele. help fast ninguem ajuda em nada aqui aff parece topico morto avémaria velho ' :angry_smile:
  17. Galera 2 pedidos simples, meu site não ta contando os frags certinho, de top frags e top frag guilds e queria vender addon doll no site, que cada addon doll venda só uma parte do addon e não os dois completos. ajudem ai obrigado. Galera sera q ninguem pode mim ajudar? aff tenso isso viu povo ta devagar de mais aqui edit: ja resolvi do addon doll falta só agora o site contar os frags certos, tipo top frags de players e de guilds que não ta contando ;d
  18. rodrygosos

    Oldrak

    meu ot é mapa proprio mano ;s não tem como arrumar não?
  19. rodrygosos

    Oldrak

    Galera meu ot é 9.10 crystal server. o npc oldrak não responde deem uma olhada ai pra mim. Oldrak.xml <npc name="Oldrak" script="data/npc/scripts/oldrak.lua" walkinterval="2000" floorchange="0" access="3" level="1" maglevel="1"> <health now="150" max="150"/> <look type="57" head="115" body="113" legs="31" feet="38" addons="3" corpse="2212"/> <parameters> <parameter key="message_greet" value="Hello, |PLAYERNAME|!" /> <parameter key="message_needmoremoney" value="Try again when you have more money."/> <parameter key="message_decline" value="Why would you tease me like that?"/> </parameters> </npc> oldrak.lua 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 creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'hallowed axe') then selfSay('Do you want to buy a Hallowed Axe from me?', cid) talkState[talkUser] = 1 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 1 then local price = 1000 if getPlayerItemCount(cid, 2386) >= 1 and getPlayerMoney(cid) >= price then if doPlayerRemoveMoney(cid, price) then selfSay('Here you are. You can now defeat the demon oak with this axe.', cid) doPlayerRemoveItem(cid, 2386, 1) doPlayerAddItem(cid, 8293, 1) talkState[talkUser] = 0 end else selfSay('I need an axe and ' .. price .. ' gold coins to make you a {hallowed axe}.', cid) talkState[talkUser] = 0 end elseif msgcontains(msg, 'demon oak') then selfSay('Did you defeat the demon oak?', cid) talkState[talkUser] = 2 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 2 then if getCreatureStorage(cid, 35700) == 1 then selfSay('Good job!', cid) doCreatureSetStorage(cid, 35700, 2) talkState[talkUser] = 0 else selfSay('Go defeat the demon oak first.', cid) talkState[talkUser] = 0 end elseif msgcontains(msg, 'no') and (talkState[talkUser] >= 1 and talkState[talkUser] <= 3) then selfSay('Ok thanks.', cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  20. mais não da pra corrigir esse meu script não? é so vocês testarem ai ;s ja arrumei
  21. rodrygosos

    Annihilator

    -- Credits to GrizZm0 for most of the script -- Credits to Tworn for the cleanArea(), a bit modified by Ispiro -- Credits to Ispiro for a more easier script to configurate and easier to read. local starting= {x = 1751, y = 471, z = 10} -- edit this to the top left sqm of ur annhilator room local ending= {x = 1771, y = 485, z = 10} -- edit this to the bottom right sqm of ur annhilator room local playerPos = { -- oldPositions; positions of players before they get teleported. {x = 1738, y = 474, z = 9}, {x = 1737, y = 474, z = 9}, {x = 1736, y = 474, z = 9}, {x = 1735, y = 474, z = 9} } local newPlayerPos = { -- Positions for where players should be teleported, make sure it's in the same order as oldPositions {x = 1757, y = 478, z = 10}, {x = 1756, y = 478, z = 10}, {x = 1755, y = 478, z = 10}, {x = 1754, y = 478, z = 10} } local creaturePos = { -- Name and position of monsters to summon. {"Demon", {x = 1756, y = 476, z = 10}}, {"Demon", {x = 1754, y = 476, z = 10}}, {"Demon", {x = 1755, y = 480, z = 10}}, {"Demon", {x = 1757, y = 480, z = 10}}, {"Demon", {x = 1758, y = 478, z = 10}}, {"Demon", {x = 1759, y = 478, z = 10}} } if(#playerPos ~= #newPlayerPos) then error("Annhilator has not been properly configured.") end --- Preferably, do not edit anything below this line unless you know exactly what you are doing. local player = {} function onUse(cid, item, frompos, item2, topos) if(item.uid == 7000) then --- change to different item.uid according to ur mapeditor if(item.itemid == 1945) then for i, pos in ipairs(playerPos) do -- add player id's to table player[i] = getTopCreature(pos) end local ret, players = checkPlayers(cid) if(ret) then local ret, player = checkLevel(100) if(ret) then local ret, player = checkStorage(100) if(ret) then summonCreatures(creaturePos) teleportPlayers(2, 10) -- 2 stands for the effect on old pos, 10 for the effect on new pos. doTransformItem(item.uid, 1946) else sendPlayersText(players, getPlayerName(player) .. " has already done this quest.") end else sendPlayersText(players, getPlayerName(player) .. " is too low.") end else sendPlayersText(players, "You need " .. #playerPos .. " players to do this quest.") end elseif(item.itemid == 1946) then -- preferably, to be the id of the lever added by mapeditor. if(cleanArea()) then doTransformItem(item.uid, 1945) else return FALSE end end return TRUE --- Chests. elseif(item.uid == 5006) then -- demon armor return questChestPrize(cid, 2494, 100) elseif(item.uid == 5007) then -- magic sword return questChestPrize(cid, 2400, 100) elseif(item.uid == 5008) then -- stonecutter's axe return questChestPrize(cid, 2431, 100) elseif(item.uid == 5009) then -- thunder hammer return questChestPrize(cid, 2421, 100) end end function sendPlayersText(players, text) for _, player in ipairs(players) do doPlayerSendCancel(player, text) end end function questChestPrize(cid, itemid, storage) if(getPlayerStorageValue(cid, storage) < TRUE) then doPlayerAddItem(cid, itemid, 1) setPlayerStorageValue(cid, storage, TRUE) local item = getItemDescriptions(itemid) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found " .. item.article .. " " .. item.name .. "") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.") end return TRUE end function checkLevel(minLevel) for _, player in ipairs(player) do if(getPlayerLevel(player) < minLevel) then return false, player end end return true end function checkStorage(storageValue) for _, player in ipairs(player) do if(getPlayerStorageValue(player, storageValue) ~= TRUE) then return false, player end end return true end function cleanArea() local checking= {x = starting.x, y = starting.y, z = starting.z, stackpos = 253} local monster = {} while(checking.y <= ending.y) do local creature = getTopCreature(checking) if(isCreature(creature) == TRUE) then if(isPlayer(creature) == TRUE) then return false else table.insert(monster, creature) end end if(checking.x == ending.x) then checking.x = starting.x checking.y = checking.y + 1 end checking.x = checking.x + 1 end for i, c in ipairs(monster) do doRemoveCreature(c) end return true end function summonCreatures(parameters) for _, monster in ipairs(parameters) do doSummonCreature(monster[1], monster[2]) end end function teleportPlayers(effect1, effect2) for currentPlayer = 1, table.getn(player) do doTeleportThing(player[currentPlayer], newPlayerPos[currentPlayer]) doSendMagicEffect(playerPos[currentPlayer], effect1) -- send animation after teleport, players teleported won't see it anyways doSendMagicEffect(newPlayerPos[currentPlayer], effect2) end end function checkPlayers(cid) local ret = {} table.insert(ret, cid) for _, curPlayer in ipairs(player) do if(isPlayer(curPlayer) == TRUE) then if(curPlayer ~= cid) then table.insert(ret, curPlayer) end else return false, ret end end return true, ret end Galera da uma olhada nesse script ai pois quando cliko na alavanca fala que need team 4 players sendo que ta os 4 players level 100 nos seus devidos lugares. na alavanca de ItemID: [1946] botei ActionID: [7000], UniqueID: [7000]. Ajudem ai creio que seja muito facil pra quem sabe. a mais uma coisa quando clika na alavanca ela muda de lado e vira id 1945. abraço
  22. vlw ae mano mais o problema era no firstitens tava bugando os chars rs, exclui ele fico 100% agora
  • Quem Está Navegando   0 membros estão online

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