In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)B3 Closes automatically
Pages: [1]   Go Down
  Print  
Author Topic: B3 Closes automatically  (Read 333 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Home user
Gameservers: COD7
Posts: 3
Offline Offline
« on: August 24, 2011, 11:23:29 AM »

i have the source version of b3,i have python and have done it all correctly.
but as i open b3_run.py i come till the screen where it says

B3 Ready lets get to work
b3 is working,check b3.log if you have any errors and it just closes automatically
i dont know what im doing wrong here

my b3.log
http://www.pastie.org/2423977
Logged

Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: August 24, 2011, 11:30:02 AM »

Code:
110813 00:16:15  DEBUG  'Writing to b3\\conf/b3doc.html'
110813 00:16:15  INFO  'STDOUT \'Error: \\\'NoneType\\\' object has no attribute \\\'httpThreadalive\\\'\\n  File "C:\\\\B3 Fantastico\\\\b3\\\\b3\\\\__init__.py", line 177, in start\\n    console.start()\\n  File "C:\\\\B3 Fantastico\\\\b3\\\\b3\\\\parser.py", line 460, in start\\n    self.run()\\n  File "C:\\\\B3 Fantastico\\\\b3\\\\b3\\\\parser.py", line 855, in run\\n    lines = self.read()\\n  File "C:\\\\B3 Fantastico\\\\b3\\\\b3\\\\parsers\\\\cod7.py", line 340, in read\\n    thread_alive = self._cod7httpplugin.httpThreadalive()\\n\''
110813 00:16:15  INFO  "STDOUT '\\n'"
110813 00:16:15  BOT      'Shutting down...'
110813 00:16:15  VERBOSE  'AdvPlugin: Warning: No handle func for AdvPlugin'
110813 00:16:15  INFO  'StatusPlugin: B3 stop/exit.. updating status'
110813 00:16:15  DEBUG  'StatusPlugin: Writing XML status to C:\\Users\\ZeroRespect\\status.xml'
110813 00:16:15  BOT      'Shutting down database connections...'

Something is happening with the cod7 plugin. Not sure what, but I have a guess...

Running a alterOps server by any chance?
Then you need a modded cod7.py since alterops and GS use separate servers.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Newbie
*
OS: Windows
Type: Home user
Gameservers: COD7
Posts: 3
Offline Offline
« Reply #2 on: August 24, 2011, 11:38:11 AM »

i tried a modified cod7.py from the the developers of alterops
but it gives me error and yes just closes...
;s
can i add this or something to b3 code?
'raw_input'
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #3 on: August 24, 2011, 12:16:47 PM »

i tried a modified cod7.py from the the developers of alterops
but it gives me error and yes just closes...
;s
can i add this or something to b3 code?
'raw_input'
You will need to use their modded parser. If it isn't working you should post in the parser topic at B3 for help. Since this isn't a official parser from B3, there is no support from B3.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #4 on: August 24, 2011, 02:03:42 PM »

I think that you should be able to fool the standard COD7 parser by pointing the games_log http to a file that never changes and the local_game_log to the log that the game produces.

The http link will need to be a real http link though.

You could also try removing the code that checks to make sure that the cod7 http log reader is still running, because it isn't!

Code:
        thread_alive = self._cod7httpplugin.httpThreadalive()
        if not thread_alive:
            self.verbose('Cod7Http Plugin has stopped working, restarting')
            self.restart()
« Last Edit: August 24, 2011, 02:34:07 PM by 82ndAB.Bravo17 » Logged
Newbie
*
OS: Windows
Type: Home user
Gameservers: COD7
Posts: 3
Offline Offline
« Reply #5 on: August 24, 2011, 06:46:50 PM »

well,i added raw_jnput() to the b3_run.py and now it doesnt close automatically
and about the parser,something went wrong when i copy pasted it and for some others too,the good people over there were kind enough to upload .py file and when i used it,it worked =)
Thx!
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal