thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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!

Author Topic: Telnet plugin  (Read 25708 times)

Offline Zedania

  • Newbie
  • *
  • Posts: 2
Re: Telnet plugin
« Reply #45 on: November 09, 2011, 03:03:55 PM »
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


Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Telnet plugin
« Reply #46 on: January 11, 2012, 05:26:40 PM »
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...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Mariodu62

  • Sr. Member
  • ****
  • Posts: 466
Re: Telnet plugin
« Reply #47 on: February 02, 2012, 10:56:26 AM »
I have a problem when i want to use the Windows version of the B3.

Can you help me please

[attachment deleted by maintenance]

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Telnet plugin
« Reply #48 on: February 02, 2012, 10:04:22 PM »
try one of these setup and tell me if it worked  : http://files.cucurb.net/b3/

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Telnet plugin
« Reply #49 on: February 02, 2012, 11: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...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Telnet plugin
« Reply #50 on: February 03, 2012, 12:10:12 AM »
so it worked ?

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Telnet plugin
« Reply #51 on: February 03, 2012, 04:01:11 AM »
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....
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Telnet plugin
« Reply #52 on: February 03, 2012, 09: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.

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Telnet plugin
« Reply #53 on: February 03, 2012, 02:28:18 PM »
Ok. Thanks for the answer... it is a great plugin and I will continue to use it...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Mariodu62

  • Sr. Member
  • ****
  • Posts: 466
Re: Telnet plugin
« Reply #54 on: February 03, 2012, 05:52:15 PM »
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

Offline jlatour88

  • Full Member
  • ***
  • Posts: 73
Re: Telnet plugin
« Reply #55 on: February 04, 2012, 07:00:32 PM »
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, 07:33:51 PM by jlatour88 »

Offline jlatour88

  • Full Member
  • ***
  • Posts: 73
Re: Telnet plugin
« Reply #56 on: March 25, 2012, 10: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?

Offline Mariodu62

  • Sr. Member
  • ****
  • Posts: 466
Re: Telnet plugin
« Reply #57 on: March 27, 2012, 08:44:13 AM »
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.

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2616
Re: Telnet plugin
« Reply #58 on: March 27, 2012, 03:05:48 PM »
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)

Offline jlatour88

  • Full Member
  • ***
  • Posts: 73
Re: Telnet plugin
« Reply #59 on: March 27, 2012, 05:08:36 PM »
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?

 


Rate this page +1 at Google Search

anything