Ir para conteúdo

vini3h

Membro
  • Registro em

  • Última visita

Tudo que vini3h postou

  1. eu já consegui resolver esse problema , agora o problema é outro , ja ta tudo okay , mas na hora de salvar o slot não identifica a portrait do pokémon , queria saber como faz pra passar o comando do servidor (poketibia) pro client OTC
  2. é que assim , quem ta pedindo ajuda é meu irmão entende ? ele saiu agora e não da pra falar , mas vou explicar melhor o que ele fez : sabe a ditto memory sistem por talkations ? a gente adaptou ela em uma imagem que peguei na net , e foi criando os comandos pelo client , só que , quando salva a memoria no slot ,1 / 2/3 não reconhece as portraits dos pokémons entendeu ? "receber os dados que ficam em uma função do script do ditto memory , lá tem uma função , no servidor , que chama getdittoslots precisava usar isso no script do client(disse meu irmão)"
  3. Alguém sabe me dizer como eu trabalho com atributo do item do personagem pelo script que fica no client ?
  4. PKM; Base: Stage Erro : Não consigo colocar as portraits na hora de salvar o pokémon no slot (ditto memory sistem Por talkations) , fiz 1 "button" no client mas não consigo colocar pra reconhecer as portraits Imagen:
  5. Alguem saberia me dizer se tem como passar 1 comando do server pro client (que são diferentes) ?? quero passar esses dois comandos : elseif getItemAttribute(ball, "poke") ~= mEvolution[1] then function onUse(cid, item) para 1 arquivo dentro do client , será que alguém pode me ajudar ?
  6. Gostaria de saber se tem como colocar ditto memory sistem sem ser por source ? eu utilizo o ditto memory sistem por talkations , e estou tentando colocar nesta imagen : Para executar os comandos /memory 1 , save , check , etc.... alguém sabe me dizer se isso é possivel sem ter source ?
  7. Poke storm sério ? viro fã de carterinha deles kkkkkkkkkkkkkkk
  8. a parte das bordas estão assim : local BORDERS = { [7943] = {x = 0, y = -2, back = SOUTH}, [7944] = {x = -2, y = 0, back = EAST}, [7945] = {x = 0, y = 2, back = NORTH}, [7946] = {x = 2, y = 0, back = WEST}, [7947] = {x = 2, y = 1, back = WEST}, [7948] = {x = -2, y = 1, back = NORTH}, [7949] = {x = 2, y = -1, back = WEST}, [7950] = {x = -2, y = -1, back = EAST}, [7951] = {x = 2, y = 2, back = WEST}, [7952] = {x = -2, y = 2, back = NORTH}, [7953] = {x = 2, y = -2, back = WEST}, [7954] = {x = -2, y = -2, back = SOUTH} } BORDERS[4828] = BORDERS[7943] BORDERS[4829] = BORDERS[7946] BORDERS[4830] = BORDERS[7945] BORDERS[4831] = BORDERS[7944] (eu ja tentei arrumar no object builder o mar , tudo , mas o poke continua podendo passar pela borda)
  9. Quando coloquei sua script , o comando parou de funcionar
  10. Não sei se está é a área certa , mas vamos lá Então , vou disponibilizar um sisteminha de shop por diamantes , consegui ajeitar as áreas : Bom , o que está em vermelho , são a quantidade de dias [30] e o valor que será descontado em diamantes [10] O que está em verde , são os ids dos addons, ou no meu caso , itens(stone) O que está em azul , são os valores que irá custar em diamantes O Que está em amarelo são as outfits (Roupas) [o id da roupa, no caso a questid algo assim que está adicionado no bloco de outfits] , [o preço que será descontado em diamantes] o que está em roxo , são a partes dos pokémons , [o nome do pokémon e o valor que será descontado em diamantes] Apenas isso ! qualquer duvida só falar ! vou deixar também uma imagem pra ficar melhor de entender como eu fiz
  11. Olá , estou tendo 1 problema novamente , pra variar ... eu consegui colocar ditto memory sistem no meu servidor , más nele não tem shiny ditto , então resolvi adiciona-lo , só que não consigo colocar ditto memory sistem nele também aqui esta o arquivo : dittomemory.lua
  12. esta descontando os 20 diamantes , mas agora não me entrega o item '-' , desconta os diamantes só que a "stone" não vem
  13. adicionei as bordas em surf.lua e movements.xml , continua a mesma coisas '-
  14. Mano pela mor de deus ja baixei mais de 20 servidores ... gostaria de uma script de shop que funcionasse , eu uso 1 aqui , consegui editar tudo certo , mas não consigo determinar o valor de cada coisa vamos dar 1 exemplo --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- assim está meu arquivo ... notem , que aonde está lucarionite e aggronite , eu queria colocar o valor de 20 diamantes , está custando 10 diamantes os 2 , e eu gostaria de colocar 20 e ir colocando mais megas stones , alguém saberia ajudar ? shop.lua ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Fala galera beleza ? consegui resolver sozinho aqui está a script : (VOU POSTAR 1 TÓPICO MAIS DETALHADO)
  15. vou tentar , me ajuda com bug do diamante shop pf ? Colocar aqui ? <movevent type="StepIn" itemid="4820-4825;11756" event="script" value="surf.lua"/> <movevent type="StepOut" itemid="4820-4825;11756" event="script" value="surf.lua"/> Coloquei eles e continua ultrapassando a borda , ficou assim : <movevent type="StepIn" itemid="4820-4825;11756;4645;4646;4647;4644" event="script" value="surf.lua"/> <movevent type="StepOut" itemid="4820-4825;11756;4645;4646;4647;4644" event="script" value="surf.lua"/> tem face ou algo do tipo ?
  16. não e isso ai não kkkkkkkkkkkk to falando nessa parte: pokeAddons = { ["Lucarionite"] = 14252, ["Aggronite"] = 20969, ["Charizard"] = 13005, ["Electabuzz"] = 13007, ["Girafarig"] = 13004, ["Shiny Hypno"] = 13008, ["Shiny Jolteon"] = 13009, ["Kingdra"] = 13013, ["Lapras"] = 13015, ["Shiny Nidoking"] = 13011, ["Scizor"] = 13014, ["Shiny Golem"] = 13010, ["Skarmory"] = 13017, ["Slowking"] = 13003, ["Sudowoodo"] = 13006, ["Shiny Vaporeon"] = 13009} quero colocar 1 valor (não quero addon , estou trocando pra item , a lucarionite é a stone que falei)
  17. Pronto galera consegui Créditos : Tioj Aqui está : elseif spell == "Water Gun" then local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid) local p = getThingPosWithDebug(cid) local t = { [0] = {69, {x=p.x+1, y=p.y-1, z=p.z}}, [1] = {70, {x=p.x+5, y=p.y+1, z=p.z}}, --alterado v1.8 [2] = {71, {x=p.x+1, y=p.y+5, z=p.z}}, [3] = {72, {x=p.x-1, y=p.y+1, z=p.z}}, } RESUMO : Tivemos que adicionar + ou - nos lugares que n tavam , por exemplo na linha 3 , n tinha o 1
  18. o surf ja esta funcionando , o problema é que agr os pokes podem andar em cima da agua kk
  19. Só desativar o unpassable ? Segue a imagem : Obrigado Finalmente consegui cara REP+ ! Puts , agora acontece isso
  20. esta saindo assim : se mover 1 pouco pra baixo esta perfeito
  21. continua a mesma coisa
  22. sabe como posso fazer isso ?
  23. Então , aqui está os 3 arquivos que utilizei pra editar (caso precise de mais algum só falar) eu editei essas 3 partes (nome etc...) só falta mudar o valor , ta cobrando 10 diamantes quero colocar 20 Script 1 : gymbadges = { ["Brock"] = 12505, ["Misty"] = 12506, ["Surge"] = 12507, ["Erika"] = 12508, ["Sabrina"] = 12509, ["Koga"] = 12510, ["Blaine"] = 12511, ["Kira"] = 12512 } --alterado v1.5 local diamondShop = { vip = {[30] = 10, [60] = 18, [90] = 25}, pokeAddons = { ["Lucarionite"] = 14252, ["Aggronite"] = 20969, ["Charizard"] = 13005, ["Electabuzz"] = 13007, ["Girafarig"] = 13004, ["Shiny Hypno"] = 13008, ["Shiny Jolteon"] = 13009, ["Kingdra"] = 13013, ["Lapras"] = 13015, ["Shiny Nidoking"] = 13011, ["Scizor"] = 13014, ["Shiny Golem"] = 13010, ["Skarmory"] = 13017, ["Slowking"] = 13003, ["Sudowoodo"] = 13006, ["Shiny Vaporeon"] = 13009} } function onSay(cid, words, param) if param:find("86228") then doPlayerSendCancel(cid, "#getSto# " .. getPlayerStorageValue(cid, 86228)) -- Checa o clan do player elseif gymbadges[param] then doPlayerSendCancel(cid, "#getBadges# "..param.." "..getPlayerItemCount(cid, gymbadges[param])) -- Checa as badges end if words == "@buy" or words == "@tvCam" then local t = string.explode(param, ",") if param:find("VIP30") or param:find("VIP60") or param:find("VIP90") then id = param:find("VIP30") and 30 or param:find("VIP60") and 60 or param:find("VIP90") and 90 if doPlayerRemoveItem(cid, 2145, diamondShop.vip[id]) then doPlayerAddPremiumDays(cid, id) doPlayerSendCancel(cid, "@shop Done") else doPlayerSendCancel(cid, "@shop Can'tDone") end elseif param:find("Ditto") or param:find("Shiny Ditto") then id = param == "Ditto" and 15 or param:find("Shiny Ditto") and 350 if doPlayerRemoveItem(cid, 2145, id) then addPokeToPlayer(cid, pokemon, 0, nil, btype) doPlayerSendCancel(cid, "@shop Done") else doPlayerSendCancel(cid, "@shop Can'tDone") end elseif diamondShop.pokeAddons[param] then if doPlayerRemoveItem(cid, 2145, param == "Blastoise" and 7 or param == "Lapras" and 7 or 10) then doPlayerAddItem(cid, diamondShop.pokeAddons[param], 1) doPlayerSendCancel(cid, "@shop Done") else doPlayerSendCancel(cid, "@shop Can'tDone") end elseif t[1] == "onAir" then doSendAnimatedText(getThingPos(cid), "CAM ON", COLOR_ICE) doPlayerSendTextMessage(cid, 27, "Your channel is named: "..t[2].."\n Your channel is descripted: "..t[3]) local channelId = 20000 for i = 20000, 20100 do if getGlobalStorageValue(i) == "" then channelId = i break end end setTvChannelInfo(channelId, cid, t[2], t[3]) doPlayerSendCancel(cid, "@tvCamOnAir") setPlayerStorageValue(cid, storages.tvCamSys, channelId) setPlayerStorageValue(cid, 99284, 1) moveAllSpectators(cid) elseif t[1] == "Close" then doSendAnimatedText(getThingPos(cid), "CAM OFF", COLOR_FIRE2) setGlobalStorageValue(getPlayerStorageValue(cid, storages.tvCamSys), "") doPlayerSendTextMessage(cid, 27, "Your channel is offline.") doRemoveAllSpectators(cid) local stors = {99284, 99285, storages.tvCamSys} for i = 1, #stors do setPlayerStorageValue(cid, stors, 0) end elseif t[1] == "Follow" then setPlayerStorageValue(cid, storages.tvCamSys, t[2]) --doPlayerSendTextMessage(cid, 27, t[2]) elseif t[1] == "Assistir" then local storTv = getPlayerStorageValue(cid, storages.tvCamSys) if (tonumber(storTv)) and storTv <= 0 then return true end doPlayerWatchOther(cid, getPlayerByName(getPlayerStorageValue(cid, storages.tvCamSys))) doPlayerSendCancel(cid, "@tvCamAssistirThen") elseif t[1] == "StopWatch" then doPlayerStopWatching(cid) end return true end if words == "@autoLoot" then if param == "ON" then setPlayerStorageValue(cid, storages.autoLoot, 1) else setPlayerStorageValue(cid, storages.autoLoot, 0) end end for i, l in pairs(pokes) do if i == param then doPlayerSendCancel(cid, getPokedex(cid, i)) -- Checa os pokemons --doPlayerSendTextMessage(cid, 27, getPokedex(i)) end end return true end ----------------------------------------------------------------------------------------------------------------------------------------- SCRIPT 2 : local defaultOptions = { } local optionsWindow local optionsButton local optionsTabBar local options = {} function init() for k,v in pairs(defaultOptions) do g_settings.setDefault(k, v) options[k] = v end optionsWindow = g_ui.displayUI('options') optionsWindow:hide() optionsTabBar = optionsWindow:getChildById('optionsTabBar') optionsTabBar:setContentWidget(optionsWindow:getChildById('optionsTabContent')) marketPanel = g_ui.loadUI('market') optionsTabBar:addTab(tr(''), marketPanel, '/images/ui/shop/2') outfitsPanel = g_ui.loadUI('outfits') optionsTabBar:addTab(tr(''), outfitsPanel, '/images/ui/shop/4') addonsPanel = g_ui.loadUI('addons') optionsTabBar:addTab(tr(''), addonsPanel, '/images/ui/shop/6') clansPanel = g_ui.loadUI('clans') optionsTabBar:addTab(tr(''), clansPanel, '/images/ui/shop/8') donatePanel = g_ui.loadUI('donate') optionsTabBar:addTab(tr(''), donatePanel, '/images/ui/shop/9') ShopButton = modules.client_topmenu.addCustomRightButton('ShopButton', tr('Diamond Shop'), '/game_shop/img/shop_icon', toggle, true) ShopButton:setOn(true) local widget = g_ui.createWidget('LocalesButtons', optionsWindow) widget:setImageSource('/game_shop/img/shop_logo') addEvent(function() setup() end) end function terminate() g_keyboard.unbindKeyDown('Ctrl+Shift+F') g_keyboard.unbindKeyDown('Ctrl+N') optionsWindow:destroy() optionsButton:destroy() audioButton:destroy() end function setup() setupGraphicsEngines() for k,v in pairs(defaultOptions) do if type(v) == 'boolean' then setOption(k, g_settings.getBoolean(k), true) elseif type(v) == 'number' then setOption(k, g_settings.getNumber(k), true) end end end function toggle() if optionsWindow:isVisible() then hide() else show() end end function show() optionsWindow:show() optionsWindow:raise() optionsWindow:focus() end function hide() optionsWindow:hide() end function toggleOption(key) setOption(key, not getOption(key)) end function setOption(key, value, force) if not force and options[key] == value then return end g_settings.set(key, value) options[key] = value end function getOption(key) return options[key] end function showMiniWindow() miniWindow = g_ui.displayUI('miniWindow') miniWindow:setVisible(true) end function hideMiniWindow() miniWindow:setVisible(false) end function showMiniWindowDone() miniWindow = g_ui.displayUI('miniWindowDone') miniWindow:setVisible(true) end function hideMiniWindowDone() miniWindow:setVisible(false) end SCRIPT 3 : Panel HorizontalSeparator height: 7 anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right margin-top: -12 VerticalScrollBar id: scrollBar step: 50 pixels-scroll: true anchors.top: parent.top anchors.right: parent.right anchors.bottom: parent.bottom margin-bottom: 30 margin-top: 60 ScrollablePanel vertical-scrollbar: scrollBar anchors.top: parent.top anchors.left: parent.left anchors.right: scrollBar.left anchors.bottom: parent.bottom margin-right: 3 margin-bottom: 30 margin-top: 60 Button1 id: 2 !tooltip: tr('Lucarionite') image-source: /images/shop/shop/2 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 0 @onClick: g_game.talk("@buy Lucarionite") Button1 id: 3 !tooltip: tr('Aggronite') image-source: /images/shop/shop/3 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 50 @onClick: g_game.talk("@buy Aggronite") Button1 id: 4 !tooltip: tr('Charizard') image-source: /images/shop/shop/4 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 100 @onClick: g_game.talk("@buy Charizard") Button1 id: 5 !tooltip: tr('Electabuzz') image-source: /images/shop/shop/5 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 150 @onClick: g_game.talk("@buy Electabuzz") Button1 id: 6 !tooltip: tr('Fasio') image-source: /images/shop/shop/6 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 200 Button1 id: 7 !tooltip: tr('Fasio') image-source: /images/shop/shop/7 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 250 Button1 id: 8 !tooltip: tr('Girafarig') image-source: /images/shop/shop/8 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 300 @onClick: g_game.talk("@buy Girafarig") Button1 id: 10 !tooltip: tr('Shiny Hypno') image-source: /images/shop/shop/10 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 350 @onClick: g_game.talk("@buy Shiny Hypno") Button1 id: 11 !tooltip: tr('Shiny Jolteon') image-source: /images/shop/shop/11 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 400 @onClick: g_game.talk("@buy Shiny Jolteon") Button1 id: 12 !tooltip: tr('Kingdra') image-source: /images/shop/shop/12 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 450 @onClick: g_game.talk("@buy Kingdra") Button1 id: 13 !tooltip: tr('Lapras') image-source: /images/shop/shop/13 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 500 @onClick: g_game.talk("@buy Lapras") Button1 id: 14 !tooltip: tr('Shiny Nidoking') image-source: /images/shop/shop/14 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 550 @onClick: g_game.talk("@buy Shiny Nidoking") Button1 id: 15 !tooltip: tr('Scizor') image-source: /images/shop/shop/15 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 600 @onClick: g_game.talk("@buy Scizor") Button1 id: 16 !tooltip: tr('Shiny Golem') image-source: /images/shop/shop/16 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 650 @onClick: g_game.talk("@buy Shiny Golem") Button1 id: 17 !tooltip: tr('Skarmory') image-source: /images/shop/shop/17 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 700 @onClick: g_game.talk("@buy Skarmory") Button1 id: 18 !tooltip: tr('Slowking') image-source: /images/shop/shop/18 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 750 @onClick: g_game.talk("@buy Slowking") Button1 id: 19 !tooltip: tr('Sudowoodo') image-source: /images/shop/shop/19 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 800 @onClick: g_game.talk("@buy Sudowoodo") Button1 id: 20 !tooltip: tr('Shiny Vaporeon') image-source: /images/shop/shop/20 width: 415 height: 48 anchors.top: parent.top anchors.left: parent.left margin-top: 850 @onClick: g_game.talk("@buy Shiny Vaporeon")
  24. elseif spell == "Water Gun" then local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid) local p = getThingPosWithDebug(cid) local t = { [0] = {69, {x=p.x, y=p.y-1, z=p.z}}, [1] = {70, {x=p.x+6, y=p.y, z=p.z}}, --alterado v1.8 [2] = {71, {x=p.x, y=p.y+6, z=p.z}}, [3] = {72, {x=p.x-1, y=p.y, z=p.z}}, }
  25. Então , eu estava tentando modificar 1 atack , peguei da pxg e modifiquei , e agora o atack sai assim : e eu queria descer 1 pouco só pra baixo (centralizar)

Informação Importante

Confirmação de Termo