You are here: Big Brother Bot ForumCommunity DevelopersThe Code Binspawn kill detector help
Pages: 1 [2]   Go Down
  Print  
Author Topic: spawn kill detector help  (Read 1102 times) Bookmark and Share
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: MW2 (aIW)
Posts: 187
Offline Offline
WWW
« Reply #15 on: July 17, 2011, 03:46:47 PM »

Quote
handler SpawnkillPlugin could not handle event Client Kill: TypeError: onEvent() takes exactly 3 arguments (2 given) [('C:\\\\UserFiles\\\\hoos\\\\B3Homefront\\\\b3\\\\parser.py', 961, 'handleEvents', 'hfunc.parseEvent(event)'), ('C:\\\\UserFiles\\\\hoos\\\\B3Homefront\\\\b3\\\\plugin.py', 157, 'parseEvent', 'self.onEvent(event)')]"

I´m not able to help you on this, though I´d like to.
This is all greek to me.

Some guy suggested an approach to circumventing the inexistence of spawn event, that is, force spawn logging by creating a server plugin and mod combination that will output it to an external file.

Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #16 on: July 17, 2011, 11:25:38 PM »

Code: python
def onEvent(self, event, client):
   client.message("blah")

should be

Code: python
def onEvent(self, event):
   client = event.client
   client.message("blah")
Logged

Jr. Member
**
OS: Windows
Type: Gameserver Rental Co.
Gameservers: Homefront
Posts: 13
Offline Offline
« Reply #17 on: July 18, 2011, 06:58:47 AM »

yup, didn't get a chance to respond. Finally figured that out and running tests.

thanks
Logged
Tags:
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal