Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)content removed
Pages: [1]   Go Down
  Print  
Author Topic: content removed  (Read 368 times) Bookmark and Share
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 71
Offline Offline
« on: January 09, 2012, 12:57:29 PM »

content removed by author
« Last Edit: January 10, 2012, 09:21:26 AM by beepbeep » 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: January 09, 2012, 03:01:21 PM »

Very Very Nice! Thanks for sharing with all of us!
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
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 80
Offline Offline
« Reply #2 on: January 09, 2012, 08:10:41 PM »

Looks nice. I don't have a use for it, but it's nicely written and seems extremely helpful if you run a bot server. Since you released it, I would suggest just using FS_basepath instead of path2urt. It makes it a tad more user friendly since people don't have to edit in the path themselves. Also a disclaimer that it only works on *nix systems would good as well.

Code:
self.console.getCvar('fs_basepath').getString()
would work as long as you appended /q3ut4/maps.

Also time.sleep() in my experience, halts other B3 functions for its duration. Someone should confirm this as I'm not entirely certain of it.

Thanks for sharing!
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 80
Offline Offline
« Reply #3 on: January 09, 2012, 09:01:09 PM »

I dug around a bit. It looks like B3 has done the work for you.
Code:
self.console.game.fs_basepath
should work just fine.

Good luck with the expansion!
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #4 on: January 09, 2012, 11:42:03 PM »

I confirm that the sleep would prevent B3 from interpreting other commands until the sleep period ends.

I suggest you use the Timer function of the threading module :

Code: python
import threading
# ...
t = threading.Timer(60, self._my_function)
t.start()
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 #5 on: January 10, 2012, 09:37:52 AM »

So, not quite sure what happened and why the author removed his code, but I assume someone still has a copy... since the code is gpl, they should re-upload it for others to use.
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
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 71
Offline Offline
« Reply #6 on: January 10, 2012, 11:15:24 PM »

please dont. per the authors wish.
 i posted too soon before i knew his intentions for the plugin.

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal