Chaosforge Forum

  • December 21, 2024, 22:30
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1] 2  All

Author Topic: [0.9.9.3 win] Spawned in a trap  (Read 12618 times)

thrstein

  • Private
  • *
  • Offline Offline
  • Posts: 3
  • Lost Soul
    • View Profile
[0.9.9.3 win] Spawned in a trap
« on: May 25, 2011, 10:25 »


Fire -- Choose target...                                                       
 You see : stone wall                                                           
                                               
#======#                       
                                               
#======#                       
                                                #
======#                       
                                                #
======#                       
                                                #
======#                       
                                                #
======#                       
                                                #
======#                       
                                               ##
======#                       
                                               #
===@==##                       
                                               
#======#                         
                                               #
======#                         
                                               #
======#                         
                                               #
======#                         
                                               #
======#                         
                                               #
======#                         
                                               #
======#                         
                                               
#======#                         
                                               
#====\=#                         
                                               #======#                         
                                               #======#                         
 
Thor                       Armor : modified red armor [6/6] (80%) (P)         
 
Health: 100% Exp:  6/94%   Weapon: modified assault shotgun (7d3) [5/8] (B1)   
 cautious                                                   
Phobos Base  Lev10


I'm on Windows 7 64-bit, not sure if that changes anything. Tried shooting at random places on the wall until I ran out of rockets...

On an unrelated note, BBcode screenshots are neat :)
Logged

ParaSait

  • Baffen :P
  • Elder
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1229
  • Happy Little Boozer
    • View Profile
    • MPSF
Re: [0.9.9.3 win] Spawned in a trap
« Reply #1 on: May 25, 2011, 10:58 »

Aha. That is probably a cave level with a very unfortunately positioned filled area. Am I rite?
(or well... unfortunately positioned river at least)
« Last Edit: May 25, 2011, 11:02 by ParaSait »
Logged
[18|7|3|0|0|0] [MED:13/43] [SPE:36/67] [ASM:11/40]

Check out my epic youtube channel!
Currently playing The Bard's Tale and System Shock 2 (coop with GrAV1t)!

thrstein

  • Private
  • *
  • Offline Offline
  • Posts: 3
  • Lost Soul
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #2 on: May 25, 2011, 14:21 »

I wondered who made that bridge, and what they were on :P
Logged

raekuul

  • Supporter
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 668
  • Storyteller Under The Bridge
    • View Profile
    • Veldania
Re: [0.9.9.3 win] Spawned in a trap
« Reply #3 on: May 26, 2011, 06:38 »

They were on phase devices, duh!
Logged
Quote
Tormuse doesn't lose, he dies on purpose to lull the demons into a false sense of security.

Melon

  • Programmer
  • Elder Chaos Guard
  • Colonel
  • *
  • *
  • Offline Offline
  • Posts: 535
  • Men are from Mars, Women are from Snickers
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #4 on: May 27, 2011, 04:25 »

They were on phase devices, duh!

Too bad phase devices are only legal in Holland, Portugal and Czech Republic...
Logged
Ludzie, którzy piją, są dla mnie niczym...

... niczym bracia!

Silhar

  • AliensRL Beta Tester
  • Brigadier General
  • *
  • Offline Offline
  • Posts: 667
  • Get psyched!
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #5 on: May 27, 2011, 11:38 »

Too bad phase devices are only legal in Holland, Portugal and Czech Republic...

Also, Holland.

Melon

  • Programmer
  • Elder Chaos Guard
  • Colonel
  • *
  • *
  • Offline Offline
  • Posts: 535
  • Men are from Mars, Women are from Snickers
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #6 on: May 30, 2011, 06:52 »

Also, Holland.
Yeah, and Holland too!
Logged
Ludzie, którzy piją, są dla mnie niczym...

... niczym bracia!

tehtmi

  • Programmer
  • Local Inquisitor
  • Lieutenant Colonel
  • *
  • *
  • Offline Offline
  • Posts: 458
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #7 on: June 02, 2011, 19:23 »

To put this in perspective, I generated 10000 cave maps with vertical rivers.  75/10000 rivers were disconnected.

This is fixable but non-trivial.
Logged

