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

Members: 0
Guests: 29

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 59 users playing Freelancer on 43 servers.
November. 27, 2021
The Starport Forum Index > All Posts (Raikkonen)

Bottom Bottom   Previous Topic   Next Topic

(1) 2 »


Crash when using JFLP on Vanilla Server
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Hi all,

JFLP changes loadouts_special.ini for a number of Battleship bases. For example br_battleship_co_01 (Battleship Hood) removes the engine and the tractor.

If a server is running completely Vanilla and the client is running JFLP (or vice versa), this mismatch in the Solar loadout can cause a client crash.

Replication steps are:

1.) Have a vanilla server
2.) Have a client with JFLP
3.) Undock from the Battleship Hood, shoot it to make it hostile. Fly around it for a few minutes. Crash usually occurs when you are about 500m from it.

I have attached a debugger and had the following offset:

Code:
Exception thrown at 0x06621C15 (engbase.dll) in Freelancer.exe: 0xC0000005: Access violation reading location 0x00000005.


Any help or advice would be appreciated. An ideal solution would be one that allows both Vanilla and JFLPd players to interact with these Battleship bases without a crash.

Posted on: 10/13 0:02
Top
Topic | Forum


Re: (@Adoxa) A question about / an issue with the XML Project
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Quote:

Laz wrote:
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.


Just confirmed that UTFXML.exe will crash without the correct FL install path in the registry:

Code:
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process ID: 0x2848


Setting Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft Games\Freelancer\1.0\AppPath resolves it.

Posted on: 9/27 22:24
Top
Topic | Forum


Re: Npc spawn distance
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Just noticed from your file paths you might be using the old svn version of FLHook.

The newer FLHook is on Github: https://github.com/Friendly0Fire/FLHook

Should be easier to make the edit and compile.

Posted on: 9/19 22:12
Top
Topic | Forum


Re: Modded Game Crashing Pre-Menu
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
If you have the .dll I wonder if its an access issue.

Are you running the game as Administrator?

Is the .dll blocked? See example screenshot.

Open in new window

Posted on: 9/3 13:00
Top
Topic | Forum


Re: Freelancer vet from waaaayyy way back
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Welcome back! Wireplay was my first server, I miss it!

Posted on: 5/24 14:16
Top
Topic | Forum


Re: Solar Spawning
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Probably 11 years too late but iUnk8 is the BaseID of the base the Solar is linked to.

Posted on: 3/25 23:03
Top
Topic | Forum


Re: Add server.page link
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline

Posted on: 3/13 15:51
Top
Topic | Forum


Re: IONCROSS IFSO on Windows 10
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
What do you need it for? Will Discovery Account Manager not suffice?

Posted on: 1/29 23:45
Top
Topic | Forum


Re: Hello everyone
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Hi

Posted on: 2020/9/30 15:39
Top
Topic | Forum


Re: Raikkonen's FLHook Plugins
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Updated with Stats plugin

Posted on: 2020/9/24 11:07
Top
Topic | Forum


Raikkonen's FLHook Plugins
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Hi all,

Please find below a list of the plugins I have created. I'll most likely only post when they get accepted into upstream, just so everything is all in one place on Github.

AFK Plugin

Description:

This allows players to set themselves as /afk. This sends an automatic message to anyone who PMs them letting them know that player isn't there.

Usage:

/afk
Sets the player to AFK. If any other player messages directly, they will be told you are afk.

/back
Turns off AFK for a the player.

Link: https://github.com/Friendly0Fire/FLHoo ... master/plugins/afk_plugin

Examples:

What the user sees when they type /afk:

Open in new window


What everyone in the system sees:

Open in new window


What happens if you try and pm the AFK player:

Open in new window


What the player and the system see when the player types /back:

Open in new window


If you type /back without being afk:

Open in new window


PvP Plugin

Description:

This plugin allows players to start their own FFA events and have FLHook handle the money side of things. They can also start 1 on 1 duels.

Usage:

/ffa <amount> - Starts an FFA in current system where the buyin cost in <amount>
/acceptffa - Accepts the FFA
/duel <amount> - Invites the targeted player to a duel for <amount>
/acceptduel - Accepts the duel invite
/cancel - Cancels your participation in the Duel/FFA (you will lose the credits you put in for the FFA).

Link: https://github.com/Friendly0Fire/FLHoo ... master/plugins/pvp_plugin

Examples:

Open in new window


Stats Plugin

Description:

This plugin exports a JSON file to a customizable location. It exports the server load along with online player information.

Link: https://github.com/Friendly0Fire/FLHoo ... ster/plugins/stats_plugin

Example:

Code:
{
  "serverload": "2",
  "players": [
    {
      "name": "Raikkonen",
      "rank": "43",
      "group": "0",
      "ship": "Eagle",
      "system": "Omicron Beta"
    }
  ]
}

Posted on: 2020/9/22 10:10
Top
Topic | Forum


Re: Star Trek Picard Series
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
I'm really enjoying it. Picard has gotten better with age!

