FOnline Development > Questions and Answers

Get rid of all maps in SDK

(1/3) > >>

wizardmachine:
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: ---[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

--- End code ---

However, when starting up the server, it can't load it:

--- Code: ---[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!

--- End code ---

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

I appreciate any help!

Kilgore:
Fix this line:

--- Code: ---map_0=ncr*0
--- End code ---

wizardmachine:
Thanks for the reply.

Could you elaborate what's wrong with that line?

Kilgore:
Space missing after *

wizardmachine:
I guess you mean something like this:


--- Code: ---map_0=ncr* 0
--- End code ---

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

Navigation

[0] Message Index

[#] Next page

Go to full version