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

Members: 0
Guests: 69

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

Current balance: -60€
(last updated 10/2020)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 64 users playing Freelancer on 41 servers.
December. 1, 2020
The Starport Forum Index > All Posts (Raikkonen)

Bottom Bottom   Previous Topic   Next Topic



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

Posted on: 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: 8
Offline
Updated with Stats plugin

Posted on: 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: 8
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: 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: 8
Offline
I'm really enjoying it. Picard has gotten better with age!

Posted on: 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: 8
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: 8
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: 8
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: 63

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


Re: [Information] Server Side Ini's
Just popping in
Joined:
2015/9/13 18:49
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 8
Offline
Sorry to post on a dead topic. But if anyone has this file or similar information it would be appreciated. Thanks

Posted on: 2016/5/30 20:27
Top
Topic | Forum



Top Top



[Advanced Search]