www.ClassicTW.com
http://classictw.com/

EP_Haggle2017v2 - Bug Fixes
http://classictw.com/viewtopic.php?f=15&t=35122
Page 1 of 1

Author:  ElderProphet [ Fri Oct 27, 2017 8:25 pm ]
Post subject:  EP_Haggle2017v2 - Bug Fixes

Hey guys,
I have found and fixed several scenarios where my haggle routine would throw the dreaded DERIVE FAILED error. Also, the bug in line 1175 has been squished.

Update is attached.

Good luck in HHT!
+EP+

Attachments:
EP_Haggle2017v2.zip [22.71 KiB]
Downloaded 594 times

Author:  Mind Dagger [ Sat Oct 28, 2017 11:49 pm ]
Post subject:  Re: EP_Haggle2017v2 - Bug Fixes

Thank you, EP!!

Author:  Hammer_2 [ Sun Oct 29, 2017 12:32 am ]
Post subject:  Re: EP_Haggle2017v2 - Bug Fixes

Thanks EP,

was a bit busy yesterday trying to get setup in the HHT to thank you then.

I did go to the trouble of re-writing all our scripts to have a time out on haggle and a EP restart function :) guess they don't need it now hehe

Author:  ElderProphet [ Sun Oct 29, 2017 6:20 pm ]
Post subject:  Re: EP_Haggle2017v2 - Bug Fixes

Hammer_2 wrote:
I did go to the trouble of re-writing all our scripts to have a time out on haggle and a EP restart function :) guess they don't need it now hehe

I've corrected all of the ways that I was able to make it fail, but your error handling can't hurt. So while I'm not seeing any failures, keep in mind that I've not added any error handling to it... so if it fails, it'll still pause and wait for you to finish the haggle by hand.

Most of the fixes were for occassions when the math works out to an exact .5, and TradeWars rounds it the wrong way.

I also killed the textout trap, so that you actually can complete haggles by hand.

Happy trading,
+EP+

Author:  Hammer_2 [ Sun Oct 29, 2017 6:47 pm ]
Post subject:  Re: EP_Haggle2017v2 - Bug Fixes

ElderProphet wrote:

I also killed the textout trap, so that you actually can complete haggles by hand.



Oh yeah, that was the killer. I'll no doubt play a planet pimping game in the future; that's where I had the most issues. If I see any fails I'll pm you the details.

Thanks EP

Author:  Cruncher [ Sun Oct 29, 2017 8:46 pm ]
Post subject:  Re: EP_Haggle2017v2 - Bug Fixes

ElderProphet wrote:
Hey guys,
I have found and fixed several scenarios where my haggle routine would throw the dreaded DERIVE FAILED error. Also, the bug in line 1175 has been squished.

Update is attached.

Good luck in HHT!
+EP+


You're the best EP!

Author:  Comet [ Wed Dec 13, 2017 7:35 pm ]
Post subject:  Re: EP_Haggle2017v2 - Bug Fixes

It's coming close to 2018 :) lol

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/