ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Assistance with Xela's Chess Script? (Bots)
Assistance with Xela's Chess Script? // BotsarcanumAug 30, 2005, 1:09am
Hello, Everyone!
I've downloaded the chess_05.zip from Xela's site and have been having difficulty getting past step one with Xela's Chess bot! I've uploaded all of the objects and ChessObjects.txt file to my models path. I also have made what I think are all of the necessary changes to the ChessSetup.txt file: Here are the contents of the .txt files: ChessNames.txt = wk=White King wq=White Queen wb=White Bishop wn=White Knight wr=White Rook wp=White Pawn bk=Red King bq=Red Queen bb=Red Bishop bn=Red Knight br=Red Rook bp=Red Pawn k=King q=Queen b=Bishop n=Knight r=Rook p=Pawn whites=Whites blacks=Reds clearing=clearing ---------- ChessBoards.txt = world=Arcanum universe=Active Worlds scan=16n 2e 8a 2a board1=16n 2e 2a 270 ---------- ChessObjects.txt = (all of these files are uploaded and the names compared to those listed listed below) bs=chtbs.cob ws=chtws.cob sq=1.00 wk=chtwk.cob wq=chtwq.cob wb=chtwb.cob wn=chtwn.cob wr=chtwr.cob wp=chtwp.cob bk=chtrk.cob bq=chtrq.cob bb=chtrb.cob bn=chtrn.cob br=chtrr.cob bp=chtrp.cob ---------- Still, no objects appear when I load the script, although the Xela says "Ready :)" Any clues? Thanks in advance! lord fettAug 30, 2005, 3:35am
Not sure if this has anything to do with it, but check your "scan" line
in the ChessBoards.txt file as I am seeing 2 altitude values. Also, make sure that the area in which you are placing the chess board is relatively free of objects because the boards do take up a lot of cell space. You could be out of cell space in the area and so the bot cannot build the objects. [View Quote] arcanumAug 31, 2005, 6:59pm
Hiya, lord fett!
Thanks for taking the time to respond! Actually, I had corrected that problem yesterday with this: world=arcanum universe=Active Worlds scan=16.000n 2.000e 3.00a 270 board1=16.000n 2.000e 3.00a 270 Still, no go! Bah! Also, the 4 cells that I am building the chess set in are completely free of other objects as are the immediately adjacent cells. Do I also need to clear a portion of the other, wider-surrounding cells as well? Thank again for your response. Arcanum ----- [View Quote] mauzSep 1, 2005, 1:11pm
[View Quote]
XelaG has an example ChessBoards.txt like this:
world=santa universe=ActiveWorlds scan=7n 7w 8.30a 0 MyChess=7n 7w 0.30a 0 No space in universe name, no decimals, no degrees. So maybe try changing yours to: world=arcanum universe=ActiveWorlds scan=16n 2e 3a 270 board1=16n 2e 3a 270 -- Mauz http://mauz.info xelagSep 3, 2005, 8:34pm
As Mauz pointed out, the universe name in the file has to coincide
with the universe name the bot uses to log in. Active Worlds has not evolved a system for their own or licensed universe names (but they have fully defined world names in a particular universe), so Xelagots rely on the bot's user choice for determining the universe name. File ChessBoards.txt should contain the world's official registered name, and the by the user given universe name (since AW has no register of universe names, this is a user defined name, which must be unique in the Xelagot program). This is to stop the bot from using the Chess or Checkers scrip in the wrong place. My help pages say: "NB: the universe name must be identical to the one used by the xelagot program for logging the bot. If you never visit another universe with your bot, you may omit the universe name; the same applies for the world". Try correcting or removing the universe or world name, see if the script starts working. If this is tge case, check the spelling of the universe and world names, and correct them in the ChessBoards.txt file, so that your script will only work in the correct universe and world. Alex [View Quote] [View Quote] arcanumSep 4, 2005, 2:18am
Hello, Alex! Thanks for responding.
[View Quote] Done. "correct them in the ChessBoards.txt file" Did that too. Still no go. This is my current ChessBoards.txt file: world=arcanum universe= scan=17n 2e 2a 270 board1=17n 2e 2a 270 - The area all around the build site is clear. - My Xelagot is entering the world like this: Universe Name: "Active Worlds" (with a space) Home World: arcanum Coordinates: 17.000n 2.000e 2.00a 270.0 When I load and start the Chess_Setup.txt file, I get this: However, no chess board shows up. Any more suggestions? mauzSep 4, 2005, 1:50pm
[View Quote]
Err, do you have the latest version of Xelagot? And followed this:
"As from Xelagot 3.607, make sure all your scripts are in the User folder (not the old Script folder)." http://www.imatowns.com/xelagot/xlgtopic_usbd.html -- Mauz http://mauz.info arcanumSep 5, 2005, 4:25pm
Thank you EVER so much, Mauz! That was it!
I downloaded the new version as soon as it came out and installed a clean copy. As I was not 'upgrading' from a previous version, I just assumed (silly me!) that this new version didn't come with any built-in scripts, so, I created my own \script folder and dropped the chess script in there! Bah! Sill me! Thanks for your help, lord fett, Xela and ... Mauz! Anyone wanna play chess? =o) Coree ---------- [View Quote] > make sure all your scripts are in the User folder (not the old Script folder)." > http://www.imatowns.com/xelagot/xlgtopic_usbd.html xelagSep 6, 2005, 5:01pm
Thanks, Mauz. This change of folder has caused many confusions, but
was needed to centralise authorised access to files by scripts. I keep forgetting that people (including me) do not always read properly upgrade notes! [View Quote] |