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!

Pages: 1 2 3 [4] 5   Go Down
  Print  
Author Topic: Telnet plugin  (Read 4032 times) Bookmark and Share
Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 2
Offline Offline
« Reply #45 on: November 09, 2011, 06:03:55 AM »

It works with Python V2.6 if you edit the following:

telnet/telnetserver.py line 77
  return self._BaseServer__shutdown_request
replace with
  pass
or comment out :
  # return self._BaseServer__shutdown_request
  pass

Logged

Support Hero
*
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 #46 on: January 11, 2012, 08:26:40 AM »

So I finally got around to configuring this after having it active in my bot for several months.
Great Great Plugin.
Once small bug: when you have chat on, and you are responding to a chat, if someone reply's back your chat gets cut in half on your screen before you send it. When sending it looks right though. Small UI bug...
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
Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #47 on: February 02, 2012, 01:56:26 AM »

I have a problem when i want to use the Windows version of the B3.

Can you help me please
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #48 on: February 02, 2012, 01:04:22 PM »

try one of these setup and tell me if it worked  : http://files.cucurb.net/b3/
Logged

Support Hero
*
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 #49 on: February 02, 2012, 02:48:12 PM »

I found a rather annoying bug..

If you type something, then backspace, and type something else, it show sthe new command but sends the old command...
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
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #50 on: February 02, 2012, 03:10:12 PM »

so it worked ?
Logged

Support Hero
*
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 #51 on: February 02, 2012, 07:01:11 PM »

so it worked ?
Not sure I follow..

For example...
I type into telnet:

!spam rule1

then hit backspace and change the 1 to a 2... i.e.

!spam rule2

And I hit enter, it spams rule1....
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
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #52 on: February 03, 2012, 12:57:59 AM »

this is because the telnet plugin does not implement the full telnet protocol. I guess this has something to do with RFC 857 implementation, but it might one of the 30 others specs.

The telnet plugin was made first for my own need which is to be able to test B3 as if I were in the game while not having to. Any usage out of that scope might feel as not friendly/polished enough.

I'm sorry I have no time to spend anymore on this plugin as it fulfills my needs.
Logged

Support Hero
*
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 #53 on: February 03, 2012, 05:28:18 AM »

Ok. Thanks for the answer... it is a great plugin and I will continue to use it...
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
Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #54 on: February 03, 2012, 08:52:15 AM »

try one of these setup and tell me if it worked  : http://files.cucurb.net/b3/


Hello,

I tried with the zip one.... and yes it works fine now

thx

Mario
Logged
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 73
Offline Offline
« Reply #55 on: February 04, 2012, 10:00:32 AM »

link to code- http://pastebin.com/3nWqHauL

Im having issues with the telnet plugin for b3. Iv set everything up as its supose to be however when i try to connect using puttys telnet, the program just closes out. If you look at line 412 of above its talking about some Exception happened during processing of request from'.
Im hoping someone here can take a look and let me know whats causing the problem and how to fix it.
thx and hope to hear from someone soon.

UPDATE- never mind i found the solution. It was because i have python2.6, however It works with Python V2.6 if you edit the following:

telnet/telnetserver.py line 77
  return self._BaseServer__shutdown_request
replace with
  pass
or comment out :
  # return self._BaseServer__shutdown_request
  pass


thx to Zedania for the solution
« Last Edit: February 04, 2012, 10:33:51 AM by jlatour88 » Logged
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 73
Offline Offline
« Reply #56 on: March 25, 2012, 12:57:59 PM »

how would i change the login so it asks for the username not the id? what file do i have to change?
Logged
Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #57 on: March 26, 2012, 10:44:13 PM »

how would i change the login so it asks for the username not the id? what file do i have to change?

Better to connect with id, because id is always the same.
For example you can have alias, and if you connect with your alias, in this case the username becomes the alias.
Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #58 on: March 27, 2012, 05:05:48 AM »

It actually uses the 'login' field of the clients table, which is separate to the in-game name.

So you just need to set this value via phpmyadmin or similar (and the password)
Logged
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 73
Offline Offline
« Reply #59 on: March 27, 2012, 07:08:36 AM »

It actually uses the 'login' field of the clients table, which is separate to the in-game name.

So you just need to set this value via phpmyadmin or similar (and the password)
so it checks for the login field first and if its empty then it uses the ID. did i get that right?
Logged
Tags: telnet  remote  plugin 
Pages: 1 2 3 [4] 5   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal