Whackeddie99 Posted July 21, 2012 Author Share Posted July 21, 2012 in the item editor, when you make the item a projectile, you have to change projectile pic, speed, damage, and range. They all have to be greater than 0\. Pic is at 0. Link to comment Share on other sites More sharing options...
nneader Posted July 21, 2012 Share Posted July 21, 2012 Oh yeah, I get what you are saying, but, I have not gotten that far.I am still trying to make the exe out of the client code. When I try to make the .exe in VB6 that is when I get the compiling error.Here is a rar of my client files if you can look at it…[http://www.mediafire.com/?c9vvizq13apijj3](http://www.mediafire.com/?c9vvizq13apijj3)nneader Link to comment Share on other sites More sharing options...
Hattrick464 Posted July 21, 2012 Share Posted July 21, 2012 This is pretty sweet, the problem is I get this error :![](http://s13.postimage.org/bwgk02hme/error_message.jpg) Link to comment Share on other sites More sharing options...
Whackeddie99 Posted July 21, 2012 Author Share Posted July 21, 2012 That has nothing to do with this tutorial, you messed up something with your server lol Link to comment Share on other sites More sharing options...
Hattrick464 Posted July 21, 2012 Share Posted July 21, 2012 I fixed that last night and now I get this error :![](http://s9.postimage.org/54rgvx58u/error_message.jpg) Link to comment Share on other sites More sharing options...
Whackeddie99 Posted July 21, 2012 Author Share Posted July 21, 2012 You have 2 of the same sub called sub scrlprojectileDamage_Change() Link to comment Share on other sites More sharing options...
Hattrick464 Posted July 21, 2012 Share Posted July 21, 2012 @Whack:> You have 2 of the same sub called sub scrlprojectileDamage_Change()No I don't. I just searched the entire project for Sub scrlProjectileDamage_Change() and nothing came up except for that one thing. Link to comment Share on other sites More sharing options...
nneader Posted July 21, 2012 Share Posted July 21, 2012 @Whack:> You have 2 of the same sub called sub scrlprojectileDamage_Change()Is this for my issue? Link to comment Share on other sites More sharing options...
Whackeddie99 Posted July 21, 2012 Author Share Posted July 21, 2012 @nneader:> Is this for my issue?No. Link to comment Share on other sites More sharing options...
nneader Posted July 21, 2012 Share Posted July 21, 2012 any chance anyone could upload the whole thing already inserted and working into EO 3.0? Link to comment Share on other sites More sharing options...
Wortel Angels Posted July 21, 2012 Share Posted July 21, 2012 Arrows does no damage… It shoot, arrow is drawed but no damage >.< Link to comment Share on other sites More sharing options...
Whackeddie99 Posted July 21, 2012 Author Share Posted July 21, 2012 @Mortal:> Arrows does no damage… It shoot, arrow is drawed but no damage >.<look, you need to open your item editor, and put a damage. You can't leave it at 0, or it does no damage. Same goes for speed, except the more speed the slower it actually is. Same for the picture, and the range. Link to comment Share on other sites More sharing options...
Wortel Angels Posted July 21, 2012 Share Posted July 21, 2012 I know but it does too no damage ;-) I tryed it to set the damage at the pic from the projectiles and at ther normal damage scroll but both has not worked… Link to comment Share on other sites More sharing options...
DopeyBiach Posted September 24, 2012 Share Posted September 24, 2012 > I know but it does too no damage ;-) I tryed it to set the damage at the pic from the projectiles and at ther normal damage scroll but both has not worked…> In Sub PlayerAttackNpc before:> > Name = Trim$(Npc(npcNum).Name)> > Insert:> > If npcNum < 1 Then Exit SubComment out "If npcNum < 1 Then Exit Sub" and if it works, then you've put this in the wrong place. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
ramoneknot Posted November 6, 2012 Share Posted November 6, 2012 well we have a bug in this systemwhen you kill an NPC you cant kill other in same line because the dead npc in front let a invisible block to next projectile Link to comment Share on other sites More sharing options...
hedgy Posted February 24, 2013 Share Posted February 24, 2013 > well we have a bug in this system> > when you kill an NPC you cant kill other in same line because the dead npc in front let a invisible block to next projectileTry replacing sub handleprojectiles with this one:```Public Sub HandleProjecTile(ByVal Index As Long, ByVal PlayerProjectile As Long)Dim x As Long, y As Long, i As Long ' check for subscript out of range If Index < 1 Or Index > MAX_PLAYERS Or PlayerProjectile < 1 Or PlayerProjectile > MAX_PLAYER_PROJECTILES Then Exit Sub ' check to see if it's time to move the Projectile If GetTickCount > TempPlayer(Index).ProjecTile(PlayerProjectile).TravelTime Then With TempPlayer(Index).ProjecTile(PlayerProjectile) ' set next travel time and the current position and then set the actual direction based on RMXP arrow tiles. Select Case .Direction ' down Case DIR_DOWN .y = .y + 1 ' check if they reached maxrange If .y = (GetPlayerY(Index) + .Range) + 1 Then ClearProjectile Index, PlayerProjectile: Exit Sub ' up Case DIR_UP .y = .y - 1 ' check if they reached maxrange If .y = (GetPlayerY(Index) - .Range) - 1 Then ClearProjectile Index, PlayerProjectile: Exit Sub ' right Case DIR_RIGHT .x = .x + 1 ' check if they reached max range If .x = (GetPlayerX(Index) + .Range) + 1 Then ClearProjectile Index, PlayerProjectile: Exit Sub ' left Case DIR_LEFT .x = .x - 1 ' check if they reached maxrange If .x = (GetPlayerX(Index) - .Range) - 1 Then ClearProjectile Index, PlayerProjectile: Exit Sub End Select .TravelTime = GetTickCount + .Speed End With End If x = TempPlayer(Index).ProjecTile(PlayerProjectile).x y = TempPlayer(Index).ProjecTile(PlayerProjectile).y ' check if left map If x > Map(GetPlayerMap(Index)).MaxX Or y > Map(GetPlayerMap(Index)).MaxY Or x < 0 Or y < 0 Then ClearProjectile Index, PlayerProjectile Exit Sub End If ' check if hit player For i = 1 To Player_HighIndex ' make sure they're actually playing If IsPlaying(i) Then ' check coordinates If x = Player(i).x And y = GetPlayerY(i) Then ' make sure it's not the attacker If Not x = Player(Index).x Or Not y = GetPlayerY(Index) Then ' check if player can attack If CanPlayerAttackPlayer(Index, i, False, True) = True Then ' attack the player and kill the project tile PlayerAttackPlayer Index, i, TempPlayer(Index).ProjecTile(PlayerProjectile).Damage ClearProjectile Index, PlayerProjectile Exit Sub End If End If End If End If Next ' check for npc hit For i = 1 To MAX_MAP_NPCS If x = MapNpc(GetPlayerMap(Index)).Npc(i).x And y = MapNpc(GetPlayerMap(Index)).Npc(i).y Then ' they're hit, remove it and deal that damage ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) If CanPlayerAttackNpc(Index, i, True) Then PlayerAttackNpc Index, i, TempPlayer(Index).ProjecTile(PlayerProjectile).Damage ClearProjectile Index, PlayerProjectile Exit Sub End If End If Next ' hit a block If Map(GetPlayerMap(Index)).Tile(x, y).Type = TILE_TYPE_BLOCKED Then ' hit a block, clear it. ClearProjectile Index, PlayerProjectile Exit Sub End IfEnd Sub``` Link to comment Share on other sites More sharing options...
NiceLoki Posted April 29, 2013 Share Posted April 29, 2013 ![](http://sia1.subirimagenes.net/img/2013/04/29/130429080250189987.jpg)Compilation ErrorThe procedure does not coinside statement describing the event or procedure having the same name.This error :// Link to comment Share on other sites More sharing options...
hisherwin Posted April 29, 2013 Share Posted April 29, 2013 the sub is already exist Link to comment Share on other sites More sharing options...
NiceLoki Posted April 29, 2013 Share Posted April 29, 2013 Mmmmm… nop, when I use the Search tool that´s the only one I find.. Link to comment Share on other sites More sharing options...
abhi2011 Posted April 29, 2013 Share Posted April 29, 2013 Make sure the correct event is being used with the correct arguments. Link to comment Share on other sites More sharing options...
NiceLoki Posted April 29, 2013 Share Posted April 29, 2013 And how can I do that? xD> Make sure the correct event is being used with the correct arguments. Link to comment Share on other sites More sharing options...
kris_hole Posted April 29, 2013 Share Posted April 29, 2013 Paste the line where this is being called. Link to comment Share on other sites More sharing options...
NiceLoki Posted April 29, 2013 Share Posted April 29, 2013 > ' timestamp='1367261724' post='895984']> > Paste the line where this is being called.What do you mean? ( English´s not my native languaje XD ) Link to comment Share on other sites More sharing options...
abhi2011 Posted April 30, 2013 Share Posted April 30, 2013 > ' timestamp='1367261724' post='895984']> > Paste the line where this is being called.Why would you want to call a control's event?Paste the sub title/header. Link to comment Share on other sites More sharing options...
NiceLoki Posted May 1, 2013 Share Posted May 1, 2013 > Why would you want to call a control's event?> > Paste the sub title/header.Can u give me an example¿ 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