Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Stalwarts, Golems and Ortho Squares (Rather bizzare)
New Topic New Poll Post Reply
Poster Message
hartleyhair
Level: Smiter
Rank Points: 307
Registered: 08-05-2007
IP: Logged

File: Stalwart vs Golem.jpg (29.4 KB)
Downloaded 107 times.
License: Public Domain
icon Stalwarts, Golems and Ortho Squares (0)  
In the attached screenshot, the Stalwart will not move to kill the Golem.

Is this intentional?

Note: This still happens when I remove the briar and replace it with pit.

____________________________
I'm currently working on Jerrik's Dungeon, an oldschool Hold for TCB.
12-01-2007 at 05:47 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2460
Registered: 11-14-2005
IP: Logged
icon Re: Stalwarts, Golems and Ortho Squares (0)  
Well, of course he won't; it's a screenshoot. Things don't move in screenshots.

Er, I mean. I'm not sure I can tell what's going on there, not well enough to reproduce it. Can you attach a hold?
12-01-2007 at 06:09 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
hartleyhair
Level: Smiter
Rank Points: 307
Registered: 08-05-2007
IP: Logged

File: Stalwart vs Golem.hold (1.2 KB)
Downloaded 51 times.
License: Public Domain
icon Re: Stalwarts, Golems and Ortho Squares (0)  
Certainly.

____________________________
I'm currently working on Jerrik's Dungeon, an oldschool Hold for TCB.
12-01-2007 at 06:14 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
NoahT
Level: Smitemaster
Avatar
Rank Points: 1197
Registered: 06-17-2003
IP: Logged

File: Stalwart Test.hold (812 bytes)
Downloaded 43 times.
License: Public Domain
icon Re: Stalwarts, Golems and Ortho Squares (0)  
Well, as you can see from this test, a stalwart in such a position will always go for the north golem (or any monster, for that matter), without regard for monster movement order. In this case, the only way to do that was by swinging, thus keeping the stalwart in danger.

-Noah

____________________________
And in the end, the love you take is equal to the love you make.

My stuff:
Click here to view the secret text


[Last edited by NoahT at 12-01-2007 08:40 PM]
12-01-2007 at 08:34 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 865
Registered: 03-01-2005
IP: Logged
icon Re: Stalwarts, Golems and Ortho Squares (0)  
It turns out Stalwarts don't want to stab rock piles. Since there's no way the Stalwart can get to that rock golem without stabbing a rock pile (and without turning his sword, which he didn't think about), he doesn't move.

So I tried changing the Stalwart's don't-stab test from pMonster->IsFriendly() to pMonster->IsAlive() && pMonster->IsFriendly().

With that change, the Stalwart dies earlier given the solution on the scroll. The room is possible, but trickier. My demos for TCB:Frozen Depths:1N2W are unaffected, but I don't know how many other rooms in other holds might be affected. Mike, is this change worth checking in?
12-01-2007 at 08:37 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5204
Registered: 02-04-2003
IP: Logged
icon Re: Stalwarts, Golems and Ortho Squares (0)  
That seems like an appropriate fix -- stalwarts shouldn't give perceived idiosyncratic treatment to rock piles when navigating. I'm okay with you adding it. Thanks for checking that room's demos.

Hmm...we probably need a tool to check which of all published rooms would be affected by code changes (and probably a dedicated machine to run these regression tests on)...

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
12-03-2007 at 10:27 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
coppro
Level: Smitemaster
Rank Points: 1309
Registered: 11-24-2005
IP: Logged
icon Re: Stalwarts, Golems and Ortho Squares (0)  
I can't think offhand of any room with stalwarts and rock golems, but if Stefan is listening, he would probably be very useful right now.
12-03-2007 at 11:20 PM
View Profile Show all user's posts Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 865
Registered: 03-01-2005
IP: Logged
icon Re: Stalwarts, Golems and Ortho Squares (0)  
Checked that change in.
mrimer wrote:
Hmm...we probably need a tool to check which of all published rooms would be affected by code changes (and probably a dedicated machine to run these regression tests on)...
This is a good idea. Obviously, it would be called the Mutant Spider.
12-04-2007 at 01:09 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Stalwarts, Golems and Ortho Squares (Rather bizzare)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.