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)Removing warnings from Team kill plugin
Pages: 1 [2]   Go Down
  Print  
Author Topic: Removing warnings from Team kill plugin  (Read 874 times) Bookmark and Share
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 244
Offline Offline
« Reply #15 on: April 20, 2011, 06:47:51 AM »

modify anything you want at your own risk Smiley

A bit of advice : indentation in python is very important and you should use a text editor which uses 4 space characters as an indentation instead of one tab character. Python refuse to work well if you mix tabs and spaces for your indentation

Wow, this is a hell good advice! Thanks! I use notepad++ and it uses normal Tabulators (I skim through options and failed to find something to change that), however it has a function that changes all tabulators into 4 spaces, I'll just need to remember that or install some python IDE for this. I'll read some python manuals and b3 development manuals and hopefully I'll be able to contribute:)
The bad thing is, that I have to test everything on my sandbox server on windows, because I can't perform "risky" experiments on main server:)

Thanks again for your help.
Logged


Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #16 on: April 20, 2011, 06:58:54 AM »

My dev environment is on windows as well.

IDE : Eclipse + pydev plugin
mysql : wamp

you can run B3 from Eclipse and have the b3 log displayed in Eclipse console if you add the snippet below to your b3.xml :

Code:
    <settings name="devmode">
        <set name="log2console">true</set>
    </settings>


Also, there is a option for indentation in notepad++ but it is not language specific and applies to all sadly Sad . See feature request in their tracker
Logged

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal