Arena RPG Maker
Olá, visitante!
Seja bem-vindo ao fórum Arena RPG Maker, caso queira aprender sobre criação de jogos, está no fórum certo. Esperamos que possa aprender tanto quanto possa nos ensinar aqui.

Atenciosamente,
Equipe Arena RPG Maker.
Arena RPG Maker
Olá, visitante!
Seja bem-vindo ao fórum Arena RPG Maker, caso queira aprender sobre criação de jogos, está no fórum certo. Esperamos que possa aprender tanto quanto possa nos ensinar aqui.

Atenciosamente,
Equipe Arena RPG Maker.
Arena RPG Maker

Estamos de volta o/ ... Ou não.Eu amo a -Dark
Doações para o fórum abertas, clique aqui e saiba mais.
Últimos assuntos
» Ainda temos gente aqui?
Corrigindo erros da Party EmptyQui 25 Nov 2021, 14:04 por Halt

» [Dúvida] Como tirar a porcentagem de esquiva
Corrigindo erros da Party EmptySex 19 Nov 2021, 17:14 por Halt

» Pokémon Genesis Online! (PGO)
Corrigindo erros da Party EmptyQua 05 Jul 2017, 18:08 por Lexar

» Tileset Converter to MV
Corrigindo erros da Party EmptySex 12 maio 2017, 14:07 por Douggi

» Pack Resources, Sprites e etc
Corrigindo erros da Party EmptyQua 23 Dez 2015, 12:30 por raydengv

» Download RPG Maker 2003 + RTP em português
Corrigindo erros da Party EmptyTer 22 Dez 2015, 11:14 por ::KimMax::

» Fantasy Art Online
Corrigindo erros da Party EmptyDom 18 Out 2015, 18:42 por daviih123

» Você vai ter medo do Nerve gear?
Corrigindo erros da Party EmptySáb 25 Jul 2015, 17:02 por Kirito-kun

» O Barato é louco
Corrigindo erros da Party EmptySáb 27 Jun 2015, 16:26 por Halt

» Download RPG Maker 2000 + RTP em português
Corrigindo erros da Party EmptyQui 21 maio 2015, 20:28 por Wismael


Você não está conectado. Conecte-se ou registre-se

Ver o tópico anterior Ver o tópico seguinte Ir para baixo  Mensagem [Página 1 de 1]

1Tutorial Corrigindo erros da Party Sex 04 Jan 2013, 14:01

Halt

Halt
Administrador
Administrador
Valentine escreveu:Abra o Servidor

1 - No modHandleData, procure por:
Código:
Sub HandleAcceptParty

2 - Embaixo adicione:
Código:
    If Not IsConnected(TempPlayer(index).partyInvite) Or Not IsPlaying(TempPlayer(index).partyInvite) Then
        TempPlayer(index).partyInvite = 0
        Exit Sub
    End If

3 - Agora em modGameLogic, procure por:
Código:
Public Sub Party_PlayerLeave

4 - Substitua:
Código:
PartyMsg partyNum, GetPlayerName(i) & " is now the party leader.", BrightBlue

5 - Por:
Código:
PartyMsg partyNum, GetPlayerName(Party(partynum).Leader) & " is now the party leader.", BrightBlue

6 - Embaixo de:
Código:
                ' remove from array
                For i = 1 To MAX_PARTY_MEMBERS
                    If Party(partynum).Member(i) = index Then
                        Party(partynum).Member(i) = 0
                        Exit For
                    End If
                Next

7 - Adicione:
Código:
                TempPlayer(index).inParty = 0
                TempPlayer(index).partyInvite = 0

8 - Embaixo de:
Código:
                For i = 1 To MAX_PARTY_MEMBERS
                    If Party(partyNum).Member(i) = index Then
                        Party(partyNum).Member(i) = 0
                        Exit For
                    End If
                Next

9 - Adicione:
Código:
                TempPlayer(index).inParty = 0
                TempPlayer(index).partyInvite = 0

10 - Procure por:
Código:
Public Sub Party_InviteAccept

11 - Substitua:
Código:
Dim partynum As Long, i As Long

12 - Por:
Código:
Dim partynum As Long, i As Long, x As Long

13 - Substitua:
Código:
SendPartyVitals partyNum, targetPlayer

14 - Por:
Código:
                For x = 1 To MAX_PARTY_MEMBERS
                    If Party(partynum).Member(x) > 0 Then
                        SendPartyVitals partynum, Party(partynum).Member(x)
                    End If
                Next

15 - Embaixo de:
Código:
PlayerMsg targetPlayer, "Party is full.", BrightRed

16 - Adicione:
Código:
TempPlayer(targetPlayer).partyInvite = 0

17 - Procure por:
Código:
Public Sub Party_ShareExp

18 - Embaixo de:
Código:
Dim expShare As Long, leftOver As Long, i As Long, tmpIndex As Long

19 - Adicione:
Código:
If Party(partynum).MemberCount <= 0 Then Exit Sub

Créditos:
Valentine

https://arenarpgmaker.forumeiros.com

Ver o tópico anterior Ver o tópico seguinte Ir para o topo  Mensagem [Página 1 de 1]

Permissões neste sub-fórum
Não podes responder a tópicos