Advertisement
lavalevel

Spawning Troubles

Aug 15th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. CHECKING SPAWN, NUMBER OF ENEMIES=0
  2. player X, Y : 5 6
  3. spawn X, Y : 11 8
  4. spawn possible - spawning
  5. = > atrace (00:09:06:992) table: 0x14154640 {
  6. [1] => table: 0x14154640 {
  7. [npcPsych] => "guard"
  8. [npcTurnState] => "moved"
  9. [npcQuest] => 0
  10. [npcName] => "Male Noble Elf"
  11. [npcSpeedMax] => 1
  12. [npcHitPointsMax] => 200
  13. [npcAlignment] => "good"
  14. [npcSpeed] => 1
  15. [npcDefense] => 7
  16. [npcLocation] => "offScreen"
  17. [npcPurpose] => "talk"
  18. [npcTreasure] => "Ring of Regneration1"
  19. [npcAttack] => 15
  20. [npcHitPoints] => 123
  21. [npcRange] => 7
  22. [npcDex] => 2
  23. [npcXY] => 90
  24. [npcAction] => "stay"
  25. [npcCombat] => 0
  26. [npcTalk] => 1
  27. }
  28. }
  29. /Users/eric/Documents/CRPG/scene_game.lua:2232: in function </Users/eric/Documents/CRPG/scene_game.lua:2157>
  30.  
  31. ***************** SPAWNED Bandit
  32. = > atrace (00:09:06:992) table: 0x14154640 {
  33. [1] => table: 0x14154640 {
  34. [npcPsych] => "guard"
  35. [npcTurnState] => "moved"
  36. [npcQuest] => 0
  37. [npcName] => "Male Noble Elf"
  38. [npcSpeedMax] => 1
  39. [npcHitPointsMax] => 200
  40. [npcAlignment] => "good"
  41. [npcSpeed] => 1
  42. [npcDefense] => 7
  43. [npcLocation] => "offScreen"
  44. [npcPurpose] => "talk"
  45. [npcTreasure] => "Ring of Regneration1"
  46. [npcAttack] => 15
  47. [npcHitPoints] => 123
  48. [npcRange] => 7
  49. [npcDex] => 2
  50. [npcXY] => 90
  51. [npcAction] => "stay"
  52. [npcCombat] => 0
  53. [npcTalk] => 1
  54. }
  55. [2] => table: 0x14154640 {
  56. [npcPsych] => "seek"
  57. [npcTurnState] => "inLine"
  58. [npcQuest] => 0
  59. [npcName] => "Bandit"
  60. [npcSpeedMax] => 2
  61. [npcHitPointsMax] => 10
  62. [npcAlignment] => "evil"
  63. [npcSpeed] => 1
  64. [npcDefense] => 8
  65. [npcLocation] => "offScreen"
  66. [npcPurpose] => "fight"
  67. [npcTreasure] => "Skele1"
  68. [npcAttack] => 6
  69. [npcHitPoints] => 6
  70. [npcRange] => 3
  71. [npcDex] => 5
  72. [npcXY] => 123
  73. [npcAction] => "find"
  74. [npcCombat] => 1
  75. [npcTalk] => 0
  76. }
  77. }
  78. /Users/eric/Documents/CRPG/scene_game.lua:2236: in function </Users/eric/Documents/CRPG/scene_game.lua:2157>
  79.  
  80.  
  81.  
  82. OK, So 1 monster spawned. Everything is great. Here another monster spawns and it does the weird stuff...
  83.  
  84. CHECKING SPAWN, NUMBER OF ENEMIES1
  85. player X, Y : 5 6
  86. spawn X, Y : 11 8
  87. spawn possible - spawning
  88. = > atrace (00:11:31:467) table: 0x14154640 {
  89. [1] => table: 0x14154640 {
  90. [npcPsych] => "guard"
  91. [npcTurnState] => "inLine"
  92. [npcQuest] => 0
  93. [npcName] => "Male Noble Elf"
  94. [npcSpeedMax] => 1
  95. [npcHitPointsMax] => 200
  96. [npcAlignment] => "good"
  97. [npcSpeed] => 1
  98. [npcDefense] => 7
  99. [npcLocation] => "offScreen"
  100. [npcPurpose] => "talk"
  101. [npcTreasure] => "Ring of Regneration1"
  102. [npcAttack] => 15
  103. [npcHitPoints] => 123
  104. [npcRange] => 7
  105. [npcDex] => 2
  106. [npcXY] => 90
  107. [npcAction] => "stay"
  108. [npcCombat] => 0
  109. [npcTalk] => 1
  110. }
  111. [2] => table: 0x14154640 {
  112. [npcPsych] => "seek"
  113. [npcTurnState] => "inLine"
  114. [npcQuest] => 0
  115. [npcName] => "Bandit"
  116. [npcSpeedMax] => 2
  117. [npcHitPointsMax] => 10
  118. [npcAlignment] => "evil"
  119. [npcSpeed] => 2
  120. [npcDefense] => 8
  121. [npcLocation] => "offScreen"
  122. [npcPurpose] => "fight"
  123. [npcTreasure] => "Skele1"
  124. [npcAttack] => 6
  125. [npcHitPoints] => 6
  126. [npcRange] => 3
  127. [npcDex] => 5
  128. [npcXY] => 123
  129. [npcAction] => "find"
  130. [npcCombat] => 1
  131. [npcTalk] => 0
  132. }
  133. }
  134. /Users/eric/Documents/CRPG/scene_game.lua:2232: in function </Users/eric/Documents/CRPG/scene_game.lua:2157>
  135.  
  136. ***************** SPAWNED Bandit
  137. = > atrace (00:11:31:467) table: 0x14154640 {
  138. [1] => table: 0x14154640 {
  139. [npcPsych] => "guard"
  140. [npcTurnState] => "inLine"
  141. [npcQuest] => 0
  142. [npcName] => "Male Noble Elf"
  143. [npcSpeedMax] => 1
  144. [npcHitPointsMax] => 200
  145. [npcAlignment] => "good"
  146. [npcSpeed] => 1
  147. [npcDefense] => 7
  148. [npcLocation] => "offScreen"
  149. [npcPurpose] => "talk"
  150. [npcTreasure] => "Ring of Regneration1"
  151. [npcAttack] => 15
  152. [npcHitPoints] => 123
  153. [npcRange] => 7
  154. [npcDex] => 2
  155. [npcXY] => 90
  156. [npcAction] => "stay"
  157. [npcCombat] => 0
  158. [npcTalk] => 1
  159. }
  160. [2] => table: 0x14154640 {
  161. [npcPsych] => "seek"
  162. [npcTurnState] => "inLine"
  163. [npcQuest] => 0
  164. [npcName] => "Bandit"
  165. [npcSpeedMax] => 2
  166. [npcHitPointsMax] => 10
  167. [npcAlignment] => "evil"
  168. [npcSpeed] => 2
  169. [npcDefense] => 8
  170. [npcLocation] => "offScreen"
  171. [npcPurpose] => "fight"
  172. [npcTreasure] => "Skele1"
  173. [npcAttack] => 6
  174. [npcHitPoints] => 6
  175. [npcRange] => 3
  176. [npcDex] => 5
  177. [npcXY] => 123
  178. [npcAction] => "find"
  179. [npcCombat] => 1
  180. [npcTalk] => 0
  181. }
  182. [3] => table: 0x14154640 {
  183. *table: 0x141e9940
  184. }
  185. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement