Skip to content

Latest commit

 

History

105 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BattleNode


BattleNode is a master server emulator for Battlefield 2142.

Events

The full event name usually looks like this: plugin.event. The table below contains only the names of the events

Event Arguments Description
init - Plugin initialization
shutdown - Shutting down plug-in
statuschange PluginStatuses Changing plugin status
process.submitted JobSubmissionEvent Process started
process.executes JobEvent Process completed without error
process.error JobExecutionEvent Process failed

Other events

Events that are not related to plugins are global and are called by the application itself. Such events have the application name battlenode in the name instead of the plugin name

Event Arguments Description
battlenode.start - The application has started
battlenode.stop - The application is shutting down
battlenode.error str There was an unexpected error
battlenode.plugins.statuschange PluginStatuses, Plugin one of the plug-ins has changed its status.
battlenode.database.init - Database is initialized and ready for operation
battlenode.database.close - Database connection closes
Why duplicates? The battlenode prefix events with the plugins group are duplicates of events whose prefixes are the plugin name, but the difference is that for battlenode an instance of the Plugin class is also passed in the arguments.
Useless information Prefix.group.action, also prefix == namespace. The names are different, but maybe this info is not useless

Plugin Statuses

Status Description
LOADED Successful import and pre-initialization
INITIALIZING Full initialization, the init event and the child process are called
RUNNING It's working
STOPPING During the shutdown process, the shutdown event is called and the child process is stopped
STOPPED Stopped
ERROR Something happened at one of the stages of either initialization or shutdown
RESTARTING During shutdown and reloading
DISABLED Cannot be loaded, this action is prohibited
WAITING First status after registration in the loader. Awaiting import

Ports in use

Plugin Default port
fesl 18400 if proxy is used, otherwise 18300
gpcm 29900
qr 27900
sb 28910
stats 80

About

Master server emulator for Battlefield 2142

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages