Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
35 user(s) are online (19 user(s) are browsing Forum)

Members: 0
Guests: 35

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +5€

Current balance: -60€
(last updated 10/2020)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 21 users playing Freelancer on 44 servers.
October. 24, 2020

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Unable to find section (1 rep)....
Not too shy to talk
Joined:
2010/4/10 14:30
Group:
Registered Users
Posts: 62
Offline
Quote:
Error: Unable to find section (1 rep):
[Player]
in 'C:\Program Files\Microsoft Games\Freelancer\EXE\newplayer.fl'

Open in new window



What have i done wrong this time ( keep making small mistakes and I can never see them: cue the startport community )


EDIT: here is the code, if your interested (there is more than one instance where the player section needs to be edited....so if i find out whats wrong..i can edit them all.)
Code:
<data file="EXE\newplayer.fl" method="sectionmodify" options="9:2"> 
<section> 
[Player] 
</section> 
<source> 
rank = 100 
system = MARKET01
base = MARKET01_01_Base
ship_archetype = 2151746432 
equip = 2265531853, HpHeadlight, 1
equip = 2802020621, HpRunningLight01, 1 
equip = 2802020621, HpRunningLight02, 1
equip = 2802020621, HpRunningLight05, 1 
equip = 2500775748, HpContrail01, 1 
equip = 2500775748, HpContrail02, 1 
equip = 2494027655, HpDockLight01, 1 
equip = 2494027655, HpDockLight02, 1 
</source> 
</data>


Posted on: 2010/4/18 9:14
Top
Re: Unable to find section (1 rep)....
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
I think you have the wrong end of the stick.

Why are you making all the changes with scripts?

The script is meant only for small changes.

For all other changes, make the changes in a copy of the original file.

Save all your changed files in the right folder in a directory tree like this:

My Mod\
My Mod\EXE
My Mod\DATA
My Mod\DATA\EQUIPMENT
My Mod\DATA\MISSIONS
My Mod\DATA\SHIPS
My Mod\DATA\SOLAR
My Mod\DATA\UNIVERSE

If you have a script put it in the header folder My Mod\

