diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-08 08:35:32 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-08 08:35:32 +0000 |
commit | 4e5a65295ad732fd53630d8c29912ec047038d9d (patch) | |
tree | 863815cddc095c55fa3c7645e4c52cffc9e744b9 /conf-tmpl | |
parent | 8fd7ea9e4f38bd02b99e4fa42fc2003390a25adc (diff) | |
download | hercules-4e5a65295ad732fd53630d8c29912ec047038d9d.tar.gz hercules-4e5a65295ad732fd53630d8c29912ec047038d9d.tar.bz2 hercules-4e5a65295ad732fd53630d8c29912ec047038d9d.tar.xz hercules-4e5a65295ad732fd53630d8c29912ec047038d9d.zip |
- Added a precompiler error when the shutdown defines are not found.
- Added parse_console to the plugin API.
- Added plugin for parsing the console. (working with cygwin)
- Added the console plugin to plugin_athena.conf commented out.
- Copied the parse_console code form login txt to login sql and char.
- Added propper plugin version compatibility tests.
- Better output when a plugin fails to load.
-----
The console plugin (at it's 3rd version) uses two pipes and another thread.
- the other thread reads data from stdin and sends it through one of the pipes
- the other pipe serves as semaphore (and terminator) to that thread
- the normal thread checks if the pipe has data once every timer cycle, if data is found it invokes parse_console with that data
Worth noting: the first version didn't use another thread and just checked if data was available on the input stream, but apparently that can't be done to standard input in windows
It's only been tested on cygwin (and should work on most *nix systems), can't test native windows right now because I'm having trouble exporting the required plugin variables in VS8
src/plugins/Makefile hasn't been updated because it's not working properly for me
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9631 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf-tmpl')
-rw-r--r-- | conf-tmpl/Changelog.txt | 2 | ||||
-rw-r--r-- | conf-tmpl/plugin_athena.conf | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/conf-tmpl/Changelog.txt b/conf-tmpl/Changelog.txt index d9910db55..fc194dca4 100644 --- a/conf-tmpl/Changelog.txt +++ b/conf-tmpl/Changelog.txt @@ -1,5 +1,7 @@ Date Added +2007/01/08 + * Added the console plugin to plugin_athena.conf commented out. [FlavioJS] 2007/01/05 * Updated noicewall mapflags (to allow them in cities), thanks to Au{R}oN 2007/01/03 diff --git a/conf-tmpl/plugin_athena.conf b/conf-tmpl/plugin_athena.conf index c4b889da8..306fddf71 100644 --- a/conf-tmpl/plugin_athena.conf +++ b/conf-tmpl/plugin_athena.conf @@ -26,4 +26,7 @@ plugin: upnp //plugin: pid // Built-in webserver -//plugin: httpd
\ No newline at end of file +//plugin: httpd + +// Console parser +//plugin: console |