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

Password:

Remember me



Lost Password?

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

Members: 0
Guests: 62

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

Current balance: 60€
(last updated 03/2020)

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 116 users playing Freelancer on 41 servers.
May. 31, 2020

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Compiling FLStat

Joined:
2016/3/29 21:54
From Cambridge, England
Group:
Registered Users
Trusted Speciality Developers
Posts: 35
Offline
I found a bug with FLStat caused by altering the path of the resource dlls. It assumes that the resource dlls will always be located next to the exe, even though they can be located in another folder.

I thought I'd be able to fix it by altering the assembly found at Adoxa's website, but I got no idea how to compile it (tried running it through NASM on a hunch, which didn't get me anywhere). Any ideas how to properly compile it?

Posted on: 4/13 19:08
Way too ambitious for his own good.
Top
Re: Compiling FLStat
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1951
Offline
It's not the source to FLStat, only my patch, using the Multiline Ultimate Assembler plugin for OllyDbg/x64dbg. FLStat's parser is weird, so I'm afraid you might miss out on that one, just put 'em (or links to 'em) in EXE.

Posted on: 4/14 1:31
Top
Re: Compiling FLStat

Joined:
2016/3/29 21:54
From Cambridge, England
Group:
Registered Users
Trusted Speciality Developers
Posts: 35
Offline
I looked into my issue further. Found that the dll names are hardcoded into the application. My names are different and in some cases longer. Do you know how I could increase the length of the string to accommodate my new path names?

Posted on: 4/19 15:09
Way too ambitious for his own good.
Top
Re: Compiling FLStat
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1951
Offline
There are two issues: you can't use .. for a relative path (because I made it stop at a dot, due to QuickFix using tabs before the comment); nor can you use \ for an absolute path (it always prefixes the full exe path). If it's relative paths causing the problem edit 2F36A, 2E74 -> 2076. That will stop at a space or control character (meaning a space/tab between resource and comment is required). I'm afraid you're out of luck if you want an absolute path.

Posted on: 4/22 9:32
Top