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

Sheker

Members
  • Posts

    35
  • Joined

  • Last visited

    Never

Sheker's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. The bottom post of this thread has a fix: http://www.touchofdeathforums.com/smf2/index.php/topic,80321.msg860172.html#msg860172
  2. Oh I see, that's good. Just one more thing, the town is flamboyant red. People may not know how to fix the map tinting on there, or even know what it is for starters.
  3. Force spawning NPCs do not work when "Don't Autospawn" is checked. EDIT: You also can't press "Edit" on the new event features, other than the weather system and the chat bubble event which you can press "Edit" on perfectly fine. Tinting also does not work completely.
  4. Sheker

    Pet System

    It should work. I compared the systems in CS:DE and EO2.0 that are edited in this system, and they're practically the same. What's wrong with it?
  5. Sheker

    Pet System

    Implementing Lightning's Pet System on CS:DE, and everything works but one line. ``` ' ///////////////////////////////////////////// ' // This is used for npcs to attack targets // ' ///////////////////////////////////////////// ' Make sure theres a npc with the map If Map(mapNum).Npc(x) > 0 And MapNpc(mapNum).Npc(x).Num > 0 Then target = MapNpc(mapNum).Npc(x).target targetType = MapNpc(mapNum).Npc(x).targetType ' Check if the npc can attack the targeted player player If target > 0 Then If targetType = 1 Then ' player ' Is the target playing and on the same map? If IsPlaying(target) And GetPlayerMap(target) = mapNum Then ' melee combat TryNpcAttackPlayer x, target ElseIf targetType = 2 Then ' lol no npc combat :( DATS WAT YOU THINK If CanNpcAttackNpc(mapNum, x, MapNpc(mapNum).Npc(x).target) = True Then Call NpcAttackNpc(mapNum, x, MapNpc(mapNum).Npc(x).target, Npc(Map(mapNum).Npc(x)).Damage) End If Else ' Player left map or game, set target to 0 MapNpc(mapNum).Npc(x).target = 0 MapNpc(mapNum).Npc(x).targetType = 0 ' clear End If End If End If ' check for spells If MapNpc(mapNum).Npc(x).spellBuffer.Spell = 0 Then ' loop through and try and cast our spells For i = 1 To MAX_NPC_SPELLS If Npc(npcNum).Spell(i) > 0 Then NpcBufferSpell mapNum, x, i End If Next Else ' check the timer If MapNpc(mapNum).Npc(x).spellBuffer.Timer + (Spell(Npc(npcNum).Spell(MapNpc(mapNum).Npc(x).spellBuffer.Spell)).CastTime * 1000) < GetTickCount Then ' cast the spell NpcCastSpell mapNum, x, MapNpc(mapNum).Npc(x).spellBuffer.Spell, MapNpc(mapNum).Npc(x).spellBuffer.target, MapNpc(mapNum).Npc(x).spellBuffer.tType ' clear the buffer MapNpc(mapNum).Npc(x).spellBuffer.Spell = 0 MapNpc(mapNum).Npc(x).spellBuffer.target = 0 MapNpc(mapNum).Npc(x).spellBuffer.Timer = 0 MapNpc(mapNum).Npc(x).spellBuffer.tType = 0 End If End If End If ```"Call NpcAttackNpc" is highlighted in "Call NpcAttackNpc(mapNum, x, MapNpc(mapNum).Npc(x).target, Npc(Map(mapNum).Npc(x)).Damage)", and I tried to comment it out and it compiled properly. Does anybody know what's wrong?
  6. Any rough pointers, though? As to how? EDIT: I have VB6, by the way.
  7. Also, how do you do the same for spells?
  8. How do you make item descriptions appear in CS:DE?
  9. You don't need to write your own paperdoll script. It is impossible to import it from EO2.0 because they both have totally different rendering systems. http://www.touchofdeathforums.com/smf/index.php/topic,76976.0.html This is a tutorial to put CS:DE paperdolls in.
  10. Europe. Name: Sylkasha. Favourite Champion: Soraka Attack Speed Build (look at my recent scores, it's not a troll build)
  11. @Dream: > ``` > x = GUIWindow(GUI_MAINMENU).x + Buttons(i).x > ``` > Can you help me? ;P First time I did that, I put it in the wrong sub because some subs have same code in it which slightly differs. Check it again and put it in the right one.
×
×
  • Create New...