March 19, 2024, 07:01:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the Burgundy Ridge Forum!   Return to Burgundy Ridge Website by clicking here
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Puppetry  (Read 10199 times)
mondoj
Full Member
***
Posts: 11


View Profile
« on: November 27, 2009, 12:27:39 PM »

I was chatting with JPFantasy yesterday about tournaments, and we wandered off onto the subject of puppets because of their possible role in administering tourneys.  It looks like I need to push myself to level 9 so I can play with command puppets.  Smiley

I've digested TheBoomer's tutorial as fully as I can without being able to use puppet commands yet, and am curious about a couple of things.

  • First, is there a place where our BR puppets are kept so one might be able to read them for examples of working, in-use code?
  • Second, are there puppet commands available that are not documented in Boomer's excellent tutorial?
  • Third, what game results are we already getting via the existing puppets and settings?

Incidentally, my programming background is very modest but probably suited to this.  I taught myself to program in 1973 using Kemeny and Kurtz's original book on BASIC, then unlearned some bad habits a few years later while establishing that I didn't want to make a career of it.  These days I use those skills for LSL scripting in Second Life, complex spreadsheets, and the occasional Zillions of Games add-on.  So no, I'm no programmer -- but I should be able to contribute to puppetry.
Logged
BCGamer2
PuppetMaster
Hero Member
***
Posts: 122


View Profile
« Reply #1 on: November 27, 2009, 02:46:38 PM »

Puppet development is currently in the hands of very few in BR. I am contributing a little bit to it and any help offered is greatly needed and appreciated.
I can email you a puppet file (one that is currently in use) and then we can go from there. Currently we have a reset puppet and a counting puppet (counting how many games are played each month in our gamerooms.

All puppets are kept on a ftp site (required for the autostart puppets). Development is locally on the puppeteer computers.

Under development are a puppet watching the resource prices (currently running but there is only one functionality and many more ideas) and a marathon/tournament puppet (very early stage of development).

Let's chat online next time we both are on (tonight?)
Logged
mondoj
Full Member
***
Posts: 11


View Profile
« Reply #2 on: November 27, 2009, 08:10:41 PM »

Puppet development is currently in the hands of very few in BR. I am contributing a little bit to it and any help offered is greatly needed and appreciated.
I can email you a puppet file (one that is currently in use) and then we can go from there. Currently we have a reset puppet and a counting puppet (counting how many games are played each month in our gamerooms.

All puppets are kept on a ftp site (required for the autostart puppets). Development is locally on the puppeteer computers.

Under development are a puppet watching the resource prices (currently running but there is only one functionality and many more ideas) and a marathon/tournament puppet (very early stage of development).

Let's chat online next time we both are on (tonight?)

Yes, let's chat.  I'll be in for a while tonight.  My email is available through BSW if you want to send along that puppet file.  I have the most interest in anything related to a tournament project, but don't mind seeing if there's anything I can add to the others once I get up to speed.

The surprise for me is that there doesn't seem to be a way to easily capture a game result aside from watching for keywords in chat and using /tell.  Surely I'm missing something Smiley
Logged
BCGamer2
PuppetMaster
Hero Member
***
Posts: 122


View Profile
« Reply #3 on: November 28, 2009, 01:17:58 AM »

The surprise for me is that there doesn't seem to be a way to easily capture a game result aside from watching for keywords in chat and using /tell.  Surely I'm missing something Smiley

Well, I am surprised by that, too but it looks like the whole system is based on string modification etc. There is probably an easier way of doing it but I would not know.
Logged
cche
Town Council
Full Member
****
Posts: 28



View Profile
« Reply #4 on: November 28, 2009, 03:55:16 AM »

The trick is, BSW doesn't have the resources or desire to support a separate puppet API.
Hence, all they do is allow puppets to see the same data a human sees.
In fact, though, this is not such a bad design, provided they keep their Human output
stable.
Logged
mondoj
Full Member
***
Posts: 11


View Profile
« Reply #5 on: December 02, 2009, 07:41:04 PM »

Thank you, BCGamer, for sending me the code for the existing count and reset puppets.  I finally got to read them over and get a feel for this.  I also went onto the site where puppets are hosted and found the Emerald and Rosehaven puppets which give some strong clues on how to develop a tourney puppet.

My schedule for the next few days is crazy, so I won't get much gaming in.  But once I get back on BSW I need to push to accumulate points to get from level 5 to level 9 so I can lend a hand.  Smiley
Logged
Moose_Head
Guest
« Reply #6 on: December 31, 2009, 04:28:53 AM »

provided they keep their Human output stable.
BSW puppetry input from the system is stable so long as you use setting NATION: BSW

English and other language specific output is subject to change without notice as we found out with the game results monitoring puppets where we had NATION: EN
« Last Edit: January 02, 2010, 12:19:54 AM by Moose_Head » Logged
Moose_Head
Guest
« Reply #7 on: January 02, 2010, 12:21:39 AM »

Quote from: SpaceSquirrel (C41)
Within BSW there is /channel puppets
mostly in german, but at least some of the regulars are pretty good with english.

"Full" Puppet documentation in German:
http://home.arcor.de/bswpuppets/
http://home.arcor.de/bswpuppets/puppet-BL/xgen/puppetbl/dhtml/admain.html

Puppet Forum on BSW ... Mostly german, but questions asked in English might get answered in [sometimes broken] english:
http://www.brettspielwelt.de/Forum/index.php/board,20.0.html

Someone named Kugelschreiber (aka kuli) has written quite a few puppets, and has occasionally shared the sourcecode. A search of the BSW forums might turn something up.

TheBoomer's PDF Guide (may be a bit dated, but is fluently english):
http://www.brettspielwelt.info/Puppet.pdf
The best documentation is the actually in GERMAN and with guarded use of web translation plugins is extremely useful. This document is by far the most complete guide you will find. If you combine that with some of the useful code extracts from Kuli then you will be well on the way to handling some of the more difficult concepts.
Code Snippets

I have spent way too much time debugging and working on puppets now, so feel that I have a better handle than most of some of the intricacies. If you take the guidance from Hugh (cche) which says that it is an interpretive addon then you might appreciate a little bit more about how it works.

Beyond that, best of luck. Any questions, do not hesitate to ask.
« Last Edit: January 02, 2010, 12:55:29 AM by Moose_Head » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!