Posted on: 2020/2/14 17:18
Top
Topic | Forum


Re: Librelancer 2019.08
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Amazing! Managed to watch the cut scene in 2560x1440p.

Also flew around New York for a bit. Good work!

Posted on: 2019/8/10 17:55
Top
Topic | Forum


Re: gun.fllistserver.com
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Quote:

Bolte wrote:
Crazy, have you released the source code for the list server? Or are you planning to? I'd love to run my own...


+1 I'd love to play around with the source and possibly create a mirror

Posted on: 2019/5/13 18:49
Top
Topic | Forum


FLHook 3.0 Autobuy issues
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 16
Offline
Hi all,

I am using FLHook 3.0 from the lovely people at Discovery.

I found that the autobuy plugin provided would cause issues for Vanilla Freelancer (e.g. not buy the correct amount, miss items etc.)

I just wanted to post my solution for future modders. I have ported the 1.6.2 core Autobuy functionality into a plugin. I found that the topic here helped a lot with AntiCheat issues: https://the-starport.net/freelancer/fo ... ewtopic.php?topic_id=1686

Please find attached "Main.cpp" for the autobuy plugin.

I also had to modify "HKAddCargo" in HkFuncPlayers.cpp in the main FLHook Project. This method is shown below.

Hope this helps someone in the future.

Raikkonen - Zoner Universe

Code:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////
HK_ERROR HkAddCargo(const wstring &wscCharname, uint iGoodID, int iCount, bool bMission)
{
HK_GET_CLIENTID(iClientID, wscCharname);

if (iClientID == -1 || HkIsInCharSelectMenu(iClientID))
return HKE_PLAYER_NOT_LOGGED_IN;

/* // anti-cheat related
char *szClassPtr;
memcpy(&szClassPtr, &Players, 4);
szClassPtr += 0x418 * (iClientID - 1);
EquipDescList *edlList = (EquipDescList*)szClassPtr + 0x328;
bool bCargoFound = true;
if(!edlList->find_matching_cargo(iGoodID, 0, 1))
bCargoFound = false;*/

// add
const GoodInfo *gi;
if (!(gi = GoodList::find_by_id(iGoodID)))
return HKE_INVALID_GOOD;

bool bMultiCount;
memcpy(&bMultiCount, (char*)gi + 0x70, 1);


uint iBase = 0;
pub::Player::GetBase(iClientID, iBase);
uint iLocation = 0;
pub::Player::GetLocation(iClientID, iLocation);

// trick cheat detection
if (iBase) {
if (iLocation)
Server.LocationExit(iLocation, iClientID);
Server.BaseExit(iBase, iClientID);
if (!HkIsValidClientID(iClientID)) // got cheat kicked
return HKE_PLAYER_NOT_LOGGED_IN;
}

if (bMultiCount) { // it's a good that can have multiple units(commodities, missile ammo, etc)
int iRet;

// we need to do this, else server or client may crash
list<CARGO_INFO> lstCargo;
HkEnumCargo(wscCharname, lstCargo, iRet);
foreach(lstCargo, CARGO_INFO, it)
{
if (((*it).iArchID == iGoodID) && ((*it).bMission != bMission))
{
HkRemoveCargo(wscCharname, (*it).iID, (*it).iCount);
iCount += (*it).iCount;
}
}

pub::Player::AddCargo(iClientID, iGoodID, iCount, 1, bMission);
}
else {
for (int i = 0; (i < iCount); i++)
pub::Player::AddCargo(iClientID, iGoodID, 1, 1, bMission);
}

if (iBase)
{ // player docked on base
///////////////////////////////////////////////////
// fix, else we get anti-cheat msg when undocking
// this DOES NOT disable anti-cheat-detection, we're
// just making some adjustments so that we dont get kicked
if (iBase) {
Server.BaseEnter(iBase, iClientID);
if (iLocation) // ADDED THIS CHECK
Server.LocationEnter(iLocation, iClientID);

/* // fix "Ship or Equipment not sold on base" kick
if(!bCargoFound)
{
// get last equipid
char *szLastEquipID = szClassPtr + 0x3C8;
ushort sEquipID;
memcpy(&sEquipID, szLastEquipID, 2);

// add to check-list which is being compared to the users equip-list when saving char
EquipDesc ed;
memset(&ed, 0, sizeof(ed));
ed.id = sEquipID;
ed.count = iCount;
ed.archid = iGoodID;
edlList->add_equipment_item(ed, true);
}

// fix "Ship Related" kick, update crc
ulong lCRC;
__asm
{
mov ecx, [szClassPtr]
call [CRCAntiCheat]
mov [lCRC], eax
}
memcpy(szClassPtr + 0x320, &lCRC, 4);*/
}
}

return HKE_OK;
}

Attach file:


zip Main.zip Size: 4.22 KB; Hits: 125

Posted on: 2019/5/8 22:05
Top
Topic | Forum



Top Top
(1) 2 »



[Advanced Search]