Universo Games
Ola , Convidado
Você ainda não e cadastrado então cadastre-se e veja todas as atualizações no Mundo RPG!!!
Universo Games
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.
Universo Games
Suporte e Desenvolvimento só no Universo Games
Início
Portal
Eventos
Publicações
Últimas imagens
Registar
Entrar
Ola Convidado, Seja Bem vindo a equipe lhe deseja boa sorte no seu projeto!
Universo Games
::
Criação de Jogos
::
Elysium Diamond
::
Tutoriais
Pondo a frmSpellEditor para text!
Autor
Mensagem
Convidado
Convidado
Assunto: Pondo a frmSpellEditor para text!
Sáb 25 Jun 2011, 11:57
Começando
Antes de tudo vamos baixar a frmSpellEditor para ficar mais facil
Client~Side
Procure por:
Código:
Public Sub SpellEditorInit()
Dim I As Long
frmSpellEditor.cmbClassReq.AddItem "Todas as Classes"
For I = 1 To Max_Classes
frmSpellEditor.cmbClassReq.AddItem Trim(Class(I).Name)
Next I
frmSpellEditor.txtName.Text = Trim(Spell(EditorIndex).Name)
frmSpellEditor.cmbClassReq.ListIndex = Spell(EditorIndex).ClassReq
frmSpellEditor.scrlLevelReq.Value = Spell(EditorIndex).LevelReq
frmSpellEditor.cmbType.ListIndex = Spell(EditorIndex).Type
frmSpellEditor.scrlVitalMod.Value = Spell(EditorIndex).Data1
frmSpellEditor.scrlCost.Value = Spell(EditorIndex).MPCost
frmSpellEditor.scrlSound.Value = Spell(EditorIndex).Sound
If Spell(EditorIndex).Range = 0 Then Spell(EditorIndex).Range = 1
frmSpellEditor.scrlRange.Value = Spell(EditorIndex).Range
frmSpellEditor.scrlSpellAnim.Value = Spell(EditorIndex).SpellAnim
frmSpellEditor.scrlSpellTime.Value = Spell(EditorIndex).SpellTime
frmSpellEditor.scrlSpellDone.Value = Spell(EditorIndex).SpellDone
frmSpellEditor.chkArea.Value = Spell(EditorIndex).AE
frmSpellEditor.Show vbModal
End Sub
Mude para:
Código:
Public Sub SpellEditorInit()
Dim I As Long
frmSpellEditor.cmbClassReq.AddItem "Todas as Classes"
For I = 1 To Max_Classes
frmSpellEditor.cmbClassReq.AddItem Trim(Class(I).Name)
Next I
frmSpellEditor.txtName.Text = Trim(Spell(EditorIndex).Name)
frmSpellEditor.cmbClassReq.ListIndex = Spell(EditorIndex).ClassReq
frmSpellEditor.scrlLevelReq.Text = Spell(EditorIndex).LevelReq
frmSpellEditor.cmbType.ListIndex = Spell(EditorIndex).Type
frmSpellEditor.scrlVitalMod.Text = Spell(EditorIndex).Data1
frmSpellEditor.scrlCost.Text = Spell(EditorIndex).MPCost
frmSpellEditor.scrlSound.Text = Spell(EditorIndex).Sound
If Spell(EditorIndex).Range = 0 Then Spell(EditorIndex).Range = 1
frmSpellEditor.scrlRange.Text = Spell(EditorIndex).Range
frmSpellEditor.scrlSpellAnim.Text = Spell(EditorIndex).SpellAnim
frmSpellEditor.scrlSpellTime.Text = Spell(EditorIndex).SpellTime
frmSpellEditor.scrlSpellDone.Text = Spell(EditorIndex).SpellDone
frmSpellEditor.chkArea.Value = Spell(EditorIndex).AE
frmSpellEditor.Show vbModal
End Sub
Procure por:
Código:
Public Sub SpellEditorOk()
Spell(EditorIndex).Name = frmSpellEditor.txtName.Text
Spell(EditorIndex).ClassReq = frmSpellEditor.cmbClassReq.ListIndex
Spell(EditorIndex).LevelReq = frmSpellEditor.scrlLevelReq.Value
Spell(EditorIndex).Type = frmSpellEditor.cmbType.ListIndex
Spell(EditorIndex).Data1 = frmSpellEditor.scrlVitalMod.Value
Spell(EditorIndex).Data3 = 0
Spell(EditorIndex).MPCost = frmSpellEditor.scrlCost.Value
Spell(EditorIndex).Sound = frmSpellEditor.scrlSound.Value
Spell(EditorIndex).Range = frmSpellEditor.scrlRange.Value
Spell(EditorIndex).SpellAnim = frmSpellEditor.scrlSpellAnim.Value
Spell(EditorIndex).SpellTime = frmSpellEditor.scrlSpellTime.Value
Spell(EditorIndex).SpellDone = frmSpellEditor.scrlSpellDone.Value
Spell(EditorIndex).AE = frmSpellEditor.chkArea.Value
Call SendSaveSpell(EditorIndex)
InSpellEditor = False
Unload frmSpellEditor
End Sub
Mude para:
Código:
Public Sub SpellEditorOk()
Spell(EditorIndex).Name = frmSpellEditor.txtName.Text
Spell(EditorIndex).ClassReq = frmSpellEditor.cmbClassReq.ListIndex
Spell(EditorIndex).LevelReq = frmSpellEditor.scrlLevelReq.Text
Spell(EditorIndex).Type = frmSpellEditor.cmbType.ListIndex
Spell(EditorIndex).Data1 = frmSpellEditor.scrlVitalMod.Text
Spell(EditorIndex).Data3 = 0
Spell(EditorIndex).MPCost = frmSpellEditor.scrlCost.Text
Spell(EditorIndex).Sound = frmSpellEditor.scrlSound.Text
Spell(EditorIndex).Range = frmSpellEditor.scrlRange.Text
Spell(EditorIndex).SpellAnim = frmSpellEditor.scrlSpellAnim.Text
Spell(EditorIndex).SpellTime = frmSpellEditor.scrlSpellTime.Text
Spell(EditorIndex).SpellDone = frmSpellEditor.scrlSpellDone.Text
Spell(EditorIndex).AE = frmSpellEditor.chkArea.Value
Call SendSaveSpell(EditorIndex)
InSpellEditor = False
Unload frmSpellEditor
End Sub
Procure por:
Código:
SpellDone = scrlSpellDone.Value
SpellAnim = scrlSpellAnim.Value
SpellTime = scrlSpellTime.Value
Mude para:
Código:
SpellDone = scrlSpellDone.Text
SpellAnim = scrlSpellAnim.Text
SpellTime = scrlSpellTime.Text
Creditos
Ricardo XD
Pondo a frmSpellEditor para text!
Página
1
de
1
Permissões neste sub-fórum
Não podes responder a tópicos
Universo Games
::
Criação de Jogos
::
Elysium Diamond
::
Tutoriais
Universo Games
::
Criação de Jogos
::
Elysium Diamond
::
Tutoriais
Ir para:
Selecionar um fórum
|
|--Universo Games MMO
| |--Regras Gerais
| |--O fórum
| |--Criticas e Sugestões
|
|--Criação de Jogos
| |--Eclipse
| | |--Duvida
| | | |--Duvidas Resolvidas
| | |
| | |--Tutoriais
| | | |--Tutoriais Aprovados
| | | |--Scripts
| | |
| | |--Utilitários
| |
| |--Elysium Diamond
| | |--Duvida
| | | |--Duvidas Resolvidas
| | |
| | |--Tutoriais
| | | |--Tutoriais Aprovados
| | |
| | |--Utilitários
| |
| |--Eclipse Origens
| | |--Duvida
| | | |--Duvidas Resolvidas
| | |
| | |--Tutorias
| | | |--Tutorias Aprovados
| | |
| | |--Utilitários
| |
| |--Outras Engines
|
|--Projetos
| |--Projetos em Desenvolvimento
| |--Jogos Completos
| |--Recrutamento
|
|--Recursos
| |--Disponibilização
|
|--Centro de Aprendizagem
| |--Artes visuais
| | |--Desing
| | |--Pixel Art
| |
| |--Mapeamento
| |--Roteiros e histórias
| |--Sonoplastia
| |--Programação
| | |--Visual basic 6
| | |--Visual Studio .NET
| | |--SQL Basic
| | |--Borland Delphi
| | |--C/C#/C++
| |
| |--Apostilas
|
|--Tutoriais/Recursos Graficos
| |--Recursos Graficos
| |--Tutoriais
| |--PhotoShop
| |--Flash
| |--Fireworks
| |--Dreamweaver
| |--PHP
| |--html
|
|--Off topic
|--Off topic