IOException for zachbardon and Map Manager error for use_for_items.txt

Raven434

Member
I have started to see these on a fairly regular basis. This occurs with all of the daily builds for the past week+

I have made sure to update zlib, smartstasis and batbrain but am confused by these errors.

IOException during data post (http://zachbardon.com/mafiatools/autoupdate.php?f=use_for_items&act=getver).
Updating use_for_items.txt from '' to ''...
Error loading use_for_items.txt from the Map Manager


The performance hit is huge as it seems to take forever to grind through my turns.

Thanks.
 

Winterbay

Active member
This is because for some reason Mafia cannot reach zarqon's server and Mafia waits for it to ping out before continuing. It is trying to download the latest version of a map from the mapmanager and failing. I've not seen this specific error but have had other problems of similar character (reaching bumcheekcity's server), but they've all been network related rather than Mafia related.
 

Raven434

Member
I can't even load his website up in a web browser. It times out.

Is there a way programatically to comment it out and just move along?
 

fronobulax

Developer
Staff member
I can't even load his website up in a web browser. It times out.

Is there a way programatically to comment it out and just move along?

I'd guess you are running a script that uses load_current_map in zlib.ash. If you are desperate enough you could look at that code and tweak something. I will note, however, that I can access http://zachbardon.com/mafiatools/ and related URLs just fine so the problem is almost certainly specific to your environment. If you are at work, I might ask if the nanny software has changed their rules for what is allowed recently. Could also be a proxy issue if you are behind one that you need to use. Could also be a simple network problem. Any construction nearby that could have cut a fiber cable?

Regardless, if you cannot bring http://zachbardon.com/mafiatools/ up in a browser then the problem is not mafia's.

If you are comfortable doing so, you might try making a version of zlib that replaces the existing load_current map with
Code:
boolean load_current_map(string fname, aggregate dest) {
   file_to_map(fname+".txt",dest);
}

If I'm not mistaken that will just use whatever is on your disk without checking for updates.
 

Raven434

Member
I just made the same discovery Fron. Definitely a network problem at home. Work accesses his page just fine.

When I manually copied use_for_items.txt into the data directory, it quit throwing the errors.

Might be some DNS weirdness or who knows...

Will work it on my end. Thanks for the help!

:)
 
Top