Jump to content
Sign in to follow this  
Beret

Mapcache

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

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')

Share this post


Link to post
Share on other sites

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 SQL

and 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

Edited by hemagx

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.