| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| EP we need a fix for your haggle https://mail.black-squirrel.com/viewtopic.php?f=15&t=26488 |
Page 1 of 1 |
| Author: | Helix [ Sun Jul 11, 2010 2:13 pm ] |
| Post subject: | EP we need a fix for your haggle |
It still hangs TWX on getting the port report. TWX spikes the CPU at 50%-98% and hangs. It happens often but not everytime it is run. H |
|
| Author: | ElderProphet [ Mon Jul 12, 2010 4:17 pm ] |
| Post subject: | Re: EP we need a fix for your haggle |
If the port's trading percentage is very low, then it isn't hanging, it's calculating. Can you confirm? |
|
| Author: | Helix [ Mon Jul 12, 2010 6:06 pm ] |
| Post subject: | Re: EP we need a fix for your haggle |
ElderProphet wrote: If the port's trading percentage is very low, then it isn't hanging, it's calculating. Can you confirm? Confirm, its hanging. I have left it go for 30 minutes a couple of times and it doesnt recover and it only happens when pulling the port report. |
|
| Author: | ElderProphet [ Tue Jul 13, 2010 6:43 pm ] |
| Post subject: | Re: EP we need a fix for your haggle |
Next time it happens, save me a screen shot. Off the top of my head, I expect that some portion of the port report is being aborted. Also, after getting the screen shot, do $st and give me a copy of the active triggers, and I should be able to narrow it down. |
|
| Author: | Helix [ Tue Jul 13, 2010 9:12 pm ] |
| Post subject: | Re: EP we need a fix for your haggle |
I can do the screen shot (It will show the script frozen at the Port) but it locks up TWX so no $st. Settings: Haggle Options:00:00]:[6655] (?=Help)? : Q - Terminate script 1 - Haggle and Hold Off 2 - Worst Price Off 3 - MBBS Mode Off 4 - Planetary Trade % 100 5 - Blue Haggle On 6 - Swath Offer Capture On 7 - Haggle Toggle Active 8 - Suppress Menu on Load Off 9 - Query DB for Current Port Info ; - Continue I - Import Sector Parms From file W - Write Sector Parms to file X - eXit and write data to file Will add the screen shot when it locks up H |
|
| Author: | Helix [ Wed Jul 14, 2010 7:50 am ] |
| Post subject: | Re: EP we need a fix for your haggle |
Scolfax killed the game I was testing this in. Will try to run it again later today |
|
| Author: | Singularity [ Wed Jul 14, 2010 8:57 am ] |
| Post subject: | Re: EP we need a fix for your haggle |
It's the port line that contains the current date and time that does this. It appears connected to the initial stats bug I reported a few months back. If you do a series of stats, it tends to fix. Here is the block of code I use to load the haggle from within other scripts. It seems to fix this problem, at least for me. Code: # Load EP haggle send #42 waitFor "Trade Wars 2002 Global Commands" waitFor "Command [TL=" gosub :set_haggle gosub :set_best_price load $ep_haggle_file waitFor "<Computer deactivated>" waitFor "Ship " waitFor "Command [TL=" send "///@" waitFor "Average Interval Lag:" But yea, this is an area that needs fixed. It would also be good to get it updated for 2.05 so we can test the alpha release in actual games. |
|
| Author: | Helix [ Thu Jul 15, 2010 6:17 am ] |
| Post subject: | Re: EP we need a fix for your haggle |
Display planet? No Sitting frozen at the 'for' Here is what was on the port when it happened, I was buying down fuel -=-=- Docking Log -=-=- |
|
| Author: | ElderProphet [ Mon Jul 19, 2010 11:22 pm ] |
| Post subject: | Re: EP we need a fix for your haggle |
Thanks Helix. Please post any other screen shots here as well. That one doesn't help much, and it's hard for me to see how the haggle alone could cause it to hang at that particular point, but another screen shot may reveal more. I'd like to know what other scripts are active, and a complete dump of the active triggers ($st*) if you can get it. I'm pretty sure that this is going to come down to some interaction between multiple scripts. |
|
| Author: | Helix [ Tue Jul 20, 2010 6:53 am ] |
| Post subject: | Re: EP we need a fix for your haggle |
I am running mombot 3.1032 and 2_worldtrade using your haggle include this is when it occurs the most. Talk to Sing about about it. I know I cant be the only person this is happening with. If you think its hanging, waiting for a trigger from some other script, no way. We are talking about TWX using 50%-98% of the CPU when this happens, its not just sitting there waiting. And its not stuck calculating a low percentage port. H |
|
| Author: | Singularity [ Tue Jul 20, 2010 10:54 am ] |
| Post subject: | Re: EP we need a fix for your haggle |
I still think it's connected to the slash stats issue. Try adding several slashes before calling the script and see if it helps. See above for details. |
|
| Author: | Helix [ Tue Jul 20, 2010 12:39 pm ] |
| Post subject: | Re: EP we need a fix for your haggle |
Thanks I will Helix |
|
| Author: | Helix [ Wed Jul 21, 2010 3:34 pm ] | ||
| Post subject: | Re: EP we need a fix for your haggle | ||
You have 50,001 fighters available.
|
|||
| Author: | Parrothead [ Fri Oct 08, 2010 9:41 pm ] |
| Post subject: | Re: EP we need a fix for your haggle |
I have had it screw up bad if the port % is set incorrectly so I set my bot to fill it in for me |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|