Ir para conteúdo
Propaganda

alucarddz

Membro
  • Total de Posts

    7
  • Registro em

  • Última visita

Sobre alucarddz

Últimos Visitantes

O bloco dos últimos visitantes está desativado e não está sendo visualizado por outros usuários.

alucarddz's Achievements

Rookie

Rookie (2/14)

  • One Month Later
  • Week One Done
  • First Post
  • Conversation Starter Rara
  • Reacting Well

Emblemas Recentes

3

Reputação

  1. Manda print do erro completo, geralmente é erro em algum módulo que não permite o client carregar direito.
  2. A PokeBrave creio que seja a melhor mesmo. Recomendo o @ Sollix caso queira alguma ajuda a mais. ^^
  3. o erro que deu ali foi Access denied for user "@'localhost'. Aparentemente ele não conseguiu identificar um usuário. Geralmente o usuário é "root" e não tem senha. Veja se em algum arquivo da pasta onde está o site você encontra a configuração de acesso ao banco de dados. Lá configure o usuário como root, e retire a senha.
  4. O IP tem que ser 127.0.0.1 no config.lua do TFS. E no init.lua do Client também. ip = "127.0.0.1"
  5. Eu tentei mexer no loginprotocol do tfs e num outro, iologin alguma coisa. e no protocollogin do client também, mas daí começou a crashar o client, desfiz as mudanças tfs/src/iologindata (serverside) gamelib/loginprotocol.lua (client)
  6. Por acaso alguém sabe como eu faço para poder recuperar outros dados, como o level por exemplo, no módulo entergame? para poder usar na characterlist.otui? O level ficaria entre o nome do personagem e o mundo. Até tentei de algumas maneiras, alterando algumas funções, mas sem sucesso. characterlist.lua: local function resendWait() if waitingWindow then waitingWindow:destroy() waitingWindow = nil if updateWaitEvent then updateWaitEvent:cancel() updateWaitEvent = nil end if charactersWindow then local selected = characterList:getFocusedChild() if selected then local charInfo = { worldHost = selected.worldHost, worldPort = selected.worldPort, worldName = selected.worldName, characterName = selected.characterName, characterLevel = selected.characterLevel } tryLogin(charInfo) end end end end function CharacterList.create(characters, account, otui) if not otui then otui = 'characterlist' end if charactersWindow then charactersWindow:destroy() end charactersWindow = g_ui.displayUI(otui) characterList = charactersWindow:getChildById('characters') -- characters G.characters = characters G.characterAccount = account characterList:destroyChildren() local accountStatusLabel = charactersWindow:getChildById('accountStatusLabel') local focusLabel for i,characterInfo in ipairs(characters) do local widget = g_ui.createWidget('CharacterWidget', characterList) for key,value in pairs(characterInfo) do local subWidget = widget:getChildById(key) if subWidget then if key == 'outfit' then -- it's an exception subWidget:setOutfit(value) else local text = value if subWidget.baseText and subWidget.baseTranslate then text = tr(subWidget.baseText, text) elseif subWidget.baseText then text = string.format(subWidget.baseText, text) end subWidget:setText(text) end end end -- these are used by login widget.characterName = characterInfo.name widget.worldName = characterInfo.worldName widget.worldHost = characterInfo.worldIp widget.worldPort = characterInfo.worldPort widget.characterLevel = characterInfo.level connect(widget, { onDoubleClick = function () CharacterList.doLogin() return true end } ) if i == 1 or (g_settings.get('last-used-character') == widget.characterName and g_settings.get('last-used-world') == widget.worldName) then focusLabel = widget end end
×
  • Criar Novo...