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

Show SP on the GUI


Gueber
 Share

Recommended Posts

@ÅÐмiядζ:

> Hi,
> I'm not sure exactly what you are asking, but if you mean that you want your logo to text "SP" to show up on the graphical user interface, you can simple edit the image files in the "Client/GFX" folder.

I think he mean same like HP/MP/EXP bar, I need the same 'script/source'
Link to comment
Share on other sites

@teh:

> I think he mean same like HP/MP/EXP bar, I need the same 'script/source'

Exactly I want it to show an SP bar near were the HP/MP/EXP bars are. I'm using eclipse stable ver 1.1 and the source is included with it I think. The only script I'm using is Godllords Main 1.2.0 and/or whatever else came with eclipse stable by default. So I guess you answered my question I need to edit the source, I just don't know were to begin.

Eclipse Stable
http://www.touchofdeathforums.com/smf/index.php/topic,49913.0.html
Godlords Main
http://www.touchofdeathforums.com/smf/index.php/topic,51143.0.html
Link to comment
Share on other sites

A lot of people would want the sp to show, since some people make running use sp and also attacking.
I would also like to know :) glad someone made a topic.
Although I know it would be similar to the HP/MP code, but I know there is already an SP code in there but not making it show up ingame. Which is what we want.
Link to comment
Share on other sites

wait, there's an energy bar?
*checks* oh it's on the character tab thingy… hah i see. But there still must be a way to put a bar under the HP/MP/EXP eh. Just having to click on "character" just to look at how much energy you have can be anoying

EDIT: stupid me, of course i know there's a way through source -.-
Link to comment
Share on other sites

Well, it depends on where you want the SP bar to be. If you want it anywhere on the GUI just delete the Energy label in the char menu and move the SP lbl where your bar is. Then create another label over the bar and make it calculate the width like the rest of the bars:

```
frmMirage.shpSP(ornameofthelabel).Width = ((GetPlayerSP(MyIndex)) / (GetPlayerMaxSP(MyIndex))) * 73
```
If you want it over the screen then blt it properly then make the shpSP (or whatever you call it) a picturebox and put lblSP inside that picture box and position it to fit perfectly where your bar is being blt'd.
Link to comment
Share on other sites

@Braiton:

> Well, it depends on where you want the SP bar to be. If you want it anywhere on the GUI just delete the Energy label in the char menu and move the SP lbl where your bar is. Then create another label over the bar and make it calculate the width like the rest of the bars:
>
> ```
> frmMirage.shpSP(ornameofthelabel).Width = ((GetPlayerSP(MyIndex)) / (GetPlayerMaxSP(MyIndex))) * 73
> ```
> If you want it over the screen then blt it properly then make the shpSP (or whatever you call it) a picturebox and put lblSP inside that picture box and position it to fit perfectly where your bar is being blt'd.

When I go to view object, frmStable (frmMirage.frm). I get something like: "errors during load, please view  \client\source\frmMirage.log for details".

the log:
Line 656: Class VBMP.VBMPlayer of control MusicPlayer was not a loaded control class.
Line 665: Class VBMP.VBMPlayer of control BGSPlayer was not a loaded control class.
Line 674: Class VBMP.VBMPlayer of control SoundPlayer was not a loaded control class.
Line 25: Property Icon in frmMirage had an invalid file reference.
Line 29: Property Picture in frmMirage had an invalid file reference.
Line 662: The property name _ExtentX in MusicPlayer is invalid.
Line 663: The property name _ExtentY in MusicPlayer is invalid.
Line 671: The property name _ExtentX in BGSPlayer is invalid.
Line 672: The property name _ExtentY in BGSPlayer is invalid.
Line 680: The property name _ExtentX in SoundPlayer is invalid.
Line 681: The property name _ExtentY in SoundPlayer is invalid.
Line 1532: Property Picture in picUp had an invalid file reference.
Line 1552: Property Picture in picDown had an invalid file reference.
Line 1652: Property ItemData in lstSpells had an invalid file reference.
Line 1654: Property List in lstSpells had an invalid file reference.
Line 1734: Property ItemData in lstOnline had an invalid file reference.
Line 1736: Property List in lstOnline had an invalid file reference.
Line 2427: Property TextRTF in txtChat had an invalid value.
Line 25: Property Icon in frmMirage had an invalid file reference.
Line 29: Property Picture in frmMirage had an invalid file reference.
Line 662: The property name _ExtentX in MusicPlayer is invalid.
Line 663: The property name _ExtentY in MusicPlayer is invalid.
Line 671: The property name _ExtentX in BGSPlayer is invalid.
Line 672: The property name _ExtentY in BGSPlayer is invalid.
Line 680: The property name _ExtentX in SoundPlayer is invalid.
Line 681: The property name _ExtentY in SoundPlayer is invalid.
Line 1532: Property Picture in picUp had an invalid file reference.
Line 1552: Property Picture in picDown had an invalid file reference.
Line 1652: Property ItemData in lstSpells had an invalid file reference.
Line 1654: Property List in lstSpells had an invalid file reference.
Line 1734: Property ItemData in lstOnline had an invalid file reference.
Line 1736: Property List in lstOnline had an invalid file reference.
Line 2427: Property TextRTF in txtChat had an invalid value.

