Author Topic: Get rid of all maps in SDK  (Read 49 times)

Get rid of all maps in SDK
« on: August 20, 2017, 03:35:18 am »
Hi all,

I'm trying to set up some sort of modding environment out of the Fonline SDK with just one single map where the players will all spawn.

I deleted all of the maps in maps folder except for NCR and modified Locations.cfg to get rid of all areas except for one for NCR:
Code: [Select]
[Area 1]
name=NCR
size=24
visible=1
auto_garbage=0
geck_visible=0
map_0=ncr*0
entrance=$0 0, 0 10, 0 11, 0 12
#@IsTown=1
#@IsTCTown=1
#@IsPublic=1

However, when starting up the server, it can't load it:
Code: [Select]
[13:710] Load location and map prototypes...
[13:711] MapManager::LoadLocationProto - Can't parse data in location<NCR>, map index<0>.
[13:711] Load location<1> fail.
[13:723] Load location and map prototypes fail, errors<1>.
[13:723] Initialization fail!

I'm guessing probably something's wrong in the definition of [Area 1]

I appreciate any help!
« Last Edit: Yesterday at 09:44:10 pm by wizardmachine »
Best,
wizardmachine

Re: Get rid of all maps in SDK
« Reply #1 on: August 20, 2017, 05:31:58 pm »
Fix this line:
Code: [Select]
map_0=ncr*0

Re: Get rid of all maps in SDK
« Reply #2 on: August 20, 2017, 06:17:05 pm »
Thanks for the reply.

Could you elaborate what's wrong with that line?
Best,
wizardmachine

Re: Get rid of all maps in SDK
« Reply #3 on: August 20, 2017, 10:11:30 pm »
Space missing after *

Re: Get rid of all maps in SDK
« Reply #4 on: August 20, 2017, 10:52:51 pm »
I guess you mean something like this:

Code: [Select]
map_0=ncr* 0
That produces the same output, though.

Could it be something wrong with the stuff I have inside the maps folder? Maybe I deleted too many files or something like that.
http://imgur.com/a/HQxBj
Best,
wizardmachine

Re: Get rid of all maps in SDK
« Reply #5 on: Yesterday at 04:25:01 am »
try mapindex greater than 0 maybe it has problem with zeros

Re: Get rid of all maps in SDK
« Reply #6 on: Yesterday at 09:43:01 pm »
Hi,

Thanks for the suggestion. Now at least the error message changes:

Code: [Select]
[13:439] Load location and map prototypes...
[13:462] MapManager::LoadLocationProto - Entire<11> not found on map<0>, location<NCR>.
[13:462] Load location<1> fail.
[13:477] Load location and map prototypes fail, errors<1>.
[13:477] Initialization fail!

What is an 'Entire'? Sounds like some bindings of the map are not present or something like that.

Best,
wizardmachine