adding map..

05/16/2012 00:20 conquer93#1
heyy maybe some one cud help me out :D

oke i was trying to copy a map and give other map index etc so i have 2 of those maps , but everytime i load server it gives this error

~wrong mapindex from mal file
file \loader\map\sectorlist.cpp, line 34

[Only registered and activated users can see links. Click Here To Register...]

180,Aquarius2,Undersea.map,Undersea.mol,Undersea.m el,Undersea.mac,Map\180_aquarius2\NPC_180_Aquarius .csv,2,18,1.7,-70,80,12,50,50,-1000,0,90,light_Undersea.txt,water/skyCube_dri=.dds,75,,60,17,10,15,0,20,10,0,0,0,0,3 ,60000,1,1,1,0,1,0,1,0,1,..\Share\Map\180_aquarius 2\m180.mal,..\Share\Map\180_aquarius2\MON_180_Aqua rius.csv,..\Share\Map\180_aquarius2\NPC_180_Aquari us.csv,..\Share\Map\180_aquarius2\BRICK_180_Aquari us.csv,0,0,0,0,0,0,0,0,0,100,Map26_Undersea,0,0,,1 15,250,0,0,0,0,100,100,0,0,0,1,1,0,200,PC\LevelCap \Default.csv,0.65,1
05/16/2012 14:13 CROvic#2
[Only registered and activated users can see links. Click Here To Register...]
05/16/2012 14:44 conquer93#3
Quote:
Originally Posted by CROvic View Post
[Only registered and activated users can see links. Click Here To Register...]
well at that i still dont know what this error means ? cus in map file is change the m026 into m180.mal and in maplist everything is correct i gues?
and i path the mal file correct in maplist so why does it keep saying it can not find the mal file lol ?
05/16/2012 15:03 CROvic#4
man pls learn to read the post

by silkboter
Quote:
a VERY easy task!!!
open an existing map file with an hex-editor (HXD for example), and take a look at the first byte
there's the map index. (in hex).
Just try to edit the map file with an hex-editor.
it worked with my map files 1-2 years ago.
05/16/2012 15:10 conquer93#5
Quote:
Originally Posted by CROvic View Post
man pls learn to read the post

by silkboter
Quote:
Originally Posted by silkbotter View Post
a VERY easy task!!!
open an existing map file with an hex-editor (HXD for example), and take a look at the first byte ;)
there's the map index. (in hex).
Just try to edit the map file with an hex-editor.
it worked with my map files 1-2 years ago.
hes talking about .map file< Data/Map> .. and im talking about server sided <share/map> why wud it help editing the client side if my server doesnt even load the mal file ? >_>??
05/16/2012 15:31 CROvic#6
you dont understand
here is a tutorial if you still dont understand i give up

map used in tutorial is avalon

Quote:
Now, open up the .mal file with XVI (or whatever the hell you're using) and make sure the file pointer is at the very first byte. If you're using XVI, make sure your data inspector is out (tools-> data inspector). It should look something like this:
[Only registered and activated users can see links. Click Here To Register...]
This 18 is the bastard that's been haunting you with the error looks something like, "Segmentation fault: mal file contains wrong map index". Guess what you're looking at? Yep, that 18 in the integer datatype is the map index. You can edit this by tools->encode number.Next, type in your map index in the number text box and make sure the integer radio button is selected then click OK. TA-DA! You're done with that. Now save it and now you can exit XVI.
in your case the mal you need open is m180.mal
05/16/2012 15:35 conquer93#7
oke man , but at the link u gave me ther was no tut or any on it and no other pages O.o

so srry then^^!

found it and changed :D gonna try it
01/18/2020 21:39 harumiharumi01#8
thank you @[Only registered and activated users can see links. Click Here To Register...]

It works