www.ClassicTW.com
https://mail.black-squirrel.com/

k_news
https://mail.black-squirrel.com/viewtopic.php?f=15&t=25602
Page 1 of 1

Author:  Legion [ Fri Jan 29, 2010 6:45 pm ]
Post subject:  k_news

I downloaded the k_news script from grimys and it seem to lock up my twx.

ive tried it a couple times..

anyone else have the same problem?


could it be that there are 100's of lines of pbusting?

Author:  Parrothead [ Fri Jan 29, 2010 10:05 pm ]
Post subject:  Re: k_news

what game and server..ill log in and see what i get

Author:  Electra [ Sat Jan 30, 2010 3:00 pm ]
Post subject:  Re: k_news

The same thing happens with 'news' commands in latest mombot when there are pages and pages of planet busting.

Author:  Parrothead [ Sat Jan 30, 2010 5:00 pm ]
Post subject:  Re: k_news

well Ill fix my code and leave the Mom guys to theirs.

two things that I want to add to the script is maximum planet bust limit and compare corpies on the possible pods to filter out the SDT/SST furbing as this creates to much spam.


Server name and game where this is happening to either script please. I dont frequent ORE Whore style games or unlim's so...

server name and game letter please

Author:  Parrothead [ Sat Jan 30, 2010 5:59 pm ]
Post subject:  Re: k_news

S: --------Team Kraaken News Reader--------
S:
S: --- Planet News: ---
S:
S: An unstable planetary mass was detected in sector 18247
S:
S: Planets . and . collided!
S:
S: 400 Planets Popped:
S:
S: by 1 Traders
S:
S: 400 by Parrothead
S:
S:
S: --------Team Kraaken News Reader--------
S:


from a test game. The script does run for 12 seconds before output...Is that what you mean by Locked up?


I did find one small bug but it shouldn't cause anyone to lock up. I go out of my way to prevent endless loops when possible.

The update as been posted to grimy's

Author:  Yop_Solo [ Sat Jan 30, 2010 6:50 pm ]
Post subject:  Re: k_news

I got something lock up my twx... and when i read you, i thought about that I used that script ... but now, it's ok... it's happen 2 times...

I restarted my twx saved game to zero...

Author:  Parrothead [ Sat Jan 30, 2010 9:06 pm ]
Post subject:  Re: k_news

Added the filter to Clip the furbs from the Podded list...Posted on Grimy's..also at Nazhaz

Author:  ElderProphet [ Sun Jan 31, 2010 11:11 am ]
Post subject:  Re: k_news

Parrothead wrote:
The script does run for 12 seconds before output...

That sounds like a lot of processing, or is that an intentional delay?

Author:  Big D [ Sun Jan 31, 2010 12:57 pm ]
Post subject:  Re: k_news

ElderProphet wrote:
Parrothead wrote:
The script does run for 12 seconds before output...

That sounds like a lot of processing, or is that an intentional delay?


I has to read the daily log, which in some games can be quite long. Not sure if he has the read time buffered or not.

Author:  Parrothead [ Sun Jan 31, 2010 2:37 pm ]
Post subject:  Re: k_news

ElderProphet wrote:
Parrothead wrote:
The script does run for 12 seconds before output...

That sounds like a lot of processing, or is that an intentional delay?


Code is posted.

http://www.classictw.com/viewtopic.php?f=15&t=25344

I lot of things must be sorted , counted , padded for output and then output.

I have never had it lock up a twx.

Waiting for the server addy and game letter to verify claim.

Author:  Parrothead [ Sun Jan 31, 2010 9:35 pm ]
Post subject:  Re: k_news

Legion was right the script locked up the TWX...however the dailies log constisted of 4 corps planet pimping for 20 hours straight in an umlim/truce thing. Just to READ the dailies took 8 minutes to scroll through.

Obviously Twx hit some kind of limit on its ability to process and filter the info. Looking into a fix.

Author:  Parrothead [ Sun Jan 31, 2010 10:28 pm ]
Post subject:  Re: k_news

I have limited the output to max of 400 planets.
After this I doubt there is any useful info.
This seems to have solved the issue.

Re uploaded to Grimy's.

Thx for the bug report.

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