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

Members: 0
Guests: 57

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

Current balance: 45€
(last updated 01/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 70 users playing Freelancer on 41 servers.
January. 27, 2020

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 ... 19 20 21 (22) 23 24 25 ... 67 »


Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

FriendlyFire wrote:
I'm sure I used it before and it worked.

Can you remember what value you replaced the 1.74 with?

I've tried 17.4, 9.99 and 0.174 (the last one after the first two failed, to see if it should be decreased instead of increased)

Posted on: 2010/2/22 1:39
Top
Re: Dev's Limit Breaking 101 Techniques
Starport Admin
Joined:
2008/6/24 16:40
From http://www.freeworlds-tow.net/dev
Group:
Registered Users
Starport Admin
$$$ Supporters $$$
Posts: 1123
Offline
Quote:

Moonhead wrote:
Quote:
-- 1.74f in common.dll, 0x13DFAC, 0x13DFDC - multiplier for fill_dist in CmnAsteroid::CAsteroidField::near_field calculation, increase this to make FL render asteroid fields from greater distances ~w0dk4 (~OutCast for 1.1 version of offset)


I was thrilled to discover this was found out. Unfortunately it doesn't work

I could find the value at the offset mentioned, changed it, but still beyond 130K from a system's center, asteroids are not rendered; only the billboards and dyniamic asteroids are there.

Does anybody actually know how to create a proper asteroid field beyond the 130K from the system center?

Thanks!

It does work. It's in the FW:ToW mod right now. Maybe there's something else you're missing?

Posted on: 2010/2/22 4:43
Open in new window
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
-- 1.25f in freelancer.exe, 0x1C9804, 0x1C9804 = multiplier for distance at which brackets around non-targeted ships in space will appear (1.25 = ~3km, 37.5 = ~93km, etc)

I messed with this and encountered a side effect. It messes with the tractor beam effect, or at least did in my mod making it invisible. Soon as i reset the value, it was back to normal.

Posted on: 2010/2/22 4:48
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

Sushi wrote:

It does work. It's in the FW:ToW mod right now. Maybe there's something else you're missing?

I believe you people when you say it works! Just doesn't do it for me, sofar.

I'll look into it again, and maybe upload or link to a minimod regarding this. Or, if I fix it, let you know what I did wrong (might be useful for other people).

Posted on: 2010/2/22 5:04
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: 1909
Offline
@Gibbon: Revisit my earlier post for an alternate address.

Posted on: 2010/2/22 6:22
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
Thanks again adoxa, should do the trick. Too much info in this thread lol

*** EDIT ***

Followed link, did as you suggested by changing the value from 0.0004 to 1 at 0x1d954c and all works as it should, no brackets on non targeted ships

Posted on: 2010/2/22 6:31
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Concerning the Asteroids:
I realize I might have misunderstood what this hack is supposed to do!


Quote:
-- 1.74f in common.dll, 0x13DFAC, 0x13DFDC - multiplier for fill_dist in CmnAsteroid::CAsteroidField::near_field calculation, increase this to make FL render asteroid fields from greater distances ~w0dk4 (~OutCast for 1.1 version of offset)


"render asteroid fields from greater distances" - that might refer to a visual thing: the player sees the asteroids from a greater distance when the hack is applied.

But what I want is something completely different from that.

As it is now, the game seems to keep an invisble circle in the starsystems of about 130K (measured in-game) from the center. Beyond that circle, asteroids will not be created! An asteroid field lying on this invisible circle will have asteroids within it, and none outside of it, altough it shows up on the navmap like it's a complete field. (This limit does not apply to dynamic asteroids and billboards - they are created beyond the circle)


So, what is the hack supposed to do?
1. Expand the seeing of asteroids by the player? or
2. Expand the limit in which the game will create asteroids

If it's option 1, then it makes sense I don't get the hack working, as I am expecting the wrong this. If it's option 2, then I remain very puzzled.


Posted on: 2010/2/23 12:35
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: 1909
Offline
Doing a search for 130000 actually found one:

[ExclusionBand]
fade = 1500, 2500, 100000, 130000 ; default values

That of any help?

Posted on: 2010/2/23 12:54
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

adoxa wrote:
Doing a search for 130000 actually found one:

[ExclusionBand]
fade = 1500, 2500, 100000, 130000 ; default values

That of any help?

Hmm... Don't think so, I don't have exclusion bands in my asteroids.

And - I am not talking about mere visibility. I'm talking about asteroids actually being there (or more precisely not being there)

Thanks for nthe suggestion though.

Posted on: 2010/2/23 15:06
Top
Re: Dev's Limit Breaking 101 Techniques
Starport Admin
Joined:
2008/2/26 20:36
From Germany
Group:
Webmasters
Registered Users
Posts: 1779
Offline
The problem with asteroids not being able to be rendered is due to how FL computes unique IDs.
Because after a certain size of the position vector the unique id computation function fails, asteroids will no longer be spawned.

At Freeworlds, we simply made the function always return "some" id, no matter if its a broken ID.

Maybe adoxa can fix the code for larger vectors, the function responsible is:

unsigned long __cdecl CmnAsteroid::compute_cube_id(class Vector const &)

in common.dll (062A6010)

Posted on: 2010/2/23 16:38
aka chaosgrid
https://www.freelancerserver.de
https://www.moddb.com/mods/fwtow
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: 1909
Offline
Okay, open up common.dll (v1.1), jump to offset 0x460a9, change 7 to 8, same at 0x460af. That should increase it to ~260k (x and z, respectively; y remains at ~65k), presumably at the expense of removing them further from the center, from 256 to 512 (big deal). As you may have guessed by now, use 9 instead of 8 to increase to ~520k (1024 from the center).

Posted on: 2010/2/23 18:30
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

adoxa wrote:
Okay, open up common.dll (v1.1), jump to offset 0x460a9, change 7 to 8, same at 0x460af. That should increase it to ~260k (x and z, respectively; y remains at ~65k), presumably at the expense of removing them further from the center, from 256 to 512 (big deal). As you may have guessed by now, use 9 instead of 8 to increase to ~520k (1024 from the center).


I just replied, but my connection failed

Anyway, great that you found it. But -weeehh- I use common.dll version 1.0... Is there a way to recalculate the offsets? Or doesn't it work that way?

In Common.dll 1.0:

0x460a9 = 59
0x460af = 0C

I guess these are totally unrelated values, being a different version?

Posted on: 2010/2/23 19:46
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

w0dk4 wrote:
The problem with asteroids not being able to be rendered is due to how FL computes unique IDs.
Because after a certain size of the position vector the unique id computation function fails, asteroids will no longer be spawned.

At Freeworlds, we simply made the function always return "some" id, no matter if its a broken ID.

Maybe adoxa can fix the code for larger vectors, the function responsible is:

unsigned long __cdecl CmnAsteroid::compute_cube_id(class Vector const &)

in common.dll (062A6010)


Hi! Had overlooked your post. Thanks for the info though (not that I can do anything with it, but Adoxa apparently does!)

Maybe I should just abandon the idea and simply use customized dynamic asteroids. I remember someone found out you can redefine the normal asteroid models as dynamic asteroids, and have up to nine fields overlap each other.

And then, IIRC, there is a value in constants ini that can modify collision damage.

(Which brings up another idea that might be a cool project for Adoxa: enable the game to have the constants in constants.ini redefined in per star system. Would that be possible?)


Posted on: 2010/2/23 20:00
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: 1909
Offline
Sigh, just when I thought everyone was using 1.1... 0x463c9 & f.

Posted on: 2010/2/24 4:11
Top
Re: Dev's Limit Breaking 101 Techniques
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3519
Offline
I'd argue that there is no good reason to be using 1.0 anymore. I urge anyone still working with it to move to 1.1, if only for the security features provided by 1.1's cheating detection and most importantly FLHook. Having both client and server running 1.1 does not matter so long as the server does, but it's a lot easier to develop a mod with only one version

Posted on: 2010/2/24 4:33
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
« 1 ... 19 20 21 (22) 23 24 25 ... 67 »