I don't know what it all means but I'm guessing there are alot of errors that shouldn't be there when I haven't even changed anything yet. Think its going to be a problem if I just ignore them?
![](http://img191.imageshack.us/img191/5684/formx.png)
Link to comment
Share on other sites

  • 3 weeks later...
@Gueber:

> @Braiton:
>
> > Well, it depends on where you want the SP bar to be. If you want it anywhere on the GUI just delete the Energy label in the char menu and move the SP lbl where your bar is. Then create another label over the bar and make it calculate the width like the rest of the bars:
> >
> > ```
> > frmMirage.shpSP(ornameofthelabel).Width = ((GetPlayerSP(MyIndex)) / (GetPlayerMaxSP(MyIndex))) * 73
> > ```
> > If you want it over the screen then blt it properly then make the shpSP (or whatever you call it) a picturebox and put lblSP inside that picture box and position it to fit perfectly where your bar is being blt'd.
>
> When I go to view object, frmStable (frmMirage.frm). I get something like: "errors during load, please view  \client\source\frmMirage.log for details".
>
> the log:
> Line 656: Class VBMP.VBMPlayer of control MusicPlayer was not a loaded control class.
> Line 665: Class VBMP.VBMPlayer of control BGSPlayer was not a loaded control class.
> Line 674: Class VBMP.VBMPlayer of control SoundPlayer was not a loaded control class.
> Line 25: Property Icon in frmMirage had an invalid file reference.
> Line 29: Property Picture in frmMirage had an invalid file reference.
> Line 662: The property name _ExtentX in MusicPlayer is invalid.
> Line 663: The property name _ExtentY in MusicPlayer is invalid.
> Line 671: The property name _ExtentX in BGSPlayer is invalid.
> Line 672: The property name _ExtentY in BGSPlayer is invalid.
> Line 680: The property name _ExtentX in SoundPlayer is invalid.
> Line 681: The property name _ExtentY in SoundPlayer is invalid.
> Line 1532: Property Picture in picUp had an invalid file reference.
> Line 1552: Property Picture in picDown had an invalid file reference.
> Line 1652: Property ItemData in lstSpells had an invalid file reference.
> Line 1654: Property List in lstSpells had an invalid file reference.
> Line 1734: Property ItemData in lstOnline had an invalid file reference.
> Line 1736: Property List in lstOnline had an invalid file reference.
> Line 2427: Property TextRTF in txtChat had an invalid value.
> Line 25: Property Icon in frmMirage had an invalid file reference.
> Line 29: Property Picture in frmMirage had an invalid file reference.
> Line 662: The property name _ExtentX in MusicPlayer is invalid.
> Line 663: The property name _ExtentY in MusicPlayer is invalid.
> Line 671: The property name _ExtentX in BGSPlayer is invalid.
> Line 672: The property name _ExtentY in BGSPlayer is invalid.
> Line 680: The property name _ExtentX in SoundPlayer is invalid.
> Line 681: The property name _ExtentY in SoundPlayer is invalid.
> Line 1532: Property Picture in picUp had an invalid file reference.
> Line 1552: Property Picture in picDown had an invalid file reference.
> Line 1652: Property ItemData in lstSpells had an invalid file reference.
> Line 1654: Property List in lstSpells had an invalid file reference.
> Line 1734: Property ItemData in lstOnline had an invalid file reference.
> Line 1736: Property List in lstOnline had an invalid file reference.
> Line 2427: Property TextRTF in txtChat had an invalid value.
>
> I don't know what it all means but I'm guessing there are alot of errors that shouldn't be there when I haven't even changed anything yet. Think its going to be a problem if I just ignore them?
> ![](http://img191.imageshack.us/img191/5684/formx.png)

Did you download the library files and stuff like that?
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...