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

GM HaLT

Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Posts posted by GM HaLT

  1. Well, I'm not sure if that's the correct section…

    Can I use Silver/Gold hosting package for host my CS:DE game? If yes, the price don't change?

    My project isn't done yet, but it'll be done next year probably and I'm already searching for good game hosting services.

    Thanks in advance,

    Halt.
  2. For add more than 255, this tutorial is for EO 2.0 but maybe this works in EO 3.0 too. However, make an backup of your game before start.

    In Client side search:

    ```
    If GetPlayerStat(Index, x) < 255 Then
    ```

    or

    ```
    If GetPlayerStat(Index, x) < 250 Then
    ```

    and change for:

    ```
    If GetPlayerStat(Index, x) < MAX_LONG Then
    ```

    after search for:

    ```
    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
    ```

    and change for:

    ```
    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
    ```

    In **Private Type PlayerRec** search for:

    ```
    Stat(1 To Stats.Stat_Count - 1) As Byte
    ```

    And change for:

    ```
    Stat(1 To Stats.Stat_Count - 1) As Long
    ```

    **Client~Side** finished, now in the **Server~Side** search for:

    ```
    If GetPlayerRawStat(Index, PointType) >= 255 Then
    ```

    or

    ```
    If GetPlayerRawStat(Index, PointType) >= 250 Then
    ```

    and change for:

    ```
    If GetPlayerRawStat(Index, PointType) >= MAX_LONG Then
    ```

    Now in the end of modConstants add:

    ```
    'values
    Public Const MAX_BYTE As Byte = 255
    Public Const MAX_INTEGER As Integer = 32767
    Public Const MAX_LONG As Long = 2147483647
    ```

    After in **Private Type PlayerRec** search for:

    ```
    Stat(1 To Stats.Stat_Count - 1) As Byte
    ```

    and change for:

    ```
    Stat(1 To Stats.Stat_Count - 1) As Long
    ```

    It's done.

    I translated it from this site: [http://aldeiarpgbr.forumeiros.com/t3054-add-mais-de-255-em-1-stat](http://aldeiarpgbr.forumeiros.com/t3054-add-mais-de-255-em-1-stat)
  3. Hello,

    There is some thing about change exp rate(eg. 2x, 3x) of the game using Admin Panel or server? I searched it and don't found, and if don't has this option in the engine I would like to suggest the development team to implement it to the engine if possible…

    Bye ;)
×
×
  • Create New...