(I use one only for FLMM data and for renaming the docking ring sur file so that big ships don't crash into it).

When you have made all the changes just zip from My Mod\
as yourmod.zip.flmod

Test the zip to make sure it works, then rename it yourmod.zip.flmod

And it's ready for activation using FLMM.

Posted on: 2010/4/18 9:29
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Re: Unable to find section (1 rep)....
Not too shy to talk
Joined:
2010/4/10 14:30
Group:
Registered Users
Posts: 62
Offline
I'm using the script for a selection. That selection being, "what system would you like to start in?" hence why i'm using a script..that I know of you cant have 3 copies of the same file and switch between them.

EDIT: Even if you can, the syntax would be near enough the same...

Posted on: 2010/4/18 9:32
Top
Re: Unable to find section (1 rep)....
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
newplayer.fl is encrypted.

Use the script for case selection. Make a new one for each case and just replace the entire file.

Are you sure you can't have several copies? Use diffferent names e.g. newplayer_opt1.fl, newplayer_opt2.fl, etc and copy the correct one of those as newplayer.fl dependent on selection?

Posted on: 2010/4/18 9:58
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Anonymous
Re: Unable to find section (1 rep)....
Anonymous-Anonymous
This simple save editor doesnt seem so simple...

Posted on: 2010/4/18 14:14
Top
Re: Unable to find section (1 rep)....
Home away from home
Joined:
2010/3/14 18:10
From Germany
Group:
Registered Users
Senior Members
Posts: 1526
Offline
it is. but the same if you want to look up the sur in the HardCMP, you have to open the save editor and then via the tab menu open up the savegame file. the result is a decrypted and editable savegame (the editor does not work with already decrypted saves). it is built similar to an ini but it would not tell you what parameter controls which value.

Posted on: 2010/4/18 15:48
Top
Re: Unable to find section (1 rep)....
Just can't stay away
Joined:
2008/5/28 21:00
From Melbourne, Florida, United States
Group:
Registered Users
Senior Members
Posts: 260
Offline
Quote:

StarTrader wrote:
newplayer.fl is encrypted.


Hate to correct you, ST, but this isn't necessarily true. It is in Vanilla, but mods can use unencrypted newplayer.fl, such as mine for FL2:

Code:
[Player]
name = Trent
rank = 1
Description = NewPlayer

money = 5000

voice = trent_voice
costume = trent
com_costume = trent

system = Li01
base = Li01_01_Base

log = 1, 0

ship_archetype = ge_fighter
equip = ge_gf1_engine_01
equip = shield01_mark01_lf, HpShield01
equip = ge_fighter_power01
equip = ge_s_scanner_01
equip = ge_s_tractor_01
equip = ge_s_thruster_01, HpThruster01
equip = li_gun01_mark01, HpWeapon01
equip = li_gun01_mark01, HpWeapon02
equip = ge_s_cm_01, HpCM01
cargo = ge_s_cm_01_ammo, 20
equip = LargeWhiteSpecial, HpHeadlight
equip = SlowSmallOrange, HpRunningLight01
equip = SlowSmallOrange, HpRunningLight02
equip = SlowSmallOrange, HpRunningLight05
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02
cargo = ge_s_battery_01, 10
cargo = ge_s_repair_01, 10

house = 0, li_n_grp
house = 0, li_lsf_grp
house = 0, li_p_grp
house = 0, br_n_grp
house = 0, br_p_grp
house = 0, ku_n_grp
house = 0, ku_p_grp
house = 0, rh_n_grp
house = 0, rh_p_grp
house = 0, hi_n_grp
house = 0, hi_p_grp
house = 0, ha_u_grp
house = 0, co_alg_grp
house = 0, co_as_grp
house = 0, co_be_grp
house = 0, br_m_grp
house = 0, co_nws_grp
house = 0, co_gs_grp
house = 0, co_hsp_grp
house = 0, co_ic_grp
house = 0, co_khc_grp
house = 0, co_kt_grp
house = 0, rh_m_grp
house = 0, hi_m_grp
house = 0, co_me_grp
house = 0, co_ni_grp
house = 0, co_os_grp
house = 0, co_rs_grp
house = 0, co_shi_grp
house = 0, co_ss_grp
house = 0, co_ti_grp
house = 0, co_vr_grp
house = 0, fc_bd_grp
house = 0, fc_b_grp
house = 0, fc_fa_grp
house = 0, fc_g_grp
house = 0, fc_gc_grp
house = 0, fc_h_grp
house = 0, fc_him_grp
house = 0, fc_j_grp
house = 0, fc_lh_grp
house = 0, fc_lr_grp
house = 0, fc_lwb_grp
house = 0, fc_m_grp
house = 0, fc_rh_grp
house = 0, fc_od_grp
house = 0, fc_u_grp
house = 0, fc_x_grp
house = 0, gd_gm_grp
house = 0, gd_im_grp
house = 0, gd_ms_grp
house = 0, gd_z_grp
house = 0, gd_bh_grp
house = 0, fc_or_grp
house = 0, fc_o_grp
house = 0, fc_n_grp
house = -0.65, fc_no_grp
house = 0, fc_uk_grp

[StoryInfo]
Mission = No_Mission
MissionNum = 42
delta_worth = -1

;; These gates will be locked in single player, but not necessarily multiplayer.
[mPlayer]

vnpc = 3089403016, 2977746497, 2, 0 ; Ew05_01_Base, ew0501_fix_bartender


This is, in fact, integral to my OpenSP, and what the OP was doing was feasible in theory.

MK

Posted on: 2010/6/1 1:45
Top
Re: Unable to find section (1 rep)....
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
Hiya MkNote: Look in his post - he used the Save Editor - hint:- his one must therefore be encrypted. Because the Save Editor doesn't open plain files, it hangs.

Your unencrypted one is not normal in FL.

Anyway, I addressed his query.

To my knowledge, FLMM scripts cannot read or modify encrypted .fl files (saved game files).

Except mpnewcharacter.fl which is a plain-text file in plain FL.

Posted on: 2010/6/1 3:05
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Re: Unable to find section (1 rep)....
Just can't stay away
Joined:
2008/5/28 21:00
From Melbourne, Florida, United States
Group:
Registered Users
Senior Members
Posts: 260
Offline
Yeah, that's why I suggested he use an unencrypted newplayer.fl file, because FLMM can and does modify it. Of course, being as old as it is, this has most likely been taken care of, but it never hurts to reiterate things.

MK

Posted on: 2010/6/1 15:42
Top