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

[EO 1.x.x, 2.x.x] Fix Hotbar


Robin
 Share

Recommended Posts

Big thanks to Yami for being the first person to actually report this damn error properly. Was simply a bit of stupidity on my part.

Find:
```
        Call CastSpell(PlayerSpells(Hotbar(Slot).Slot))
        Exit Sub

```
Replace with:
```
        For x = 1 To MAX_PLAYER_SPELLS
            ' is the spell matching the hotbar?
            If PlayerSpells(x) = Hotbar(Slot).Slot Then
                ' found it, cast it
                CastSpell x
                Exit Sub
            End If
        Next
        ' can't find the spell, exit out
        Exit Sub

```
Replace the top line of the procedure with this:

```
Dim Buffer As clsBuffer, x As Long
```
Link to comment
Share on other sites

  • 2 weeks later...
I could.. But I shouldn't have to. :) I believe this one has it though.. Along with various other fixes and features gathered. (such as a quest editor ;3)

http://www.touchofdeathforums.com/smf/index.php/topic,69078.0.html
Link to comment
Share on other sites

Can I replace my old client folders with this? , because I would want to keep my old maps, items, etc.

When I start my new client (thanks a lot btw) it says "cannot find 1 or more interface …"
But i Replaced all my old stuff, with the new client, and put back my graphics, soo I don't really see the problem , :O
Link to comment
Share on other sites

@Yami:

> I don't think you can. The formats have changed a bit here and there.. (Players and Resources are different for sure) Some trial and error might help. :)

Even if I start from scratch, I can't , because I get the interface bug. :(
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

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