Bug Report "Mapster / Eduke"
#1 Posted 19 February 2014 - 11:57 PM
When you take a switch button and make it one sided and invisible (i + '), even though it does not have the hitable bit set and the sprite button is NOT set as blockable it still prevents Duke from shooting through the invisible switch from the side the button is facing. However, Duke can successfully shoot through the switch from the opposite direction just fine.
This was tested using EDuke version 4065. I'm not sure how long this has been like this, so I just thought i'd bring it to your attention as it is a very subtle but an annoying problem.
This post has been edited by Paul B: 20 February 2014 - 12:01 AM
#3 Posted 20 February 2014 - 06:24 AM
#4 Posted 20 February 2014 - 06:33 AM
#5 Posted 20 February 2014 - 06:39 AM
Anyway, i've given this more thought and I think I can work around this problem, it's not a show stopper just changes my opinion on the way I thought the sprite hitable tab was to be used. Thanks for the help guys!
This post has been edited by Paul B: 20 February 2014 - 07:20 AM
#6 Posted 20 February 2014 - 07:24 AM
#7 Posted 20 February 2014 - 08:59 AM
See game.c:A_Spawn(), searching for "A_CheckSwitchTile". Here's the relevant code:
if ((CS&48) && PN != SPEAKER && PN != LETTER && PN != DUCK && PN != TARGET && PN != TRIPBOMB && PN != VIEWSCREEN && PN != VIEWSCREEN2) if (!(PN >= CRACK1 && PN <= CRACK4)) { if (SS == 127) goto SPAWN_END; if (A_CheckSwitchTile(i) && (CS&16)) { if (sprite[i].pal && PN != ACCESSSWITCH && PN != ACCESSSWITCH2) { // (Remove colored switches in multiplayer...) } CS |= 257; if (sprite[i].pal && PN != ACCESSSWITCH && PN != ACCESSSWITCH2) sprite[i].pal = 0; goto SPAWN_END; } if (SHT) { changespritestat(i, STAT_FALLER); CS |= 257; SH = g_impactDamage; goto SPAWN_END; } } if (CS&1) CS |= 256;
The two-letter "convenience macros" expand to some member of sprite[i]:
CS: cstat
PN: picnum
SS: shade
SHT: hitag (edit)
SH: extra
The SPAWN_END label is just before running the EVENT_SPAWN event.
So, as a workaround, you could code a mutator containing only an EVENT_SPAWN definition that reverses setting the hitscan bit for the particular tile of interest.
For the future, it might be interesting to expose A_CheckSwitchTile() to scripting. (More on switches maybe another time.)
#8 Posted 10 March 2014 - 05:32 PM
I didn't want to start a new thread for this, but i've come across a bug. I'm testing my map using the eduke32 -map <mymap.map> -server switch for multi-player purposes. I know multi-player is not functional right now but I use to be able to test my maps using this switch to make sure the multi-player aspect is sound for Duke Megaton players.
Here's the problem: When I start the user map with -server switch the Duke Start Location gets moved from the default start location squishing Duke in non valid player space or just killing Duke on the spot by squishing him.
Any suggestions on why this might be happening?
This problem only surfaced after the release of: 20131228-4230
The build version: 20131226-4223 works just fine.
Thanks for looking into this.
This post has been edited by Paul B: 10 March 2014 - 06:05 PM
#9 Posted 11 March 2014 - 11:25 AM
Paul B, on 10 March 2014 - 05:32 PM, said:
This problem only surfaced after the release of: 20131228-4230
The build version: 20131226-4223 works just fine.
#10 Posted 11 March 2014 - 11:31 AM
LeoD, on 11 March 2014 - 11:25 AM, said:
Just curious on how you know that? Where are you getting your facts? I hope you're wrong otherwise i'll just have to remain on that version of Eduke as it is critical I can test my Multi-player maps. All maps I make are for the future with co-op and vs in mind. This would be a big pain in the process of testing if I cannot test my user maps for multi-player functionality such as switches or explosions which happen because of sprite pal 1. Plus all user maps I make going forward will be 100% compatible with Megaton since that's where the majority of the user community resides.
This post has been edited by Paul B: 11 March 2014 - 11:32 AM
#11 Posted 11 March 2014 - 11:43 AM
Paul B, on 11 March 2014 - 11:31 AM, said:
Paul B, on 11 March 2014 - 11:31 AM, said:
Paul B, on 11 March 2014 - 11:31 AM, said:
#12 Posted 29 June 2015 - 11:26 AM
Just noticed something the other day while running Eduke R5267. I think it was occuring also on older recent builds as well. Anyway, the problem is occasionally when using the Console to input commands the only input the console accepts is the up arrow for the last commands entered. Any new commands or typing directly into the console fails.
Any suggestions? It appears to occur randomly and I'm not sure what brings this on. I am most frequently using setrendermode 0, 3, 4 when I notice that I am unable to enter any additional commands in the console until I close EDuke and restart it.
#13 Posted 29 June 2015 - 11:46 AM
#14 Posted 29 June 2015 - 03:58 PM
Hendricks266, on 29 June 2015 - 11:46 AM, said:
Well i'm glad i'm not the only one. It appears to be a random occurance. I'll try and pay more attention to the events leading up to it.
Also, here is another puzzler. Here are two screenshots from two different computers. One using Onboard Intel Graphics running Polymer (The first image to left) has some missing letters. The second screenshot with Polymer and an Nvidia 660 Graphics card looks fine (Image to the right). Any idea why the same renderer produces different visual results?
This post has been edited by Paul B: 29 June 2015 - 04:01 PM
#15 Posted 01 July 2015 - 12:31 PM
Ahh bloody hell i just tried it on another computer and it works. It appears my desktop computer doesn't like to play that one time sound but it plays all others. Not sure what's going on, might have something to do with a speaker configuration setting where the audio might be being delivered to another speaker and not to the headphones. When I figure it out i'll update the post.
No idea what happened. The solution was to delete the entire Eduke game folder download the synthesis again and copy a backup Duke.GRP to the new install folder. The stupid thing was it was the ONLY one time sound that didn't work. Doomed Space Marine one time sound worked among custom one time sounds. Very odd and frustrating!
I was also using the HRP previously in my Eduke folder. So i'm not sure if that messed something up at some point.
This post has been edited by Paul B: 01 July 2015 - 01:06 PM