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

Members: 0
Guests: 87

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

Current balance: 55€
(last updated 04/2021)

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

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 48 users playing Freelancer on 43 servers.
March. 29, 2023

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 ... 65 66 67 (68) 69 »


Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2008/9/11 15:55
From Somewhere at Moscow
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 1781
Offline
Code:
common.dll 139A40 905332->C0DE26 = using thruster hp_type for [AttachedFX] ~HeIIoween

Posted on: 2022/5/10 23:35
Open Sirius Mod
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2015/1/18 12:56
From The Hague, EU
Group:
Registered Users
Posts: 114
Offline
Quote:

starworld wrote:
I use this hack
http://the-starport.net/freelancer/fo ... t_id=58738#forumpost58738
and
http://the-starport.net/freelancer/fo ... t_id=60591#forumpost60591

But there is a problem when zoom in and move.
The player icon and the waypoint icon are outside of the map :
http://nsa37.casimages.com/img/2016/09/20/160920072300115764.jpg

Someone have a solution ?


Happy 20th birthday Freelancer!

So this is going to be a long post.
In honour of Freelancer's 20th anniversary, I tried to fix the above problem. As you can read in my original reply, I thought it was easy to fix, but it turned out to be damn tricky to track down. No luck so far, but in my hunt I stumbled upon dozens of other related things, which I will sum up now and index to wiki:

related to NavMap size:
Code:
Freelancer.exe  917CC  112000f = size of system map; beware, affects size of player ship icon aswell ~Gold_Sear
Freelancer.exe  1D2EEC  33333f = size of sectors in F9 info screen; needs to keep ratio with variable above ~Gold_Sear
Freelancer.exe  1D2EF0  -99999f = starting point of sector calculation in F9 info screen, needs to be -3*variable above ~Gold_Sear


In addition to WhiskasTM's original post about the size of system diamonds:
Code:
Freelancer.exe  915C8  1.0f = bunch scale of all system diamonds on Universe Map (method 4) ~Gold_Sear

This one really only scales the diamonds, not also move them.

The following offsets can be used to clear the NavMap of names inside of the map (other than labels):
Code:
Freelancer.exe  8F007  -0.274f = NavMap system/universe name x-displacement ~Gold_Sear
Freelancer.exe  8F00F  -0.252f = NavMap system/universe name y-displacement ~Gold_Sear
Freelancer.exe  90582,9FD83  -0.294f = NavMap letter alignment perpendicular to grid ~Gold_Sear
Freelancer.exe  90620,9FE33  -0.309f = NavMap number alignment perpendicular to grid PART 1 ~Gold_Sear

By 'perpendicular to grid' I mean perpendicular to the letter/number alignment on screen in WhiskasTM's post.

Of course, I also looked into zooming, and found the following:
Code:
Freelancer.exe  1D3F30  -0.257f = NavMap number lower limit when zoomed ~Gold_Sear
Freelancer.exe  1D3F34  0.274f = NavMap number upper limit when zoomed ~Gold_Sear
Freelancer.exe  1D3F38  0.31f = NavMap letter left limit when zoomed ~Gold_Sear
Freelancer.exe  1D3F3C  -0.23f = NavMap letter right limit when zoomed ~Gold_Sear
Freelancer.exe  9FCF6,9FC9B  8.6f = NavMap letter/number zoom factor ~Gold_Sear

Bonus: to align the NavMap zoom factor with the NavMap letter/number zoom factor, letting the latter be the control:
Code:
Freelancer.exe  9F2B4  DC 0D 28 3F 5D -->  D8 35 F6 FC 49 = align NavMap zoom factor to letter/number zoom factor; redundants adoxa's NavMap zoom factor, now controlled by the NavMap letter/number zoom factor ~Gold_Sear


For those of you (including me) who find this 'PHYSICAL MAP' label on the top of the NavMap annoying, the following might help:
Code:
Freelancer.exe  211C94  1360i = MAP LEGEND identifier ~Gold_Sear
Freelancer.exe  211CA0  968i = BASE LIST identifier ~Gold_Sear
Freelancer.exe  211C84  1338i = PHYSICAL MAP identifier ~Gold_Sear
Freelancer.exe  211C88  1339i = POLITICAL MAP identifier ~Gold_Sear
Freelancer.exe  211C8C  1340i = PATROL PATH identifier ~Gold_Sear
Freelancer.exe  211C98  1361i = MINEABLE ZONES MAP identifier ~Gold_Sear


