Map Database  •  FAQ  •  RSS  •  Login

Crash with Moving Map out of Downloads

<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 17 Jan 2017, 02:20

Crash with Moving Map out of Downloads

Do we still report bugs for this game? I'm not sure if anyone is maintaining this code, but I found a bug that causes a crash and will report it anyway.

The crash happens when you have a downloaded map and a "regular" (not downloaded) map with the same name in the map folder. Say you created a map named "example" and you also downloaded a map from a friend called "example." The downloaded version will have the checksum characters tagged on, such as "example_5A789EA6." If you wish to make the version downloaded from your friend the only version of the map, "example," in your folder, you first have to delete your own map. After deleting the map, you can then move the downloaded version out of downloads. This will cause a crash.

In summary:

1) Make a map, give it a name and save it
2) Download a map in mutiplayer lobby with the same name as your own created map
3) Delete your map
4) Move downloaded map out of downloads.

I understand that this is pretty easy to avoid. It also seems like it wouldn't happen a lot (Actually, I do run into this often, I won't go into detail exactly why-- unless you want-- as that's not important). Still, thought you might be interested.
I used to spam this forum so much...
<<

Rey

User avatar

KaM Remake Developer

Posts: 217

Joined: 12 Oct 2016, 07:41

KaM Skill Level: Fair

Location: Moscow

Post 17 Jan 2017, 03:11

Re: Crash with Moving Map out of Downloads

Thanks, I will check this out
<<

Rey

User avatar

KaM Remake Developer

Posts: 217

Joined: 12 Oct 2016, 07:41

KaM Skill Level: Fair

Location: Moscow

Post 24 Jan 2017, 06:48

Re: Crash with Moving Map out of Downloads

Fixed.

It was not easy to discover, but only 1 line of code was needed to fix it :)

https://github.com/Kromster80/kam_remake/pull/205
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 24 Jan 2017, 06:56

Re: Crash with Moving Map out of Downloads

Hey thanks. If I'm absolutely honest, I didn't think anyone would take this seriously. Very good job finding the fix.
I used to spam this forum so much...
<<

Rey

User avatar

KaM Remake Developer

Posts: 217

Joined: 12 Oct 2016, 07:41

KaM Skill Level: Fair

Location: Moscow

Post 24 Jan 2017, 07:28

Re: Crash with Moving Map out of Downloads

I hate bugs!

Btw its not often to get as a detailed description as you provided :)

Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 5 guests