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

Members: 0
Guests: 56

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

Current balance: -190€
(last updated 04/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 115 users playing Freelancer on 43 servers.
September. 24, 2017
The Starport Forum Index > All Posts (adoxa)

Bottom Bottom   Previous Topic   Next Topic

(1) 2 3 4 ... 115 »


Re: Debug keys
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Coincidence - I didn't actually think of the debug keys when making Console (show just pretends the visited flag is set). The beta version has working debug keys, though.

Posted on: 9/4 2:23
Top
Topic | Forum


Re: Debug keys
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
The debug functionality is not present in the retail version.

Posted on: 9/3 8:40
Top
Topic | Forum


Re: Freelancer on VirtualBox
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
I tried my virtual 10 (original Creators Update, English) and it worked without issue (sharing my current install, though, rather than installing from scratch) - Windows prompted to install DirectPlay, the EULA came up, then it started. You said it "crashed without even opening a window" so does that mean you didn't get the DirectPlay prompt? If it's not already installed, try doing so manually (I think you'll find it under legacy features, but not sure of the exact steps, sorry).

Posted on: 9/2 2:45
Top
Topic | Forum


Re: "Technical" use of the WeaponModDB-Entries in FL
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
It modifies the weapon (probably why it's called WeaponMod and not ShieldMod), based on a combined modifier.

Code:
modifier = 0
foreach generator:
  modifier += weapon_modifier
modifier /= number_of_generators
damage = (hull_damage * HULL_DAMAGE_FACTOR + energy_damage) * modifier


Posted on: 8/17 7:22
Top
Topic | Forum


Re: "Technical" use of the WeaponModDB-Entries in FL
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Shields are reduced by their offline capacity, so a 10000 shield with an offline capacity of 0.15 is really only an 8500 shield. I have an Excel spreadsheet which shows the effective capacity of a shield (vanilla heavy fighters) for each weapon type.

Posted on: 8/16 2:36
Top
Topic | Forum


Re: Widescreeen Crashes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
I use VC6, but any Windows C compiler should work. Hm, vswprintf changed, though, so edit that line to *len += vswprintf( buf + *len, 4096 - *len, value_fmt, args ); and you might like to add #define _CRT_SECURE_NO_WARNINGS before the other includes. You might also like to remove option /MD, to avoid a CRT dependency (although it's likely people will have the redistributable already) and there's no need for the filealign option, as other compilers default to 512 (VC6 defaults to 4096).

Posted on: 7/30 8:18
Top
Topic | Forum


Re: Widescreeen Crashes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Quote:
I was planning on using it for a crafting system, i.e; typing /fabricate itemname, as long as you had the required commodities on your inventory, would produce an item.

We've all had the idea for a manufacturing plugin, but none of us ever got around to writing it, apparently.

Quote:
Doesn't even have to be you, anyone who is already familiar with FLHook programming would be awesome, but I suspect there isn't many of you left.

I never did MP, so I never became all that familiar with FLHook.

Posted on: 7/30 1:57
Top
Topic | Forum


Re: Widescreeen Crashes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Quote:
I plan to patch in a decent shader with a suitable profile, so the graphics draw will be a little higher, along with higher resolution textures, providing the option for a lower resolution makes sense with that.

Fair enough. I've attached a new DLL that does it (but note that Freelancer will still only display supported resolutions). I may have the 16:10 values wrong, but that should be easy enough to fix in the binary.

Quote:
Now you've got me curious, as I don't use a multi-monitor setup, does JFLP account for that and by extension hudshift?

Apparently.

Quote:
I considered asking for your help with various things but I get the impression you aren't into doing anything more for Freelancer projects wise, unless I am misunderstanding.

No, my Freelancer days are pretty much behind me, but I'll still do some little things that take my fancy; unfortunately for you, this isn't one of them.

Attach file:


zip jflpres.zip Size: 14.32 KB; Hits: 22

Posted on: 7/28 3:34
Top
Topic | Forum


Re: Widescreeen Crashes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
What is it you're trying to accomplish? JFLP will replace 800x600 with the current desktop resolution (if it's not already in the list), also using it as default, since that is assumed to be the native monitor resolution and hence the preferred resolution. How do you envisage other resolutions being used? Testing fonts? Multi-monitor setups?

You don't need separate versions, just do it dynamically, something along the lines of:
Code:
static int width4_3[] = { ... };
static int height4_3[] = { ... };
static int width16_9[] = { ... };
static int height16_9[] = { ... };
static int width16_10[] = { ... };
static int height16_10[] = { ... };
int* res_width;
int* res_height;
...
int ratio = 100 * desktop.right / desktop.bottom;
if (ratio == 177)
{
  res_width = width16_9;
  res_height = height16_9;
}
else if (ratio == 160)
{
  res_width = width16_10;
  res_height = height16_10;
}
else
{
  res_width = width4_3;
  res_height = height4_3;
}

Posted on: 7/27 8:22
Top
Topic | Forum


Re: Widescreeen Crashes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
The resolution strings are built dynamically, so adding aspect ratio will require a patch.

Freelancer actively discourages non-4:3 resolutions - I had to patch it out to get the widescreen desktop resolution to show up.

There's one list of resolutions (which JFLP replaces), which is made twice with each depth, so adding more resolutions will also require a patch.

Freelancer only tests width, not height, so if you want multiple resolutions with the same width, the last seen will be used - so you'll need another patch.

Your best bet would probably be to modify Patch_Dimensions in JFLP to do it all. If you can't, well, I think you're out of luck...

Posted on: 7/26 9:20

Edited by adoxa on 2017/7/27 8:10:56
Top
Topic | Forum


Re: Widescreeen Crashes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Are you using jflp.dll v1.21? The installer only has 1.20 and 1.21 fixed an issue with chat crashing.

Posted on: 7/26 2:43
Top
Topic | Forum


Re: Current Patch Order Etc
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
@robocop: I thought you were the one who reported the problem, but I can't find it...

Posted on: 7/26 2:33
Top
Topic | Forum


Re: Current Patch Order Etc
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
No, I was waiting for the result of additional testing before commenting (offhand I can't see why HudShift would crash, since the only code it changes is to hook the resolution change and it is actually JFLP that does all the widescreen stuff).

Posted on: 7/25 7:45
Top
Topic | Forum


Re: What is meant by MGS in FLSpew
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Don't see why not - that's where the flconfigdatabase comes from.

Posted on: 7/25 7:43
Top
Topic | Forum


Re: Current Patch Order Etc
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Quote:
Or does JFLP cover all of Quickfix and then it's own additions?

JFLP covers all of Quickfix, and unpacks all inis.

Quote:
I also note that in the JFLP readme, it includes a part about not being compatible with those without it, and instructions to un-do that change

The robot traders were using people animations, causing lots of spew warnings, so I changed them. However, the server sends the character to the client, so JFLP servers would send robot characters to non-JFLP clients with people characters, and crash the client. So a server should go back to the people animations or tells its clients to use JFLP, too.

Posted on: 7/24 8:30
Top
Topic | Forum



Top Top
(1) 2 3 4 ... 115 »



[Advanced Search]