/loadplugin problem

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
brad
Private First Class
Private First Class
Posts: 689
Joined: Sun May 08, 2005 12:26 pm
Location: UK
Contact:

Post by brad » Sun Jan 28, 2007 10:15 pm

Found another minor bug in 2.0 plugins...

If you use /loadplugin, the server message event will be called twice for every server message. An example is shown below.

MSG-BROADCAST 6:SERVER You must be registered to play here: http://eu.league.bzfx.net
MSG-BROADCAST 6:SERVER No cheating or swearing is tolerated. Obey the admins.
PLAYER-JOIN 4:brad #0 RED IP:xxx.xxx.xxx.xxx 2 VERIFIED GLOBALUSER ADMIN
MSG-COMMAND 4:brad loadplugin ../plugins/MOTD.so,motd.txt
PLAYER-PART 4:brad #0 left
PLAYER-PART 4:brad #0 left
MSG-BROADCAST 6:SERVER You're playing at the Plosileague Europe Official Babel Match Server.
MSG-BROADCAST 6:SERVER You're playing at the Plosileague Europe Official Babel Match Server.
MSG-BROADCAST 6:SERVER You must be registered to play here: http://eu.league.bzfx.net
MSG-BROADCAST 6:SERVER You must be registered to play here: http://eu.league.bzfx.net

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Post by JeffM » Mon Jan 29, 2007 5:25 am

was the plugin already loaded with -loadplugin in the config when you did /loadplugin in game?

Post Reply