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

HP bar glitch


igloo9
 Share

Recommended Posts

I am not sure if this belongs in the script request, source request, or here.  I am not sure what kind of problem it is, so I figured this was the best place to put it.

In the client of my game, every player's HP bar is visible.  This creates a glitch.  A lot of times, there are floating HP bars sitting there on the map that won't go away.  For example, if you watch a player walk into a door to go to another map, after they disappear from warping, their HP bar is still there, and it stays there.  The only way for it to go away is if you log out and log back in.

Is there a way to fix this so there aren't floating HP bars all over the game?
Link to comment
Share on other sites

I didn't do it.  I had someone do it for me.  I could PM them and see if they still have the code, though.

Goco, could you send me yours and I can see if it works?

**Edit:** Just for now, until I get a reply, this is the closest thing I can get: (I looked through my old posts and threads.)

From the looks of it though, all this does is hide the player's name behind fringe.  It doesn't have the code for making the HP bar show up (I don't think), and it doesn't have the code to hide the HP behind fringe.  However, for now it's the closest thing I can find.  Maybe it will help?  I doubt it. :/

```
' Draw player name and guild name
                    For I = 1 To MAX_PLAYERS
                        If IsPlaying(I) Then
                            If GetPlayerMap(I) = GetPlayerMap(MyIndex) Then
                                'If player is behind fringe, dont show name
                                If Map(GetPlayerMap(I)).Tile(GetPlayerX(I), GetPlayerY(I)).Fringe = 0 Then
                                    Call BltPlayerGuildName(I)
                                    Call BltPlayerName(I)
                                End If
                            End If
                        End If
                    Next
```
Meh, I guess this can't be fixed, can it?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...