Recent Posts

Pages: [1] 2 3 ... 10
1
Questions and Answers / SDK How to save table in serwer.
« Last post by dawidsonki on Today at 03:40:46 am »
Hello i have question, how to permament save table with variables in SDK server. Maybe is possible to set gvar/lvar with type parameter to send table as variable, but i dont think so. I need it in many critter scripts to change critter parametrs when critter is not logged in. Do you know how to change critter parametr when critter is not loaded to game (player is offline)? I can get critter ID, critter name but i can get critter as 'critter' to change parametrs etc. Maybe you have some idea how for example add offline player to fraction (change his param) or get list of all fraction players (i think saved table with id's is good idea but i dont know how to do this). Thank you in advance for your help.


@edit
Also it can be how to operate on files in serwer folder, operation like file.open() in scripts is dedicated for files in client folder. If I find out how to do this it will manipulate read/write files to achieve what I needs.
2
Questions and Answers / Re: Get rid of all maps in SDK
« Last post by wizardmachine 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.

3
Questions and Answers / Re: Get rid of all maps in SDK
« Last post by FrankenStone on Yesterday at 04:25:01 am »
try mapindex greater than 0 maybe it has problem with zeros
4
Questions and Answers / Re: Get rid of all maps in SDK
« Last post by wizardmachine 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
5
Questions and Answers / Re: Get rid of all maps in SDK
« Last post by Kilgore on August 20, 2017, 10:11:30 pm »
Space missing after *
6
Questions and Answers / Re: Get rid of all maps in SDK
« Last post by wizardmachine on August 20, 2017, 06:17:05 pm »
Thanks for the reply.

Could you elaborate what's wrong with that line?
7
Questions and Answers / Re: Get rid of all maps in SDK
« Last post by Kilgore on August 20, 2017, 05:31:58 pm »
Fix this line:
Code: [Select]
map_0=ncr*0
8
Questions and Answers / Get rid of all maps in SDK
« Last post by wizardmachine 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!
9
FOnline Projects / Re: Fonline Origins
« Last post by Bungo on August 19, 2017, 04:50:32 pm »
Quick update, we have a public discord server now so if you guys have any questions you can ask there.

https://discord.gg/RczRYw2
10
Questions and Answers / Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Last post by loord on August 17, 2017, 03:17:06 pm »
My post was answer to cthulchu not just standalone statement as you got it. Point is that AoP, FO2 and russian servers (TLA Mk2, Requiem...) are based in straight line on TLA SDK not on 2238 source like Reloaded, Forever, Aftertimes and other newests servers.
Read more attentively and not cut words out of context.
Pages: [1] 2 3 ... 10