Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
There are currently 49 users playing Freelancer on 41 servers.
October. 17, 2019
[Main Page]

FLHook Eventmode

From The Starport

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy

Contents

UNDER CONSTRUCTION!

This wiki Page is still under construction, it was created by tai, and will be filled with more infos during the next days!

Introduction

Listening to FLHooks Eventmode is easy, you just have to use a Socket Connection with FLHook and send the eventmode command.

Events

CONNECT

Happens when someone Connects to the Server.

connect id=(PLAYERID) ip=(PLAYERIP)
Placeholder Meaning
PLAYERID The Id of the Player that just connected, you can identify him as long as he is on the Server
PLAYERIP This is the Players IP-Adress


LOGIN

Happens when someone selects an Charakter

Attention: There is no Logout event, so if you switch char it will just do a Login!

login char=(PLAYERNAME) accountdirname=(PLAYERACCOUNTDIR) id=(PLAYERID) ip=(PLAYERIP)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERACCOUNTDIR The Players Account Directory
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
PLAYERIP This is the Players IP-Adress

SPAWN

When you aren't docked on Login, you'll spawn, instead of entering the Base.

spawn char=(PLAYERNAME) id=(PLAYERID) system=(SYSTEM)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
SYSTEM System the Player spawned in

BASEENTER

Baseentering happens when you dock, got killed or when you login and you are docked.

baseenter char=(PLAYERNAME) id=(PLAYERID) base=(BASE) system=(SYSTEM)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
BASE The Base the Player entered
SYSTEM The System BASE is in.

BASEEXIT

Baseexit happens on Logout when you are on a Base and Launch from a Base

baseexit char=(PLAYERNAME) id=(PLAYERID) base=(BASE) system=(SYSTEM)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
BASE The Base the Player entered
SYSTEM The System BASE is in.

LAUNCH

This one only happens when you launch from an Planet or Base.

launch char=(PLAYERNAME) id=(PLAYERID) base=(BASE) system=(SYSTEM)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
BASE The Base the Player entered
SYSTEM The System BASE is in.

SWITCHOUT

Switching out of an System

switchout char=(PLAYERNAME) id=(PLAYERID) system=(SYSTEM)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
SYSTEM The System that is left

JUMPIN

Jumping into a System

jumpin char=(PLAYERNAME) id=(PLAYERID) system=(SYSTEM)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
SYSTEM The System that the Player just jumped into

CHAT

Chat should be pretty clear

chat from=(PLAYERNAME) id=(PLAYERID) type=(TYPE) (ADDITIONAL) text=(TEXT)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server
TYPE The Type of the chat, e.g. system,player
ADDITIONAL Here are some other variables located, e.g. to(player),idto(player),system
TEXT The Text the Player send

KILL

Happens when someone gets Killed!

kill ???

Don't know yet! xD

DISCONNECT

Happens when a Player is disconnecting from the Server.

disconnect char=(PLAYERNAME) id=(PLAYERID)
Placeholder Meaning
PLAYERNAME The Name of the Char that just logged in
PLAYERID The Player's ID you can identify him, as long as he stays on the Server

Retrieved from "http://the-starport.net/freelancer/wiki/index.php/FLHook_Eventmode"

This page has been accessed 3,458 times. This page was last modified 15:41, 16 August 2009. Content is available under The Starport.