Friendly bots source code

A place for players to do role playing, discuss their guilds, etc.
Post Reply
jamal
Newly Registered User
Posts: 1
Joined: 10 Jul 2012, 18:25

Friendly bots source code

Post by jamal »

Hello, i followed the discussion about guild bot.
I would like to know if the source codes of the authorized bots are freely available like everything else in TMW, according to the wiki friendly bots should be free software but that doesn't imply that the source code should be available too.
I'm talking about these three bots ManaMarket, AuctionBot and guild, since the others are currently inactive.
While that would be true where can i download these source codes?
Thank you so much for the help.
User avatar
baseballboy
Knight
Knight
Posts: 502
Joined: 04 Jan 2009, 20:04
Location: USA, North Carolina

Re: Friendly bots source code

Post by baseballboy »

Richard Stallman wrote:Free as in freedom, not free as in free beer.
As I recall I do not believe the source code is available from the host/authors. With that being said it's pretty simple to write similar functions. Take a look at the tmwa chathandler for a quick and dirty look.

-BBB
BaseBaIIBoy - 99, Zalika - 95, Mou. - 86, baseballboy - 83, Abacus - 82, Laticia - 76

<o11c> More boobs please.
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: Friendly bots source code

Post by o11c »

The intent was to require all bots' source code be publicly available. But at least one author balked at that, and nobody cared enough to force the issue.
Former programmer for the TMWA server.
User avatar
Dude
Novice
Novice
Posts: 162
Joined: 28 Sep 2009, 17:31
Location: California

Re: Friendly bots source code

Post by Dude »

o11c wrote:The intent was to require all bots' source code be publicly available. But at least one author balked at that, and nobody cared enough to force the issue.
Curious who balked. PM if you're reluctant to out the person publically.
Dude - lvl 99
...and yes I know where my car is.....
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 06:20
Location: California, USA

Re: Friendly bots source code

Post by Frost »

Personally, I worry that it would be easier to exploit the bots. There is no shortage of clever people who would love to find a way to abuse them, even if that resulted in them being taken offline.

One great advantage of published code is that some of those who find problems will submit solutions. However, each change would have to be carefully reviewed before it went into the bot, and we might not be able to do this very quickly.

This is not groundless paranoia: we've already had one programmer who apparently identified ways to exploit the server, and then when his proposed changes were not accepted, attacked the server to support his argument.
You earn respect by how you live, not by what you demand.
-unknown
User avatar
Dude
Novice
Novice
Posts: 162
Joined: 28 Sep 2009, 17:31
Location: California

Re: Friendly bots source code

Post by Dude »

Frost wrote: This is not groundless paranoia: we've already had one programmer who apparently identified ways to exploit the server, and then when his proposed changes were not accepted, attacked the server to support his argument.

ah, yes....the good old days. Forgot about that little incident. I retract my earlier curiosity.
Dude - lvl 99
...and yes I know where my car is.....
User avatar
Nard
Knight
Knight
Posts: 1113
Joined: 27 Jun 2010, 12:45
Location: France, near Paris

Re: Friendly bots source code

Post by Nard »

Frost wrote:This is not groundless paranoia: we've already had one programmer who apparently identified ways to exploit the server, and then when his proposed changes were not accepted, attacked the server to support his argument.
TMW eA is still open source though. It is the choice of the authors that the bots are open source or not. It is a strategic choice of administrator to require bots to be open source or not. I would prefer that they are, though there is always the possibility that the actual code differs from the published one.
"The language of everyday life is clogged with sentiment, and the science of human nature has not advanced so far that we can describe individual sentiment in a clear way." Lancelot Hogben, Mathematics for the Million.
“There are two motives for reading a book; one, that you enjoy it; the other, that you can boast about it.” Bertrand Russell, Conquest of Happiness.
"If you optimize everything, you will always be unhappy." Donald Knuth.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: Friendly bots source code

Post by Crush »

It's a common misconception that "Open Source" means "Open Source for everyone". Most copyleft licenses only force you to give the sourcecode to whoever runs your software. You are not obligated to publish it to the general public unless you also publish the binary program in the same way. When you run a program on your own system, you needn't give away the sourcecode at all.

A notable exception is the Affero General Public License, which also requires to give the sourcecode to everyone who interacts with your software over a network. But this is a quite obscure license which is rarely used at the moment. Although now that the age of cloud computing has started it could become a very important license for the free software community.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Nard
Knight
Knight
Posts: 1113
Joined: 27 Jun 2010, 12:45
Location: France, near Paris

Re: Friendly bots source code

Post by Nard »

You are perfectly right when speaking in terms of License. I should have more precise. I spoke about the word "Open" which also means accessible in usual sense.
"The language of everyday life is clogged with sentiment, and the science of human nature has not advanced so far that we can describe individual sentiment in a clear way." Lancelot Hogben, Mathematics for the Million.
“There are two motives for reading a book; one, that you enjoy it; the other, that you can boast about it.” Bertrand Russell, Conquest of Happiness.
"If you optimize everything, you will always be unhappy." Donald Knuth.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: Friendly bots source code

Post by Crush »

o11c wrote:The intent was to require all bots' source code be publicly available. But at least one author balked at that, and nobody cared enough to force the issue.
In my opinion, the GMs didn't care enough about town-dwelling bots at all. The usual way to deal with them in the past was to just ignore their existence until they became an accepted part of the community and then start negotiations about getting an official approval of the bot.

