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

[EO2.0]Ranged Projectiles(Arrows, Bullets and more)[RELEASE]


evilbunnie
 Share

Recommended Posts

  • Replies 232
  • Created
  • Last Reply

Top Posters In This Topic

Just a note, if you have the recipe code ([http://www.touchofdeathforums.com/smf/index.php/topic,64806.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,64806.0.html)) added, replace

Form Work - Client

```
Private Sub cmbType_Click()
```_with_
```
Private Sub cmbType_Click()
    ' If debug mode, handle error then exit out
    If Options.Debug = 1 Then On Error GoTo errorhandler

    If EditorIndex = 0 Or EditorIndex > MAX_ITEMS Then Exit Sub

    If (cmbType.ListIndex >= ITEM_TYPE_WEAPON) And (cmbType.ListIndex <= ITEM_TYPE_SHIELD) Then
        fraEquipment.Visible = True
        frame4.Visible = True
        'scrlDamage_Change
    Else
        fraEquipment.Visible = False
        frame4.Visible = False
    End If

    If cmbType.ListIndex = ITEM_TYPE_CONSUME Then
        fraVitals.Visible = True
        'scrlVitalMod_Change
    Else
        fraVitals.Visible = False
    End If

    If (cmbType.ListIndex = ITEM_TYPE_SPELL) Then
        fraSpell.Visible = True
    Else
        fraSpell.Visible = False
    End If

    If (cmbType.ListIndex = ITEM_TYPE_RECIPE) Then
        fraRecipe.Visible = True
    Else
        fraRecipe.Visible = False
    End If

    Item(EditorIndex).Type = cmbType.ListIndex

    ' Error handler
    Exit Sub
errorhandler:
    HandleError "cmbType_Click", "frmEditor_Item", Err.Number, Err.Description, Err.Source, Err.HelpContext
    Err.Clear
    Exit Sub
End Sub
```
for those newbs, ya know?
Link to comment
Share on other sites

Anyone else get the variable not defined error on fraEquipment? I know the frame is still there so im not really sure what to do about this :/ never mind i fixed it. i accidently put part of the code in the spell form if anyone was wondering.
Link to comment
Share on other sites

Do control F and paste Call CheckFaces in it then select search project and it should pop up.
I would aslo suggest trying an easier tutorial if this is your first try. mabye check out the spell scaling or something because it takes a while to figure out where everything is.
Link to comment
Share on other sites

I got this problem :S I finished to edit every file of the tutorial, but I copy the file frmEditor_Item.frm and its not working, I mean its like if the changes doesnt exist :S (Screenshot attached)

When I try to open the frmEditor_Item.frm file downloaded in this thread, VB6 just closes :S

help please? >_<

Edit: Im using E.O 2.6v
Link to comment
Share on other sites

honestly im not sure if this was designed for 2.6 :/ i am pretty sure its only for e0 version 2.0 but if you can open the form separately just copy all the buttons and paste them into your npc form, but you have to make sure all the names are the same  and everything or they wont work.
Link to comment
Share on other sites

@or3o:

> honestly im not sure if this was designed for 2.6 :/ i am pretty sure its only for e0 version 2.0 but if you can open the form separately just copy all the buttons and paste them into your npc form, but you have to make sure all the names are the same  and everything or they wont work.

Im gonna try that when I can open the file, its weird, maybe I didn't installed well my VB6\. Im going to re-do this tutorial and see what happen xD thanks :3

@Erwin:

> EO 2.6 doesn't even exist…

EO 2.6 exist. Its an edited version with quest, pet and jobs.

-Edit-

@Justn:

> It's richy's mod 2.6 is what he means ;)

yeah, that one :P
Link to comment
Share on other sites

Ok, I just went back and did that because I guess I didn't, so I went back and fixed that, but when I click the start with full compile in vb6, it says "Run-time error '2005401480 (88780078)':
Automation error" and highlights Set DS = DX7.DirectSoundCreate(vbNullString)
What do I do about that?
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks 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...