Deathwind

  • Colonel
  • *
  • Offline Offline
  • Posts: 505
  • HMP Angel of Patience 0.9.9.4
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #8 on: June 03, 2011, 14:15 »

The simplest answer would be to not spawn vertical rivers in caves.
Logged
v.997 [16/5/2/0/0]

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #9 on: June 04, 2011, 08:57 »

To put this in perspective, I generated 10000 cave maps with vertical rivers.  75/10000 rivers were disconnected.

This is fixable but non-trivial.
Given the probability of this occurring, I'm kinda swinging towards the "uh, it sucks to be you" route of not fixing this.

Though in theory, coding in reachability tests would solve a lot of the very strange placement bugs that occur every now and then.
Logged
I computed, therefore I was.

Thexare

  • Elder
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 281
  • I think I need a new favorite gun now...
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #10 on: June 04, 2011, 11:50 »

Couldn't it be fixed by preventing someone from spawning on water or bridge tiles? They still might phase into the river, but that's the inherent risk of phase devices on cave maps.

If you wanted, you could even negate that with a Cave-specific level feeling, something like "You hear flowing water..." so people know not to phase if they can't see the river.
« Last Edit: June 04, 2011, 11:52 by Thexare »
Logged
Former Human Corporal
1/42 M, 7/60 S, 3/30 A
[ 6 / 1 / 0 / 0 / 0 ]

AStranger

  • First Lieutenant
  • *
  • Offline Offline
  • Posts: 233
  • Cyberdemon Blade
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #11 on: June 04, 2011, 15:51 »

Given the probability of this occurring, I'm kinda swinging towards the "uh, it sucks to be you" route of not fixing this.
Maybe I can change your mind. If 75 out of 10,000 were disconnected that means that 9925 were connected giving us a success rate of .9925, which may sound high but over time isn't actually very good. After 10 cave levels you have a 7.3% chance of generating a bad one (1 - .9925^10), after 25 there is a 17.2% chance and after you've seen 100 caves levels there is a 53% chance that you've gotten stuck at least once. I don't know how often cave levels are generated with vertical rivers or more to the point how many games you need to play to see 100 caves with vertical rivers, but I feel that I see them often enough that this is probably worth fixing.
Logged
[24|23|20|18|13] v.0.9.9.3
[17|10|8|5|2] v.0.9.9.2
[15|11|10|6|3] v.0.9.9.1
[18|17|14|10|6] v.0.9.9

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #12 on: June 04, 2011, 23:09 »

I don't know how often cave levels are generated with vertical rivers or more to the point how many games you need to play to see 100 caves with vertical rivers, but I feel that I see them often enough that this is probably worth fixing.
Yeah, but you missed the second part.

There are other strange reachability bugs that we have that are fixed with weird hacks.  I did recommend an accept/reject approach towards level generation, using a reachability test as a measure of acceptance of a generated level.  It can be based on a few parameters, including existence of wall-busting equipment (and how many times it has to be used) and of course the number of indestructible walls etc.
Logged
I computed, therefore I was.

Deathwind

  • Colonel
  • *
  • Offline Offline
  • Posts: 505
  • HMP Angel of Patience 0.9.9.4
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #13 on: June 04, 2011, 23:12 »

That's only how often the level will have the disconnected river, how often you actually spawn in it is again only a small percent of those levels. As rare as it is I still say the easiest answer is just to not spawn rivers in caves.
Logged
v.997 [16/5/2/0/0]

ZZ

  • AliensRL Beta Tester
  • Lieutenant Colonel
  • *
  • Offline Offline
  • Posts: 469
    • View Profile
Re: [0.9.9.3 win] Spawned in a trap
« Reply #14 on: June 05, 2011, 07:42 »

The reachability test in my opinion is the best solution of this one and many other layout bugs. It is not hard to write, it will not increase the level generation time significantly (and even if it does, much people think that the longer the level generates, the better level is), and it will definitely close all reachability questions. We can even adjust it for difficulty setting, like count lava/acid as impassable terrain on ITYTD.
« Last Edit: June 05, 2011, 08:51 by ZZ »
Logged
Put a chainsaw in my coffin. If I go to Hell, I'll need to do some cleaning there.
Pages: [1] 2  All