View Single Post
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 02-28-2008 , 23:12   Re: Random Map for server startup
Reply With Quote #3

also:
Code:
while (a < MAP_LIMIT) {
   while (pos < HISTORY_LIMIT) {
      read_file(g_MapHistFile,pos,g_MapHistName[pos],31,length)
   }
}
you should read the file once to an array, than compare the arrays.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.

Last edited by |PJ| Shorty; 02-28-2008 at 23:17.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty