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

PicItemDesc Show DMG,ATS,Stats and Price v3 ! (Item requirement)


xppxdd
 Share

Recommended Posts

  • 2 months later...
  • 3 weeks later...
  • 2 weeks later...
@zenmen:

> Hi im a begginer with vb6 and i have a question how to add this lables?
>
> ```
> Private Sub SOMETHING()
>
> lblItemSpeed
> lbl... etc.
>
> Exit Sub
> ```
> or maybe just paste it somewhere?

When you open the client in VB6 there's a toolbox on the right which contains everything you can put into the project. Near the top the guide details all the labels you must add.
Link to comment
Share on other sites

Ok, more or less I already know what it is, but when I try there is not possible to start the game from the compiler, vb6 tell me that my problem is with ".Caption" in line (and i think in others will be too):

```
.lblItemDesc.Caption = Trim$(Item(itemnum).Desc)
```
i chech two times my labels names.. What can be wrong?

@Edit.

Its a liiiiive! Ok i now i have no problem, its working! : )
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 3 weeks later...
  • 3 weeks later...
Hey,

there was not enough space for my item descriptions, so i made the GUI Picture larger. The problem now is, that the Item Desc Picturebox goes off the screen on top.

I recognized a off screen check in there:

```
' check for off-screen
    If y + frmMain.picItemDesc.height > frmMain.ScaleHeight Then
        y = frmMain.ScaleHeight - frmMain.picItemDesc.height
    End If
```
But it does not work, how to fix it, so i the whole picture box is on the screen.
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
This can work with eo3.0 if your replace 'render the item part with this```
frmMain.picItemDescPic.Refresh
```and flatland your problem is because you added more equipment slots. to fix it you need to replace this part```
Select Case Item(itemnum).Type

Case 0 ' None

.lblitemType.Caption = "ETC"

Case 1 ' Weapon

.lblitemType.Caption = "Weapon"

.lblitemspeed.Caption = ATS & "s"

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "Damage: " & DMG

Case 2 ' Armor

.lblitemType.Caption = "Armor"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 3 ' Helmet

.lblitemType.Caption = "Helmet"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 4 ' Shield

.lblitemType.Caption = "Shield"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 5 ' orange

.lblitemType.Caption = "Consume"

Case 6 ' orange

.lblitemType.Caption = "Key"

Case 7 ' orange

.lblitemType.Caption = "Currency"

Case 8 ' orange

.lblitemType.Caption = "Spell Scroll"

End Select
```with this```

Select Case Item(itemnum).Type

Case 0 ' None

.lblitemType.Caption = "ETC"

Case 1 ' Weapon

.lblitemType.Caption = "Weapon"

.lblitemspeed.Caption = ATS & "s"

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "Damage: " & DMG

Case 2 ' Armor

.lblitemType.Caption = "Armor"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 3 ' Helmet

.lblitemType.Caption = "Helmet"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 4 ' LEGS

.lblitemType.Caption = "Legs"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 5 ' BOOTS

.lblitemType.Caption = "Boots"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 6 ' Gloves

.lblitemType.Caption = "Gloves"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 7 ' RING

.lblitemType.Caption = "Ring"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 8 ' ENCHANT

.lblitemType.Caption = "Enchant"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show Enchant

Case 9 ' Shield

.lblitemType.Caption = "Shield"

.lblitemspeed.Caption = ""

.lblStat.Caption = "STR: +" & STR & vbCrLf & "END: +" & ENDu & vbCrLf & "INT: +" & INTe & vbCrLf & "AGI: +" & AGI & vbCrLf & "WILL: +" & WILL

.lblDMG = "" 'show armor

Case 10 ' orange

.lblitemType.Caption = "Consume"

Case 11 ' orange

.lblitemType.Caption = "Key"

Case 12 ' orange

.lblitemType.Caption = "Currency"

Case 13 ' orange

.lblitemType.Caption = "Spell Scroll"

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