FOnline Development > Questions and Answers

Get rid of all maps in SDK

<< < (2/3) > >>

FrankenStone:
try mapindex greater than 0 maybe it has problem with zeros

wizardmachine:
Hi,

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


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

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

Lexx:
Entire is a misspelled Entry point. With them you define where players spawn in the map.

See your "entrance=x" above, it has entire 0, 10, 11, and 12 defined.

wizardmachine:
Thanks. Now it's moving forward!

I got some error message stating GenerateWorld.cfg was missing, so I added that but now it's stopping again with this error message:


--- Code: ---[16:407] Generate world...
[16:408] Location: pid<1>, worldX<525>, worldY<275>.
[16:847] Location: pid<2>, worldX<425>, worldY<125>.
[16:847] MapManager::CreateLocation - Location proto is not init, pid<2>.
[16:847] Error, it was not possible to create a location.
[16:847] Initialization fail!

--- End code ---

After examining what's inside that cfg file (loads of @ with what I presume are coordinates), I guess I probably need to get rid of all those and set up only one for NCR with some specific coords.

wizardmachine:
Now it went a bit further but it's again stopping this time at Patrol Routes initialization.


--- Code: ---[17:823] Script callback: Initializing patrol routes : patrolroutes : void InitRoutes() : 433, 2 : FOServer::InitReal : Game.
[17:823] Script callback: Warning: map object is invalid : patrolroutes : CPatrolRoute::CPatrolRoute(uint) : 332, 3 : FOServer::InitReal : Game.
[17:823] Script exception: Null pointer access : patrolroutes : IPatrolRoute@ CPatrolRoute::AddNode(int, int, uint, uint) : 375, 3 : FOServer::InitReal : Game.
[17:823] Execution of script stopped due to exception.
[17:823] Context<FOServer::InitReal : Game>, state<Exception>, call stack<3>:
[17:823]   2) patrolroutes : IPatrolRoute@ CPatrolRoute::AddNode(int, int, uint, uint) : 375, 3.
[17:823]   1) patrolroutes : void InitRoutes() : 435, 77.
[17:823]   0) main : bool start() : 3801, 2.
[17:823] FOServer::InitReal - Start script fail.
[17:823] Initialization fail!

--- End code ---

Is there any specific way to get rid of those references? I haven't modified any of the scripts yet, only the maps folder and the cfgs around there and I don't see anything that could be related to Patrols (I suppose it means the encounters near cities with 'Junktown guards' and this kind of stuff).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version