Universo Games
Ola , Convidado

Case Without Select case oque fazer? Logo1110

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ícioInício  PortalPortal  EventosEventos  PublicaçõesPublicações  Últimas imagensÚltimas imagens  RegistarRegistar  EntrarEntrar  
Ola Convidado, Seja Bem vindo a equipe lhe deseja boa sorte no seu projeto!

 

 Case Without Select case oque fazer?

Ir para baixo 
AutorMensagem
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 20:36

Linha: Case "tssj2"


Última edição por RenanR em Qui 10 Nov 2011, 19:34, editado 2 vez(es) (Motivo da edição : Icone errado '-')
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 20:44

VocÊ nao declarou a case
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 20:47

é da trans por foto
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]
olha o ultimo cod do sv side
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:26

Sky não abre esta spoiler
Spoiler:

Bom meu caro voltando ao assunto esta dando erro porque você deve ter aumentado as Transformações mais esqueçeu de aumentar o End If
Ir para o topo Ir para baixo
Lucas Roberto
Administrador
Administrador
Lucas Roberto


Mensagens : 711

Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:28

Calma GameOver não vamos perder a cultura...

como GameOver disse você teve ter aumentado as transf e esqueçido do End If
Ir para o topo Ir para baixo
https://universogamesmmo.forumeiros.com
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:31

GameOver se e um Filho da Put, Disgraçado, aqui o Vai toma no seu ku, ja to no estresse
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:32

kkk que cara feio alem de burro não saber programar ainda tem um portugues errado tenso....

[Lucas Roberto não bani este cara deixa ele ai fazendo este grande favor deixa eu tirar um onda com a cara dele]

ai Sky me ensina a declara uma case

Olha ve se ta certo

Código:
Dim Case as Long ?

saiuhuahsuahsuahsuashua
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:40

Código:
 Case "tnormal"
If GetPlayerClass(Index) = 1 Then
If GetPlayerSprite(Index) = 0 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 35 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) * 1)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 1)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) * 1)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) * 1)
ElseIf GetPlayerSprite(Index) = 36 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) * 1)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 1)
ElseIf GetPlayerSprite(Index) = 161 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) * 1)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 1)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) * 1)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) * 1)
ElseIf GetPlayerSprite(Index) = 160 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) * 1)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 1)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) * 1)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) * 1)
End If
Call SetPlayerSprite(Index, 0)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerSprite(Index) = 11 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) * 1)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 1)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) * 1)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) * 1)
ElseIf GetPlayerSprite(Index) = 21 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) * 1)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 1)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) * 1)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) * 1)
ElseIf GetPlayerSprite(Index) = 31 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) * 1)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 1)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) * 1)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) * 1)
End If
Call SetPlayerSprite(Index, 1)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If

Call SavePlayer(Index)
Exit Sub


Case "tssj"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 10)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não level para se transformar!", BrightBlue)
End If
Else
If GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 0 Then
Call SetPlayerSprite(Index, 11)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If

Call SavePlayer(Index)
Exit Sub

Case "tssj2"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 20)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 3)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 3)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 2!", Yellow, 0)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não level para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 0 Then
Call SetPlayerSprite(Index, 21)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 3)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 3)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 2!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else

'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If

Call SavePlayer(Index)
Exit Sub

Case "tssj3"
If GetPlayerAccess(MyIndex) = 1 Then
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 30)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 4)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 4)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else
If GetPlayerAccess(MyIndex) = 1 Then
If GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 0 Then
Call SetPlayerSprite(Index, 31)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 4)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 4)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você precisa ser VIP Light!", BrightBlue)
End If
End If
Else
'Aqui é a classe 3, que no caso do tuto, não tem transformação (também não tem para vegeta D:)
Exit Sub
End If

Call SavePlayer(Index)
Exit Sub

