RE: Map1.mul not being read by sphere
Okay I better diagnosed the issue. I tested more spots on both maps and discovered that its not sending me to a 0 height by default... on mapplane 1, its sending my client to where it should be on mapplane 0. My map0 is flat in many spots so this was throwing me off.
Now everything makes sense. The newer clients allow different maps to be shown but my Sphere is only reading the map0 and static0 files and using that information on all planes.
If anyone is using 2 different maps successfully, please let me know what settings you are running on.
Two main questions:
1 - has this been fixed on newer builds?
2 - is there a way to force sphere to read a mul or some hidden INI setting I am missing?
Sorry for doubling up but I think I fixed it... Once I found out that it was the mul file not being read, I focused my efforts on that and it turns out, it was an INI setting that needed to be tweaked... see "real_map_number" in the below change
Current INI setting:
MAP0=7168,4096,8,0
MAP1=7168,4096,8,1
Thanks everyone!!!!!
08-01-05, Vjaka
- Added support for virtual maps. Now map numbers 0..255 are supported by the
server.
- Map dimensions are now customizable in INI-file using by the following cmd:
MAPx=max_x,max_y,sector_size,real_map_number.
Here x - the map number for ingame useage (4rd coordinate of the coordinate).
max_x - maximal X coordinate of the map (should be multiply of 8).
max_y - maximal Y coordinate of the map (should be multiply of 8).
sector_size - the sector size (you can play with this if you experience lags
decreasing this value (should be multiply of 8 and both max_x and max_y).
real_map_numer - number used by map files (like: 0 for map0, statics0).
You can also change some attribute of the current map not redefining all
values, skipping the ones you wish to be as default putting 0 instead (for
real map number -1). For example, decreasing sector size for map 0 to 16
from default value of 64 will look in INI file thus: "MAP0=0,0,16,-1".
Please note, that no changes are applied when server is already started.
- Default map numbering has been changed (you can ovverride it easily by MAPx
setting in sphere.ini). Now 0 = map0, 1 = map0, 2 = map2, 3 = map3, 4 = map4.
(This post was last modified: 02-21-2013 01:22 PM by BladeCraft.)
|