Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

zenmen

Members
  • Posts

    66
  • Joined

  • Last visited

    Never

Posts posted by zenmen

  1. Great so far! Thanks!

    What u think about alpha channel? : D dd Edit
    And i have a question, how to select 32x32 sprite? i cant resize this blue frame..

    Link: http://s6.ifotos.pl/img/falePNG_rsxwphp.PNG
  2. Lolol, sorry but:

    > "If you don't f*ck a cow you will never be a real man"

    > You are wrong !

    Joost say:

    > If you're trying to make your own MMORPG without at least looking at WoW I can guarantee you you will do a shit job at it.

    True. and no matter how hate you Wow. if you're self-respecting game developer than u must granted him the truth. there is nothing worse for the game developer rather than ignorance of success than other titles.
  3. Joost, what about this code?

    ```
        With Health_Bar

                If Player.Stats.Total_Health <> 0 Then HP = (Player.Stats.Current_Health / Player.Stats.Total_Health) * .Frame_Size.Bottom

    Vertex_List(0) = Create_TLVertex(.X + .Frame_Size.Left, .Y + .Frame_Size.Top, 0, 1,  D3DColorRGBA(255, 255, 255, 255), 0, 0, 0)

    Vertex_List(1) = Create_TLVertex(.X + .Frame_Size.Left, .Y + HR, 0, 1, D3DColorRGBA(255, 255, 255, 255), 0, 0, 1)

        End With
    ```
    Its something change?
  4. Thank you! But.. (yeah thats only me..) i have got some error (ofcoure i add all Publics etc in modGlobals and frmMain):

    Link: ![](http://s6.ifotos.pl/img/errorPNG_renxwnq.PNG)

    And there is some bugs:

    > HpTop = ImgHPBar.Top
    > HpHeight = Im**p**HpBar.Height
    > HpOffSet = HpHeight - HpTop

    and parentheses but I do not know how they should be:

    > Percentage = (GetPlayerVital(MyIndex, Vitals.HP / GetPlayerMaxVital(MyIndex, Vitals.HP)**))**
    > ImgHpBar.Top = HpTop + (HpOffSet * Percentage)
    > ImgHpBar.Height = HpHeight - (HPOffset * Percentage)

    or:

    > Percentage = (GetPlayerVital(MyIndex, Vitals.HP**)** / GetPlayerMaxVital(MyIndex, Vitals.HP)**)**
    > ImgHpBar.Top = HpTop + (HpOffSet * Percentage)
    > ImgHpBar.Height = HpHeight - (HPOffset * Percentage)

    I really thank you for your help!  :embarrassed:
  5. How can I do that when I click on the graphics ladder moved me to another map? I would like for each ladder define another map. Similarly, with holes in the ground, and after entering it we were moving to another location. How should the code look like? Maybe on the forum is some tutorial for it?
  6. That is, You will try to help me (read - do it for me ^ ^)? Unfortunately I do not know much about programming, so or I find a ready-made solution, or the GUI to be thrown away : P

    Anyway, now I thank you for the above help! :)
  7. Now i dont see my bitmap of ImgHPBar.

    > If GetPlayerMaxVital(MyIndex, Vitals.HP) > 0 Then
    >         'frmMain.lblHP.Caption = Int(GetPlayerVital(MyIndex, Vitals.HP) / GetPlayerMaxVital(MyIndex, Vitals.HP) * 100) & "%"
    >         frmMain.lblHP.Caption = GetPlayerVital(MyIndex, Vitals.HP) & "/" & GetPlayerMaxVital(MyIndex, Vitals.HP)
    >         ' hp bar
    >         frmMain.ImgHPBar.top = ((GetPlayerVital(MyIndex, Vitals.HP) / frmMain.ImgHPBar.top) / (GetPlayerMaxVital(MyIndex, Vitals.HP) / frmMain.ImgHPBar.top)) * frmMain.ImgHPBar.top + 589
    >     End If
    >
    >     ' Error handler
    >     Exit Sub
    > errorhandler:
    >     HandleError "HandlePlayerHP", "modHandleData", Err.Number, Err.Description, Err.Source, Err.HelpContext
    >     Err.Clear
    >     Exit Sub
    >     End Sub
  8. I dont understand:

    > and fill in *insert ur thing* with the .Top of your frmMain.ImgHPBar.

    How it must look? You mean "frmMain.ImgHPBar.top + HPBar_Height" ?

    But if i do that with this code its nothing change, still the same what is on the screen.
  9. ```
    Private Sub HandlePlayerHp(ByVal Index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)
    Dim Buffer As clsBuffer

        ' If debug mode, handle error then exit out
        If Options.Debug = 1 Then On Error GoTo errorhandler

        Set Buffer = New clsBuffer
        Buffer.WriteBytes Data()
        Player(MyIndex).MaxVital(Vitals.HP) = Buffer.ReadLong
        Call SetPlayerVital(MyIndex, Vitals.HP, Buffer.ReadLong)

        If GetPlayerMaxVital(MyIndex, Vitals.HP) > 0 Then
            'frmMain.lblHP.Caption = Int(GetPlayerVital(MyIndex, Vitals.HP) / GetPlayerMaxVital(MyIndex, Vitals.HP) * 100) & "%"
            frmMain.lblHP.Caption = GetPlayerVital(MyIndex, Vitals.HP) & "/" & GetPlayerMaxVital(MyIndex, Vitals.HP)
            ' hp bar
            frmMain.ImgHPBar.height = ((GetPlayerVital(MyIndex, Vitals.HP) / HPBar_Height) / (GetPlayerMaxVital(MyIndex, Vitals.HP) / HPBar_Height)) * HPBar_Height
        End If

        ' Error handler
        Exit Sub
    errorhandler:
        HandleError "HandlePlayerHP", "modHandleData", Err.Number, Err.Description, Err.Source, Err.HelpContext
        Err.Clear
        Exit Sub
    End Sub
    ```
  10. Hey! How to fix this issue? I want my HPBar load from the bottom to the top, not like now, from top to bottom ..

    Scree: ![](http://s6.ifotos.pl/img/hpzleladu_rexqanh.PNG)

    How to fix it?
  11. Jaxx, can i please some list of all changed functions and bug fixes if you remember it? I want do some changes but i dont know what exactly is done : D I got your list from 1st page of this topic but you tell about some bug fixes.. for example walk bug for lightning pet system is fixed or not? etc. : D
×
×
  • Create New...