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

Joost

Members
  • Posts

    224
  • Joined

  • Last visited

    Never

Posts posted by Joost

  1. @‭‭‭Marsh:

    > I want to make it more obvious that this is ready to use engine. The main page does not make that inherently apparent. I also want to release the source and compiled as two separate versions to be more helpful to newbs. The extras section will get a upgrade. Any advice is welcome. I will see what Socuine wants to do and figure out a gameplan.

    Focus on the closed source aspect like you say, offer demo content either in the form of youtube vids or online games. Average person will spend roughly 5 seconds on this site to determine whether this is the thing they want to use or not.
  2. Most people here aren't allowed to host a server using their internet but they do it anyway. Your ISP won't even notice it, and if they will they won't shut you down randomly.
  3. If your dps classes oneshot tank classes then your balance is indeed fucked up on a large scale. Balancing PVP while keeping PVE balanced is a near impossible task though.
  4. You're not going to find any links/guides/references to sadscript anywhere except PW/Elysium/Eclipse pretty much, it is the same syntax and you should have no problem editing most of the code

    When it comes to winsock and graphics, that's all new. I think there are tuturoals on how to blt things and how to send packets, you should try to find those. Besides that, if you know sadscripting you should be able to read code no problem, so just go over the code and tuts.
  5. ```
        If n <> index Then
            If n > 0 Then
                Call SetPlayerVital(n, Vitals.HP, GetPlayerMaxVital(n, Vitals.HP))
                Call SetPlayerVital(n, Vitals.MP, GetPlayerMaxVital(n, Vitals.MP))
                Call SendVital(n, Vitals.HP)
                Call SendVital(n, Vitals.MP)
                Call PlayerMsg(n, "You Feel Refreshed.", BrightBlue)
                Call AddLog("You Healed" & GetPlayerName(n) & ".", ADMIN_LOG)
            Else
                Call PlayerMsg(index, "Player is not online.", White)
            End If
        Else
                Call SetPlayerVital(n, Vitals.HP, GetPlayerMaxVital(n, Vitals.HP))
                Call SetPlayerVital(n, Vitals.MP, GetPlayerMaxVital(n, Vitals.MP))
                Call SendVital(n, Vitals.HP)
                Call SendVital(n, Vitals.MP)
                Call PlayerMsg(n, "You Feel Refreshed.", BrightBlue)
                Call AddLog("You Healed" & GetPlayerName(n) & ".", ADMIN_LOG)
        End If

    ```
    This is the same thing with less lines of code
    ```
            If n > 0 Then
                Call SetPlayerVital(n, Vitals.HP, GetPlayerMaxVital(n, Vitals.HP))
                Call SetPlayerVital(n, Vitals.MP, GetPlayerMaxVital(n, Vitals.MP))
                Call SendVital(n, Vitals.HP)
                Call SendVital(n, Vitals.MP)
                Call PlayerMsg(n, "You Feel Refreshed.", BrightBlue)
                Call AddLog("You Healed" & GetPlayerName(n) & ".", ADMIN_LOG)
            Else
                Call PlayerMsg(index, "Player is not online.", White)
            End If

    ```
  6. ```
        ' Restore vitals
        Call SetPlayerVital(index, Vitals.HP, GetPlayerMaxVital(index, Vitals.HP))
        Call SetPlayerVital(index, Vitals.MP, GetPlayerMaxVital(index, Vitals.MP))
        Call SendVital(index, Vitals.HP)
        Call SendVital(index, Vitals.MP)
        ' send vitals to party if in one
        If TempPlayer(index).inParty > 0 Then SendPartyVitals TempPlayer(index).inParty, index

    ```How about that?
  7. ```
    Sub SetPlayerVital(ByVal index As Long, ByVal Vital As Vitals, ByVal Value As Long)

    Function GetPlayerMaxVital(ByVal index As Long, ByVal Vital As Vitals) As Long

    ```Check those out.
  8. I like your current method a lot more than the old one, the date method is how I would've done it. However, I'd still loop through all the online players at 12:00 each night to weed out people with expired subs, since technically as long as they dont log out the sub will continue.
  9. you realize that unless there are actually 100 players online, it doesn't really matter what the max player is set to since all loops loop to high_index and not to the max amount of ppl online
  10. Netgore's community may not be active, but that's mainly because it's a pain in the ass to get it to work compared to Eclipse. However, pretty much everything from networking to graphics engine is done much better by someone who is a really good programmer.
×
×
  • Create New...