At that point it is pretty much impossible to deny approval. Just think about the community uproar which would have happened when auctionbot, manamarket or guildbot would have been disapproved all of a sudden. So the admins are in a very weak position when they want to negotiate formalities like getting the sourcecode or forcing the bot owner to follow certain rules.

When GMs would deal with unauthorized bots "by the book" they would ban them on sight and then force the owner to comply with the server rules for friendly bots - including publishing the sourcecode - before unbanning it.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Nard
Knight
Knight
Posts: 1113
Joined: 27 Jun 2010, 12:45
Location: France, near Paris

Re: Friendly bots source code

Post by Nard »

jamal wrote:Hello, i followed the discussion about guild bot.
I would like to know if the source codes of the authorized bots are freely available like everything else in TMW, according to the wiki friendly bots should be free software but that doesn't imply that the source code should be available too.
I'm talking about these three bots ManaMarket, AuctionBot and guild, since the others are currently inactive.
While that would be true where can i download these source codes?
Thank you so much for the help.
To give a more precise answer:
"The language of everyday life is clogged with sentiment, and the science of human nature has not advanced so far that we can describe individual sentiment in a clear way." Lancelot Hogben, Mathematics for the Million.
“There are two motives for reading a book; one, that you enjoy it; the other, that you can boast about it.” Bertrand Russell, Conquest of Happiness.
"If you optimize everything, you will always be unhappy." Donald Knuth.
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 06:20
Location: California, USA

Re: Friendly bots source code

Post by Frost »

Crush wrote:In my opinion, the GMs didn't care enough about town-dwelling bots at all. The usual way to deal with them in the past was to just ignore their existence until they became an accepted part of the community and then start negotiations about getting an official approval of the bot.
While it's true that some bots "just sort of happened," since the TradeBot situation there has been a lot more awareness about whether bots are authorized and what "authorized" actually means (e.g. does the GHP assume some responsibility for it?)
AFAIK guild was the first one to go through the formal approval process before it was permitted in game. I heard a bit about this from Jero. He basically had to give the GHP a description of the bot functionality, an explanation of how it would benefit the game, and the source code for the proposed bot.

ManaMarket went through that approval process about a year later. AuctionBot has also been formally approved. I'm personally not aware of any other such bots in the game which perform actions.
At that point it is pretty much impossible to deny approval. Just think about the community uproar which would have happened when auctionbot, manamarket or guildbot would have been disapproved all of a sudden. So the admins are in a very weak position when they want to negotiate formalities like getting the sourcecode or forcing the bot owner to follow certain rules.
I believe there was some discussion about yanking AuctionBot. Fortunately, gnurfk and the GHP worked together to get it quickly approved. I think this says as much about the personalities involved as it does about the bot itself.

As an admin, my concern is actually more about integrity and effect on the game than whether I feel weak or strong. I would argue that anyone who creates a bot and then refuses "to negotiate formalities like [giving] the sourcecode or [agreeing] to follow certain rules" has punched their own ticket to Banville.
Put simply, if a bot does not have the trust of the player base, it will be removed. This has happened.
When GMs would deal with unauthorized bots "by the book" they would ban them on sight and then force the owner to comply with the server rules for friendly bots - including publishing the sourcecode - before unbanning it.
This was probably before I joined the game. My best guess is that the situation would now be handled by talking with the bot creator and trying to start the approval process. Part of that would include agreeing to leave the bot out of the game unless and until it's fully approved. A ban is merely a tool to enforce the rules when necessary.

This is the first time I've heard that the source code should be "published" as opposed to just "provided." Then again, I haven't seen the formal process. Do you have a reference for this?
You earn respect by how you live, not by what you demand.
-unknown
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: Friendly bots source code

Post by o11c »

Links to private forum:

TradeBot: http://forums.themanaworld.org/viewtopi ... 83#p124176
AuctionBot: http://forums.themanaworld.org/viewtopi ... 23&t=14393
ManaMarket: http://forums.themanaworld.org/viewtopi ... 23&t=13890

Interestingly, I *can't* find any information about guild.
Former programmer for the TMWA server.
User avatar
Big Crunch
TMW Adviser
TMW Adviser
Posts: 1056
Joined: 16 Dec 2009, 22:52

Re: Friendly bots source code

Post by Big Crunch »

o11c wrote:Links to private forum:

TradeBot: http://forums.themanaworld.org/viewtopi ... 83#p124176
AuctionBot: http://forums.themanaworld.org/viewtopi ... 23&t=14393
ManaMarket: http://forums.themanaworld.org/viewtopi ... 23&t=13890

Interestingly, I *can't* find any information about guild.
the guild bot was approved by freeyorp. The source code was given to both freeyorp and jaxad. Most of this was done via email and IRC.

As far as 'catching' bots of this nature they generally display no outward sign of activity. Guildbot is just a whisper router, in essense, and doesnt interact with anyone at any time, ergo, no real way to 'catch' them.

ManaMarket was extensively tested on the testing server prior to a formal 'Official Bot' request, and then it was tested more once it was approved, both on the testing server and on the main.
sexy red bearded GM
Matt
Grand Knight
Grand Knight
Posts: 1759
Joined: 07 Aug 2004, 10:47
Location: Germany->Bavaria

Re: Friendly bots source code

Post by Matt »

Dude wrote:
Frost wrote: This is not groundless paranoia: we've already had one programmer who apparently identified ways to exploit the server, and then when his proposed changes were not accepted, attacked the server to support his argument.

ah, yes....the good old days. Forgot about that little incident. I retract my earlier curiosity.
Haha. :lol:
Post Reply