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

Hair Customization for EO DX7


damian666
 Share

Recommended Posts

> any errors?

The same as before the fix you just posted:

And now it marks this:

Player(Index).x = x

(overflow error)

In Sub SetPlayerX(ByVal Index As Long, ByVal x As Long)

Nvm i fixed it ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)

But now in-game it only renders the hair O.O
Link to comment
Share on other sites

only thing that errors, is

If Player(Index).Sex = SEX_MALE Then

Player(Index).Sprite = Class(ClassNum).MaleSprite(Sprite)

Else

Player(Index).Sprite = Class(ClassNum).FemaleSprite(Sprite)

End If

server side, should be

If Player(Index).Sex = SEX_MALE Then

Player(Index).Sprite = Sprite

Else

Player(Index).Sprite = Sprite

End If

and client side

If frmMenu.optMale.Value = True Then

Sprite = Class(frmMenu.cmbClass.ListIndex + 1).MaleSprite(newCharSprite)

Else

Sprite = Class(frmMenu.cmbClass.ListIndex + 1).FemaleSprite(newCharSprite)

End If

should be

If frmMenu.optMale.Value = True Then

Sprite = newCharSprite

Else

Sprite = newCharSprite

End If

rest works fine.

what did you do to fix it?
Link to comment
Share on other sites

  • 2 weeks later...
> yeah basicly, but those still work too, paperdoll gets drawn ontop of the hair ^^

I'm getting an error so propably the fix for this was included into your tutorial at the end but i followed your tutorial at the beginning…

And the error is: Subscript out of range

HairTimer(Hair) = GetTickCount + SurfaceTimerMax

And i only get this if i'm starting it from vb6 else it just works perfectly ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
Link to comment
Share on other sites

  • 2 years later...
> Under
>
> ```
>
> ' render the actual sprite
> Call BltSprite(Sprite, x, y, recSprite)
>
> ```
> Add
>
> ```
>
> Call BltHair(Hair, x, y, recHair)
> ```

you sure you put this below the BltSprite ? :

```

Call BltHair(Hair, x, y, recHair)

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