Skillzalot Posted January 28, 2011 Share Posted January 28, 2011 I did make it work for 1.3.1 not that hard actually Link to comment Share on other sites More sharing options...
thezeus Posted January 28, 2011 Share Posted January 28, 2011 I'll mess with it tonight. I didn't see a huge amount of differences either. I'm at work, so I was simply starting a discussion of 1.3.1 version. I'll try my luck and post the source if I get it done. Link to comment Share on other sites More sharing options...
thezeus Posted January 29, 2011 Share Posted January 29, 2011 In 1.3.1, the error is:Compile error: Method or data member not foundwhich finds the error at    .scrlSpell1.Value = Npc(EditorIndex).Spell1 Link to comment Share on other sites More sharing options...
Elbereth Posted May 5, 2011 Share Posted May 5, 2011 @Skillzalot:> I did make it work for 1.3.1 not that hard actuallyIs there any way you could post how you got it to work for 1.3.1?This script looks pretty awesome!Hope I don't get killed for necroposting…lol Link to comment Share on other sites More sharing options...
Zetasis Posted May 5, 2011 Share Posted May 5, 2011 Why not remake it so that this will work for EO2.0 seeing how that is the newest version of EO. Link to comment Share on other sites More sharing options...
DJMaxus Posted May 9, 2011 Author Share Posted May 9, 2011 @Zetasis:> Why not remake it so that this will work for EO2.0 seeing how that is the newest version of EO.Well, that does seem like the ideal thing to do doesn't it? When I find some time I'll try to update all of my tutorials and post up some new ones I've done. A lot has happened to Eclipse it seems. Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2011 Share Posted May 10, 2011 it would be great if you did. Link to comment Share on other sites More sharing options...
Zetasis Posted May 10, 2011 Share Posted May 10, 2011 @sotvotkong:> it would be great if you did.I 100% agree. When you first released this I was so thankful but then EO was changed and this wouldn't work with out modifications and I was very disappointed that I could never get it to work again. Revising this for 2.0 would be extremely helpful. Link to comment Share on other sites More sharing options...
DJMaxus Posted May 11, 2011 Author Share Posted May 11, 2011 Tutorial updated for EO v.2.0.0I've revised the tutorial not only to work with v2, but I've also improved on the NpcSpellPlayer sub, and added a few things.- NPCs can have as many spells as you want them to have, the default is 5- AoE healing spells, as well as improvement on the AoE damaging spells.- NPCs use the Casting and Cooldown times now.Eventually, I will update this again to use Stun spells, DoT, and HoT. Unless someone makes an add-on or something and beats me to it.Please report any problems you may run into.Enjoy. Next I'll revise the crafting tut. Link to comment Share on other sites More sharing options...
Guest Posted May 11, 2011 Share Posted May 11, 2011 thanks for updating this beauty! Link to comment Share on other sites More sharing options...
Dzastin Posted May 11, 2011 Share Posted May 11, 2011 Realy Nice. Link to comment Share on other sites More sharing options...
McCull96 Posted May 11, 2011 Share Posted May 11, 2011 Great job Link to comment Share on other sites More sharing options...
Salted Snail Posted May 12, 2011 Share Posted May 12, 2011 Hey, after playing around with the form work to fit EO 2.0, I keep getting an error with this line of code:>! ```' Spell Casting                For i = 1 To MAX_NPC_SPELLS                  If Npc(npcNum).Spell(i) > 0 Then                    If MapNpc(MapNum).Npc(x).SpellTimer(i) + (Spell(Npc(npcNum).Spell(i)).CastTime * 1000) < GetTickCount Then                      NpcSpellPlayer x, target, i                    End If                  End If                Next```Basically all I did was make the scrollbars use the old NPC Spell arrangement with some minor tweaks. For instance, This is the scroll bar for spell number one:>! ```Private Sub scrlSpell1_Change()Dim aString As String  ' If debug mode, handle error then exit out  If Options.Debug = 1 Then On Error GoTo errorhandler  If scrlSpell1.Value = 0 Then aString = "None" Else aString = Trim$(Spell(scrlSpell1.Value).Name)  lblSpellOne.Caption = "Spell One: " & aString  Npc(EditorIndex).Spell1 = scrlSpell1.Value  ' Error handler  Exit Suberrorhandler:  HandleError "scrlAnimation_Change", "frmEditor_NPC", Err.Number, Err.Description, Err.Source, Err.HelpContext  Err.Clear  Exit SubEnd Sub```Im new to this crap so can you please tell me what I'm doing wrong? Thanks. Link to comment Share on other sites More sharing options...
DJMaxus Posted May 12, 2011 Author Share Posted May 12, 2011 @Salted:> Hey, after playing around with the form work to fit EO 2.0, I keep getting an error with this line of code:> > >! ```> ' Spell Casting> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â For i = 1 To MAX_NPC_SPELLS> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â If Npc(npcNum).Spell(i) > 0 Then> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â If MapNpc(MapNum).Npc(x).SpellTimer(i) + (Spell(Npc(npcNum).Spell(i)).CastTime * 1000) < GetTickCount Then> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â NpcSpellPlayer x, target, i> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â End If> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â End If> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Next> ```> > Basically all I did was make the scrollbars use the old NPC Spell arrangement with some minor tweaks. For instance, This is the scroll bar for spell number one:> > >! ```> Private Sub scrlSpell1_Change()> Dim aString As String> Â Â ' If debug mode, handle error then exit out> Â Â If Options.Debug = 1 Then On Error GoTo errorhandler> Â Â > Â Â If scrlSpell1.Value = 0 Then aString = "None" Else aString = Trim$(Spell(scrlSpell1.Value).Name)> Â Â lblSpellOne.Caption = "Spell One: " & aString> Â Â Npc(EditorIndex).Spell1 = scrlSpell1.Value> Â Â > Â Â ' Error handler> Â Â Exit Sub> errorhandler:> Â Â HandleError "scrlAnimation_Change", "frmEditor_NPC", Err.Number, Err.Description, Err.Source, Err.HelpContext> Â Â Err.Clear> Â Â Exit Sub> End Sub> ```> > Im new to this crap so can you please tell me what I'm doing wrong? Thanks.First of all, that's not one line, that's 8.Second, with the new tutorial, there is no Spell1 or Spell2 scroll bars, there are a set number of spells determined by one single scroll bar, the scroll bar's limit is determined by MAX_NPC_SPELLSI will include form work later, but for now, please use my frmEditor_NPC and copy from it. Link to comment Share on other sites More sharing options...
Zetasis Posted May 12, 2011 Share Posted May 12, 2011 So for some reason I get an error when I try and compile. It says the SpellIndex variable is undefined in **Private Sub scrlSpell_Change()**. I have attached a screen shot also. Link to comment Share on other sites More sharing options...
DJMaxus Posted May 12, 2011 Author Share Posted May 12, 2011 @Zetasis:> So for some reason I get an error when I try and compile. It says the SpellIndex variable is undefined in **Private Sub scrlSpell_Change()**. I have attached a screen shot also.At the very top of your frmEditor_NPC, under Option Explicit, add:```Private SpellIndex As Long``` Link to comment Share on other sites More sharing options...
Guest Posted May 12, 2011 Share Posted May 12, 2011 im getting a variable undefined error on this in the private type npc rec, client side. ```Spell(1 To MAX_NPC_SPELLS) As Long```i added it right were the tut says to, copied the form in, made sure the buttons had correct code.missed that part on the client side in the tut. i guess. i duno, anyways i added this to constants and it works now just fine.```' NPC SpellsPublic Const MAX_NPC_SPELLS As Long = 5```now this makes me wonder should i have this as well on the client side?```' Npc spells SpellTimer(1 To MAX_NPC_SPELLS) As Long  Heals As Integer```server side i get a error on vital : expected array. heres the line of code.```InitDamage = Spell(SpellNum).Vital(NPC(MapNpc(mapnum).NPC(MapNpcNum).Num).Stat(Stats.intelligence) / 2)```you forgot a +```InitDamage = Spell(SpellNum).Vital+(NPC(MapNpc(mapnum).NPC(MapNpcNum).Num).Stat(Stats.intelligence) / 2)```hope that helps a few peps out. Link to comment Share on other sites More sharing options...
ark0n Posted May 19, 2011 Share Posted May 19, 2011 I get an error, 9, subscript out of range, on the client. When i start it . Link to comment Share on other sites More sharing options...
DJMaxus Posted May 26, 2011 Author Share Posted May 26, 2011 @Akio:> I get an error, 9, subscript out of range, on the client. When i start it .Would you like to tell me what line is highlighted when you get the error? Link to comment Share on other sites More sharing options...
Skillzalot Posted June 5, 2011 Share Posted June 5, 2011 Nice job Dj, got it working just fine Link to comment Share on other sites More sharing options...
Sickey Posted June 6, 2011 Share Posted June 6, 2011 I can't find the "Sub NpcAttackPlayer" :huh:Ps:How do I compile? Do I press "Properties>Compile"Yes Im new to VB.. Link to comment Share on other sites More sharing options...
RyokuHasu Posted June 6, 2011 Share Posted June 6, 2011 to compileFile> Make (program).exeor to test compile in debug modeRun > start Link to comment Share on other sites More sharing options...
Sickey Posted June 7, 2011 Share Posted June 7, 2011 @RyokuHasu:> File> Make (program).exeWhat? So I save it as .exe but what should I save it as? If I edit "modGameLogic" Should I save it as the same and overwrite it? Link to comment Share on other sites More sharing options...
RyokuHasu Posted June 7, 2011 Share Posted June 7, 2011 Are you even using VB6? -_- Link to comment Share on other sites More sharing options...
Sickey Posted June 7, 2011 Share Posted June 7, 2011 Of course I am.. lol, But like I said.. Im very very very new to all this coding and Im trying to learn it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now