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

westin444

Members
  • Posts

    723
  • Joined

  • Last visited

    Never

Everything posted by westin444

  1. You never set value. Look at the other packets server side.
  2. Oh wait…. Sorry. Sec Edit: ``` ' Get the damage we can do Damage = GetPlayerDamage(Index) ' if the npc blocks, take away the block amount blockAmount = CanNpcBlock(mapNpcNum) Damage = Damage - blockAmount ' take away armour Damage = Damage - RAND(1, (Npc(npcNum).Stat(Stats.Agility) * 2)) ' randomise from 1 to max hit Damage = RAND(1, Damage) ``` Theres where the engine gets the damage caused by the player.
  3. random(min,max) ``` ' Can we attack the npc? If CanAttackNpc(Index, i) Then ' Get the damage we can do If Not CanPlayerCriticalHit(Index) Then Damage = GetPlayerDamage(Index) - (Npc(MapNpc(GetPlayerMap(Index)).Npc(i).Num).Stat(Stats.endurance) \ 2) Else n = GetPlayerDamage(Index) Damage = n + Int(Rnd * (n \ 2)) + 1 - (Npc(MapNpc(GetPlayerMap(Index)).Npc(i).Num).Stat(Stats.endurance) \ 2) 'Call PlayerMsg(Index, "You feel a surge of energy upon swinging!", BrightCyan) SendActionMsg GetPlayerMap(Index), "CRITICAL HIT!", BrightCyan, 1, (GetPlayerX(Index) * 32), (GetPlayerY(Index) * 32) End If If Damage > 0 Then Call AttackNpc(Index, i, Damage) Else Call PlayerMsg(Index, "Your attack does nothing.", BrightRed) End If Exit Sub End If ``` Thats where it calculates the damage a player does.
  4. I accessed this page from the main forum, and all I saw was the My first rips part, and I didn't notice the … Then I just clicked on the link so I never noticed the topic title.
  5. Yeah, great job. Where did these come from?
  6. then your factions list needs to have 134 options. Somehow it got changed. Try deleting the NPC(s) and editing again.
  7. A problem I had was that my ISP slipped me a new modem, and it was really a router, so I ended up with a problem portfowarding. Is your modem different from the one you used to have? Oh and please tell us your router model & brand.
  8. I think there is a file called bigsprites.bmp Those look like about the right size. Easiest way would be just to use eclipse orgins.
  9. Source **Questions** Not Requests If you write the code yourself, then it doesn't work, some of us would be all to happy to help you figure out what is wrong.
  10. I really don't have much of an idea, but I believe stable stores the equipment as the inventory slot its in, origins stores the actual item number. I would look at the source, but I'm to lazy to re-download stable.
  11. westin444

    [EO] World map

    No offense, for this to be a real world map you should at least make it load some type of image, as a \/ on a blank screen doesn't mean much. @s3th: I think he means picMap
  12. @Aramyth: > It would be nice if the actually parts and bits were updated in the first post. Because many complain about this tut not working (Because they are too lazy to read the whole thread). > > Aramyth. Then its a good lesson for them.
  13. westin444

    [EO] World map

    lblMap is the button you use to open/close the map.
  14. I usually program like Alatar, with my sister's cat sleeping on half my keyboard, and me hitting some keys between when I kick the cat off and it gets back on. And no, if I throw it out it gets let back in.
  15. Not really. [http://www.diffen.com/difference/Clarinet_vs_Oboe](http://www.diffen.com/difference/Clarinet_vs_Oboe)
  16. Oboe I feel like I play nothing after seeing what everyone else plays.
  17. I do believe Ambardia is shut down for awhile, and when it re-opens will by invite-only.
  18. ah well thats the only reason I could think of. And I've been using Java more than anything else.
  19. I think he is meaning capitalize the String, so not dim str as string, but dim str as String. yeah but just use Val(str as String)
  20. so you have dx8vb.dll in System32? if so: regsvr32 dx8vb.dll in cmd
  21. Then check out the code that is called when you change what the dropdown box is.
  22. @Shinabi: > No duh, it's 0 Can't divide by 0. @Verex: > only **one** number works for it. > > 35 x z + 500z / 9986z - 556z = z Are you implying x=z?
×
×
  • Create New...