Mapcache

Beret

High Council
Messages
245
Points
28
Age
31
Emulator
Currently the mapcache need 3 files to work. Why not change this way of reading the mapcache, using only one file. I don't know how it works in aegis if is similarly more emulator I do not.

 
You mean the grf, resnametable and map_index files?

Each one has a different purpose and are completely different to be be "joined" into a single file.

GRF: Contains the actual map files (This is also required by the client, so can't be modified)

resnametable: Used by the client to tell which map loads which files. (Can't be modified or at least is not related to server-side stuff) - Relies on the grf to confirm map files exist.

map_index: Entirely server sided and is mainly oriented for inter-server purposes (Pretty basic but its sort of the core of map loading)

Now if you're talking about a way to generate map_cache.dat in an easier way, you can always rely on WeeMapCache which is a windows tool (afaik doesnt work from command line/linux) which would allow you to generate files in a more dynamic way working with each one of those three files independant from each other 

 
It seems that aegis works in sql.

Code:
INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_fild11.gat','2')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_maze01.gat','3')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_maze02.gat','3')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_maze03.gat','3')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_monk.gat','0')
 
It seems that aegis works in sql.

INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_fild11.gat','2')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_maze01.gat','3')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_maze02.gat','3')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_maze03.gat','3')INSERT INTO [IPInfo].[dbo].[Mapinfo] ([ZSID],[MapName],[type]) VALUES ('40','prt_monk.gat','0')
in SQLand also you have to add all maps files inside folder named maps in the zone server include .gat .rsw etc files :3

but duno why it's not exits in leaked versions

 
Last edited by a moderator:
Back
Top