Aldeia RPG

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Suporte ao desenvolvimento de jogos


2 participantes

    Liberando + Pts por STATS

    skyaway
    skyaway
    Banido
    Banido


    Mensagens : 16
    Créditos : 16

    Liberando + Pts por STATS Empty Liberando + Pts por STATS

    Mensagem por skyaway Ter Fev 14, 2012 2:32 pm

    No Client~Side procure por:

    Código:
    If GetPlayerStat(Index, x) < 255 Then

    ou

    Código:
    If GetPlayerStat(Index, x) < 250 Then

    e mude para:

    Código:
    If GetPlayerStat(Index, x) < MAX_LONG Then

    dps procure por:

    Código:
    If Index > MAX_PLAYERS Then Exit Sub
        If Value <= 0 Then Value = 1
        If Value > MAX_BYTE Then Value = MAX_BYTE
        Player(Index).Stat(Stat) = Value

    e mude para:

    Código:
    If Index > MAX_PLAYERS Then Exit Sub
        If Value <= 0 Then Value = 1
        If Value > MAX_LONG Then Value = MAX_LONG
        Player(Index).Stat(Stat) = Value

    dps na Private Type PlayerRec procure por:

    Código:
    Stat(1 To Stats.Stat_Count - 1) As Byte

    e mude para:

    Código:
    Stat(1 To Stats.Stat_Count - 1) As Long

    Client~Side terminado, agora no Server~Side procure por:

    Código:
    If GetPlayerRawStat(Index, PointType) >= 255 Then

    ou

    Código:
    If GetPlayerRawStat(Index, PointType) >= 250 Then

    e mude para:

    Código:
    If GetPlayerRawStat(Index, PointType) >= MAX_LONG Then

    Agora no final da modConstants adicione:

    Código:
    'values
    Public Const MAX_BYTE As Byte = 255
    Public Const MAX_INTEGER As Integer = 32767
    Public Const MAX_LONG As Long = 2147483647

    dps na Private Type PlayerRec procure por:

    Código:
    Stat(1 To Stats.Stat_Count - 1) As Byte

    e mude para:

    Código:
    Stat(1 To Stats.Stat_Count - 1) As Long
    Acabou ;D



    Creditos : SkyAway , Por Postar Aqui pra vocês





    GOSTOU DA + 1 CRED Só CLICAR NO + ALI DO LADO >>>>>


    _________________
    É Meu Fan ? Me Odeia ? Me Ama ? Então usa isso !!!
    Liberando + Pts por STATS NbECx
    thales12
    thales12
    Membro de Honra
    Membro de Honra


    Mensagens : 322
    Créditos : 108

    Ficha do personagem
    Nível: 1
    Experiência:
    Liberando + Pts por STATS Left_bar_bleue0/0Liberando + Pts por STATS Empty_bar_bleue  (0/0)
    Vida:
    Liberando + Pts por STATS Left_bar_bleue30/30Liberando + Pts por STATS Empty_bar_bleue  (30/30)

    Liberando + Pts por STATS Empty Re: Liberando + Pts por STATS

    Mensagem por thales12 Ter Fev 14, 2012 6:41 pm

    CREDITOS MEUS ! '-'

    E EU JA POSTEI AKI

    STAFF TRANCAR E MOVER A LIXEIRA OU DELETAR O TOPICO


    _________________
    Meu fã ? Meu Amigo ? Entao Use !

    Liberando + Pts por STATS Thalesfan
    Liberando + Pts por STATS Mv0yg8

    Minha Sign:

    Liberando + Pts por STATS Zkqt5e

      Data/hora atual: Qui maio 02, 2024 2:48 am