Case "tssj4"
If GetPlayerAccess(MyIndex) = 2 Then
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 40)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 5)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 5)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você precisa ser VIP Full!", BrightBlue)
End If
End If
Else
If GetPlayerAccess(MyIndex) = 2 Then
If GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 1 Then
If GetPlayerSprite(Index) = 0 Then
Call SetPlayerSprite(Index, 31)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 5)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 5)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Voce precisa ser VIP Full!", BrightBlue)
End If
End If
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If

Call SavePlayer(Index)
Exit Sub
Vejao ae
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:43

ai amigo desculpe pelo transtorno aqui em seu post mais que aquele RicardoxD torro minha paciencias bom...

simples onde esta

Código:
Exit Sub
End If

coloque mais um End If bom em todos vai aumentado

a e outra não aconselho a usar duplicação não bug

a você esta duplicando muito *4 tipo se voce tinha 1milhão vai chegar a 4 Oo
muita coisa...
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:47

game over agr da end if without block end if
Ir para o topo Ir para baixo
Lucas Roberto
Administrador
Administrador
Lucas Roberto


Mensagens : 711

Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyTer 05 Jul 2011, 21:56

vai colocando end if em todas case
Ir para o topo Ir para baixo
https://universogamesmmo.forumeiros.com
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyQua 06 Jul 2011, 00:45

Gente vamos ter calma e tranquilidade,rlxa e curte a vida [Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem].
Aproposito o icone estava errado Wink.
Arrumado.

kkkkkkk Pode ser GameOver testa ai [Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem]
Spoiler:

Att.Teteu
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyQua 06 Jul 2011, 07:45

alguem pode posta o cod arrumado?
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyQua 06 Jul 2011, 14:05

'-' cara ja demos o erro arrumado
'-'

me passa quantas trans quer e quantas classes são '-'
Ir para o topo Ir para baixo
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyQua 06 Jul 2011, 14:38

quero 4 e 5, 4 pra classe que só tem 4 trans no anime e 5 para as que tem 5 no anime.
sao 11 classes:
Goku classe1: 5 trans
Vegeta classe2: 5 trans
kuririn classe3: 4 trans
Freeza classe4: 5 trans
Cell classe5: 4 trans
Raditz Classe6: 5 trans
Majin Boo Classe7: 5 Trans
Gogeta classe8: 4 trans
Brolly classe 9: 5 trans
Gotenks classe10: 5 trans
Trunks classe11: 4 trans
todas com o 1 trans normal.
obs:o goku eu tive que pular o ssj1 pra ssj3 pra dar 5 certo
Ir para o topo Ir para baixo
Lucas Roberto
Administrador
Administrador
Lucas Roberto


Mensagens : 711

Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyQua 06 Jul 2011, 14:56

Nossa e muita coisa.... duvido que o GameOver vai pegar para fazer do geito que ele e preguisozo
Ir para o topo Ir para baixo
https://universogamesmmo.forumeiros.com
Convidado
Convidado
Anonymous



Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyQui 07 Jul 2011, 15:07

ja resolvi pode da close
Ir para o topo Ir para baixo
Lucas Roberto
Administrador
Administrador
Lucas Roberto


Mensagens : 711

Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? EmptyQui 07 Jul 2011, 15:20

Topico Trancado e Resolvido
Ir para o topo Ir para baixo
https://universogamesmmo.forumeiros.com
Conteúdo patrocinado





Case Without Select case oque fazer? Empty
MensagemAssunto: Re: Case Without Select case oque fazer?   Case Without Select case oque fazer? Empty

Ir para o topo Ir para baixo
 
Case Without Select case oque fazer?
Ir para o topo 
Página 1 de 1
 Tópicos semelhantes
-
» O que o PHP pode fazer?
» Não da pra fazer o download
» como fazer arquivos necessarios
» Nicholas, Encinando fazer Café Cremoso! kkkkkkk
» Como fazer seu habbo privado com wired, futebol, pets e tudo 100%

Permissões neste sub-fórumNão podes responder a tópicos
Universo Games :: Criação de Jogos :: Elysium Diamond :: Duvida :: Duvidas Resolvidas-
Ir para: