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
61 user(s) are online (29 user(s) are browsing Forum)

Members: 1
Guests: 60

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

Current balance: -300€
(last updated 11/2017)

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

Bitcoin address:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 35 users playing Freelancer on 33 servers.
November. 21, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



FLMMv2 Chokes on mod activation - attn Adoxa
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 865
Offline
Trying to activate our mod using FLMMv2 but it chokes halfway through the activation. FLMM just locks up and hangs until ended via taskmgr.

I've narrowed it down to an ini file (systems_shortest_path.ini).

If the ini file is in the mod directory the mod won't activate. Removing that one file will allow the mod to activate.

This is not an xml edit, it should just be an overwrite of an existing ini file. The existing ini file is not marked 'read only', nor do I see any other reasons why FLMM won't copy the file over. The other two files (shortest_legal_path.ini and shortest_illegal_path.ini) copy over just fine and the mod will activate.

Any ideas?

Also, memory refreshment needed. If these three files are changed on the server, do all clients need to have the same changes in order for waypoints to work?

Thanks

edit: one more thing. changing the filetype from ini to txt will allow the mod to activate indicating perhaps that it's not the file but the overwrite process. But of course, the file won't be changed as needed.

Posted on: 2016/5/17 15:36
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Quite a regular
Joined:
2014/5/12 18:49
Group:
Registered Users
Posts: 102
Offline
delete the .flmod of your path file copy back in the original try activating your mod, making sure sure the file is not .bini or write protected.

Posted on: 2016/5/17 16:23

Edited by corpse on 2016/5/17 16:29:53
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 865
Offline
No, I'm using FLMMv2 which works admirably up til this particular hiccup. Switching back to 1.3 would require an entire rewrite of the mod which is heavily scripted.

This particular problem is isolated to this specific file which seems to be an overwriting issue.

I may have to take all of the edits to these three files and script them into the mod anyway depending on whether or not path files generated by FLScan are compatible with vanilla users.

Posted on: 2016/5/17 16:29
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Quite a regular
Joined:
2014/5/12 18:49
Group:
Registered Users
Posts: 102
Offline
sorry I re read your post and edited a more specific answer.

you can re make path files with flserver.exe
just delete them from universe and start the server it will write them for you.

Posted on: 2016/5/17 16:31
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 865
Offline
I tried that, they didn't re-appear.
I'll try again...

edit: huh... it worked this time, i wonder why not before. I do see that Freelancer.exe does NOT regenerate the paths inis on restart. Maybe that's what I did before.

I still wonder though if the waypoints will show up properly to players not running the mod.


Posted on: 2016/5/17 16:40

Edited by robocop on 2016/5/17 16:45:27
Edited by robocop on 2016/5/17 16:58:53
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Quite a regular
Joined:
2014/5/12 18:49
Group:
Registered Users
Posts: 102
Offline
flserver.exe < i said use the server to make path files.

Posted on: 2016/5/17 17:22
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 865
Offline
Yes, yes, I know. That works on the server end but it doesn't work on the client end. I thought to delete the systems_shortest_path.ini file when activating the mod (both client and server) and when the programs restart, a new file would be created. That works on the server end but not the client end.

When I say it works on the server end, I mean if I delete the file manually it works just fine. I'm trying to accomplish the task automatically by using the following script:

<data file="DATA\UNIVERSE\systems_shortest_path.ini" method="renamefile" newfilename="DATA\UNIVERSE\systems_shortest_path.txt" /> ;Server ONLY

This script should delete the file on mod activation but just as FLMM can't overwrite the file, it also can't seem to rename the file. So, I'm at a loss for the moment. The file properties shows the file having the same attributes as the other two path files but FLMM can't seem to delete or overwrite it while it can the other two.

Posted on: 2016/5/17 18:11
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 865
Offline
What's really interesting now is that if I put these lines in a separate mod

<data file="DATA\UNIVERSE\shortest_illegal_path.ini" method="renamefile" newfilename="DATA\UNIVERSE\shortest_illegal_path.txt" /> ;Server ONLY
<data file="DATA\UNIVERSE\shortest_legal_path.ini" method="renamefile" newfilename="DATA\UNIVERSE\shortest_legal_path.txt" /> ;Server ONLY
<data file="DATA\UNIVERSE\systems_shortest_path.ini" method="renamefile" newfilename="DATA\UNIVERSE\systems_shortest_path.txt" /> ;Server ONLY

and run that mod it works fine. It's just when it's incorporated into the main mod that it fails.

So, what I need to do for the moment is activate the server mod and then activate this mod. Clunky.

I wonder if there's some limitation at play. Perhaps a number of scripts that I've reached or instructions limit that's been hit.

Posted on: 2016/5/17 18:25
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Quite a regular
Joined:
2014/5/12 18:49
Group:
Registered Users
Posts: 102
Offline
I am pretty sure that the server handles the way point stuff, ie you can add empty files on the server and players get "no known path"
so clients do not necessarily need them.

Posted on: 2016/5/17 19:05
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 865
Offline
So, not necessary but devastating potentially to unmodded players, especially newer players without the map knowledge earned after years of playing.

Hmmm...

Posted on: 2016/5/17 21:35
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Quite a regular
Joined:
2014/5/12 18:49
Group:
Registered Users
Posts: 102
Offline
The new players like old players way points are handled by the server and not with the client.

Posted on: 2016/5/18 1:12
Top
Re: FLMMv2 Chokes on mod activation - attn Adoxa
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 865
Offline
Yeah, that might be a problem

Posted on: 2016/5/18 1:35
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top