Author Topic: Maps with other scenery  (Read 3823 times)

Maps with other scenery
« on: August 11, 2012, 04:18:08 pm »
Hello again. I have a small question about 2 versions of map. Some time ago I made a map with new scenery objects (I use my old custom sdk) and now, today I want to improve this map in orginal fonline sdk tla's mapper (the new version, 380). But the problem - there aren't my custom objects and I don't know if these old objects are in map or not.

If I don't have these objects in map, I don't have to worry that littering/mess (sorry, my english is not good :P) my map? Or are these objects here but is it bug?

I hope you could help me.

Re: Maps with other scenery
« Reply #1 on: August 11, 2012, 09:42:17 pm »
Bump, could you help me?

Re: Maps with other scenery
« Reply #2 on: August 11, 2012, 11:49:39 pm »
First after opening your map in new sdk mapper you can read mapper log file, there you can find if some scenery missing. You sure that you put this scenery in client folder and define them in proto files on new sdk?

JovankaB

  • Guest
Re: Maps with other scenery
« Reply #3 on: August 12, 2012, 02:51:45 am »
Sceneries may be in weird order, check out whole list if it's not somewhere in the middle.

Re: Maps with other scenery
« Reply #4 on: August 12, 2012, 08:42:53 am »
No, no, wait. I can't use this scenery because I don't have it. I want delete this scenery but I don't see it on my map, so is it missing? Or my map is mess by "no visible" objects?

Re: Maps with other scenery
« Reply #5 on: August 12, 2012, 10:22:21 am »
You need to open map in notepad and delete this scenery by hands.

Re: Maps with other scenery
« Reply #6 on: August 12, 2012, 10:29:58 am »
Okay, I got it.
Code: [Select]
Starting Mapper (v.1.28.3)...
Mapper initialization...
Sprite manager initialization...
Sprite manager initialization complete.
Init interface.
Init interface complete.
Script system initialization...
Reload scripts...
Reload scripts complete.
Bind reserved functions...
Bind reserved functions complete.
Script system initialization complete.
Loaded<325> critter types.
Item manager initialization...
Item manager initialization complete.
Loading items prototypes...
Items prototypes successfully loaded, count<4614>.
Critter manager initialization...
Critter manager initialization complete.
Loading critters prototypes...
Loaded<529> critter protos, errors<0>.
Hex field initialization...
Hex field initialization complete.
Mapper initialization complete.
Create map from prototype.
Create map from prototype complete.

Code: [Select]
HexManager::ParseScenery - Proto item not found<8090>.
Unable to parse scen or wall object.
HexManager::ParseScenery - Proto item not found<8100>.
Unable to parse scen or wall object.

I deleted, and now everything is ok? If yes, thank you very much.  :)

Re: Maps with other scenery
« Reply #7 on: August 12, 2012, 02:03:25 pm »
This means that objects 8090 and 8100 exist in the map file (that .fomap you are working on). As .fomap is a text-file, you can open it in notepad and remove them manually (if you want).

If you want these objects to show up again, you need to copy their prototype from your old custom sdk to the new one.
Search for them in: Server/proto/items. I don't know in which file you actually put them. Find tool will help.

Then, copy their graphics from old client to the new one.
Open the mapper again and it should be visible.