Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old August 11, 2008, 18:07   #1
APWhite
Adept
 
APWhite's Avatar
 
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
APWhite is on a distinguished road
Borg update

The borg has been updated to work with 309B.

There were some shopping key changes that needed to be addressed, and a few tiny fixes on some other things. There was an issue with my new VS2008 not producing working exe files d/t a dll missing on some machines. That has all be worked out.

Get your borg Here.

APWhite
APWhite is offline   Reply With Quote
Old August 12, 2008, 17:38   #2
Zikke
Veteran
 
Join Date: Jun 2008
Location: Los Angeles
Posts: 1,068
Zikke is on a distinguished road
Could you quickly summarize what this program does? I couldn't find it on the website
Zikke is offline   Reply With Quote
Old August 12, 2008, 20:14   #3
roustk
Adept
 
Join Date: Dec 2007
Posts: 167
roustk is on a distinguished road
Quote:
Originally Posted by Zikke View Post
Could you quickly summarize what this program does? I couldn't find it on the website
[snark] It proves that Morgoth can be defeated by anyone, if they have enough patience. [/snark]

Really, it is an automated player of Angband. Some people enjoy tweaking its logic to improve how well it plays. I believe that it has a "screensaver" mode (where it will play in lieu of your screensaver) in addition to a more standard mode (looking like you are playing, but without requiring any keypresses).
roustk is offline   Reply With Quote
Old August 12, 2008, 20:30   #4
APWhite
Adept
 
APWhite's Avatar
 
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
APWhite is on a distinguished road
Quote:
Originally Posted by roustk View Post
[snark] It proves that Morgoth can be defeated by anyone, if they have enough patience. [/snark]
Given enough monkeys and enough typewriters? Borgs win with about 19-35 million turns.
APWhite is offline   Reply With Quote
Old August 12, 2008, 21:46   #5
Zikke
Veteran
 
Join Date: Jun 2008
Location: Los Angeles
Posts: 1,068
Zikke is on a distinguished road
Is playing it on full-screen size not supported? It crashes for me when I try that.


edit: And it got a warrior up to clvl 31 and then he died from Starvation. -_-


edit2: Best (and geekiest) screensaver ever ^_^

Last edited by Zikke; August 13, 2008 at 02:58.
Zikke is offline   Reply With Quote
Old August 13, 2008, 16:39   #6
Kadoles
Apprentice
 
Join Date: Feb 2008
Posts: 58
Kadoles is on a distinguished road
[borg-log.txt]

2/20/08 21:41
Hareiku the Gnome Mage, Level 50/50
Exp: 7617799 Gold: 3482621 Turn: 33062444
Killed on level: 80 (max. 80) by a Nightwalker
Borg Compile Date: Feb 9 2008

[/borg-log.txt]

is there anyway to format the borg log in .csv, or something like that. I want to be able to sort my log by different things like:cl, dl, turns, gold, exp,
maybe output like

Name,Race,Class,Current clevel,max clevel,exp,gold,turns,killed on level,deepest level,killed by,birth date,death date,total hours played,

that way i could import it into excel and run some different sorts on it.

or...

does anyone know how ti write a vb script to read the log and reformat it into .csv? I don't think it would be hard to do but i don't know very uch about scripting.
__________________
Current Char
Kadoles is offline   Reply With Quote
Old August 13, 2008, 19:56   #7
Zikke
Veteran
 
Join Date: Jun 2008
Location: Los Angeles
Posts: 1,068
Zikke is on a distinguished road
2008/08/13 10:53
Arielle the Half-Elf Ranger, Level 50/50
Exp: 7222121 Gold: 3405548 Turn: 46380301
Killed on level: 56 (max. 57) by a Death drake
Borg Compile Date: Aug 11 2008



It tried to Teleport Other 3 times and it failed all 3 times
Zikke is offline   Reply With Quote
Old August 14, 2008, 04:42   #8
roustk
Adept
 
Join Date: Dec 2007
Posts: 167
roustk is on a distinguished road
I've been playing around with the borg, seeing how it deals with artifactless Half-Troll Mages. It is doing better than I would have thought -- 3 level 40+ mages in the first 90. Looks like one of them died of bad logic, while another of those deaths was essentially unavoidable:
Code:
It breathes gravity.
Gravity warps around you.
You feel yourself moving slower!
You have been stunned.
# SPELL_023:It (+)
# Invisible monster nearby.
# Creating a monster 'Kavlax the Many-Headed' at (34,160), danger: 964, HP: 1300
, Time: 1213, Index: 423
# Invisible monster nearby.
# Fearing region (32,160) value 500 because of a non-LOS It
# SPELL_023:It (5)
# Loc:32,160 Dep:40 Lev:42 HP:297/497 SP:152/324 Danger:p=1285
# Protected by Resistance (borg turns:10; game turns:25)
# Protected by Mystic Shield
# Protected by PFE
# Performing defence type 23 with value 10
# Casting Spear of Light (1,6).
& Key <m>
& Key <b>
& Key <g>
& Key <8>
# Illuminating this hallway
A line of blue shimmering light appears.
Kavlax the Many-Headed breathes sound.
Kavlax the Many-Headed breathes frost.
Kavlax the Many-Headed bites you. <4x>
You die.
Three nasty breaths from Kavlax, the first from a darkened hallway. The borg probably should have teleported rather than illuminated, but that is a tough call. It knew that there were impact hounds in the area, so gravity hounds were a reasonable guess.


