Jump to content

Change Load Map Limit


Recommended Posts

Hello Guys,

The Map Limit from Core is 32, i change this now to 64.

Create from my Core: 15.07.2014 40315 

 

Tutorial:

 

Game:

 

desc_client.cpp

map_allow_copy(p.alMaps, 32); 

CHANGE_TO 

map_allow_copy(p.alMaps, 64); 

Line: 167

inut_db.cpp

for (int i = 0; i < 32; ++i) 

CHANGE_TO 

for (int i = 0; i < 64; ++i 

line: 1335

search:
void CInputDB::MapLocations(const char * c_pData) 

BYTE to INT change!

Db:

 

Peer.h

long m_alMaps[32]; 

CHANGE_TO

long m_alMaps[64]; 

line: 71

Common Folder

 

tables.h

long alMaps[32]; 

CHANGE_TO 

alMaps[64]; 

line: 805 
long alMaps[62]; 

CHANGE_TO

long alMaps[64];
 
line: 793

And Now here is my Change Map insert..

 

go game src:

 

map_location.cpp

 

 

Search:

void CMapLocation::Insert(long lIndex, const char * c_pszHost, WORD wPort) {

..
...
..
}
and Change the Void
void CMapLocation::Insert(long lIndex, const char * c_pszHost, WORD wPort)
{
	TLocation loc;

	loc.addr = inet_addr(c_pszHost);
	loc.port = wPort;
	if (wPort == mother_port)	 //Übergebene Port selbe ist wie der eingestellte
	{
		m_map_address.insert(std::make_pair(lIndex, loc));
		sys_log(0, "MapLocation::Insert : %d %s %d", lIndex, c_pszHost, wPort);
	}

}

Best Regards,

 

Risan

 

  • Love 7
Link to comment
Share on other sites

 

In my humble oppinion it's better to use two or three cores than raising that limit. I would guess that Ymir put it there for a reason.

YMIR never have done something with Brain and with a Reason ? We both know it :)

 

And you posted without brain, rly. 

 

Shogun is right, that's why I asked "for what". :v

  • Love 2
Link to comment
Share on other sites

 

 

In my humble oppinion it's better to use two or three cores than raising that limit. I would guess that Ymir put it there for a reason.

YMIR never have done something with Brain and with a Reason ? We both know it :)

 

And you posted without brain, rly. 

 

Shogun is right, that's why I asked "for what". :v

 

if it has an reason they calculated an REAL amout of maps which should handle one core. Brainless kid.

Link to comment
Share on other sites

In my humble oppinion it's better to use two or three cores than raising that limit. I would guess that Ymir put it there for a reason.

i guess that ymir does not even now why they put such a limitation , but let's assum that just for safty .

 

i was going to edit long ago but it was not realy bothersome having many cores per-ch can be usefull some times (depend on many thing)

Link to comment
Share on other sites

  • Active Member

In my humble oppinion it's better to use two or three cores than raising that limit. I would guess that Ymir put it there for a reason.

 

Shogun is right!

Link to comment
Share on other sites

  • Active Member

 

In my humble oppinion it's better to use two or three cores than raising that limit. I would guess that Ymir put it there for a reason.

YMIR never have done something with Brain and with a Reason ? We both know it :)

 

 

 

That happens when you have too much information on you brain haha :))

Link to comment
Share on other sites

  • 6 years later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.