Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: -170€
(last updated 02/2017)

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

Bitcoin address:
Thanks!
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
24 user(s) are online (14 user(s) are browsing Forum)

Members: 0
Guests: 24

more...
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 27 users playing Freelancer on 52 servers.
February. 23, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



WIP: FLHook Python Plugin
Not too shy to talk
Joined:
2008/3/1 4:20
Group:
Registered Users
FLServer Admins
Posts: 81
Offline
Something I've been working on for a while now when I find the time, a python plugin for use with FLHook 2.0 (svn version). Basically it sends hook event callbacks to python, and allows python to run various FLHook functions.
Most (but not all) event callbacks are supported, passing along all arguments (structs are converted to python 'collections.namedtuple' objects). Everything is done using python's C API, so theres no need for any 3d party libraries like swig or boost. (python source code is required to compile though)

Its far from perfect yet but does work as intended, and you'll have to excuse any inproper cpp style, its not really my area.

Python Plugin on Github

Posted on: 2/8 21:31
Tekagi's Treasure Mod
perl -e 'print join("",(a .. z," " )[9,20,18,19,26,0,13,14,19,7,4,17,26,15,4,17,11,26,7,0,2,10,4,17])'
Top