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

Shippous

Members
  • Posts

    86
  • Joined

  • Last visited

    Never

Posts posted by Shippous

  1. Sub ProcessNpcMovement(ByVal MapNpcNum As Long)

    ' If debug mode, handle error then exit out

    If Options.Debug = 1 Then On Error GoTo errorhandler

    ' Check if NPC is walking, and if so process moving them over

    If MapNpc(MapNpcNum).Moving = MOVING_WALKING Then

    Select Case MapNpc(MapNpcNum).Dir

    Case DIR_UP

    MapNpc(MapNpcNum).yOffset = MapNpc(MapNpcNum).yOffset - ((ElapsedTime / 1000) * (NPC(MapNpc(MapNpcNum).num).speed * SIZE_X))

    If MapNpc(MapNpcNum).yOffset < 0 Then MapNpc(MapNpcNum).yOffset = 0

    Case DIR_DOWN

    MapNpc(MapNpcNum).yOffset = MapNpc(MapNpcNum).yOffset + ((ElapsedTime / 1000) * (NPC(MapNpc(MapNpcNum).num).speed * SIZE_X))

    If MapNpc(MapNpcNum).yOffset > 0 Then MapNpc(MapNpcNum).yOffset = 0

    Case DIR_LEFT

    MapNpc(MapNpcNum).xOffset = MapNpc(MapNpcNum).xOffset - ((ElapsedTime / 1000) * (NPC(MapNpc(MapNpcNum).num).speed * SIZE_X))

    If MapNpc(MapNpcNum).xOffset < 0 Then MapNpc(MapNpcNum).xOffset = 0

    Case DIR_RIGHT

    MapNpc(MapNpcNum).xOffset = MapNpc(MapNpcNum).xOffset + ((ElapsedTime / 1000) * (NPC(MapNpc(MapNpcNum).num).speed * SIZE_X))

    If MapNpc(MapNpcNum).xOffset > 0 Then MapNpc(MapNpcNum).xOffset = 0

    End Select
  2. Getting a Error on the lane:

    "MapNpc(MapNpcNum).xOffset = MapNpc(MapNpcNum).xOffset + ((ElapsedTime / 1000) * (NPC(MapNpc(MapNpcNum).num).speed * SIZE_X))"

    Cant figure it out. I already deleted all the maps, steel get the same error.
  3. Ok, i used that guide to make the spells need some equips to work, but i want them to need a TYPE of equip (like 2h, or dagger, sworld, mace, etc..)

    Someone can help me with that?

    That's the link to the guide: http://www.touchofdeathforums.com/community/index.php?/topic/125343-eo-spells-require-equipment/

    Maybe some "check" in the item editor?
  4. When i save a Buff/Debuff spell i gor an error on server, in this lane:

    CopyMemory ByVal VarPtr(Spell(spellnum)), ByVal VarPtr(SpellData(0)), SpellSize

    Only when i set some spell as buff/debuff.

    Later i'll post a print, no time now );

    Help please ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)

    I think that this have something to do with the **real defense?**

    **Someone have the link?:**
  5. Function GetPlayerMap(index) As Long

    Dim i As Long

    For i = 1 To MAX_MAPS

    If GetPlayerMap(i) = 2 Then TempSprite = 7

    End If

    End Function

    Ok, this will work? And where i need to put it? D:
  6. McAdams, trying to do that, but the problem is:

    The papperdoll is bigger then the character (i want to cover a part of it).

    So, he dont fit in the Character Sprite, but, nvm, i changed some things and now it works ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
  7. EA 3.0.8

    When i try to compile de Server:

    Compile Error:

    Method or Data member not found

    In the lane: TempPlayer(index).tmpGuildInviteId = Player(Inviter_Index).GuildFileId

    In Request_Guild_Invite
  8. i can put a giant papperdoll in front of my character lol.

    But thanks, i'll think and try to figure it myself, your answear give me some ideas ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
×
×
  • Create New...