[ERRO] Alguem me ajuda ? acho qe é simples :D
+2
Ricardo
LuizP
6 participantes
MMORPG Brasil :: OPEN SOURCE ENGINES :: Outras Engines :: Elysium :: Suporte e Pedidos :: Assuntos resolvidos
Página 1 de 1
[ERRO] Alguem me ajuda ? acho qe é simples :D
Eaae galera
qeria pedir a ajuda de alguem , qe puder me ajudar, USHAUSH'
tiipo , eu editei o FrmMirage do meu dbz , e tal .
aai táa , e quando eu clico no 'start' , tipo aqele botao qe testa , qe todo mundo dever saber qual é , USHAUHS'
da esse erro aqe :
e depois :
entao , qeria saber se alguem podia me ajudar ai
(dou os creds , se me ajudar de verdade ! )
qeria pedir a ajuda de alguem , qe puder me ajudar, USHAUSH'
tiipo , eu editei o FrmMirage do meu dbz , e tal .
aai táa , e quando eu clico no 'start' , tipo aqele botao qe testa , qe todo mundo dever saber qual é , USHAUHS'
da esse erro aqe :
e depois :
entao , qeria saber se alguem podia me ajudar ai
(dou os creds , se me ajudar de verdade ! )
LuizP- Novato
- Mensagens : 29
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
Vai, no arquivo config, e ve se o ip e a porta esta la, acho que e isso
Ricardo- Mensagens : 1044
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
Mano olha nao e bom abir no start,para tu testar o seu gui novo se tem q compling .
Bom se tu nao sober compling vou te ensinar.
voce vai file e dps voce vai ver maker ' eo nome do teu servidor ' dai esso clika alie e seja feliz
Me da + Cred ae se ao suber da credito eu ensino
no lado direito da tela em um + e um -so clika no + e voce me dara + um cred
Abraço Gokured
bom é isso ate a próxima ...
Bom se tu nao sober compling vou te ensinar.
voce vai file e dps voce vai ver maker ' eo nome do teu servidor ' dai esso clika alie e seja feliz
Me da + Cred ae se ao suber da credito eu ensino
no lado direito da tela em um + e um -so clika no + e voce me dara + um cred
Abraço Gokured
bom é isso ate a próxima ...
Última edição por gokured em Sáb 19 Mar 2011, 09:18, editado 1 vez(es) (Motivo da edição : erro de explicação)
gokured- Membro Junior
- Mensagens : 65
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
Opa simples de arrumar
troque a sub que esta dando erro por essa
explicando:
troque a sub que esta dando erro por essa
- Código:
Sub TcpInit()
SEP_CHAR = Chr(169)
END_CHAR = Chr(174)
NEXT_CHAR = Chr(171)
GoDebug = NO
PlayerBuffer = ""
frmMirage.Socket.RemoteHost = "5.177.210.98"
frmMirage.Socket.RemotePort = "4000"
End Sub
explicando:
Sub TcpInit()
SEP_CHAR = Chr(169)
END_CHAR = Chr(174)
NEXT_CHAR = Chr(171)
GoDebug = NO
PlayerBuffer = ""
frmMirage.Socket.RemoteHost = "s5s2s5s2s58" eo ip que voce colocar do server
frmMirage.Socket.RemotePort = "4000"
End Sub
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
gokured escreveu:Mano olha nao e bom abir no start,para tu testar o seu gui novo se tem q compling .
Bom se tu nao sober compling vou te ensinar.
voce vai file e dps voce vai ver maker ' eo nome do teu servidor ' dai esso clika alie e seja feliz
Me da + Cred ae se ao suber da credito eu ensino
no lado direito da tela em um + e um -so clika no + e voce me dara + um cred
Abraço Gokured
bom é isso ate a próxima ...
ae man , na hora qe eu vo compila , da isso :
se voce , ou alguem souber oqe é , me avisa ai
LuizP- Novato
- Mensagens : 29
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
Lucas Roberto escreveu:Opa simples de arrumar
troque a sub que esta dando erro por essa
- Código:
Sub TcpInit()
SEP_CHAR = Chr(169)
END_CHAR = Chr(174)
NEXT_CHAR = Chr(171)
GoDebug = NO
PlayerBuffer = ""
frmMirage.Socket.RemoteHost = "5.177.210.98"
frmMirage.Socket.RemotePort = "4000"
End Sub
explicando:Sub TcpInit()
SEP_CHAR = Chr(169)
END_CHAR = Chr(174)
NEXT_CHAR = Chr(171)
GoDebug = NO
PlayerBuffer = ""
frmMirage.Socket.RemoteHost = "s5s2s5s2s58" eo ip que voce colocar do server
frmMirage.Socket.RemotePort = "4000"
End Sub
obrigado pela ajuda ai , mais ainda ta dano erro =/
ve se sabe oqe é ai :
(:
LuizP- Novato
- Mensagens : 29
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
eae mude essa sub interia para esse:
SE SUA ENGINE FOR Br tome cuidado por o nomes estão em Ingles e so muda os nomes e ja era
- Código:
Sub Main()
Call MultiClient
Dim i As Long
Dim Ending As String
ScreenMode = 0
'If App.EXEName <> "DragonballRPG Online V2.0" Then Exit Sub
frmSendGetData.Visible = True
Call SetStatus("Checando Arquivos...")
DoEvents
' Check if the maps directory is there, if its not make it
If LCase(Dir(App.Path & "\Maps", vbDirectory)) <> "maps" Then
Call MkDir(App.Path & "\Maps")
End If
If UCase(Dir(App.Path & "\GFX", vbDirectory)) <> "GFX" Then
'Call MkDir(App.Path & "\GFX")
End If
If UCase(Dir(App.Path & "\GUI", vbDirectory)) <> "GUI" Then
Call MkDir(App.Path & "\GUI")
End If
If UCase(Dir(App.Path & "\Music", vbDirectory)) <> "MUSIC" Then
Call MkDir(App.Path & "\Music")
End If
If UCase(Dir(App.Path & "\SFX", vbDirectory)) <> "SFX" Then
Call MkDir(App.Path & "\SFX")
End If
If UCase(Dir(App.Path & "\Flashs", vbDirectory)) <> "FLASHS" Then
Call MkDir(App.Path & "\Flashs")
End If
Dim FileName As String
FileName = App.Path & "\config.ini"
If FileExist("config.ini") Then
frmMirage.chkbubblebar.Value = Val(GetVar(FileName, "CONFIG", "SpeechBubbles"))
frmMirage.chkEmoSound.Value = Val(GetVar(FileName, "CONFIG", "EmoticonSound"))
frmMirage.chknpcname.Value = Val(GetVar(FileName, "CONFIG", "NPCName"))
frmMirage.chkplayername.Value = Val(GetVar(FileName, "CONFIG", "PlayerName"))
frmMirage.chkplayerdamage.Value = Val(GetVar(FileName, "CONFIG", "NPCDamage"))
frmMirage.chknpcdamage.Value = Val(GetVar(FileName, "CONFIG", "PlayerDamage"))
frmMirage.chkmusic.Value = Val(GetVar(FileName, "CONFIG", "Music"))
frmMirage.chksound.Value = Val(GetVar(FileName, "CONFIG", "Sound"))
frmMirage.chkAutoScroll.Value = Val(GetVar(FileName, "CONFIG", "AutoScroll"))
If Val(GetVar(FileName, "CONFIG", "MapGrid")) = 0 Then
frmMapEditor.chkGrid.Value = 0
Else
frmMapEditor.chkGrid.Value = 1
End If
Else
Call PutVar(App.Path & "\config.ini", "UPDATER", "FileName", "Diamond.exe")
Call PutVar(App.Path & "\config.ini", "UPDATER", "WebSite", "")
Call PutVar(App.Path & "\config.ini", "IPCONFIG", "IP", "127.0.0.1")
Call PutVar(App.Path & "\config.ini", "IPCONFIG", "PORT", 4000)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Account", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "Password", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "WebSite", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "SpeechBubbles", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "EmoticonSound", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "NPCName", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "NPCDamage", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "PlayerName", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "PlayerDamage", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "MapGrid", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Music", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Sound", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "AutoScroll", 1)
End If
If FileExist("GUI\Colors.txt") = False Then
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "B", 120)
End If
Dim r1 As Long, g1 As Long, b1 As Long
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "B"))
frmMirage.txtChat.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "B"))
frmMirage.txtMyTextBox.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "B"))
frmMirage.Picture9.BackColor = RGB(r1, g1, b1)
frmMirage.Picture8.BackColor = RGB(r1, g1, b1)
frmMirage.picInv3.BackColor = RGB(r1, g1, b1)
frmMirage.itmDesc.BackColor = RGB(r1, g1, b1)
frmMirage.picWhosOnline.BackColor = RGB(r1, g1, b1)
frmMirage.picGuildAdmin.BackColor = RGB(r1, g1, b1)
frmMirage.picGuild.BackColor = RGB(r1, g1, b1)
frmMirage.picEquip.BackColor = RGB(r1, g1, b1)
frmMirage.picPlayerSpells.BackColor = RGB(r1, g1, b1)
frmMirage.picOptions.BackColor = RGB(r1, g1, b1)
frmMirage.chkbubblebar.BackColor = RGB(r1, g1, b1)
frmMirage.chkEmoSound.BackColor = RGB(r1, g1, b1)
frmMirage.chknpcname.BackColor = RGB(r1, g1, b1)
frmMirage.chkplayername.BackColor = RGB(r1, g1, b1)
frmMirage.chkplayerdamage.BackColor = RGB(r1, g1, b1)
frmMirage.chknpcdamage.BackColor = RGB(r1, g1, b1)
frmMirage.chkmusic.BackColor = RGB(r1, g1, b1)
frmMirage.chksound.BackColor = RGB(r1, g1, b1)
frmMirage.chkAutoScroll.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "B"))
frmMirage.lstSpells.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "B"))
frmMirage.lstOnline.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "B"))
frmMirage.lstFriend.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "B"))
frmNewChar.optMale.BackColor = RGB(r1, g1, b1)
frmNewChar.optFemale.BackColor = RGB(r1, g1, b1)
Call SetStatus("Checando Status do Servidor...")
DoEvents
' Make sure we set that we aren't in the game
InGame = False
GettingMap = True
InEditor = False
InSpeechEditor = False
InItemsEditor = False
InNpcEditor = False
InShopEditor = False
InEmoticonEditor = False
InArrowEditor = False
InSpawnEditor = False
frmMirage.picItems.Picture = LoadPicture(App.Path & "\GFX\items.bmp")
frmSpriteChange.Picsprites.Picture = LoadPicture(App.Path & "\GFX\sprites.bmp")
Call SetStatus("Inicializando Arquivos TCP...")
DoEvents
Call TcpInit
frmMainMenu.Visible = True
frmSendGetData.Visible = False
End Sub
SE SUA ENGINE FOR Br tome cuidado por o nomes estão em Ingles e so muda os nomes e ja era
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
essa sub ?
ou essa ?
(me desculpa as perguntas noobs , porq ainda to começanu a edita o server e nao tenho experiencia =/)
- Código:
Sub TcpInit()
SEP_CHAR = Chr(169)
END_CHAR = Chr(174)
NEXT_CHAR = Chr(171)
GoDebug = NO
PlayerBuffer = ""
frmMirage.Socket.RemoteHost = "187.20.76.152"
frmMirage.Socket.RemotePort = "4561"
End Sub
ou essa ?
- Código:
Public Sub AddText(ByVal msg As String, ByVal Color As Integer)
Dim s As String
Dim C As Long
s = vbNewLine & msg
C = frmMirage.txtChat.SelStart
frmMirage.txtChat.SelStart = Len(frmMirage.txtChat.Text)
frmMirage.txtChat.SelColor = QBColor(Color)
frmMirage.txtChat.SelText = s
frmMirage.txtChat.SelStart = Len(frmMirage.txtChat.Text) - 1
If frmMirage.chkAutoScroll.Value = Unchecked Then frmMirage.txtChat.SelStart = C
End Sub
(me desculpa as perguntas noobs , porq ainda to começanu a edita o server e nao tenho experiencia =/)
LuizP- Novato
- Mensagens : 29
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
Mude essa a Sub TcpInit para:
- Código:
Sub TcpInit()
SEP_CHAR = Chr(169)
END_CHAR = Chr(174)
NEXT_CHAR = Chr(171)
GoDebug = NO
PlayerBuffer = vbNullString
Dim FileName As String
FileName = App.Path & "\config.ini"
frmMirage.Socket.RemoteHost = GetVar(FileName, "IPCONFIG", "IP")
frmMirage.Socket.RemotePort = Val(GetVar(FileName, "IPCONFIG", "Porta"))
End Sub
Ricardo- Mensagens : 1044
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
Procura por:
ae se muda
depois procura por:
mude para:
creio que depois dessa não vai dar erro
- Código:
Sub Main()
ae se muda
- Código:
Sub Main()
Call MultiClient
Dim i As Long
Dim Ending As String
ScreenMode = 0
'If App.EXEName <> "DragonballRPG Online V2.0" Then Exit Sub
frmSendGetData.Visible = True
Call SetStatus("Checando Arquivos...")
DoEvents
' Check if the maps directory is there, if its not make it
If LCase(Dir(App.Path & "\Maps", vbDirectory)) <> "maps" Then
Call MkDir(App.Path & "\Maps")
End If
If UCase(Dir(App.Path & "\GFX", vbDirectory)) <> "GFX" Then
'Call MkDir(App.Path & "\GFX")
End If
If UCase(Dir(App.Path & "\GUI", vbDirectory)) <> "GUI" Then
Call MkDir(App.Path & "\GUI")
End If
If UCase(Dir(App.Path & "\Music", vbDirectory)) <> "MUSIC" Then
Call MkDir(App.Path & "\Music")
End If
If UCase(Dir(App.Path & "\SFX", vbDirectory)) <> "SFX" Then
Call MkDir(App.Path & "\SFX")
End If
If UCase(Dir(App.Path & "\Flashs", vbDirectory)) <> "FLASHS" Then
Call MkDir(App.Path & "\Flashs")
End If
Dim FileName As String
FileName = App.Path & "\config.ini"
If FileExist("config.ini") Then
frmMirage.chkbubblebar.Value = Val(GetVar(FileName, "CONFIG", "SpeechBubbles"))
frmMirage.chkEmoSound.Value = Val(GetVar(FileName, "CONFIG", "EmoticonSound"))
frmMirage.chknpcname.Value = Val(GetVar(FileName, "CONFIG", "NPCName"))
frmMirage.chkplayername.Value = Val(GetVar(FileName, "CONFIG", "PlayerName"))
frmMirage.chkplayerdamage.Value = Val(GetVar(FileName, "CONFIG", "NPCDamage"))
frmMirage.chknpcdamage.Value = Val(GetVar(FileName, "CONFIG", "PlayerDamage"))
frmMirage.chkmusic.Value = Val(GetVar(FileName, "CONFIG", "Music"))
frmMirage.chksound.Value = Val(GetVar(FileName, "CONFIG", "Sound"))
frmMirage.chkAutoScroll.Value = Val(GetVar(FileName, "CONFIG", "AutoScroll"))
If Val(GetVar(FileName, "CONFIG", "MapGrid")) = 0 Then
frmMapEditor.chkGrid.Value = 0
Else
frmMapEditor.chkGrid.Value = 1
End If
Else
Call PutVar(App.Path & "\config.ini", "UPDATER", "FileName", "Diamond.exe")
Call PutVar(App.Path & "\config.ini", "UPDATER", "WebSite", "")
Call PutVar(App.Path & "\config.ini", "IPCONFIG", "IP", "127.0.0.1")
Call PutVar(App.Path & "\config.ini", "IPCONFIG", "PORT", 4000)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Account", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "Password", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "WebSite", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "SpeechBubbles", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "EmoticonSound", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "NPCName", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "NPCDamage", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "PlayerName", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "PlayerDamage", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "MapGrid", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Music", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Sound", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "AutoScroll", 1)
End If
If FileExist("GUI\Colors.txt") = False Then
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "B", 120)
End If
Dim r1 As Long, g1 As Long, b1 As Long
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "B"))
frmMirage.txtChat.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "B"))
frmMirage.txtMyTextBox.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "B"))
frmMirage.Picture9.BackColor = RGB(r1, g1, b1)
frmMirage.Picture8.BackColor = RGB(r1, g1, b1)
frmMirage.picInv3.BackColor = RGB(r1, g1, b1)
frmMirage.itmDesc.BackColor = RGB(r1, g1, b1)
frmMirage.picWhosOnline.BackColor = RGB(r1, g1, b1)
frmMirage.picGuildAdmin.BackColor = RGB(r1, g1, b1)
frmMirage.picGuild.BackColor = RGB(r1, g1, b1)
frmMirage.picEquip.BackColor = RGB(r1, g1, b1)
frmMirage.picPlayerSpells.BackColor = RGB(r1, g1, b1)
frmMirage.picOptions.BackColor = RGB(r1, g1, b1)
frmMirage.chkbubblebar.BackColor = RGB(r1, g1, b1)
frmMirage.chkEmoSound.BackColor = RGB(r1, g1, b1)
frmMirage.chknpcname.BackColor = RGB(r1, g1, b1)
frmMirage.chkplayername.BackColor = RGB(r1, g1, b1)
frmMirage.chkplayerdamage.BackColor = RGB(r1, g1, b1)
frmMirage.chknpcdamage.BackColor = RGB(r1, g1, b1)
frmMirage.chkmusic.BackColor = RGB(r1, g1, b1)
frmMirage.chksound.BackColor = RGB(r1, g1, b1)
frmMirage.chkAutoScroll.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "B"))
frmMirage.lstSpells.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "B"))
frmMirage.lstOnline.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "B"))
frmMirage.lstFriend.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "B"))
frmNewChar.optMale.BackColor = RGB(r1, g1, b1)
frmNewChar.optFemale.BackColor = RGB(r1, g1, b1)
Call SetStatus("Checando Status do Servidor...")
DoEvents
' Make sure we set that we aren't in the game
InGame = False
GettingMap = True
InEditor = False
InSpeechEditor = False
InItemsEditor = False
InNpcEditor = False
InShopEditor = False
InEmoticonEditor = False
InArrowEditor = False
InSpawnEditor = False
frmMirage.picItems.Picture = LoadPicture(App.Path & "\GFX\items.bmp")
frmSpriteChange.Picsprites.Picture = LoadPicture(App.Path & "\GFX\sprites.bmp")
Call SetStatus("Inicializando Arquivos TCP...")
DoEvents
Call TcpInit
frmMainMenu.Visible = True
frmSendGetData.Visible = False
End Sub
depois procura por:
- Código:
Private Sub picLogin_Click()
mude para:
- Código:
Private Sub picLogin_Click()
Dim Packet As String
frmLogin.txtName.Text = Trim(GetVar(App.Path & "\config.ini", "CONFIG", "Account"))
frmLogin.txtPassword.Text = Trim(GetVar(App.Path & "\config.ini", "CONFIG", "Password"))
If Trim(frmLogin.txtPassword.Text) <> "" Then
frmLogin.Check1.Value = Checked
frmLogin.txtPassword.PasswordChar = "*"
Else
frmLogin.Check1.Value = Unchecked
frmLogin.txtPassword = "Password"
frmLogin.txtPassword.PasswordChar = ""
End If
If Trim(frmLogin.txtName.Text) = "" Then
frmLogin.txtName = "Username"
End If
frmLogin.Visible = True
Me.Visible = False
frmLogin.txtName.SetFocus
frmLogin.txtName.SelStart = Len(frmLogin.txtName.Text)
frmLogin.lblPlayers.Visible = True
frmLogin.lblPlayers.Caption = "Getting info..."
If ConnectToServer = True Then
'tmrInfo.Enabled = True
Packet = "getinfo" & END_CHAR
Call SendData(Packet)
frmLogin.lblOnOff.ForeColor = &HFF000
Else
'lblOnOff.Caption = "Offline"
'lblPlayers.Visible = False
frmLogin.lblOnOff.ForeColor = &HFF&
End If
End Sub
creio que depois dessa não vai dar erro
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
Vou Te Ensina
Procura Por
Agora Troque A Sub Main() Toda Ate O Final Dela Por:
Isso Que Ele Quiz Dizer Se Ajudei Da Credito A Mim e Ao Lucas
Procura Por
- Código:
Sub Main()
Agora Troque A Sub Main() Toda Ate O Final Dela Por:
- Código:
Sub Main()
Call MultiClient
Dim i As Long
Dim Ending As String
ScreenMode = 0
'If App.EXEName <> "DragonballRPG Online V2.0" Then Exit Sub
frmSendGetData.Visible = True
Call SetStatus("Checando Arquivos...")
DoEvents
' Check if the maps directory is there, if its not make it
If LCase(Dir(App.Path & "\Maps", vbDirectory)) <> "maps" Then
Call MkDir(App.Path & "\Maps")
End If
If UCase(Dir(App.Path & "\GFX", vbDirectory)) <> "GFX" Then
'Call MkDir(App.Path & "\GFX")
End If
If UCase(Dir(App.Path & "\GUI", vbDirectory)) <> "GUI" Then
Call MkDir(App.Path & "\GUI")
End If
If UCase(Dir(App.Path & "\Music", vbDirectory)) <> "MUSIC" Then
Call MkDir(App.Path & "\Music")
End If
If UCase(Dir(App.Path & "\SFX", vbDirectory)) <> "SFX" Then
Call MkDir(App.Path & "\SFX")
End If
If UCase(Dir(App.Path & "\Flashs", vbDirectory)) <> "FLASHS" Then
Call MkDir(App.Path & "\Flashs")
End If
Dim FileName As String
FileName = App.Path & "\config.ini"
If FileExist("config.ini") Then
frmMirage.chkbubblebar.Value = Val(GetVar(FileName, "CONFIG", "SpeechBubbles"))
frmMirage.chkEmoSound.Value = Val(GetVar(FileName, "CONFIG", "EmoticonSound"))
frmMirage.chknpcname.Value = Val(GetVar(FileName, "CONFIG", "NPCName"))
frmMirage.chkplayername.Value = Val(GetVar(FileName, "CONFIG", "PlayerName"))
frmMirage.chkplayerdamage.Value = Val(GetVar(FileName, "CONFIG", "NPCDamage"))
frmMirage.chknpcdamage.Value = Val(GetVar(FileName, "CONFIG", "PlayerDamage"))
frmMirage.chkmusic.Value = Val(GetVar(FileName, "CONFIG", "Music"))
frmMirage.chksound.Value = Val(GetVar(FileName, "CONFIG", "Sound"))
frmMirage.chkAutoScroll.Value = Val(GetVar(FileName, "CONFIG", "AutoScroll"))
If Val(GetVar(FileName, "CONFIG", "MapGrid")) = 0 Then
frmMapEditor.chkGrid.Value = 0
Else
frmMapEditor.chkGrid.Value = 1
End If
Else
Call PutVar(App.Path & "\config.ini", "UPDATER", "FileName", "Diamond.exe")
Call PutVar(App.Path & "\config.ini", "UPDATER", "WebSite", "")
Call PutVar(App.Path & "\config.ini", "IPCONFIG", "IP", "127.0.0.1")
Call PutVar(App.Path & "\config.ini", "IPCONFIG", "PORT", 4000)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Account", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "Password", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "WebSite", "")
Call PutVar(App.Path & "\config.ini", "CONFIG", "SpeechBubbles", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "EmoticonSound", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "NPCName", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "NPCDamage", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "PlayerName", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "PlayerDamage", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "MapGrid", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Music", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "Sound", 1)
Call PutVar(App.Path & "\config.ini", "CONFIG", "AutoScroll", 1)
End If
If FileExist("GUI\Colors.txt") = False Then
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "B", 120)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "R", 152)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "G", 146)
Call PutVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "B", 120)
End If
Dim r1 As Long, g1 As Long, b1 As Long
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATBOX", "B"))
frmMirage.txtChat.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "CHATTEXTBOX", "B"))
frmMirage.txtMyTextBox.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "BACKGROUND", "B"))
frmMirage.Picture9.BackColor = RGB(r1, g1, b1)
frmMirage.Picture8.BackColor = RGB(r1, g1, b1)
frmMirage.picInv3.BackColor = RGB(r1, g1, b1)
frmMirage.itmDesc.BackColor = RGB(r1, g1, b1)
frmMirage.picWhosOnline.BackColor = RGB(r1, g1, b1)
frmMirage.picGuildAdmin.BackColor = RGB(r1, g1, b1)
frmMirage.picGuild.BackColor = RGB(r1, g1, b1)
frmMirage.picEquip.BackColor = RGB(r1, g1, b1)
frmMirage.picPlayerSpells.BackColor = RGB(r1, g1, b1)
frmMirage.picOptions.BackColor = RGB(r1, g1, b1)
frmMirage.chkbubblebar.BackColor = RGB(r1, g1, b1)
frmMirage.chkEmoSound.BackColor = RGB(r1, g1, b1)
frmMirage.chknpcname.BackColor = RGB(r1, g1, b1)
frmMirage.chkplayername.BackColor = RGB(r1, g1, b1)
frmMirage.chkplayerdamage.BackColor = RGB(r1, g1, b1)
frmMirage.chknpcdamage.BackColor = RGB(r1, g1, b1)
frmMirage.chkmusic.BackColor = RGB(r1, g1, b1)
frmMirage.chksound.BackColor = RGB(r1, g1, b1)
frmMirage.chkAutoScroll.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "SPELLLIST", "B"))
frmMirage.lstSpells.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "WHOLIST", "B"))
frmMirage.lstOnline.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "FRIENDLIST", "B"))
frmMirage.lstFriend.BackColor = RGB(r1, g1, b1)
r1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "R"))
g1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "G"))
b1 = Val(GetVar(App.Path & "\GUI\Colors.txt", "NEWCHAR", "B"))
frmNewChar.optMale.BackColor = RGB(r1, g1, b1)
frmNewChar.optFemale.BackColor = RGB(r1, g1, b1)
Call SetStatus("Checando Status do Servidor...")
DoEvents
' Make sure we set that we aren't in the game
InGame = False
GettingMap = True
InEditor = False
InSpeechEditor = False
InItemsEditor = False
InNpcEditor = False
InShopEditor = False
InEmoticonEditor = False
InArrowEditor = False
InSpawnEditor = False
frmMirage.picItems.Picture = LoadPicture(App.Path & "\GFX\items.bmp")
frmSpriteChange.Picsprites.Picture = LoadPicture(App.Path & "\GFX\sprites.bmp")
Call SetStatus("Inicializando Arquivos TCP...")
DoEvents
Call TcpInit
frmMainMenu.Visible = True
frmSendGetData.Visible = False
End Sub
Isso Que Ele Quiz Dizer Se Ajudei Da Credito A Mim e Ao Lucas
DrayonDuarte- Membro
- Mensagens : 243
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
maano , tipo .
eu substitui tudo qe voce mando , certin .
ai na hr qe clico naqele 'play'
da isso :
oqe eu faço agora ? =/
eu substitui tudo qe voce mando , certin .
ai na hr qe clico naqele 'play'
da isso :
oqe eu faço agora ? =/
LuizP- Novato
- Mensagens : 29
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
--' recomendo que refaça seu projeto denovo --' o que era simples fico complicado
Re: [ERRO] Alguem me ajuda ? acho qe é simples :D
UIJSAUHSUAHS'
ook mano .
obrigado pela ajuda ai
vo te dar 2 creds
ook mano .
obrigado pela ajuda ai
vo te dar 2 creds
LuizP- Novato
- Mensagens : 29
Tópicos semelhantes
» me ajuda ai é coisa simples :D "eu acho "
» me ajuda aqui porfavor é coisa simples :)| eu acho
» alguem me ajuda com o erro
» Alguem me ajuda Erro Ao Compilar !
» ALGUEM ME AJUDA ! ERRO 6 OVERFLOW
» me ajuda aqui porfavor é coisa simples :)| eu acho
» alguem me ajuda com o erro
» Alguem me ajuda Erro Ao Compilar !
» ALGUEM ME AJUDA ! ERRO 6 OVERFLOW
MMORPG Brasil :: OPEN SOURCE ENGINES :: Outras Engines :: Elysium :: Suporte e Pedidos :: Assuntos resolvidos
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
Dom 08 Abr 2018, 18:40 por JorgeZinhoo002
» Ojkjeeeee
Seg 10 Out 2016, 23:19 por Frozen
» Naruto Great Ninja Batle
Dom 09 Out 2016, 14:29 por GuiinhoLP
» Recrutamento de um Designer para jogo de CDZ.
Sex 23 Set 2016, 18:37 por newbie123
» Serviços de suporte maker( Programação , Design , PixelArt ) E Vendas de Jogos
Qui 22 Set 2016, 20:11 por Eduardo
» Serviços de suporte maker( Programação , Design , PixelArt ) E Vendas de Jogos
Qui 22 Set 2016, 20:11 por Eduardo
» Serviços de suporte maker( Programação , Design , PixelArt ) E Vendas de Jogos
Qui 22 Set 2016, 20:09 por Eduardo
» Projeto Dbz
Qua 31 Ago 2016, 23:46 por 157
» Avaliação - Sprites Naruto
Qua 31 Ago 2016, 17:09 por 157
» [Sprites] DBZ (Plix)
Qua 31 Ago 2016, 14:13 por 157
» Super Pack - Bleach V.2
Qua 31 Ago 2016, 13:02 por 157
» [PEDIDO][PROJETO][RECRUTAMENTO] DYNISTYGAMES
Ter 30 Ago 2016, 10:04 por 157
» [PEDIDO][PROJETO][RECRUTAMENTO] DYNISTYGAMES
Ter 30 Ago 2016, 10:03 por 157
» [PEDIDO][PROJETO][RECRUTAMENTO] DYNISTYGAMES
Ter 30 Ago 2016, 10:02 por 157
» [Pedido] Contador de resets na FrmMain
Sáb 13 Ago 2016, 17:45 por killers97
» [Recrutamento]
Qua 10 Ago 2016, 23:09 por Monsters
» Ajuda erro no Cliente e Servidor do EEB 2.6!
Qua 20 Jul 2016, 19:53 por Binholx
» Como criar tilesets para Eclipse Origins 3.0 (POKÉMON)
Qua 29 Jun 2016, 19:46 por Sir Aaron
» Recursos Pokemons
Qua 29 Jun 2016, 19:34 por Sir Aaron
» erro frm flash
Qua 25 maio 2016, 13:51 por vava123
» Pedido - Pack de star wars
Qui 19 maio 2016, 05:06 por edsonpet
» [Ajuda] Sobre como por o servidor on por ip fixo
Ter 17 maio 2016, 16:14 por vava123
» Illusion Dimension - O Misterio do ID: BETA TESTE ONLINE
Sex 06 maio 2016, 20:02 por LksFlorencio
» [NSME] Naruto Shinobi Maker Engine
Qua 23 Mar 2016, 15:11 por luana1457
» Script /base,/casa Igual DBZ Forces
Dom 21 Fev 2016, 07:34 por JorgeZinhoo002
» [Pedido]Colar Tsunade item sprite eclipse origin
Qui 21 Jan 2016, 07:38 por lawllietbr
» [Pedido] Elysium
Sáb 19 Dez 2015, 11:31 por luana1457
» Naruto - Recruta
Ter 15 Dez 2015, 18:40 por Uchiha ~
» [Avaliação] - Kirito from Sword Art Online; Red and Pikachu from Pokemon.
Qua 25 Nov 2015, 13:43 por Thanakii
» [Avaliação] - Kenpachi Zaraki from Bleach; Libra Shiryu From Saint Seiya.
Qua 25 Nov 2015, 12:55 por Thanakii
» Demonstração de Sprites (Á VENDA!)
Qua 25 Nov 2015, 12:40 por Thanakii
» [Sistema de Reset]Para Eclipse .
Ter 24 Nov 2015, 16:51 por VithorUchi
» Cada Guild Nascer em Certo Mapa
Qui 12 Nov 2015, 06:13 por fabiofeijó_HIT
» Dragon Ball z Fusion A Grande Volta
Qui 29 Out 2015, 15:17 por fabiofeijó_HIT
» Ajuda com Ip fixo
Seg 26 Out 2015, 16:07 por GalaxyHells15
» Como Fazer um GUI no Eclipse Origins
Dom 18 Out 2015, 22:10 por Jeanleee
» Shisui Susanoo
Dom 18 Out 2015, 20:23 por Jeanleee
» Fantasy Art Online
Dom 18 Out 2015, 16:41 por daviih123
» Ajuda !!
Seg 05 Out 2015, 12:13 por andersonzika
» como passar o usuário e senha para o MainMenu?
Seg 28 Set 2015, 22:03 por Bëzerk
» Ru time ero 13 Type mismatch
Seg 28 Set 2015, 09:08 por andredarle
» Jarvis 1.3 Download
Qua 23 Set 2015, 18:42 por soares125
» [Avaliação/Disponibilização]Árvore 64x64
Qua 23 Set 2015, 15:15 por Over~
» Mlk's Zikas Signatures
Ter 22 Set 2015, 21:15 por Aikawa Reborn'
» Pedido de Sistemas
Dom 20 Set 2015, 18:05 por cleyton_05
» [AjudaEEB]Gerador de EXP
Qua 16 Set 2015, 14:04 por Over~
» [Avaliar] Base, Humano e Goblin.
Seg 14 Set 2015, 22:51 por .iBlaz3.
» Fabrica do Tio Cronos!
Dom 13 Set 2015, 21:31 por [ADM]Cronos
» [PixelArt] Minion - Meu malvado favorito
Dom 13 Set 2015, 12:51 por [ADM]Cronos
» [Avaliar] Goku Dragon Ball Z
Qua 05 Ago 2015, 21:36 por Setrux