Unable to find <IP2Country> file. Skipping ...

Unable to find <IP2Country> file. Skipping ...

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
nonamed
Posts: 4
Joined: 04 Oct 2005, 07:48

Unable to find <IP2Country> file. Skipping ...

Post by nonamed »

hi all,
when i run server,i get this message.

Unable to find <IP2Country> file. Skipping ...

i have two files such as countryflag32.dll and ip-to-country.csv.

PLZ tell me how to edit?

thanks!
Orakio
Posts: 119
Joined: 25 Aug 2006, 16:41

Post by Orakio »

if (!IP2Country.initializeAll("Merged2.csv")) {
System.out.println("Unable to find <IP2Country> file. Skipping ...");
} else {
System.out.println("<IP2Country> loaded.");
}
nonamed
Posts: 4
Joined: 04 Oct 2005, 07:48

Post by nonamed »

oh no,my mean isn't it....

i want to know where i copy the ip2country.csv and countryflag.dll .

thanks~!
Persh
Posts: 24
Joined: 10 Aug 2006, 04:07

Post by Persh »

Ask Betalord for them, although it's doubtful you'll get them.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

You don't really need the db for lan server, just ignore the warning (it will work just fine withouth it).
Orakio
Posts: 119
Joined: 25 Aug 2006, 16:41

Post by Orakio »

Betalord is correct, not only did he make it, but if it was a fatal error and not just aesthetic it would say Exiting not skipping :) also not only don't you really need it for LAN, but if you're using it for LAN then it probably wont work anyway.

However if you really want it bare in mind that the file it looks for is Merged2.csv. I haven't bothered investigating what the csv file looks like but you could just try renaming the one you have.
Post Reply

Return to “Help & Bugs”