Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

R'n'D is always evolving. Check here to see if a new version is out.

Moderators: Flumminator, Zomis

BryanFRitt
Posts: 248
Joined: Mon Nov 13, 2017 4:16 pm

Re: Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

Post by BryanFRitt »

In playing with settings some more, it seems this must be 'TEAMS' made for local play issue only happens if 'PREFERRED NETWORK PLAYER:' is anything other than 'player_1' (Yellow), even though this is a local one player game.

MAIN MENU > SETUP > GAME & MENU > PREFERRED NETWORK PLAYER: > 'network_player': 'player_1' (Yellow)
(Is there a hidden PREFERRED *LOCAL* PLAYER?)

p.s. Oh... I see there's also a 'TEAM-MODE (MULTI-PLAYER):' here, this wasn't the 'TEAM' mode menu option I was referring to earlier; which was the 1st option in the MAIN MENU. TEAM/NAME.
Strike a balance between generating new things/ideas, and being good/organized. Somewhere between a gibberish mess and nothing said/done. -
I've completed the core R'n'D levels! except for classic_emerald_mine Level 91 which needs two R'n'D brains!
User avatar
Holger
Site Admin
Posts: 4253
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

Post by Holger »

BryanFRitt wrote: Sun Dec 08, 2024 2:02 am In playing with settings some more, it seems this must be 'TEAMS' made for local play issue only happens if 'PREFERRED NETWORK PLAYER:' is anything other than 'player_1' (Yellow), even though this is a local one player game.
Thanks a lot! That was the hint I needed to be able to reproduce this bug! :-o

The problem was that player input from player's 2 to 4 was not redirected to player 1 for the BD engine in single player mode. :-o

It's fixed now! :)
p.s. Oh... I see there's also a 'TEAM-MODE (MULTI-PLAYER):' here, this wasn't the 'TEAM' mode menu option I was referring to earlier; which was the 1st option in the MAIN MENU. TEAM/NAME.
It's the exact same setup option, just being offered to be changed at two different places. :)
ncrecc
Posts: 285
Joined: Thu Jul 12, 2018 12:59 am

Re: Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

Post by ncrecc »

