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

Ruins of Hell

Members
  • Posts

    6715
  • Joined

  • Last visited

    Never

Posts posted by Ruins of Hell

  1. @Sythnet:

    > Mhmm, only really need it for certain items, guess I'll put that add-on to the side for now.

    It'll only be done for items who have cmdBind selected to either Bind on Pickup or Bind on Equip. It won't be done for all items.
  2. [What have you tried?](http://whathaveyoutried.com)

    The actual problem is quite simple, but from now on, you should be prepared to show us what you have tried that didn't work, or what you have searched for.

    Here's how you get the level of a player:
    ```
    GetPlayerLevel(index)

    ```
    Here's how you get the level of an NPC:
    ```
    NPC(npcNum).Level ' or npcNum's equivalent, depending on where you are.

    ```
    Here's the part of the code that deals with handing out items (Sub PlayerAttackNpc server-side):
    ```
            'Drop the goods if they get it
            n = Int(Rnd * Npc(npcNum).DropChance) + 1

            If n = 1 Then
                Call SpawnItem(Npc(npcNum).DropItem, Npc(npcNum).DropItemValue, mapNum, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
            End If

    ```
    now replace the above with this:
    ```
            'Drop the goods if they get it
            n = Int(Rnd * Npc(npcNum).DropChance) + 1

            If n = 1 And GetPlayerLevel(attacker) - Npc(npcNum).Level < 11 Then
                Call SpawnItem(Npc(npcNum).DropItem, Npc(npcNum).DropItemValue, mapNum, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
            End If

    ```
    Done.
  3. ```
    ' ********************************************
    ' Default starting location [Server Only]
    Public Const START_MAP As Long = 1
    Public Const START_X As Long = 5
    Public Const START_Y As Long = 5
    ```
  4. @Daikonran:

    > Darn =/ Well thanks for your time, it's unfortunate none of it can be salvaged.  I guess it's time to start from scratch

    Before you give up, look around the forums and check out the converters that are lying around. See if you can rewrite one to transfer from Stable to Origins.

    Stable support ended quite a while ago so there's really no one who can give support for it.
  5. @Daikonran:

    > Thank you, I appreciate the reply.  Do you know if there is a way to possibly use the scripts/maps/configs etc from stable in the new one.  I have no problem upgrading, it's just I have a lot of work already completed for stable and would be a shame for it all to be useless

    Unless you want to write a converter, no.
  6. @Slasher:

    > I guess there's something wrong in mine, when I kill small enemies they still respawn, but when I kill the boss they all die too  ._.

    I think that's the idea behind the boss map, as opposed to Deathbeam's reply.
  7. @Dawntide:

    > Mind posting a tutorial? I think this would be come in handy for many developers, because it makes the combat more dynamic. I would really appreciate a tutorial, thanks :)

    If I posted a tutorial for every feature people requested I'd be thousands of lines of code behind. So no, I can't help you.

    As a consolation, I can offer you some tips about how to accomplish this task.
  8. Well, uh, that's not supposed to happen. I suspect it's something you did with the way you added the projectile system that made the items save all weird.

    You could just delete the offending item (the one you tried to make a spell) and the server will remake it automatically.
  9. We haven't supported Eclipse Stable for quite some time, but since you question relates to all versions of Eclipse, I'll answer it anyway. VB6 is inherently 32-bit. 64-bit simply didn't exist at the time.

    First, make sure that you run in compatibility mode for XP SP3\. Then, install the runtime files (I'm not sure if you can find Eclipse Stable's somewhere, best of luck on that!). Make sure you do all of this as an administrator.
  10. We had a discussion about the BoP/BoE items back in April, this makes BoP work: [link (starting from the relevant message](http://www.touchofdeathforums.com/smf2/index.php/topic,79682.msg853933.html#msg853933)).
×
×
  • Create New...