When having cleared the NavMap of these texts inside of the map, the labels can be moved further from the center:
Code:
Freelancer.exe  1D3EF0  -0.198f = upper limit for labels on NavMap ~Gold_Sear
Freelancer.exe  1D3EF4  0.192f = lower limit for labels on NavMap ~Gold_Sear

*goes away and continues hunt*

EDIT: forgot to mention: I updated this patch:
Code:
common.dll  460B0  81 F9 --> EB 15 = always render static asteroids ~w0dk4,Gold_Sear

to reduce load, now it should not have side effects...

Posted on: 3/4 17:32
There is always something to do.
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2015/1/18 12:56
From The Hague, EU
Group:
Registered Users
Posts: 114
Offline
Update: FOUND IT! A solution to starworld's original problem:
Code:
Freelancer.exe  95900  E0 75 5C --> 9C 63 49 = NavMap zoom move limit PART 1 ~Gold_Sear
Freelancer.exe  95916  E0 75 5C --> 9C 63 49 = NavMap zoom move limit PART 2 ~Gold_Sear
Freelancer.exe  9639C  90 90 90 90 -> 0.5f = NavMap zoom move limit PART 3 ~Gold_Sear

To explain: at 95900 and 95916, the limiting variables are multiplied by a 0.5f located at 1C75E0, but that offset is used by a lot of other things, so I used unused padding bytes at 9639B (EDIT:9639C) instead.

@adoxa: when I set 9639B to 0.6f, my disassembler shows altered code at the beginning of the next function. Is this a problem?

EDIT: used 9639C now instead of 9639B, this affects part 1 and 2 too.

Posted on: 3/9 22:50
There is always something to do.
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2021
Offline
Only that it's disassembly data (I guess). BTW, not that it really matters, but since you can you may as well use 9C to make it DWORD-aligned.

Posted on: 3/10 1:05
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2008/2/14 21:37
From İstanbul, Turkey
Group:
Registered Users
Wiki editors
$$$ Supporters $$$
Posts: 159
Offline
Hi folks, with the TSP forum upgrade on the horizon, we're shifting stuff from the wiki over to a new system, this includes Limit Breaking 101!

I've ported the tsp-wiki page over to the new format, and will be doing a pass of this thread to add any offsets that haven't been included yet.

The new page can be found here: https://wiki.the-starport.net/FL%20Binaries/limit-breaking-101 It pulls from this repository: https://github.com/TheStarport/KnowledgeBase, and auto-updates when there's a change.

If you'd like to contribute to the page, feel free to either make a PR or give someone on the Galactic community discord a shout for direct access. We're still ironing out a few issues, and are in the process of porting the wiki content as a whole over.

Posted on: 3/10 7:07
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2015/1/18 12:56
From The Hague, EU
Group:
Registered Users
Posts: 114
Offline
Quote:

Ruppetthemuppet wrote:
Hi folks, with the TSP forum upgrade imminent, we're shifting stuff from the wiki over to a new system, this includes Limit Breaking 101!

I've ported the tsp-wiki page over to the new format, and will be doing a pass of this thread to add any offsets that haven't been included yet.

The new page can be found here: https://wiki.the-starport.net/FL%20Binaries/Limit%20Breaking%20101/ It pulls from this repository: https://github.com/TheStarport/KnowledgeBase, and auto-updates when there's a change.

If you'd like to contribute to the page, feel free to either make a PR or give someone on the Galactic community discord a shout for direct access. We're still ironing out a few issues, and are in the process of porting the wiki content as a whole over.


Euhm... a few questions if I may:
(1) Will the 101 list from the wiki here disappear?
(2) I can't seem to append my new offsets to the new 101 list, how do I do that?

Posted on: 3/10 7:57
There is always something to do.
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2008/2/14 21:37
From İstanbul, Turkey
Group:
Registered Users
Wiki editors
$$$ Supporters $$$
Posts: 159
Offline
Quote:

Gold_Sear wrote:
(1) Will the 101 list from the wiki here disappear?


Eventually, yes, but we're going to make sure everything is ported over and folks who want to contribute know how to contribute first. I'm not responsible for the forum changes, but have been assured that when they happen the old wiki will persist in an archived format until we're happy we've reached parity. It's going to be around for quite a while longer whatever happens.

Quote:

Gold_Sear wrote:
(2) I can't seem to append my new offsets to the new 101 list, how do I do that?