The second really deep mage died due to bad logic, however:
Code:
# Loc:31,105 Dep:45 Lev:44 HP:290/506 SP:161/344 Danger:p=370
# Protected by Resistance (borg turns:37; game turns:34)
# Protected by Mystic Shield
# Protected by PFE
# Performing defence type 10 with value 370
# Targeting Adunaphel the Quiet who has 1608 Hit Points (31,106).
& Key <*>
& Key <p>
& Key <6>
& Key <5>
# Logging Spell pathway (31,105).
# Logging Spell pathway (31,106): Adunaphel the Quiet, danger 295
# Attempting to cast T.O.
# Casting Teleport Other (3,1).
& Key <m>
& Key <d>
& Key <b>
& Key <5>
Target Selected.
The Impact hound breathes force.
You have been stunned.
Adunaphel the Quiet misses you.
Adunaphel the Quiet hits you.
Adunaphel the Quiet misses you.
Adunaphel the Quiet touches you.
You feel your life draining away!
# SPELL_026:The Impact hound (+)
# Perhaps wall near targetted location (31,106)
# Guessing wall (31,106) under ghostly target (31,106)
# SPELL_026:The Impact hound (3)
The borg repeatedly cast teleport other (six times in the log) on a "ghostly target" it suspected was in a wall. It seems like it should have given up after one or two and switched to stone to mud...

Fairly good kit, however:
Code:
  [Character Equipment]
a) a Halberd of *Slay Animal* (3d5) (+8,+8) (+2)
b) a Heavy Crossbow of Extra Shots (x4) (+16,+8) (+1)
c) a Ring of Intelligence (+3)
d) a Ring of Intelligence (+4)
e) an Amulet of ESP (+5)
f) a Wooden Torch of Brightness (4601 turns)
g) Green Dragon Scale Mail (-2) [30,+10] (charging)
h) a Cloak of Aman [1,+16] (+1 to stealth)
i) a Small Metal Shield of Elvenkind [3,+16] (+2 to stealth)
j) a Hard Leather Cap of Intelligence [2,+7] (+2)
k) a Set of Gauntlets of Free Action [2,+14]
l) a Pair of Metal Shod Boots of Speed [6,+8] (+10)
I'll have to see if I can convince the borg to inscribe known resistances on its stuff.
roustk is offline   Reply With Quote
Old August 14, 2008, 15:37   #9
roustk
Adept
 
Join Date: Dec 2007
Posts: 167
roustk is on a distinguished road
Quote:
Originally Posted by roustk View Post
The borg repeatedly cast teleport other (six times in the log) on a "ghostly target" it suspected was in a wall. It seems like it should have given up after one or two and switched to stone to mud...
Definite bug.

Check around line 9509 of borg6.txt (where the "Logging Spell pathway" notes are generated).

The borg should check for walls before it checks for targets, so the correct structure of the ifelse is:
Code:
                if (!borg_cave_floor_grid(ag))
                {
                        borg_note(format("# Logging Spell pathway (%d,%d): Wall 
grid.", n_y, n_x));
                        break;
                }
                else if (ag->kill)
                {
                        borg_note(format("# Logging Spell pathway (%d,%d): %s, d
anger %d",
                                  n_y, n_x, (r_name + r_info[kill->r_idx].name),
                                  borg_danger_aux(c_y,c_x, 1, ag->kill, TRUE)));
                }
                else
                {
                        borg_note(format("# Logging Spell pathway (%d,%d).", n_y
, n_x));
                }
It lost another level 45 HT Mage to a pack of Dreads, several of whom were protected from TO by this bug. (EDIT: while I was fixing this, another lvl 43 mage died to an Ethereal Dragon in this way.)

NOTE: I have not actually tested this yet. I want to double-check what other spells use this particular piece of code -- some (StM against golems?) probably want to check for the target before the wall. APWhite knows this code better, so he may be able to immediately confirm that this is the right fix.

Last edited by roustk; August 14, 2008 at 15:43.
roustk is offline   Reply With Quote
Old August 14, 2008, 15:40   #10
roustk
Adept
 
Join Date: Dec 2007
Posts: 167
roustk is on a distinguished road
Quote:
Originally Posted by roustk View Post
NOTE: I have not actually tested this yet. I want to double-check what other spells use this particular piece of code -- some (StM against golems?) probably want to check for the target before the wall. APWhite knows this code better, so he may be able to immediately confirm that this is the right fix.
Still not tested, but Teleport Other is the only spell that uses this code. Mainly the standard tele other logic, but also the "tele other things that threaten my sea of runes on level 100 when Morgoth is around" logic. The fix should be good.
roustk is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ironband update Antoine Variants 11 February 24, 2008 04:10
APW borg on OS X pesachyonah Vanilla 7 February 12, 2008 11:56
309 Borg Update APWhite Vanilla 1 October 11, 2007 10:29
Borg 3.0.9 Progress Update APWhite Vanilla 3 August 10, 2007 03:15
No-update svn revisions ekolis Vanilla 1 July 19, 2007 23:43


All times are GMT +1. The time now is 20:25.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.