documentation
download & extend
community & support
B3 hosting
May 24, 2012, 06:07:53 AM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
You are here:
Big Brother Bot Forum
Add-Ons
Plugins Discussion
Plugins by PtitBigorneau
(Moderator:
PtitBigorneau
)Contact Plugin
Pages:
1
[
2
]
3
4
Go Down
« previous
next »
Print
Author
Topic: Contact Plugin (Read 4042 times)
grosbedo
Former Dev. (senate)
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
OpenArena
Posts: 258
Offline
Re: Contact Plugin
«
Reply #15 on:
August 21, 2010, 03:51:59 AM »
Great !
I update now !
Logged
Hendrik
Jr. Member
Posts: 16
Offline
Re: Contact Plugin
«
Reply #16 on:
September 01, 2010, 02:18:01 PM »
Great plugin!
I need to authenticate first with my smtp.
How can i do that?
edit:
Also if its possible to add gmail smtp server.
This uses TLS to authenticate.
All my email works with google aps.
«
Last Edit: September 01, 2010, 02:32:31 PM by Hendrik
»
Logged
PtitBigorneau
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
UrT
Posts: 133
Offline
Re: Contact Plugin
«
Reply #17 on:
September 02, 2010, 01:35:44 AM »
of this is not possible, I must see this problem for a future release
you can try to change contact.py
this
Code:
server = smtplib.SMTP(smtpserver)
server.sendmail(mfrom, mto, email.as_string())
by
Code:
gmailUser=mfrom
gmailPasswor="YOUR PASSWORD"
server = smtplib.SMTP('smtp.gmail.com', 587)
server.login(gmailUser, gmailPassword)
server.sendmail(gmailUser, mto, email.as_string())
Logged
Hendrik
Jr. Member
Posts: 16
Offline
Re: Contact Plugin
«
Reply #18 on:
September 02, 2010, 04:08:30 AM »
Thanks.
I didn't edit my message yesterday after i got it working.
I got it working in a way.
Maybe its usefull.
It is not nice because im noob.
contact.py (changed part)
Code:
email = MIMEText.MIMEText(message)
email['From']=mfrom
email['To']=mto
email['Subject']=sujetmail
print "connecting"
server = smtplib.SMTP("smtp.gmail.com",587)
server.set_debuglevel(1)
server.ehlo('username')
server.starttls()
server.ehlo()
server.login("username", "password")
server.sendmail(mfrom, mto, email.as_string())
server.quit()
client.message('Your message has been sent')
client.message('Your nickname, ip, guid and id appear in the message sent')
«
Last Edit: September 02, 2010, 04:10:31 AM by Hendrik
»
Logged
PtitBigorneau
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
UrT
Posts: 133
Offline
Re: Contact Plugin
«
Reply #19 on:
September 02, 2010, 04:44:40 AM »
I think replacing
Code:
print "connecting"
by
Code:
client.message('connecting')
in a future version I'll add the posibility gmail smtp server
Logged
PtitBigorneau
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
UrT
Posts: 133
Offline
Re: Contact Plugin
«
Reply #20 on:
September 02, 2010, 06:27:11 AM »
thank you to Hendrik
new version (v1.3) allows the sending of mail through gmail smtp server
in contact.xml enter your username and password gmail
download->
contact v1.3
«
Last Edit: September 02, 2010, 08:28:45 AM by PtitBigorneau
»
Logged
Hendrik
Jr. Member
Posts: 16
Offline
Re: Contact Plugin
«
Reply #21 on:
September 02, 2010, 07:47:45 AM »
Nice!
Logged
PtitBigorneau
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
UrT
Posts: 133
Offline
Re: Contact Plugin
«
Reply #22 on:
November 14, 2010, 02:48:17 PM »
v1.3.3 fixes small problem with b3 v1.4.1
download->
contact v1.3.3
Logged
Nibbles!
Jr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
cod4 & cod6
Posts: 26
Offline
Re: Contact Plugin
«
Reply #23 on:
January 20, 2011, 01:11:06 PM »
Got a new issue for ya
110120 16:08:21 BOT Loading Plugin #10 contact [C:\Program Files (x86)\BigBrotherBot_1.4.1\extplugins\conf\contact.xml]
110120 16:08:21 INFO Could not load built in plugin contact (No module named contact)
110120 16:08:21 INFO trying external plugin directory : C:\Program Files (x86)\BigBrotherBot_1.4.1\extplugins
110120 16:08:21 CRITICAL Error loading plugin: No module named iterators
Traceback (most recent call last):
File "b3\parser.pyo", line 535, in loadPlugins
File "b3\parser.pyo", line 645, in pluginImport
File "C:\Program Files (x86)\BigBrotherBot_1.4.1\extplugins\contact.py", line 12, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "email\message.pyo", line 90, in <module>
File "email\message.pyo", line 790, in Message
File "email\__init__.pyo", line 79, in __getattr__
ImportError: No module named iterators
not sure what that means, since i have virtually no experience with python, but thats what i get when trying to run the plugin
Logged
PtitBigorneau
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
UrT
Posts: 133
Offline
Re: Contact Plugin
«
Reply #24 on:
January 27, 2011, 02:07:52 AM »
you use which version of b3?
Logged
Nibbles!
Jr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
cod4 & cod6
Posts: 26
Offline
Re: Contact Plugin
«
Reply #25 on:
January 27, 2011, 10:34:46 AM »
Currently using version 1.4.1 and I don't think it matters considering the plugin doesn't seem to be game specific but im trying to do this for cod4 and 6
Logged
PtitBigorneau
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
UrT
Posts: 133
Offline
Re: Contact Plugin
«
Reply #26 on:
January 27, 2011, 01:21:01 PM »
version standalone windows ?
obviously the problem comes from the python module email
Quote
File "C:\Program Files (x86)\BigBrotherBot_1.4.1\extplugins\contact.py", line 12, in <module>
Code:
from email import *
pluguin not working with the older versions of Windows b3 standalone but that with version B3 from sources
I have not tested with the latest version
Logged
Nibbles!
Jr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
cod4 & cod6
Posts: 26
Offline
Re: Contact Plugin
«
Reply #27 on:
January 27, 2011, 03:26:23 PM »
again, im horrible with python, soooooo how should i go about fixing this?
i downloaded the source pack and python but im not too sure how to get that one running... thanks again
Logged
[DAD]GrimReaper
Beta Testers
OS: Windows
Type: Renting Server, no B3
Gameservers:
COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline
Re: Contact Plugin
«
Reply #28 on:
March 29, 2011, 01:26:16 PM »
Hi,
I have installed the latest version of B3 (1.5.0) and the latest contact plugin version and I am receiving:
110329 22:01:30 BOT Plugin antinoob (1.0.8 - Anubis) loaded
110329 22:01:30 BOT Loading Plugin #12 contact [M:\B3\B3_BO_Ranked\Ext_Plugins\conf\contact.xml]
110329 22:01:30 INFO Could not load built in plugin contact (No module named contact)
110329 22:01:30 INFO trying external plugin directory : M:\B3\B3_BO_Ranked\Ext_Plugins
110329 22:01:30 CRITICAL Error loading plugin: No module named iterators
Traceback (most recent call last):
File "b3\parser.pyo", line 554, in loadPlugins
File "b3\parser.pyo", line 667, in pluginImport
File "M:\B3\B3_BO_Ranked\Ext_Plugins\contact.py", line 12, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "email\message.pyo", line 90, in <module>
File "email\message.pyo", line 790, in Message
File "email\__init__.pyo", line 79, in __getattr__
ImportError: No module named iterators
Windows server 2k8, running as full admin, Mysql on the same box.
any ideas?
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2627
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Contact Plugin
«
Reply #29 on:
March 29, 2011, 01:57:00 PM »
means it is looking for a file called iterators.py in the extplugins folder. Verify you have one...
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
Tags:
Pages:
1
[
2
]
3
4
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal