Advertisement
Guest User

some developers logs

a guest
Mar 13th, 2012
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.11 KB | None | 0 0
  1. 12:24:47] <[Evo]Forboding_Angel> I'm getting these types of errors in infolog in 87
  2. [12:24:52] <[Evo]Forboding_Angel> [f=0000000] Failed to load: lups_shockwaves.lua ([string "LuaRules/Gadgets/lups_shockwaves.lua"]:22: ERROR_TYPE in WeaponDefs __index)
  3. [12:25:10] <[Evo]Forboding_Angel> Is that caused by using rendertype instead of weapontype tag in the weapon?
  4. [12:28:27] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
  5. [12:28:33] ** nixtux_lostpassword joined the channel.
  6. [12:28:43] <[LCC]jK> https://github.com/spring/spring/blob/develop/doc/changelog.txt#L8
  7. [12:29:09] <[Evo]Forboding_Angel> !!!!!
  8. [12:29:13] <[Evo]Forboding_Angel> and replace with what???
  9. [12:29:51] <[Evo]Forboding_Angel> You're saying that those tags were removed???
  10. [12:32:08] <[Evo]Forboding_Angel> please respond?
  11. [12:33:04] <[LCC]jK> https://github.com/spring/spring/blob/develop/rts/Lua/LuaWeaponDefs.cpp#L478
  12. [12:33:34] <[Evo]Forboding_Angel> so it was split into two tags?
  13. [12:33:54] <[Evo]Forboding_Angel> And you guys didn't mark that in the changelog... Might I ask why?
  14. [12:34:17] <[LCC]jK> blame kloot
  15. [12:34:21] <[Evo]Forboding_Angel> That is a huge deal, but the only mention it gets is:
  16. [12:34:22] <[Evo]Forboding_Angel> remove the following Lua consts: wdef[id].areaOfEffect, wdef[id].maxVelocity & wdef[id].onlyTargetCategories
  17. [12:34:24] <[Evo]Forboding_Angel> Arugh
  18. [12:34:26] <[Evo]Forboding_Angel> ok nuff said
  19. [12:34:39] <[Evo]Forboding_Angel> so were all those tags basically split?
  20. [12:34:45] <[Evo]Forboding_Angel> into multiples?
  21. [12:35:05] <[LCC]jK> no, 2nd is replaced and 3rd is removed as a whole
  22. [12:35:57] <[Evo]Forboding_Angel> pardon my frustration, but I do not understand
  23. [12:36:25] <[Evo]Forboding_Angel> what has maxvelocity changed to?
  24. [12:36:42] <[Evo]Forboding_Angel> and why would only target categories be removed?
  25. [12:36:43] <[LCC]jK> it always was projectilespeed * GAME_SPEED
  26. [12:37:03] <[Evo]Forboding_Angel> ok so projectilespeed, rgr
  27. [12:37:15] <[Evo]Forboding_Angel> but why onlytargetcategories???
  28. [12:37:21] <[Evo]Forboding_Angel> << Extremely frustrated
  29. [12:37:27] <[LCC]jK> and there were 2 otc, unit & weapon one, weapon one was only used for aironly weapons
  30. [12:37:37] <[LCC]jK> I am frustrated too
  31. [12:37:52] <[Evo]Forboding_Angel> so wait
  32. [12:38:01] <[Evo]Forboding_Angel> I have units that can't shoot other units
  33. [12:38:02] <[Evo]Forboding_Angel> on the ground
  34. [12:38:07] <[Evo]Forboding_Angel> wtf am I supposed to do now?
  35. [12:38:16] <[LCC]jK> use unit one?
  36. [12:38:33] <[Evo]Forboding_Angel> unit one?
  37. [12:38:42] <[Evo]Forboding_Angel> oh you mean
  38. [12:38:51] <[Evo]Forboding_Angel> unit onlytargetcategory
  39. [12:39:09] <[Evo]Forboding_Angel> well taht's fricking stupid though! That's an entire unit rule instead of a per eapon rule!
  40. [12:39:20] ** [V]sheep left the channel( Quit ).
  41. [12:39:26] <[LCC]jK> it's not stupid
  42. [12:39:49] <[Evo]Forboding_Angel> what if I have unit with 2 weapons
  43. [12:39:54] <[Evo]Forboding_Angel> one that shoots only air
  44. [12:39:58] <[LCC]jK> this is the only change of those 3 that makes sense
  45. [12:39:58] <[Evo]Forboding_Angel> and one that shoots only ground
  46. [12:40:14] <[LCC]jK> check your unitdef rules
  47. [12:40:21] <[LCC]jK> and where it defines otc
  48. [12:41:06] <[Evo]Forboding_Angel> so wait, I now have to jump through 5 hoops to do what I could do before with just one
  49. [12:41:11] <[Evo]Forboding_Angel> great.
  50. [12:41:23] <[Evo]Forboding_Angel> otc should be in weapondefs, not unitdefs
  51. [12:41:25] <[LCC]jK> o_O
  52. [12:41:25] <[Evo]Forboding_Angel> imo
  53. [12:41:43] <[Evo]Forboding_Angel> now to do what I mentioned above
  54. [12:41:50] <[Evo]Forboding_Angel> oi
  55. [12:41:57] <[LCC]jK> [09:40:15] <[LCC]jK> check your unitdef rules
  56. [12:41:57] <[LCC]jK> [09:40:21] <[LCC]jK> and where it defines otc
  57. [12:42:06] <[LCC]jK> your complains are not valid
  58. [12:42:39] <[Evo]Forboding_Angel> I disagree, and I would be willing to be that smoth would agree with me. It's removing flexibility
  59. [12:42:51] <[Evo]Forboding_Angel> -be +bet
  60. [12:43:03] <[Evo]Forboding_Angel> Thank you for explaining this to me btw
  61. [12:43:21] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
  62. [12:43:26] ** nixtux_lostpassword joined the channel.
  63. [12:43:30] <[Evo]Forboding_Angel> Nice that kloot basically fucked everyone over without a reacharound
  64. [12:43:33] <[Evo]Forboding_Angel> that was nice of him
  65. [12:44:03] <[LCC]jK> YOU NEVER EVER WAS ABLE TO WRITE TO THE WEAPONDEF ONE!
  66. [12:44:39] <[LCC]jK> IT WAS _ONLY_ USED FOR TOAIR_ONLY WEAPONS
  67. [12:45:26] <[LCC]jK> and that's a stupid TA-ism crap (handling a special case, that is already handled somewhere else)
  68. [12:46:06] <[LCC]jK> as said it is the only change of those 3 that makes sense
  69. [12:46:08] <[Evo]Forboding_Angel> I didn't know that
  70. [12:46:12] <[Evo]Forboding_Angel> thanks for the info
  71. [12:46:20] <[Evo]Forboding_Angel> but wait
  72. [12:46:31] <[Evo]Forboding_Angel> well nm
  73. [12:46:44] <[Evo]Forboding_Angel> nm screwit. Okiedoke
  74. [12:46:52] <[LCC]jK> :)
  75. [12:47:04] <[Evo]Forboding_Angel> I will upadte wiki
  76. [12:47:30] <[Evo]Forboding_Angel> is the crater tag necessary?
  77. [12:47:38] <[Evo]Forboding_Angel> or does it default to the new aoetag?
  78. [12:47:56] <[Evo]Forboding_Angel> damageAreaOfEffect
  79. [12:48:08] <[LCC]jK> that's in the changelog of 85
  80. [12:48:58] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
  81. [12:49:24] <[Evo]Forboding_Angel> areaofeffect is now damageAreaOfEffect correct?
  82. [12:49:59] ** nixtux_lostpassword joined the channel.
  83. [12:50:03] <[LCC]jK> yup
  84. [12:51:21] <[LCC]jK> but only as output https://github.com/spring/spring/blob/develop/rts/Sim/Weapons/WeaponDefHandler.cpp#L166
  85. [12:51:47] <[LCC]jK> as said this is the part that doesn't make sense
  86. [12:54:11] <[Evo]Forboding_Angel> so what do i change in the weapondefs?
  87. [12:54:32] <[Evo]Forboding_Angel> I am so confused
  88. [12:55:23] <[LCC]jK> weapondefs got a new tag craterAreaOfEffect that defaults to areaofeffect
  89. [12:57:33] <[Evo]Forboding_Angel> ok
  90. [12:57:43] <[Evo]Forboding_Angel> so why is infolog bitching about error type?
  91. [12:58:06] <[Evo]Forboding_Angel> is that referring to use of rendertype instead of weapontype?
  92. [13:00:08] ** _koshi_ joined the channel.
  93. [13:00:21] ** _koshi_ left the channel( Quit: Exiting ).
  94. [13:01:46] <[LCC]jK> cause you use areaofeffect
  95. [13:02:46] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
  96. [13:03:50] ** nixtux_lostpassword joined the channel.
  97. [13:04:10] ** [LCC]jK left the channel( Ghosted ).
  98. [13:04:11] ** [LCC]jK joined the channel.
  99. [13:07:02] <[Evo]Forboding_Angel> but
  100. [13:07:11] <[Evo]Forboding_Angel> you said it only change the name for output?
  101. [13:07:58] <[LCC]jK> yup
  102. [13:09:07] <[Evo]Forboding_Angel> so I need to change all areaofeffect to damageAreaOfEffect yes?
  103. [13:10:16] <[LCC]jK> ... it is inconsistent, but not that complicated ...
  104. [13:11:02] <[LCC]jK> in LUA SCRIPTS areaofeffect was replaced with damageAreaOfEffect, in your WEAPONDEFs you still use aoe
  105. [13:11:23] <[Evo]Forboding_Angel> oh my fucking god
  106. [13:11:31] <[Evo]Forboding_Angel> now I understand
  107. [13:11:41] <[Evo]Forboding_Angel> wtf kind of dick move is that supposed to be?
  108. [13:12:26] <[LCC]jK> blame kloot
  109. [13:13:59] <[Evo]Forboding_Angel> can't fine "areaofeffect" in lups flamejitter
  110. [13:14:55] <[LCC]jK> shockwave
  111. [13:15:08] <[LCC]jK> not flamejitter
  112. [13:15:31] <[Evo]Forboding_Angel> oh
  113. [13:17:00] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
  114. [13:17:05] ** nixtux_lostpassword joined the channel.
  115. [13:18:05] <[Evo]Forboding_Angel> Once again, thanks for the help... gonna test this out
  116. [13:20:27] <[Evo]Forboding_Angel> It's still throwing errors like crazy
  117. [13:20:34] <[Evo]Forboding_Angel> same error
  118. [13:20:49] <[LCC]jK> it tells you the file and line
  119. [13:21:50] <[Evo]Forboding_Angel> local ballisticRange = weaponDef.maxVelocity * weaponDef.maxVelocity / gravity
  120. [13:21:53] <[Evo]Forboding_Angel> ahh
  121. [13:21:56] <[Evo]Forboding_Angel> projectilespeed
  122. [13:22:02] <[Evo]Forboding_Angel> what a fucking prick
  123. [13:22:09] <[Evo]Forboding_Angel> what that entirely fuckign necessary?
  124. [13:22:17] <[Evo]Forboding_Angel> asshole >:(
  125. [13:24:09] <[Evo]Forboding_Angel> I don't get it
  126. [13:24:26] <[Evo]Forboding_Angel> does that mean taht maxvelocity in weapondefs needs to be changed to projectilespeed?
  127. [13:24:44] <nixtux_lostpassword> No
  128. [13:25:20] <[Evo]Forboding_Angel> nope
  129. [13:25:26] <[Evo]Forboding_Angel> yeah jsut tested
  130. [13:25:28] <[Evo]Forboding_Angel> what the fuck?
  131. [13:25:34] <[Evo]Forboding_Angel> that doesn't even make sense!
  132. [13:25:50] <[Evo]Forboding_Angel> So in lua
  133. [13:25:58] <[Evo]Forboding_Angel> instead of weaponDef.maxVelocity
  134. [13:26:01] <[Evo]Forboding_Angel> you ahve to use weaponDef.projectilespeed
  135. [13:26:08] <[Evo]Forboding_Angel> which makes no sense at all!
  136. [13:26:19] <[Evo]Forboding_Angel> how are these changes not outright reverted?
  137. [13:26:41] <[LCC]jK> weaponDef.projectilespeed / Game.gameSpeed
  138. [13:27:10] <[LCC]jK> I reverted them for 85.0 and kloot raged that the would leave spring
  139. [13:27:26] <[LCC]jK> and since that he didn't joined a single meeting
  140. [13:27:31] <[Evo]Forboding_Angel> ... ffs this isn't frigging wikipedia...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement