FLHook Plugin: Board – A plugin allows you connect FLServer to an API more easy (Some help needed)
-
Board – A FLHook Plugin (TESTING VERSION)
What’s this? and why made this?
It’s been a long time for FL comes out. During the age, Web becomes more popular between people. People uses web services more and more often than old age.
Almost every each famous mod and server got it’s own web service build up. However, only few of them let player show / check it’s own in-game profile information on the web, which lowers the heat of player’s willing after play and player’s sense of achievement.
Think if there is a opportunity to let player to check almost all in-game status on the web like clan conquer, ship / base status etc, the game server will become more active and more alive outsidely.
So, if there is a chance to make FLServer to connect to a web server, that will be better.
Board plugin is made for this purpose. It provides a simple API to let you easily make a asynchronous FLHook plugin for FLServer to send it’s own on-going game information through JSON API.
Where to download it?
You can’t download it. It made for plugin creators.
The source code can be git from:
https://github.com/raincious/FLBoardAfter that, you will be able to work on your own plugin project.
Development document is here:
https://github.com/raincious/FLBoard/blob/master/README.mdThe code itself unlicenced on public domain. For the library it uses, you can check it’s licence here: https://github.com/raincious/FLBoard/blob/master/Bin/Readme.txt
So basic it free for anything you want to do with it. But please don’t print it and use it as toilet paper.
Why made it when we have project like FlSES-Webinterface?
FlSES-Webinterface makes more operateable control method for FLServer itself to let FLServer provides more functions.
But Board Plugin and JSON protocol design for display and response in-game information across environment.
Which you can have multi-api setted up, and they will provides different services togetherly or separatly. It also means you can even post your in-game information to a public hub (If it can be made and set up) API to let your server sharing it’s information and interactive with other servers. All depends on how the API and plugin works.
And you may considering about it’s security. Relax, it also provide option for FLServer admin to disable specific function for specific API service.
So, what kind of help i need?
Well, i’m not a experted C++ programer. I made the plugin just for the purpose of Making Things Happen.
I wantted to post a plugin request for this years ago, but i don’t have a FLServer so i gived up…
If you made something with this plugin and found the problems like bugs in this project, please send issue on GitHub, i will try fix it. Or you can even fork it, and fix it, and create a pull request to push your fix back if you willing to.
And another one, i don’t know how to get this thing working on Windows XP. My own computer refused to run Freelancer and FLServer normally (as they take over 20 minutes to shutdown), which makes my debug become very difficult.
I need help from a experted programer to help me to port this project to Windows XP / Server 2003. I don’t know why when i try to run it on my Windows XP, it will not load any how.
Please help, Thank you!
========================
Well, it’s so quiet… Just like the first time introduce a plugin like this many years ago.
In the meantime, i put this plugin on test server, let the Plugin constantly send request to an HTTP server and get feedback to test for the stability (10 threads, in every 10 seconds).
It rans about like 8 days and today i logon the server, it’s still running well. No major leaks i can tell.
I attahced the test plugin i used, you may use it to build your one.
But maybe you guys never interested in this at all (Because so many thing you may need to do).
Anyway, hope i can help someone.