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

Quartz

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Posts posted by Quartz

  1. While adding

    > ' Anim every 1 sec
    >           If Tick > Anim Then
    >             Anim = GetTickCount + 1000
    >             For mapNum = 1 To MAX_MAPS
    >                 For x1 = 0 To Map(mapNum).MaxX
    >                     For y1 = 0 To Map(mapNum).MaxY
    >                         If Map(mapNum).Tile(x1, y1).Type = TILE_TYPE_ANIMATION Then
    >                             For playerNumber = 1 To Player_HighIndex
    >                                 If IsPlaying(playerNumber) Then
    >                                     If GetPlayerMap(playerNumber) = mapNum Then
    >                                         SendAnimation mapNum, Map(mapNum).Tile(x1, y1).Data1, x1, y1
    >                                     End If
    >                                 End If
    >                             Next
    >                         End If
    >                     Next

    under

    > ' Checks to update player vitals every 5 seconds - Can be tweaked
    >         If Tick > LastUpdatePlayerVitals Then
    >             UpdatePlayerVitals
    >             LastUpdatePlayerVitals = GetTickCount + 5000
    >         End If

    I get this:
    ![](http://i.imgur.com/l9EtK.png)
    Could anybody help me? :)

    **EDIT**: Nevermind, I was silly enough to not copy all of the code.
  2. Hello Eclipse Community! :)
    I'm trying to add an /me command to Eclipse Origins, but I'm kind of new to Visual Basic 6.
    For example when you type "/me walks across the road."
    It outputs "(playername) walks across the road." in the map chat.
    So I'm adding a case under HandleKeyPresses in modInput in the client.
    This is what it looks like:
    ```
                    Case "/me"
                        If UBound(Command) < 1 Then
                            AddText "Usage: /me (text)", AlertColor
                            GoTo Continue
                        End If

                        SendMe Command(ChatText))
    ```How do I edit the server to recieve the ChatText and output it into the server map chat?

    Thanks you. ;)
×
×
  • Create New...