Holger wrote: Sun Dec 08, 2024 12:27 am
ncrecc wrote: Tue Dec 03, 2024 6:26 pm strange bug i can't seem to reproduce: after a long session that included turning "Override Level Graphics" on and off a couple times, i tried to go to the level creator while on a BD level (specifically Achim Hofmann - Achim Hofmann level 01), and the "this level is read only!" notice for some reason was blurrily stretched to cover the entire game window. when i tried to dismiss it, it left streaks on the screen as it minimized, implying it failed to clear itself from the screen. here's a screenshot:
dismiss.png
(note that the window is 640x502 for some reason instead of 640x480 like it usually is when the BD graphics are active.)
i'm not sure what state the game was in. i was able to get the notice to "expand" again by pressing escape and enter, which might mean it went to the editor but still hadn't cleared the notice.
This really looks strange. Something must have been seriously broken during program execution. I am afraid that this is some sort of memory corruption bug (writing bytes into the wrong places in memory), which can be hard to debug. I have tried to find something suspicious using Valgrind, Address Sanitizer and static code analysis using cppcheck, but no luck so far. :(
still exists in 4.4.0.3, for what it's worth (and still without snowflakes); found it with a similarly long play session involving some toggling back and forth between different custom artwork sets & window sizes, again happening where a "read only" notice would appear:
stretchbug.png
stretchbug.png (18.88 KiB) Viewed 509 times
after pressing escape everything went back to normal and the editor looked normal; then i was able to get it to happen by opening the notice again:
stretchbug2.png
stretchbug2.png (19.63 KiB) Viewed 508 times
after which the game was fine again when pressing escape twice (the first press yielded the same buggy stretching as in my initial post). subsequent openings of the read-only notice were perfectly fine. so whatever the bug is it's at least visually not permanent, which might have to do with how the window is resized when entering/exiting the editor in GDash levelsets now, though maybe things were still being corrupted behind the scenes and i was just lucking out(?) and not seeing anything. not sure if this is any new info.
User avatar
TheOnyxGuy
Posts: 629
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

It returns, it spreads, it hungers...

Post by TheOnyxGuy »

ncrecc wrote: Mon Feb 03, 2025 2:07 am still exists in 4.4.0.3, for what it's worth (and still without snowflakes); found it with a similarly long play session involving some toggling back and forth between different custom artwork sets & window sizes, again happening where a "read only" notice would appear:
stretchbug.png
after pressing escape everything went back to normal and the editor looked normal; then i was able to get it to happen by opening the notice again:
stretchbug2.png
after which the game was fine again when pressing escape twice (the first press yielded the same buggy stretching as in my initial post). subsequent openings of the read-only notice were perfectly fine. so whatever the bug is it's at least visually not permanent, which might have to do with how the window is resized when entering/exiting the editor in GDash levelsets now, though maybe things were still being corrupted behind the scenes and i was just lucking out(?) and not seeing anything. not sure if this is any new info.
Yeah, I had this bug happen pretty frequently a while ago, but Holger just could never reproduce the bug (and I don't mean just the snowflakes)
One of the related cases I had at that time was about the window size changes + border textures being slightly smaller than the size of window itself. [1]
There were also points where playfield and doors just disappear without a trace or glitch out into null space where all sprites leave traces (I forgot the term for it, oops) [2]

From what I understand, this issue also seems to be possibly hardware related, because it was happening a lot on my old Acer Aspire laptop, then never happened on my younger brother's PC, was really prominent on my old PC and never happened on my current PC. And again, at that time I'm pretty sure I was getting all that without snowflakes (I don't think there were snow flakes back then)
Previously known as Eizzoux (boooo)
User avatar
Holger
Site Admin
Posts: 4253
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

Post by Holger »

*argh* ... this is really nasty, especially as I thought that this was caused by the same (now fixed) problem that caused "window-sized snowflakes". Apparently this is a different bug. :(
From what I understand, this issue also seems to be possibly hardware related, because it was happening a lot on my old Acer Aspire laptop, then never happened on my younger brother's PC, was really prominent on my old PC and never happened on my current PC. And again, at that time I'm pretty sure I was getting all that without snowflakes (I don't think there were snow flakes back then)
This might be possible. Could you please let me know which

- operating system,
- render driver (as shown on the "Version Info" page in R'n'D), and
- video driver (as shown on the "Version Info" page in R'n'D)

you are using on the systems where you have encountered this horrible glitch? (And, if possible, the same information for those computers where you never saw it.)

I also had problems (that are fixed now by using a nasty workaround) with screen flickering (which was most probably a different problem) when using the render driver "Metal" on my M3 Mac which never happened on any other system, so the above problem may also have to do with hardware and drivers... :?
ncrecc
Posts: 285
Joined: Thu Jul 12, 2018 12:59 am

Re: Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

Post by ncrecc »

Holger wrote: Mon Feb 03, 2025 3:15 pm Could you please let me know which

- operating system,
- render driver (as shown on the "Version Info" page in R'n'D), and
- video driver (as shown on the "Version Info" page in R'n'D)
Windows 10 (64-bit)
render driver is direct3d
video driver is windows
User avatar
TheOnyxGuy
Posts: 629
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Drive

Post by TheOnyxGuy »

Holger wrote: Mon Feb 03, 2025 3:15 pm Could you please let me know which
- operating system,
- render driver (as shown on the "Version Info" page in R'n'D), and
- video driver (as shown on the "Version Info" page in R'n'D)
Well, there's no point in that now, because
never happened on my current PC.
I don't have the old PC anymore, nor the laptop which I listed first. I only have the one where this doesn't happen.
But even then, I guess that still may help you track down the issue, so yeah, here it goes:
sdaasddasdas.png
sdaasddasdas.png (2.14 KiB) Viewed 469 times
Again, with this hardware it's running fine and such issue never happened.
EDIT: forgot to mention, it's Windows 10 22H2 64-bit, my bad
EDIT2: Yeah, doesn't seem like the driver info is going to be that useful, considering both mine and nc's drivers match in this case...
Previously known as Eizzoux (boooo)
User avatar
Holger
Site Admin
Posts: 4253
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

Post by Holger »

Well, there's no point in that now, because
But yes, I think this info is really useful, as directly shown here: Apparently the bug occurs only on one of two PCs that have the same OS, same video and same render driver. So yes, you might be right that this could be a "hardware problem" (in that it happens on one PC, but never on the other, without necessarily saying that the PC where it happens has a defect or something).

I think I remember that I have seen this specific bug (looking very similar) once or twice on my Mac, too... :?
User avatar
TheOnyxGuy
Posts: 629
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: Pre-release 4 of Rocks'n'Diamonds 4.4.0.0 available!

Post by TheOnyxGuy »

I think I mentioned that before in some topic, but I forgot to mention here... on my older PC I also had two different motherboards with same CPU socket in different time periods.
The motherboard I had originally on it was a bit problematic, it had very strange issue if initialization. Sometimes it initiated in seconds, sometimes it took it's sweet time stretching up to, like, five minutes. But one time, we had a power outage for a whole, like, millisecond, and that was enough for my older PC's motherboard to just die. I gave it a lot of time to start up, even reloaded and gave it more time, but it was just dead. But on that motherboard, I had no issues with R'n'D's rendering engine, everything was just fine and dandy for it. But when the motherboard had died, I had to find at least a temporary replacement for it with the same socket. Found some sort of older model that just so happens to share the same socket. With that motherboard I started getting visual errors as soon as I booted up the game and loaded one of my levelsets, which was already a "good sign" for me back then. So the closest I think we can say is that this issue seems to be tied to motherboard in some way? I'm honestly not sure...
Fortunately, with the newer PC I have nowadays (MSI A320M-A Pro MS-7C51 with AM4 socket), I have not encountered anything.
Previously known as Eizzoux (boooo)
Post Reply