Ir para conteúdo

Tio Rusher

Membro
  • Registro em

  • Última visita

Tudo que Tio Rusher postou

  1. Alguem me da uma luz glr? preciso que sempre que variavel $hoje for diferente de um valor que ja esteja nela, seja acionado o if como TRUE, claramente no meu exemplo nao vai funcionar.. $hoje = date('d'); $horas = date('H:i:s'); echo 'horario atual: '.$horas; if ($hoje != $hoje) { echo '.......... <b> MESMO DIA </b>'; } else{ echo '.......... <b> MUDOU DE DIA</b>'; } eu até pensei em colocar a comparação antes da variavel $hoje receber um numero da funçao date, porem nao creio que va dar certo
  2. Alguem ja bolou algum sistema pra confirmar o pagamento principalmente via PIX? pra entao o sistema setar os pontos na database do jogador?
  3. Realmente, obg amigo, problema sanado
  4. Bug ocorre ao tentar abrir a bag, vara de pescar ou Oder com personagem normal, OBS: Com ADM consigo abrir normalmalmente pokemon.lua: local colors = { [1] = "#59B200", [2] = "#00CCFF", [3] = "#FF0000", [4] = "#F5B325", [5] = "#00FF00" } HOTKEY_MANAGER_NOUSE = nil HOTKEY_MANAGER_USEONSELF = 1 HOTKEY_MANAGER_USEINMYPOKEMON = 2 HOTKEY_MANAGER_USEWITH = 3 HOTKEY_MANAGER_MOVETOHAND = 4 HOTKEY_MANAGER_ONLYUSE = 5 InventorySlotStyles = { [InventorySlotHead] = "HeadSlot", [InventorySlotNeck] = "NeckSlot", [InventorySlotBack] = "BackSlot", [InventorySlotBody] = "BodySlot", [InventorySlotRight] = "RightSlot", [InventorySlotLeft] = "LeftSlot", [InventorySlotLeg] = "LegSlot", [InventorySlotFeet] = "FeetSlot", [InventorySlotFinger] = "FingerSlot", [InventorySlotAmmo] = "AmmoSlot" } function init() connect(LocalPlayer, { onHealthChange = onHealthChange, onInventoryChange = onInventoryChange, onLevelChange = onLevelChange }) connect(g_game, { onGameStart = refresh, onGameEnd = hide }) bottomPanel = g_ui.loadUI('pokemon', modules.game_interface.getRootPanel()) movesBarWindow = bottomPanel:getChildByIndex(1) playerWindow = bottomPanel:recursiveGetChildById('playerWindow') buttonsWindow = bottomPanel:recursiveGetChildById('menuWindow') playerHealth = movesBarWindow:recursiveGetChildById('playerHealth') playerExp = movesBarWindow:recursiveGetChildById('playerExp') ProtocolGame.registerExtendedOpcode(71, function(protocol, opcode, buffer) onClanChange(protocol, opcode, buffer) end) ProtocolGame.registerExtendedOpcode(72, function(protocol, opcode, buffer) onSexChange(protocol, opcode, buffer) end) g_keyboard.bindKeyPress("Ctrl+i", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end g_game.useInventoryItem(player:getInventoryItem(3):getId()) end) g_keyboard.bindKeyPress("Ctrl+z", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end safeUseInventoryItemWith(player:getInventoryItem(2):getId()) end) g_keyboard.bindKeyPress("Ctrl+d", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end startChoosePos() end) g_keyboard.bindKeyPress("r", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end g_game.useInventoryItem(player:getInventoryItem(8):getId()) end) g_keyboard.bindKeyPress("1", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end useSlotItem(10, 8) end) g_keyboard.bindKeyPress("2", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end useSlotItem(9, 8) end) g_keyboard.bindKeyPress("3", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end useSlotItem(7, 8) end) g_keyboard.bindKeyPress("4", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end useSlotItem(6, 8) end) g_keyboard.bindKeyPress("5", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end useSlotItem(1, 8) end) movesBarWindow:recursiveGetChildById('slot1').onMouseRelease = onSlotItemMouseRelease movesBarWindow:recursiveGetChildById('slot9').onMouseRelease = onSlotItemMouseRelease movesBarWindow:recursiveGetChildById('slot10').onMouseRelease = onSlotItemMouseRelease movesBarWindow:recursiveGetChildById('slot7').onMouseRelease = onSlotItemMouseRelease movesBarWindow:recursiveGetChildById('slot6').onMouseRelease = onSlotItemMouseRelease refresh() end function onClanChange(protocol, opcode, buffer) playerWindow:getChildById('clan'):setImageSource('/images/game/pokemon/clan/'..buffer) end function useVara() local player = g_game.getLocalPlayer() safeUseInventoryItemWith(player:getInventoryItem(2):getId()) end function useInventory() local player = g_game.getLocalPlayer() g_game.useInventoryItem(player:getInventoryItem(3):getId()) end function useOrder() local player = g_game.getLocalPlayer() g_game.useInventoryItem(player:getInventoryItem(3):getId()) end function startChoosePos() if g_ui.isMouseGrabbed() then return end local mouseGrabberWidget = g_ui.createWidget('UIWidget') mouseGrabberWidget:setVisible(false) mouseGrabberWidget:setFocusable(false) mouseGrabberWidget.onMouseRelease = onClickWithMouse mouseGrabberWidget:grabMouse() g_mouse.pushCursor('target') end function onClickWithMouse(self, mousePosition, mouseButton) if mouseButton == MouseLeftButton or mouseButton == MouseMidButton then local clickedWidget = modules.game_interface.getRootPanel():recursiveGetChildByPos(mousePosition, false) if clickedWidget then local protocol = g_game.getProtocolGame() if clickedWidget:getClassName() == 'UIGameMap' then local tile = clickedWidget:getTile(mousePosition) local pos = tile:getPosition() if tile then local thing = tile:getTopMoveThing() if thing:isCreature() then if protocol then protocol:sendExtendedOpcode(53, thing:getId()) end if thing:isLocalPlayer() then modules.game_pokedex.show(0) elseif thing:isMonster() then if string.find(getPokemonNameByOutfit(tile:getTopCreature():getOutfit().type), 'Shiny') then modules.game_pokedex.show(getPokemonIdByName(string.lower(string.explode(getPokemonNameByOutfit(tile:getTopCreature():getOutfit().type), 'Shiny ')[2])), true) else modules.game_pokedex.show(getPokemonIdByName(string.lower(getPokemonNameByOutfit(tile:getTopCreature():getOutfit().type))), false) end print(tile:getTopCreature():getOutfit().type) end end end elseif clickedWidget:getClassName() == 'UICreatureButton' then local creature = clickedWidget:getCreature() protocol:sendExtendedOpcode(53, creature:getId()) end end end g_mouse.popCursor('target') self:ungrabMouse() self:destroy() return true end function onSexChange(protocol, opcode, buffer) if tonumber(buffer) == 0 then buffer = "female" elseif tonumber(buffer) == 1 then buffer = "male" end playerWindow:getChildById('portrait'):setImageSource('/images/game/card/'..buffer) end function terminate() disconnect(LocalPlayer, { onHealthChange = onHealthChange, onInventoryChange = onInventoryChange, onLevelChange = onLevelChange, }) disconnect(g_game, { onGameStart = refresh, onGameEnd = hide }) save() bottomPanel:destroy() end function refresh() local player = g_game.getLocalPlayer() if g_game.isOnline() then onHealthChange(player, player:getHealth(), player:getMaxHealth()) onLevelChange(player, player:getLevel(), player:getLevelPercent()) bottomPanel:show() load() else bottomPanel:hide() end for i = 1, 10 do if g_game.isOnline() then onInventoryChange(player, i, player:getInventoryItem(i)) else onInventoryChange(player, i, nil) end end end function hide() g_keyboard.unbindKeyDown('Ctrl+D') g_keyboard.unbindKeyDown('Ctrl+Z') save() bottomPanel:hide() end function expForLevel(level) return math.floor((50*level*level*level)/3 - 100*level*level + (850*level)/3 - 200) end function expToAdvance(currentLevel, currentExp) return expForLevel(currentLevel+1) - currentExp end function useSlotItem(slot, slot2) if not g_game.isOnline() then return end local item = g_game.getLocalPlayer():getInventoryItem(slot) local myPokemon = g_game.getLocalPlayer():getInventoryItem(8) if not item then return end if modules.game_console.getConsoleEnabled() and not modules.client_options.getOption('forceItemShortcuts') then return end if movesBarWindow:getChildById('slot'..slot).useType == HOTKEY_MANAGER_NOUSE then return end if item:isMultiUse() then if movesBarWindow:getChildById('slot'..slot).useType == HOTKEY_MANAGER_USEONSELF then g_game.useInventoryItemWith(item:getId(), g_game.getLocalPlayer()) elseif movesBarWindow:getChildById('slot'..slot).useType == HOTKEY_MANAGER_USEINMYPOKEMON then g_game.useInventoryItemWith(item:getId(), myPokemon) else modules.game_interface.startUseWith(item) end else end end function save() local settings = {} settings.useType1 = movesBarWindow:getChildById('slot10').useType settings.useType2 = movesBarWindow:getChildById('slot9').useType settings.useType3 = movesBarWindow:getChildById('slot1').useType settings.useType4 = movesBarWindow:getChildById('slot7').useType settings.useType5 = movesBarWindow:getChildById('slot6').useType g_settings.setNode('game_pokemon', settings) end function load() local settings = g_settings.getNode('game_pokemon') for i = 1, 10 do if i ~= 8 then movesBarWindow:getChildById('slot'..i).useType = HOTKEY_MANAGER_NOUSE movesBarWindow:getChildById('slot'..i):setImageColor('#FF2525') end end if settings.useType1 then movesBarWindow:getChildById('slot10').useType = settings.useType1 movesBarWindow:getChildById('slot10'):setImageColor(colors[settings.useType1]) end if settings.useType2 then movesBarWindow:getChildById('slot9').useType = settings.useType2 movesBarWindow:getChildById('slot9'):setImageColor(colors[settings.useType2]) end if settings.useType3 then movesBarWindow:getChildById('slot1').useType = settings.useType3 movesBarWindow:getChildById('slot1'):setImageColor(colors[settings.useType3]) end if settings.useType4 then movesBarWindow:getChildById('slot7').useType = settings.useType4 movesBarWindow:getChildById('slot7'):setImageColor(colors[settings.useType4]) end if settings.useType5 then movesBarWindow:getChildById('slot6').useType = settings.useType5 movesBarWindow:getChildById('slot6'):setImageColor(colors[settings.useType5]) end end function onSlotItemMouseRelease(self, mousePosition, mouseButton) local item = self:getItem() if mouseButton ~= MouseMidButton and g_keyboard.isAltPressed() then local menu = g_ui.createWidget('PopupMenu') menu:setGameMenu(true) if item:isMultiUse() then menu:addOption(tr('Use object on yourself'), function() self.useType = HOTKEY_MANAGER_USEONSELF self:setImageColor('#59B200') end) menu:addOption(tr('Use object in my Pokeball'), function() self.useType = HOTKEY_MANAGER_USEINMYPOKEMON self:setImageColor('#00CCFF') end) menu:addOption(tr('Use object with crosshair'), function() self.useType = HOTKEY_MANAGER_USEWITH self:setImageColor('#FF0000') end) menu:addSeparator() menu:addOption(tr('No use object'), function() self.useType = HOTKEY_MANAGER_NOUSE self:setImageColor('#AAAAAA') end) else menu:addOption(tr('Use'), function() self.useType = HOTKEY_MANAGER_ONLYUSE self:setImageColor('#00FF00') end) menu:addSeparator() menu:addOption(tr('No use object'), function() self.useType = HOTKEY_MANAGER_NOUSE self:setImageColor('#AAAAAA') end) end menu:display(mousePos) else if item then modules.game_interface.processMouseAction(mousePosition, mouseButton, nil, item, item, nil, nil) end end end function moveItemToSlot(slotItem, SlotGo) local backPackPos = {x = 65535, y = 5, z = 0} local goPos = {x = 65535, y = SlotGo, z = 0} if g_game.isOnline() then local player = g_game.getLocalPlayer() local slotGoItem = player:getInventoryItem(SlotGo) local slotOldItem = player:getInventoryItem(slotItem) if slotGoItem then g_game.move(slotGoItem, backPackPos, slotGoItem:getCount()) end if slotOldItem then g_game.move(slotOldItem, goPos, slotOldItem:getCount()) end scheduleEvent(function() local player = g_game.getLocalPlayer() local oldPos = {x = 65535, y = slotItem, z = 0} g_game.move(player:getInventoryItem(5), oldPos, player:getInventoryItem(5):getCount()) end, 200) end end function onLevelChange(localPlayer, value, percent) local player = g_game.getLocalPlayer() local text = tr(string.format('You have %s percent to go', 100 - percent)) .. '\n' .. tr(string.format('%s of experience left', expToAdvance(player:getLevel(), localPlayer:getLevel()))) if player.expSpeed ~= nil then local expPerHour = math.floor(player.expSpeed * 3600) if expPerHour > 0 then local nextLevelExp = expForLevel(player:getLevel()+1) local hoursLeft = (nextLevelExp - player:getExperience()) / expPerHour local minutesLeft = math.floor((hoursLeft - math.floor(hoursLeft))*60) hoursLeft = math.floor(hoursLeft) text = text .. '\n' .. tr(string.format('%d of experience per hour', expPerHour)) text = text .. '\n' .. tr(string.format('Next level in %d hours and %d minutes', hoursLeft, minutesLeft)) end end playerWindow:getChildById('levelLabel'):setText(tr('Lv')..'. '..value) playerWindow:getChildById('levelLabel'):setTooltip(tr('Level')..' '..value) local nextLevelExp = expForLevel(player:getLevel()+1) -- playerExp:setValue(player:getExperience(), 0, nextLevelExp) playerExp:setPercent(math.floor(percent)) -- playerExp:setText(math.floor(percent).."%") playerExp:setTooltip(text) end function safeUseInventoryItemWith(itemId) local player = g_game.getLocalPlayer() local item = Item.create(itemId) modules.game_interface.startUseWith(item) return true end function useSlotWith(slot) local player = g_game.getLocalPlayer() if modules.game_console.consoleMode == 1 then return end safeUseInventoryItemWith(player:getInventoryItem(slot):getId()) end function onInventoryChange(player, slot, item, oldItem) local itemWidget = movesBarWindow:getChildById('slot'..slot) if item then itemWidget:setItem(item) else itemWidget:setItem(nil) end end function onHealthChange(localPlayer, health, maxHealth) playerHealth:setText(health..' / '..maxHealth) playerHealth:setValue(health, 0, maxHealth) end function getPokemon() return pokemon end function getPlayerWindow() return playerWindow end function getbuttonsWindow() return buttonsWindow end pokemon.otui WindowButton < UIButton opacity: 0.8 $pressed: opacity: 0.6 $on !pressed: opacity: 1.0 SlotItem < Item text-align: topleft text-offset: 3 2 image-source: /images/game/pokemon/slots/suport focusable: false HeadSlot < SlotItem id: slot1 text: 5 &position: {x=65535, y=1, z=0} BodySlot < SlotItem id: slot4 &position: {x=65535, y=4, z=0} LegSlot < SlotItem text: 3 id: slot7 &position: {x=65535, y=7, z=0} FeetSlot < SlotItem id: slot8 text: R &position: {x=65535, y=8, z=0} NeckSlot < SlotItem id: slot2 &position: {x=65535, y=2, z=0} LeftSlot < SlotItem id: slot6 text: 4 &position: {x=65535, y=6, z=0} FingerSlot < SlotItem text: 2 id: slot9 &position: {x=65535, y=9, z=0} BackSlot < SlotItem id: slot3 &position: {x=65535, y=3, z=0} RightSlot < SlotItem id: slot5 &position: {x=65535, y=5, z=0} AmmoSlot < SlotItem id: slot10 text: 1 &position: {x=65535, y=10, z=0} UIWidget height: 200 draggable: false anchors.right: parent.right anchors.left: parent.left anchors.bottom: parent.bottom focusable: false phantom: true HeadlessWindow id: itemsWindow size: 326 82 draggable: false focusable: false anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: parent.bottom margin-bottom: 10 FeetSlot anchors.top: parent.top anchors.left: prev.right VerticalSeparator id: separator height: 38 anchors.top: parent.top anchors.left: prev.right margin-left: 5 AmmoSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: prev.top anchors.left: prev.right margin-left: 5 FingerSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 2 LegSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 2 LeftSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 2 HeadSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 2 RightSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 5 visible: false BodySlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 2 visible: false NeckSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 2 visible: false BackSlot image-source: /images/game/pokemon/slots/pokeball anchors.top: parent.top anchors.left: prev.right margin-left: 2 visible: false HorizontalSeparator anchors.top: separator.bottom anchors.right: parent.right anchors.left: parent.left ProgressBar id: playerHealth height: 16 border-width: 0 background-color: #0075AA anchors.right: parent.right anchors.left: parent.left anchors.top: prev.bottom margin-top: 6 UIParticles effect: player-effect anchors.fill: parent phantom: true UIWidget image-border: 1 image-border-left: 3 image-border-right: 3 image-source: /images/game/pokemon/progressbar_border anchors.fill: parent ProgressBar id: playerExp height: 8 border-width: 0 background-color: #FFC926 anchors.right: parent.right anchors.left: parent.left anchors.bottom: parent.bottom UIWidget image-border: 1 image-border-left: 3 image-border-right: 3 image-source: /images/game/pokemon/progressbar_border anchors.fill: parent HeadlessWindow id: playerWindow size: 112 112 anchors.right: prev.left anchors.bottom: parent.bottom margin-bottom: 10 margin-right: 1 draggable: false focusable: false UIWidget id: portrait size: 81 81 anchors.centerIn: parent phantom: true UIWidget id: clan size: 32 32 image-source: /images/game/pokemon/clan/pokemon_trainer anchors.bottom: parent.bottom anchors.right: parent.left margin-right: -22 margin-bottom: -9 phantom: true Label id: levelLabel font: verdana-11px-rounded text-auto-resize: true anchors.top: parent.top anchors.right: parent.right phantom: false HeadlessWindow id: menuWindow size: 112 112 anchors.left: itemsWindow.right anchors.bottom: parent.bottom margin-bottom: 10 margin-left: 1 draggable: false focusable: false UIWidget id: pokedex size: 20 20 opacity: 1.0 tooltip: Pokedex (Ctrl+D) image-source: /images/game/pokemon/pokedex anchors.left: parent.left anchors.bottom: parent.bottom margin-left: -3 margin-bottom: -3 @onClick: modules.game_pokemon.startChoosePos() $hover: opacity: 0.8 $pressed: opacity: 0.6 UIWidget id: fishing size: 20 20 opacity: 1.0 !tooltip: tr('Fishing Rod')..' (Ctrl+Z)' image-source: /images/game/pokemon/fishing anchors.left: prev.right anchors.bottom: prev.bottom margin-left: 4 @onClick: modules.game_pokemon.useVara() $hover: opacity: 0.8 $pressed: opacity: 0.6 UIWidget id: order size: 20 20 opacity: 1.0 !tooltip: tr('Order Pokemon') image-source: /images/game/pokemon/order anchors.left: prev.right anchors.bottom: prev.bottom margin-left: 4 @onClick: modules.game_hotkeys.useOrder() $hover: opacity: 0.8 $pressed: opacity: 0.6 WindowButton id: guideButton size: 20 20 !tooltip: tr('Inventory')..' (Ctrl+I)' image-source: /images/topbuttons/ptb anchors.left: parent.left anchors.bottom: parent.bottom margin-left: -3 margin-bottom: 17 @onClick: modules.game_pokemon.useInventory() WindowButton id: vipButton size: 25 25 !tooltip: tr('VIP List')..' (Ctrl+F)' image-source: /images/topbuttons/viplist anchors.left: prev.right anchors.bottom: prev.bottom margin-left: 2 @onClick: modules.game_viplist.toggle() WindowButton id: battleButton size: 25 25 !tooltip: tr('Battle')..' (Ctrl+B)' image-source: /images/topbuttons/battle anchors.left: prev.right anchors.bottom: prev.bottom margin-left: 1 @onClick: modules.game_battle.toggle() WindowButton id: hotkeysButton size: 20 20 !tooltip: tr('Hotkeys')..' (Ctrl+K)' image-source: /images/game/pokemon/hotkeys anchors.left: prev.right anchors.bottom: prev.bottom margin-left: 1 margin-bottom: 3 @onClick: modules.game_hotkeys.toggle() WindowButton id: questLogButton size: 20 20 !tooltip: tr('Quest Log') image-source: /images/game/pokemon/questlog anchors.left: parent.left anchors.bottom: parent.bottom margin-left: -3 margin-bottom: 37 @onClick: g_game.requestQuestLog() WindowButton id: skillButton size: 25 25 !tooltip: tr('Skills')..' (Ctrl+S)' image-source: /images/topbuttons/skills anchors.left: prev.right anchors.bottom: prev.bottom margin-left: 50 margin-bottom: -43 @onClick: modules.game_skills.toggle()
  5. Alguém tem salvo ai aquela antiga loja que o otp usava? Modern AAC Tinha varios dowload dela em alguns topicos aqui do TK, mas os repositos estao desatualizados ou excluidos
  6. Alguem poderia me explicar como funcionam algumas linhas dessa lingua? To tentando entender mas to perdido Vou comentar dentro do script: MainWindow -- ; Creio que aqui seja o nome principal, como uma função ou algo do tipo, muito embora quem esteja sendo chamado pelo arquivo Lua é a linha de baixo "shopWindow" id: shopWindow -- ; Essa linha é chamada pela Lua, muito embora não seja setado nenhum diretório.. acho que qualquer arquivo .otui com o id "shopWindow" no computador estara sujeito a ser acessado !text: tr('System PvP') -- ; Texto na Barra da nova Gui size: 480 340 -- ; Tamanho da Gui @onEnter: modules.game_shop.hide() -- ; aqui parece que ele esta tentando acessar uma função ou pasta em "Modules" sdla.. e tabelas dentro dessa Modules.. mas não tenho certeza @onEscape: modules.game_shop.hide() -- ; Idem TabBarVertical -- ; Mesmo Caso da primeira linha id: shopTabBar -- ; Mesmo caso da segunda linha anchors.top: parent.top -- aqui aparentemente se refere ao tamanho de alguma coisa.. creio que seja uma coluna dentro da Gui do Shop, mas ele esta setado por uma função chamada "anchors" e "parent" e dentro delas creio que esteja valores como Top, Down, Left, Right e talvez outros.. anchors.left: parent.left anchors.bottom: closeButton.top Panel id: shopTabContent anchors.top: shopTabBar.top anchors.left: shopTabBar.right anchors.right: parent.right anchors.bottom: closeButton.top Button id: closeButton -- ; Botao de Close anchors.bottom: parent.bottom anchors.right: parent.right !text: tr('Close') width: 90 @onClick: modules.game_shop.hide() Alguem sabe dizer se meus comentarios estão certos? e como eu altero o tamanho dessa tabela de uma função para um valor de numeros? Perdão pelas nubada, primeira vez que vejo essa lingua
  7. Só alterar essas linhas: Offline: Online:
  8. @Spooky Ghost Procure no server algo com a tag "First" ou "FirstItems"é um script bem comum..
  9. @Ryaan Adiciona na Home do seu site:
  10. @Jonathan005 Bom dia guerreiro,tudo bem?! Vá em \Pokemon Server\datapack\XML\outfits E crie uma nova Outfit assim: Agora em Pokemon Server\datapack\npc crie um arquivo em extensão .LUA com o nome Outfilts e cole isso: Agora em \Pokemon Server\datapack\npc\scripts crie um arquivo em extensão .LUA e nomeia por Outfits.lua
  11. @ADM Flow então configura manualmente no script de cada monstro..
  12. @ADM Flow aumenta conforme seu gosto então..
  13. @Rush Of Dead tenta assim
  14. @ZAZA Pelo que vc fala ta todo ferrado o server kk.. mas ok vamos lá Em config.lua tu pode alterar Agora em \Pokemon Server\datapack\XML\Stages.xml Aqui você pode adicionar o lvl Maximo do server+ exp rate por cada level, obviamente que o quanto maior o lvl menos exp irá ganhar, pode pode colocar quantas linhas desejar assim: " um wooper matando um groudon e os lendaria selvagem n tem def nem vida e nem ofense eles tira so 63 de hp " Aqui você vai ter que arrumar manualmente em: \Pokemon Server\datapack\monster\pokes Ai você encontra o pokémon que esta desbalanceado e vai em Edit e pode alterar isso:
  15. Olá @ADM Flow Isso fica somente no config.lua, na linha Caso a sua não tenha (99% chance de ter), sugiro que abra a pasta Lib do servidor, de um ctrl+a abra todos, e de um All Search com a palavra "loot" e "Drop" pra ver se acha algo do seu interesse
  16. Não sei de quem era o script original, créditos a ele Shop ModernAac editado: *Traduzi 80% para o português *Retirei o bug do f5 pra conseguir comprar vários itens na loja *Troquei algumas linhas de comando que ocasionavam erros nas versões mais atuais do Xampp *Adicionei novas tabelas *Retirei varias linhas de códigos desnecessarias pra deixar o script mais leve *Adicionei mensagem quando o item chegar pra pessoa no jogo Lets'go 1-Em sua database importe essa sql Shop.sql 2-Na aba principal do Htdocs crie uma pasta chamada "ShopSystem" e dentro dela crie 2 arquivos .php index.php shopping.php 3- E dentro dessa mesma pasta, crie uma subpasta chamada " config " e nela crie mais 3 arquivos .php config.php Altere o Login e Password para os dados do seu site, e Database para o nome da sua database functions.php index.php 4- Agora em C:\xampp\htdocs\system\pages crie um arquivo chamado shopping.php 5- Agora em C:\xampp\htdocs\templates\SUAPASTA\index.tpl Abaixo de <div class="nav_links_logged"> Adicione: 6- Agora em \Pokemon Server\datapack\globalevents\globalevents.XML adicione 7- Agora em \Pokemon Server\datapack\globalevents\scripts\ crie um arquivo .lua shop.lua
  17. @gabriiel.cabral Olá! Especifiquei a resposta da sua pergunta na 2 parte A forma correta de abrir o seu mapa após ter instado o RME: 1 - Copie o arquivo itens.otb localizado na pasta do seu servidor data/items 2 - Cole o arquivo em rme/data/versão_do_mapa. 3 - Ao abrir o RME clique na aba de Preferences 4- E dentro de preferences selecione a versão do seu jogo, e marque as caixinhas 'Transparency e Extended' caso for seu caso ( acaso não saiba, abra o client com o Object Builder e ele irá lhe informar) e selecione as sprites do seu jogo (ele deverá estar com nome de Tibia.spr) 5- Após isso pode abrir seu mapa pelo menu principal e ir em Open, ( Open na verdade é um atalho pra file>import>import map) E se abrir por Open, não ira causar 'rupturas no mapa' nem 'cortar o mapa' O seu mapa pode ser crashado (tornando o arquivo invalidado muitas vezes) derrepente quando ele ta aberto e seu pc desliga do nada como em uma queda de luz, ou se você ir no Gerenciador de tarefas e fechar o RME do nada, em alguns casos também quando o mapa é bem grande e você faz muitas mudanças o RME consome muita memória, e se seu pc não tiver essa memória disponivel vai acontecer o tipico erro 'O programa parou de funcionar' oq seria um fechamento inesperado e poderia sim crashar o o mapa)
  18. Objetivo: Assim como eu, alguns tem roteadores via radio que não são possiveis abrir portas, então logo é dificil tu compartilhar ideias do seu site diretamente com outras pessoas, e essa foi minha solução! Hoje falaremos sobre Ngrok: O ngrok não é nada mais nada menos do que um "túnel", onde a função dele é redirecionar conexões externas para o seu localhost. Ou seja, você consegue com ele, rodar aquele teu projeto php ou html que está em localhost na rede externa e mostrar para as outras pessoas para obter suporte, oferecer serviços ou sei lá, usa sua imaginação Disponivel para as plataformas de Windows e Linux. Como funciona: O ngrok possui um binário, onde é necessário ter Links Bloqueados para Visitantes, então você precisa de uma espécie de key oferida no site e fazer login para poder usa-lo diretamente do seu terminal ou ms-dos. Configurando o programa: Primeiramente você precisa criar uma conta, pode-se fazer isso através do Site Após criar sua conta e fazer login nela Baixe o Ngrok Em seguida o extraia para uma pasta de sua preferência: Após isso pode executar o programa, e ativar sua conta através do comando: Iniciando uma conexão: Sete o comando: E pronto! só copiar o link que o ngrok criou e colar na sua url, o seu site estará disponivel em rede externa, e quando não quiser mais usar é só dar um "Ctrl+c" no programa que ele fechara a conexão!
  19. @Vikachu @MarkCharlotte Só não da bola pras coisas que eu escrevi, acordei inspirado kkk
  20. Tio Rusher postou uma resposta no tópico em Suporte Tibia OTServer
    ✔️Tested in Myaac on 25.04.20, at 07:50 @Jonathan005 Em \Pokemon Server\datapack\globalevents\globalevents.XML adicione: Em \Pokemon Server\datapack\globalevents\scripts adicione: shop.lua Em sua database importe esse .sql Shop.sql Em C:\xampp\htdocs\system\pages crie um arquivo chamado shopping.php Em C:\xampp\htdocs\templates\SUA PASTA\index.tpl Abaixo de: <div class="nav_links_logged"> crie as tags: Em C:\xampp\htdocs cria uma pasta chamada ShopSystem e dentro dela 2 arquivos .php index.php shopping.php Cria mais uma subpasta dentro da primeira, e cria mais 3 arquivos em php functions.php index.php config.php $config['database']['login'] = "root"; -- Dados de Login do site $config['database']['password'] = ""; -- Dados de Password do site $config['database']['database'] = "Database"; -- Nome da sua database

Informação Importante

Confirmação de Termo