szkat123 Posted March 16, 2013 Author Share Posted March 16, 2013 Hello.Last time i added to my game a wand, with projectile.When the monster is walking, and i kill him durning this, it shows error 'Subscript out of range 9'.Could someone help me with this?I'm not good in VB6 :/P.S. Sorry for my English. I'm from Poland.P.S.#2 I'm using Eclipse Advanced with no other modifications. Link to comment Share on other sites More sharing options...
Synergy Posted March 16, 2013 Share Posted March 16, 2013 Does it cause the error when you kill the NPC (monster), or when you attack with the projectile? Link to comment Share on other sites More sharing options...
szkat123 Posted March 16, 2013 Author Share Posted March 16, 2013 It causes error when i kill WALKING monster, when i'm using a wand/bow etc. with projectile.With normal weapon like sword there is any error. Link to comment Share on other sites More sharing options...
Matt Posted March 17, 2013 Share Posted March 17, 2013 What value is causing the error? Post the line that's being highlighted when the RTE occurs. Link to comment Share on other sites More sharing options...
szkat123 Posted March 17, 2013 Author Share Posted March 17, 2013 -Matthew- : What do you mean?@Edit:![](http://img822.imageshack.us/img822/5638/errorjah.png)You mean this? ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)Could someone help me? Link to comment Share on other sites More sharing options...
Matt Posted March 17, 2013 Share Posted March 17, 2013 Alright good! Now, hover over each value in that yellow line. Find which one is causing the RTE 9.In case you need help finding the values, I put them in bold and underlined them.TempMapNpc(**MapNpcNum**).**Offse**t = TempMapNpc(**MapNpcNum**).**yOffset** - ((**ElapsedTime** / 1000) * (Npc(MapNpc(**MapNpcNum**).**num**).**speed** * SIZE_X) Link to comment Share on other sites More sharing options...
szkat123 Posted March 17, 2013 Author Share Posted March 17, 2013 I already fixed that.Under``` If Option.debug```add this:```If MapNpcNum = 0 then exit subIf MapNpc(MapNpcNum).num = 0 then exit sub```@Tanks to Deathbeam ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) Link to comment Share on other sites More sharing options...
Matt Posted March 17, 2013 Share Posted March 17, 2013 Glad to hear it! Please change the tag to *resolved* if your question has been answered. Link to comment Share on other sites More sharing options...
szkat123 Posted November 3, 2013 Author Share Posted November 3, 2013 So, How i can do this? :) I'm new on the forum so i don't know how to do some things yet. Link to comment Share on other sites More sharing options...
Saga Posted November 3, 2013 Share Posted November 3, 2013 By editing your first post in this thread :)PS: EA is old, use Prospekt Source or prospekt.net if you want Deathbeams (Thomas) engines and Open-Source.Otherwise you can use Eclipse's newest engine too. Link to comment Share on other sites More sharing options...
szkat123 Posted November 3, 2013 Author Share Posted November 3, 2013 Thanks Sacra.I think, EA is good engine, but it needs some upgradesĀ ;) .Now,I'm using Eclipse Worlds, but i have some troubles with changing screen resolution and attacking with new items. 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