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

Members: 0
Guests: 55

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

Current balance: 85€
(last updated 02/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 89 users playing Freelancer on 44 servers.
February. 24, 2020

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 (2)


Re: "Which type of multiplayer game..."button removal??
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1921
Offline
Quote:
Huor wrote:
I am just curious how you find out what offset at the exe causes what effect in game?

For stuff that uses text, I just search my disassembly listing for its resource number. That will show me where the button is created, then it's off to the debugger to track down where it gets used.

Posted on: 2010/9/7 8:53
Top
Re: "Which type of multiplayer game..."button removal??
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 843
Offline
Funny, the offset: 1E28C4, i change it to 52, then, Avira say that is a virus. Looks they don't like that color. LOL

Posted on: 2012/1/1 11:57
Open in new window
Sorry for my poor english...
Top
Re: "Which type of multiplayer game..."button removal??
Just can't stay away
Joined:
2010/8/2 0:04
Group:
Registered Users
FLServer Admins
Posts: 464
Offline
Yea - also my .exe suddenly become a virus Open in new window


Attach file:



jpg  avira-report.JPG (39.58 KB)
6823_4f00522195bc2.jpg 418X540 px

Posted on: 2012/1/1 12:31
Of all things that are lost - brain I miss most
Top
Re: "Which type of multiplayer game..."button removal??
Just can't stay away
Joined:
2012/5/22 20:21
Group:
Registered Users
Posts: 208
Offline
Quote:

adoxa wrote:
Specifically, if you want to remove MULTIPLAYER, replace 01 77 with 02 75 and put 00 00 into 174744. Shifting the other buttons up is more complicated.


You got me here. At which address do i do this? Followed the examples for removing the singleplayer buttons and that worked fine. Want to try just removing the multiplayer button now myself.

You say replace 01 77 with 02 75, but where? Which address do i type in to get those?

Posted on: 2014/6/28 16:23
Top
Re: "Which type of multiplayer game..."button removal??
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1921
Offline
Code:
# Remove the "MULTIPLAYER" button on the main menu.
# Jason Hood, 28 November, 2009 & 29 June, 2014.

File: Freelancer.exe
174634: E8 47 E5 EA FF 83 7C 24 50 02 75 [ C7 44 24 70 00 00 00 00 C7 44 24 ]
        11 DB 05 4C 46 57 00 EB 0D       [ 74 00 00 00 00 C7 44 24 78 ]
174744: 00 00 [ 80 3E ]

I guess you're familiar with what to do, but for those who came in late... As is, the above is a file used by my BwPatch utility (so save it as nomp.crk and run bwpatch -f nomp.crk within the EXE directory, or change the paths as appropriate). Doing it manually, load up Freelancer.exe in a hex editor, navigate to hex offset 174634 (which may need to be specified as 0x174634, depending on the editor), where you should see the bytes inside the brackets - overwrite them with the bytes before the brackets.

Posted on: 2014/6/29 6:42
Top
Re: "Which type of multiplayer game..."button removal??
Just can't stay away
Joined:
2012/5/22 20:21
Group:
Registered Users
Posts: 208
Offline
Now i understand. Used to messing about with modifying the exe and applying changes, just couldn't see the address i needed to go to. Thanks for the heads up.

+++ Just tested this and works great !!

Posted on: 2014/6/29 9:43
Top
Re: "Which type of multiplayer game..."button removal??
Not too shy to talk
Joined:
2010/3/13 20:29
From Victoria, Canada
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 69
Offline
This might be a bit much to ask, adoxa, but have you got any idea how to grey out and disable the "MULTIPLAYER" button without actually removing it? Would like to be able to do that for Broken Bonds' offline mode.

Posted on: 2014/6/30 0:37
FLHook programmer
Top
Re: "Which type of multiplayer game..."button removal??
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1921
Offline
Code:
Freelancer.exe 166571 04->00 = grey out "MULTIPLAYER" menu button ~adoxa

If you want to do it programmatically, you could dynamically patch the above (at 0x566571 of course), or *(int*)0x67BA50 ^= 1 to disable/toggle it and *(DWORD*)0x67BAB0 = 0xAABBGGRR to change the color (disabled color @ 0x67BAC0). (It's not normally how you'd disable a button, but this one is on a timer, which is what the patch modifies.)

Posted on: 2014/6/30 7:35
Top
« 1 (2)