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

Members: 0
Guests: 45

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 81 users playing Freelancer on 44 servers.
October. 26, 2021
The Starport Forum Index > All Posts (Laz)

Bottom Bottom   Previous Topic   Next Topic

(1) 2 3 »


Accessing Part Transform of CMP at runtime

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
Hello.

I have a rather specific query. I have a CShip and a list of parts on that ship. I have all the data related vertexes and such of the part, but I do not have the relative transform of the part to the root of the ship.

I tried accessing this information in game through a number of the functions within the CShip class, but to no avail. I know that Freelancer must track this information, as you can have animated ship parts, but I have found no way to obtain it.

I did try to see if I could at least get the static part data in game, but I was unable to map any data of the part. I know this rather uncharted waters, so I'm kind of going out on a limb hoping someone knows about this.

Posted on: 10/3 16:50
Way too ambitious for his own good.
Top
Topic | Forum


Re: New Multiplayer Character - Faction Selection

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
I spent weeks taking apart ProcyonHook to the best of my ability. I managed to figure out how their client side packaging system worked, how their UI hooked into the multiplayer menu, and how it connected to the server. They mostly used vanilla features that were just disabled, but with excessive amount of assembly in order to get it working - or at least as far as I could tell.

Posted on: 9/2 23:53
Way too ambitious for his own good.
Top
Topic | Forum


Re: [Clientside]Custom key commands

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
A bit of a grave dig, but I was wondering if anybody knows the location of the function for handling the release of input.

From what I can tell, any key defined inside of keymap.ini with a state of "keydown, keyup" will only fire an event in the above function for the initial keydown state. This is great for intercepting calls, but sometimes I want to supress the cancelation.

Posted on: 8/27 13:18
Way too ambitious for his own good.
Top
Topic | Forum


Re: Dev's Limit Breaking 101 Techniques

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
Good work as always Adoxa!

Posted on: 7/6 3:23
Way too ambitious for his own good.
Top
Topic | Forum


Re: Is it possible to remove the client side server timeout kick?

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
I am assuming that this was a single player only patch. I took a bit of a dig around DirectPlay, but couldn't find anything at a glance.

Posted on: 3/9 11:14
Way too ambitious for his own good.
Top
Topic | Forum


Is it possible to remove the client side server timeout kick?

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
When developing various plugins for the server-side of things, I will often employ debugging with breakpoints to check if stuff is working, but the client seems to disconnect itself if it doesn't get any input from the server after some seconds.

I am wondering if anyone knows how I can disable this 'self-kick' the client does if it doesn't detect the server is still active?

Posted on: 2/24 11:58
Way too ambitious for his own good.
Top
Topic | Forum


Re: Game engine limit (String Cache overflow)

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
As I recall, the limit for the INI_Reader class internally is 1024 characters per ini value. I am not aware of any file size limits, and the only one I would imagine is if you had a file larger than a gigabyte, which I highly doubt.

The error could be tied elsewhere, perhaps a save file? What is the line limit you have observed?

Posted on: 2/20 16:16
Way too ambitious for his own good.
Top
Topic | Forum


Re: (@Adoxa) A question about / an issue with the XML Project

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
I have encountered issues with this before if the path is invalid, it will not start. Check that the path set in the registry is correct.

Posted on: 2020/9/30 11:10
Way too ambitious for his own good.
Top
Topic | Forum


Re: Crash Offsets

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
I like the 0x part for *copying to my code* purposes. Time saver.

Posted on: 2020/9/2 12:38
Way too ambitious for his own good.
Top
Topic | Forum


Re: Bases become invisible inside nebulas

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
Quote:

Jeider wrote:
[Nebula] entry must be activated BEFORE objects in system.


This was the issue. This begs the question. Is there an order of how things are meant to be ordered? Do asteroids and nebula go before/after encounter parameters, for example?

Posted on: 2020/5/18 18:33
Way too ambitious for his own good.
Top
Topic | Forum


Re: Compiling FLStat

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
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: 2020/4/19 15:09
Way too ambitious for his own good.
Top
Topic | Forum


Compiling FLStat

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
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: 2020/4/13 19:08
Way too ambitious for his own good.
Top
Topic | Forum


Re: Crash Offsets

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
Code:


03954990 ((module-name not available)): (filename not available): IServerImpl::DumpPacketStats

Source: D:\Games\Aftermath\EXE\SERVER.dll
RelExpAddr: 0x702064
ExpCode: 0x3221225477
ExpFlags: 0
ExpAddress: 0x03954990


Triggered by warping to a base that doesn't have a physical presence, but has an mbase and universe entry, I think.I was warping to st03b_01_base for testing.

Posted on: 2020/4/10 11:22
Way too ambitious for his own good.
Top
Topic | Forum


How does your multiplayer callsign work?

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
Thank's to Adoxa's work with Callsign.dll we know how single player calls the player, and it's because of some values assigned within Content.dll. However, while looking into it, I noticed that the handling of multiplayer ids seems to be totally different, with each person having their own (seemingly random?) assigned id.

Does anyone know how multiplayer knows what to refer to the player as?

Posted on: 2020/4/9 11:04
Way too ambitious for his own good.
Top
Topic | Forum


IZone Properties

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 44
Offline
I'm trying to create zones programatically and am trying to map out the structure of IZone. The base FLHook definition we have is as follows:

Code:

struct IMPORT IZone
{
struct FactionSpawn
{
uint iFaction; // Faction ID, obtainable with e.g. pub::Reputation::GetReputationGroup()
float fChance; // Spawn chance
};

uint iDunno1[1];
uint iZoneID;
uint iSystemID;
Matrix mRot;
Vector vPos;
uint iShapeType; // 1 = sphere, 5 = ring
uint iPropertyFlags;
Vector vSize;
uint iDunno4[13];
CmnAsteroid::LootableZone *lootableZone;
uint iStartFaction; // & 0xFF, always zero
uint iCountMaxFaction; // & 0xFF, appears related to the max number of factions in a given encounter line
st6::list<FactionSpawn> factionSpawns;
uint iDunno5[5];
};


There is a lot of dunnos there. I took some screenshots after running it through the visual studio debugger to see what changed between two zones:

Open in new window


Open in new window


Does anyone have any ideas what some of the values might be (sorta going out on a limb here)

Posted on: 2020/3/30 22:48
Way too ambitious for his own good.
Top
Topic | Forum



Top Top
(1) 2 3 »



[Advanced Search]