http://forge.isxgames.com/http://forge.isxgames.com/themes/PurpleMine2/favicon/favicon.ico?15950532282021-12-22T07:22:01ZisxGames ForgeISXEVE - Bug #2191: Energy weapon range update delay when switching ammos.http://forge.isxgames.com/issues/2191?journal_id=16752021-12-22T07:22:01ZAmadeus
<ul><li><strong>Category</strong> set to <i>annoyance</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback Required</i></li><li><strong>Assignee</strong> set to <i>Amadeus</i></li></ul><p>I will need you to give me detailed information on how to recreate this bug. What's a ship, weapon, ammo, etc. that I can buy (cheap) to test it with? Can you create a script that switches the ammo and spews the weapon range that shows when/how it the bug happens?</p>
<p>There will definately be a delay -- but, if ISXEVE isn't updating as fast as the GUI is updating, then I can look into that. But, there's no way to make it instant, since EVE uses python and nothing is "instant".</p>
ISXEVE - Bug #2191: Energy weapon range update delay when switching ammos.http://forge.isxgames.com/issues/2191?journal_id=16782021-12-22T07:30:56Zsmokemonkey
<ul></ul><p>Amadeus wrote:</p>
<blockquote>
<p>I will need you to give me detailed information on how to recreate this bug. What's a ship, weapon, ammo, etc. that I can buy (cheap) to test it with? Can you create a script that switches the ammo and spews the weapon range that shows when/how it the bug happens?</p>
<p>There will definately be a delay -- but, if ISXEVE isn't updating as fast as the GUI is updating, then I can look into that. But, there's no way to make it instant, since EVE uses python and nothing is "instant".</p>
</blockquote>
<p>Actually I don't think range update needs to be instant, but I think it's possible that we make this ${This.Charge.Type.Equal[${shortRangeAmmo}]} NOT return TRUE before range is updated. <br>
<br>
Will update with script details later.</p>
ISXEVE - Bug #2191: Energy weapon range update delay when switching ammos.http://forge.isxgames.com/issues/2191?journal_id=16842021-12-22T11:48:43Zsmokemonkey
<ul></ul><p>I got this bug with short ammo 'Conflagration L'/ long ammo 'Scorch L' in weapon 'Mega Pulse Laser ||' which is fitted in an amarr battleship. Again I believe it should also happen on smaller weapon and cheaper ships.</p>
<p>you can see in this commit <a class="external" href="https://github.com/SmokeMonkey/Tehbot/commit/8b78e0bd670aca10b48dea944e70d38aa81bd726">https://github.com/SmokeMonkey/Tehbot/commit/8b78e0bd670aca10b48dea944e70d38aa81bd726</a><br>
that I try memorize the short ammo range to optimize ammo selecting,<br>
<br>
then I reverted the change in commit <a class="external" href="https://github.com/SmokeMonkey/Tehbot/commit/5fd70b580748d407208cb1fec9b47aed2d907711">https://github.com/SmokeMonkey/Tehbot/commit/5fd70b580748d407208cb1fec9b47aed2d907711</a><br>
because I encountered the reported bug.<br>
<br>
The module operating logic I wrote works with 200 milliseconds interval and the bug happened in basically every mission I do. You can add output after caching the range(just like the part I commented out in the second commit) and you will see that weapon loaded with short ammo still have long ammo range. It's expected that there is delay before the range is updated, but I hope the range is updated no later than the charge is displayed to be switched, or in another word, ${This.Charge.Type.Equal[${shortRangeAmmo}]} is TRUE.<br>
<br>
The Module operation code is quite complicated to be cut out ot work inpendently. I would hope you try to test with tehbot in mission first. If that's difficult, let's try create a script switching ammo repeatly and output range every 200 milliseconds.</p>