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

chuchoide

Members
  • Posts

    706
  • Joined

  • Last visited

    Never

Posts posted by chuchoide

  1. Hey. I got a problem with EO, so I changed my UI layout in the source. I moved the bars to a picBox so it is over everything, but I could't just move them, so I copy and pasted them over the picBox.
    I'm sure I named them all exactly as they were, and when I debug my client, it highlights an error.
    I've attached screenshots of the UI, and the error.
  2. For some reason, my player can walk through other players, but can also walk through NPCs. Any help on why this is happening? Here's my CheckDirection Function:
    ```
    Function CheckDirection(ByVal Direction As Byte) As Boolean
    Dim x As Long
    Dim y As Long
    Dim i As Long

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

        CheckDirection = False

        ' check directional blocking
        If isDirBlocked(Map.Tile(GetPlayerX(MyIndex), GetPlayerY(MyIndex)).DirBlock, Direction + 1) Then
            CheckDirection = True
            Exit Function
        End If

        Select Case Direction
            Case DIR_UP
                x = GetPlayerX(MyIndex)
                y = GetPlayerY(MyIndex) - 1
            Case DIR_DOWN
                x = GetPlayerX(MyIndex)
                y = GetPlayerY(MyIndex) + 1
            Case DIR_LEFT
                x = GetPlayerX(MyIndex) - 1
                y = GetPlayerY(MyIndex)
            Case DIR_RIGHT
                x = GetPlayerX(MyIndex) + 1
                y = GetPlayerY(MyIndex)
        End Select

        ' Check to see if the map tile is blocked or not
        If Map.Tile(x, y).Type = TILE_TYPE_BLOCKED Then
            CheckDirection = True
            Exit Function
        End If

        ' Check to see if the map tile is tree or not
        If Map.Tile(x, y).Type = TILE_TYPE_RESOURCE Then
            CheckDirection = True
            Exit Function
        End If

        ' Check to see if the key door is open or not
        If Map.Tile(x, y).Type = TILE_TYPE_KEY Then

            ' This actually checks if its open or not
            If TempTile(x, y).DoorOpen = NO Then
                CheckDirection = True
                Exit Function
            End If
        End If

        If Map.Moral = MAP_MORAL_SAFE Then Exit Function
        ' Check to see if a player is already on that tile
            For i = 1 To Npc_HighIndex
            If MapNpc(i).num > 0 Then
                If MapNpc(i).x = x Then
                    If MapNpc(i).y = y Then
                        CheckDirection = True
                        Exit Function
                    End If
                End If
            End If
        Next
        For i = 1 To Player_HighIndex
            If IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) Then
                If GetPlayerX(i) = x Then
                    If GetPlayerY(i) = y Then
                        CheckDirection = True
                        Exit Function
                    End If
                End If
            End If
        Next i

        ' Error handler
        Exit Function
    errorhandler:
        HandleError "checkDirection", "modGameLogic", Err.Number, Err.Description, Err.Source, Err.HelpContext
        Err.Clear
        Exit Function
    End Function
    ```
  3. I don't think googling is enough. He used the ones Crystalshire is using because he needs to code Auto-Tiling for them to work. That's why. Maybe he can find RMVX tilesets googling, but he will most likely find the RTP ones, which can only be used with an Auto-Tiling feature.
    It, indeed, damaged his reputation. He could have search for them and split them himself.
  4. And guess why I am asking for a pixel artist.
    The way the graphics are currently, is the style I'm looking for. That's the graphic style I like.
    I understand that I need practice, yes.
    How do you know no one is interested? You know I've got PMs about it? And if you're wondering why I got PMs, and I am still looking for a team, it is because they haven't replied back. How would it slow my project down? I'm working on it as we talk, is that slowing down? No.

    Thanks for the comment, though, I understand the help you are giving me. (not sarcasm)
×
×
  • Create New...