Ir para conteúdo

mikaelkelvin

Membro
  • Registro em

  • Última visita

Tudo que mikaelkelvin postou

  1. mikaelkelvin postou uma resposta no tópico em Suporte Tibia OTServer
    galera o char nascendo em um lugar errado , alguem pode mim ajudar
  2. @Dragon Ball Hiper Galera alguem mim ajudar a criar tipo 4 bau , mais dai o player so poderia clickar em apenas 1 bau é pronto n poderia mais pegar os itens dos outro pfv
  3. então irmãozinho , o boneko esta vindo sem nada mesmo tendoi esse mod , por isso minha alternativa é criar o bau , porque se fou outra data-base , vou ter q pedir ajudar pra dar query em mt coisas.
  4. @Jobs tipo no meu ot n ta vindo os itens iniciais dai unica alternativa é criar bau pra quando o player entrar aperta la é ganhar os itens iniciais , da pra compartilhar algum script ae
  5. deu erro , como eu faço pra criar 1 por 1?
  6. vocation se quiser te passo o ip pra vc mesmo ver. da erro na distro de outras coisas , q faltar eu arrumar mais nada de first itens sera q é problema nos samples
  7. então tem mais tao bugada , tem como mim ajudar a criar?
  8. é pra eu excluir do creature o first neh é tirar ele do creaturecript .xml fiz certo mais continuar so vindo a bp
  9. não é melhor eu criar eles ?
  10. nao pois eu n instalei n , apaguei a pasta install.php pois estava toda cheio de erro
  11. o meu ta assim = # Create Character Options $config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample'); $config['site']['newchar_towns'][0] = array(1, 2, 3, 4); $config['site']['max_players_per_account'] = 15;
  12. local commonItems = { -- ITEMS ALL VOCS RECEIVE {itemid=2120, count=1}, -- rope {itemid=5710, count=1}, -- shovel {itemid=2789, count=10}, -- brown mushrooms {itemid=2305, count=1}, -- fire bomb rune {itemid=2261, count=1}, -- destroy field rune {itemid=2274, count=1}, -- Avalanche {itemid=2273, count=1}, -- uh } local firstItems = { { -- SORC ITEMS {itemid=2323, count=1}, -- hat of the mad {itemid=8871, count=1}, -- focus cape {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=2191, count=1}, -- dragonbricz {itemid=2268, count=1}, -- sd {itemid=7620, count=1}, -- mp {itemid=2293, count=1}, -- mw }, { -- DRUID ITEMS {itemid=2323, count=1}, -- hat of the mad {itemid=8871, count=1}, -- focus cape {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=2186, count=1}, -- monlajt rod {itemid=2268, count=1}, -- sd {itemid=2269, count=1}, -- krzaczek {itemid=2293, count=1}, -- mw {itemid=7620, count=1}, -- mp }, { -- PALADIN ITEMS {itemid=2457, count=1}, -- steel helmet {itemid=8872, count=1}, -- belted cape {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=7368, count=1}, -- assassin stars {itemid=2268, count=1}, -- sd {itemid=8472, count=1}, -- gsp {itemid=7620, count=1}, -- mp {itemid=2293, count=1}, -- mw }, { -- KNIGHT ITEMS {itemid=2457, count=1}, -- steel helmet {itemid=2463, count=1}, -- plate arm {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=2400, count=1}, -- magic sword {itemid=7620, count=1}, -- mp {itemid=7618, count=1}, -- hp {itemid=2293, count=1}, -- mw } } for _, items in ipairs(firstItems) do for _, item in ipairs(commonItems) do table.insert(items, item) end end function onLogin(cid) if getPlayerGroupId(cid) < 2 then local hasReceivedFirstItems = getPlayerStorageValue(cid, 67708) if hasReceivedFirstItems ~= 1 then --[[local backpack = ]]doPlayerAddItem(cid, 1988, 1) local giveItems = firstItems[getPlayerVocation(cid)] if giveItems ~= nil then for _, v in ipairs(giveItems) do --doAddContainerItem(backpack, v.itemid, v.count or 1) doPlayerAddItem(cid, v.itemid, v.count or 1) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have recieved your first items!") end setPlayerStorageValue(cid, 67708, 1) end end return TRUE end
  13. local vocs = { [5] = {{2323,1},{8871,1},{2647,1},{2643,1},{2525,1},{2191,1},{2268,1},{7620,1},{2293,1},{2120,1},{5710,1},{2789,15},{2305,1},{2261,1},{2274,1},{2273,1}}, [6] = {{2323,1},{8871,1},{2647,1},{2643,1},{2525,1},{2186,1},{2268,1},{2269,1},{2293,1},{7620,1},{2120,1},{5710,1},{2789,15},{2305,1},{2261,1},{2274,1},{2273,1}}, [7] = {{2457,1},{8872,1},{2647,1},{2643,1},{2525,1},{7368,1},{2268,1},{8472,1},{7620,1},{2293,1},{2120,1,{5710,1},{2789,15},{2305,1},{2261,1},{2274,1},{2273,1}}, [8] = {{2457,1},{2463,1},{2647,1},{2643,1},{2525,1},{2400,1},{7620,1},{7618,1},{2293,1},{2120,1},{5710,1},{2789,15},{2305,1},{2261,1},{2274,1},{2273,1}} } local storage = 548747 function onUse(cid, item, frompos, item2, topos) local var = vocs[getPlayerVocation(cid)] if not var then return true end if getPlayerStorageValue(cid, storage) > 0 then doPlayerSendTextMessage(cid,22,"It is empty.") return true end local backpack = doPlayerAddItem(cid, 1988, 1) -- backpackID for _, i_i in ipairs(var) do local item, amount = i_i[1],i_i[2] if isItemStackable(item) or amount == 1 then doAddContainerItem(backpack, item, amount) else for i = 1, amount do doAddContainerItem(backpack, item, 1) end end end setPlayerStorageValue(cid, storage, 1) doPlayerSendTextMessage(cid,22,"You have found a set from your vocation.") return true end
  14. @Vida Loka esse erro ta atrapalhando meu ot pois quando o player tenta matar outro ficar no preto sem vida diz q morreu mais o player continuar vivo
  15. entao n ta dando pra eu adicionar todos itens n
  16. entao mano n ta dando pra eu adicionar todos itens como faço
  17. mais tipo , eu criei o bau sendo q n adicionei nenhum iten dentro.
  18. @Vida Loka @Werner
  19. man essa database q tu mandou vou ter q adicionar varias coisas deixar quieto
  20. mais a data-base dessa é completa Então Amigo ta dando esse erro agr Fatal error: Call to a member function fetch() on a non-object in C:\xampp\htdocs\classes\account.php on line 33
  21. entao no meu ot tem os caras ja vem com promotion dai eu boto do 5 ate o 8 neh entao mano eu criei mais no BAU Pegou não
  22. Galera o Seguinte , Eu Queria Criar 4 Baus , o Player Poderia Apenas Receber O Premio Uma vez (em qualquer Bau) Bau 1 SORC ITEMS {itemid=2323, count=1}, -- hat of the mad {itemid=8871, count=1}, -- focus cape {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=2191, count=1}, -- dragonbricz {itemid=2268, count=1}, -- sd {itemid=7620, count=1}, -- mp {itemid=2293, count=1}, -- mw {itemid=2120, count=1}, -- rope {itemid=5710, count=1}, -- shovel {itemid=2789, count=10}, -- brown mushrooms {itemid=2305, count=1}, -- fire bomb rune {itemid=2261, count=1}, -- destroy field rune {itemid=2274, count=1}, -- Avalanche {itemid=2273, count=1}, -- uh ---------------------- BAU 2 DRUID ITEMS {itemid=2323, count=1}, -- hat of the mad {itemid=8871, count=1}, -- focus cape {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=2186, count=1}, -- monlajt rod {itemid=2268, count=1}, -- sd {itemid=2269, count=1}, -- krzaczek {itemid=2293, count=1}, -- mw {itemid=7620, count=1}, -- mp {itemid=2120, count=1}, -- rope {itemid=5710, count=1}, -- shovel {itemid=2789, count=10}, -- brown mushrooms {itemid=2305, count=1}, -- fire bomb rune {itemid=2261, count=1}, -- destroy field rune {itemid=2274, count=1}, -- Avalanche {itemid=2273, count=1}, -- uh -------------------------------------------- BAU 3 PALADIN ITEMS {itemid=2457, count=1}, -- steel helmet {itemid=8872, count=1}, -- belted cape {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=7368, count=1}, -- assassin stars {itemid=2268, count=1}, -- sd {itemid=8472, count=1}, -- gsp {itemid=7620, count=1}, -- mp {itemid=2293, count=1}, -- mw {itemid=2120, count=1}, -- rope {itemid=5710, count=1}, -- shovel {itemid=2789, count=10}, -- brown mushrooms {itemid=2305, count=1}, -- fire bomb rune {itemid=2261, count=1}, -- destroy field rune {itemid=2274, count=1}, -- Avalanche {itemid=2273, count=1}, -- uh ----------------------------------------- KNIGHT ITEMS {itemid=2457, count=1}, -- steel helmet {itemid=2463, count=1}, -- plate arm {itemid=2647, count=1}, -- p legs {itemid=2643, count=1}, -- lejter buts {itemid=2525, count=1}, -- dfarfen szild {itemid=2400, count=1}, -- magic sword {itemid=7620, count=1}, -- mp {itemid=7618, count=1}, -- hp {itemid=2293, count=1}, -- mw {itemid=2120, count=1}, -- rope {itemid=5710, count=1}, -- shovel {itemid=2789, count=10}, -- brown mushrooms {itemid=2305, count=1}, -- fire bomb rune {itemid=2261, count=1}, -- destroy field rune {itemid=2274, count=1}, -- Avalanche {itemid=2273, count=1}, -- uh @Werner @Dragon Ball Hiper
  23. gALERA é o Seguinte , os player do meu ot tao vindos sem nada apenas com 1 bp vazia (Mysql) Alguem pode Mim Ajudar Ae @Werner @Dragon Ball Hiper @Vida Loka @Sttorm @Jobs
  24. Alguem Pode Ajudar AI @Dragon Ball Hiper @Vida Loka @Werner

Informação Importante

Confirmação de Termo