If you head to https://github.com/TheStarport/KnowledgeBase, and clone it, you can make changes via pull request. If you don't want to deal with the hassle of that and waiting for someone to authorize the PR, shoot me a DM with your email address/github account, and I can add you to the contributors list so you can make additions to main directly! Right now we're using .md files that are built into the wiki pages automatically, so any changes made to the repository are reflected on the wiki almost immediately.

Posted on: 3/10 8:20
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2015/1/18 12:56
From The Hague, EU
Group:
Registered Users
Posts: 114
Offline
@adoxa: is this DWORD-alignment faster or more secure (or for another reason I might not think of)? Or is it just for consistency?

Posted on: 3/10 11:12
There is always something to do.
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2021
Offline
Faster (ostensibly) and consistency.

Posted on: 3/10 11:52
Top
Re: Dev's Limit Breaking 101 Techniques
Just can't stay away
Joined:
2012/5/22 20:21
Group:
Registered Users
Posts: 244
Offline
Quote:

Ruppetthemuppet wrote:
Hi folks, with the TSP forum upgrade on the horizon, we're shifting stuff from the wiki over to a new system, this includes Limit Breaking 101!

I've ported the tsp-wiki page over to the new format, and will be doing a pass of this thread to add any offsets that haven't been included yet.

The new page can be found here: https://wiki.the-starport.net/FL%20Binaries/Limit%20Breaking%20101/ It pulls from this repository: https://github.com/TheStarport/KnowledgeBase, and auto-updates when there's a change.

If you'd like to contribute to the page, feel free to either make a PR or give someone on the Galactic community discord a shout for direct access. We're still ironing out a few issues, and are in the process of porting the wiki content as a whole over.


I was about to ask for a darker theme as the standard one was burning my eyeballs, then i saw the light button, looks much better with the dark theme imho

Posted on: 3/11 10:01
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2008/2/14 21:37
From İstanbul, Turkey
Group:
Registered Users
Wiki editors
$$$ Supporters $$$
Posts: 159
Offline
I've indexed all of the new offsets found by Gold_Sear on the new page, and combed this thread for any I might have missed before, sorry it took a while to to get to!

This has come up a few times in discussion on the Discord, but how do folks feel about splitting the page up by category and having a central index for these? The md file is so large VS code won't auto format it at this point!

Posted on: 3/12 7:59
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2015/1/18 12:56
From The Hague, EU
Group:
Registered Users
Posts: 114
Offline
@Ruppetthemuppet: the issue about the offset for my NavMap zoom move limit has been resolved, so can you please add them to the list on KnowledgeBase (or just pull my request)?

Quote:

This has come up a few times in discussion on the Discord, but how do folks feel about splitting the page up by category and having a central index for these? The md file is so large VS code won't auto format it at this point!

I see now that there is no possibility to jump between sections, so this would probably be a good idea, to group the separate files in the folder e.g. 'Limit Breaking 101'.

Posted on: 3/13 13:06
There is always something to do.
Top
Re: Dev's Limit Breaking 101 Techniques
Quite a regular
Joined:
2008/2/14 21:37
From İstanbul, Turkey
Group:
Registered Users
Wiki editors
$$$ Supporters $$$
Posts: 159
Offline
Sorry it took so long to accept the PR! I've fired you an invite to the contributors team so you can commit directly if need be in the future.

There is in fact a contents/directory tree down the right-hand side, but I think on certain screen resolutions it doesn't show up. Will investigate the possibility of contents blocks (where relevant)

Posted on: 3/13 16:35
Top
Re: Dev's Limit Breaking 101 Techniques
Just can't stay away
Joined:
2012/8/10 14:03
Group:
Registered Users
Posts: 231
Offline
Quote:
CA02->0000 freelancer.exe 02477A adoxa
Laz Enable Borderless Window (disable caption flags) (PART 1)
CA02->0000 freelancer.exe 02490D adoxa
Laz Enable Borderless Window (disable caption flags) (PART 2)


I just had a player request regarding the borderless window. Since removing the border he can no longer move the window (he said he likes to play with 4:3 resolutions). I did not expect this to ever be an issue but I guess I was wrong.
Tested it and the FL window is stuck to the top left corner of the screen. Without border no way to drag the window to the center (or anywhere else).
For now I proposed to use winexplorer to set a custom position for the Freelancer process.
Alternative to that I was wondering if its possible to enable something like the WS_SYSMENU option on FL somehow. That way alt+space would open a context menu with a move option.
Any ideas if that is possible?

Posted on: Yesterday 16:52
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2021
Offline
Use 0A00 instead of 0000 (at least, it works on 10).

Posted on: Today 9:42
Top
« 1 ... 65 66 67 (68) 69 »