Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Iae Galerinha do Tk Blz?

 

Intaaum To querendo assim, Quand vc da look na pokeball do bulbasaur apareça o nome dele e talz e o preço na frente, Price is: 3000. Que nem da pxg, Alguem me ajuda com esse script? Doou Reep +++

Link para o post
Compartilhar em outros sites

qual é sua base?

JqGfm7S.png

Servidor com sources estáveis, com sistemas completos e tudo atualizados, para saber mais acessem   https://www.facebook.com/pokeVKS

Link para o post
Compartilhar em outros sites

EnterGame = { }-- private variableslocal loadBoxlocal enterGamelocal motdWindowlocal motdButtonlocal enterGameButtonlocal protocolBoxlocal protocolLoginlocal motdEnabled = true-- private functionslocal function onError(protocol, message, errorCode)if loadBox thenloadBox:destroy()loadBox = nilendif not errorCode thenEnterGame.clearAccountFields()endlocal errorBox = displayErrorBox(tr('Login Error'), message)connect(errorBox, { onOk = EnterGame.show })endlocal function onMotd(protocol, motd)G.motdNumber = tonumber(motd:sub(0, motd:find("\n")))G.motdMessage = motd:sub(motd:find("\n") + 1, #motd)if motdEnabled thenmotdButton:show()endendlocal function onCharacterList(protocol, characters, account, otui)-- Try add server to the server listServerList.add(G.host, G.port, g_game.getProtocolVersion())if enterGame:getChildById('rememberPasswordBox'):isChecked() thenlocal account = g_crypt.encrypt(G.account)local password = g_crypt.encrypt(G.password)g_settings.set('account', account)g_settings.set('password', password)ServerList.setServerAccount(G.host, account)ServerList.setServerPassword(G.host, password)g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked())else-- reset server list account/passwordServerList.setServerAccount(G.host, '')ServerList.setServerPassword(G.host, '')EnterGame.clearAccountFields()endloadBox:destroy()loadBox = nilCharacterList.create(characters, account, otui)CharacterList.show()if motdEnabled thenlocal lastMotdNumber = g_settings.getNumber("motd")if G.motdNumber and G.motdNumber ~= lastMotdNumber theng_settings.set("motd", motdNumber)motdWindow = displayInfoBox(tr('Message of the day'), G.motdMessage)connect(motdWindow, { onOk = function() CharacterList.show() motdWindow = nil end })CharacterList.hide()endendendlocal function onChangeProtocol(combobox, option)local clients = g_game.getSupportedClients(option)protocolBox:setTooltip("Supports Client" .. (#clients > 1 and "s" or "") .. ": " .. table.tostring(clients))endlocal function onUpdateNeeded(protocol, signature)loadBox:destroy()loadBox = nilif EnterGame.updateFunc thenlocal continueFunc = EnterGame.showlocal cancelFunc = EnterGame.showEnterGame.updateFunc(signature, continueFunc, cancelFunc)elselocal errorBox = displayErrorBox(tr('Update needed'), tr('Your client needs update, try redownloading it.'))connect(errorBox, { onOk = EnterGame.show })endend-- public functionsfunction EnterGame.init()enterGame = g_ui.displayUI('entergame')enterGameButton = modules.client_topmenu.addCustomLeftButton('enterGameButton', tr('Login') .. ' (Ctrl + G)', '/images/ui/pxg/topMenu_icons/entrar_icon', EnterGame.openWindow, false)motdButton = modules.client_topmenu.addCustomLeftButton('motdButton', tr('Message of the day'), '/images/ui/pxg/topMenu_icons/news_icon', EnterGame.displayMotd, false)motdButton:hide()g_keyboard.bindKeyDown('Ctrl+G', EnterGame.openWindow)if motdEnabled and G.motdNumber thenmotdButton:show()endlocal account = g_settings.get('account')local password = g_settings.get('password')local host = g_settings.get('host')local port = g_settings.get('port')local autologin = g_settings.getBoolean('autologin')local protocolVersion = g_settings.getInteger('protocol-version')if port == nil or port == 0 then port = 7171 endEnterGame.setAccountName(account)EnterGame.setPassword(password)enterGame:getChildById('serverHostTextEdit'):setText(host)enterGame:getChildById('serverPortTextEdit'):setText(port)enterGame:getChildById('autoLoginBox'):setChecked(autologin)protocolBox = enterGame:getChildById('protocolComboBox')protocolBox.onOptionChange = onChangeProtocolif protocolVersion thenprotocolBox:setCurrentOption(protocolVersion)endenterGame:hide()if g_app.isRunning() and not g_game.isOnline() thenenterGame:show()endserver = "pokemonh.servegame.com"EnterGame.setUniqueServer('pokemoncrazy.no-ip.biz', 7171, 854, 270, 210)endfunction EnterGame.firstShow()EnterGame.show()local account = g_crypt.decrypt(g_settings.get('account'))local password = g_crypt.decrypt(g_settings.get('password'))local host = g_settings.get('host')local autologin = g_settings.getBoolean('autologin')if #host > 0 and #password > 0 and #account > 0 and autologin thenaddEvent(function()if not g_settings.getBoolean('autologin') then return endEnterGame.doLogin()end)endendfunction EnterGame.terminate()g_keyboard.unbindKeyDown('Ctrl+G')enterGame:destroy()enterGame = nilenterGameButton:destroy()enterGameButton = nilprotocolBox = nilif motdWindow thenmotdWindow:destroy()motdWindow = nilendif motdButton thenmotdButton:destroy()motdButton = nilendif loadBox thenloadBox:destroy()loadBox = nilendif protocolLogin thenprotocolLogin:cancelLogin()protocolLogin = nilendEnterGame = nilendfunction EnterGame.show()if loadBox then return endenterGame:show()enterGame:raise()enterGame:focus()endfunction EnterGame.hide()enterGame:hide()endfunction EnterGame.openWindow()if g_game.isOnline() thenCharacterList.show()elseif not g_game.isLogging() and not CharacterList.isVisible() thenEnterGame.show()endendfunction EnterGame.setAccountName(account)local account = g_crypt.decrypt(account)enterGame:getChildById('accountNameTextEdit'):setText(account)enterGame:getChildById('accountNameTextEdit'):setCursorPos(-1)enterGame:getChildById('rememberPasswordBox'):setChecked(#account > 0)endfunction EnterGame.setPassword(password)local password = g_crypt.decrypt(password)enterGame:getChildById('accountPasswordTextEdit'):setText(password)endfunction EnterGame.clearAccountFields()enterGame:getChildById('accountNameTextEdit'):clearText()enterGame:getChildById('accountPasswordTextEdit'):clearText()enterGame:getChildById('accountNameTextEdit'):focus()g_settings.remove('account')g_settings.remove('password')endfunction EnterGame.doLogin()G.account = enterGame:getChildById('accountNameTextEdit'):getText()G.password = enterGame:getChildById('accountPasswordTextEdit'):getText()G.host = enterGame:getChildById('serverHostTextEdit'):getText()G.port = tonumber(enterGame:getChildById('serverPortTextEdit'):getText())local protocolVersion = tonumber(protocolBox:getText())local clientVersions = g_game.getSupportedClients(protocolVersion)EnterGame.hide()if g_game.isOnline() thenlocal errorBox = displayErrorBox(tr('Login Error'), tr('Cannot login while already in game.'))connect(errorBox, { onOk = EnterGame.show })returnendg_settings.set('host', G.host)g_settings.set('port', G.port)protocolLogin = ProtocolLogin.create()protocolLogin.onLoginError = onErrorprotocolLogin.onMotd = onMotdprotocolLogin.onCharacterList = onCharacterListprotocolLogin.onUpdateNeeded = onUpdateNeededloadBox = displayCancelBox(tr('Please wait'), tr('Connecting to login server...'))connect(loadBox, { onCancel = function(msgbox)loadBox = nilprotocolLogin:cancelLogin()EnterGame.show()end })g_game.chooseRsa(G.host)g_game.setProtocolVersion(protocolVersion)if #clientVersions > 0 theng_game.setClientVersion(clientVersions[#clientVersions])endif modules.game_things.isLoaded() thenprotocolLogin:login(G.host, G.port, G.account, G.password)elseloadBox:destroy()loadBox = nilEnterGame.show()endendfunction EnterGame.displayMotd()if not motdWindow thenmotdWindow = displayInfoBox(tr('Message of the day'), G.motdMessage)motdWindow.onOk = function() motdWindow = nil endendendfunction EnterGame.setDefaultServer(host, port, protocol)local hostTextEdit = enterGame:getChildById('serverHostTextEdit')local portTextEdit = enterGame:getChildById('serverPortTextEdit')local protocolLabel = enterGame:getChildById('protocolLabel')local accountTextEdit = enterGame:getChildById('accountNameTextEdit')local passwordTextEdit = enterGame:getChildById('accountPasswordTextEdit')if hostTextEdit:getText() ~= host thenhostTextEdit:setText(host)portTextEdit:setText(port)protocolBox:setCurrentOption(protocol)accountTextEdit:setText('')passwordTextEdit:setText('')endendfunction EnterGame.setUniqueServer(host, port, protocol, windowWidth, windowHeight)local hostTextEdit = enterGame:getChildById('serverHostTextEdit')hostTextEdit:setText(host)hostTextEdit:setVisible(false)hostTextEdit:setHeight(0)local portTextEdit = enterGame:getChildById('serverPortTextEdit')portTextEdit:setText(port)portTextEdit:setVisible(false)portTextEdit:setHeight(0)protocolBox:setCurrentOption(protocol)protocolBox:setVisible(false)protocolBox:setHeight(0)local serverLabel = enterGame:getChildById('serverLabel')serverLabel:setVisible(false)serverLabel:setHeight(0)local portLabel = enterGame:getChildById('portLabel')portLabel:setVisible(false)portLabel:setHeight(0)local protocolLabel = enterGame:getChildById('protocolLabel')protocolLabel:setVisible(false)protocolLabel:setHeight(0)local serverListButton = enterGame:getChildById('serverListButton')serverListButton:setVisible(false)serverListButton:setHeight(0)serverListButton:setWidth(0)local rememberPasswordBox = enterGame:getChildById('rememberPasswordBox')rememberPasswordBox:setMarginTop(-5)if not windowWidth then windowWidth = 236 endenterGame:setWidth(windowWidth)if not windowHeight then windowHeight = 200 endenterGame:setHeight(windowHeight)endfunction EnterGame.setServerInfo(message)local label = enterGame:getChildById('serverInfoLabel')label:setText(message)endfunction EnterGame.disableMotd()motdEnabled = falsemotdButton:hide()end

Editado por Demon123 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo