rocksndiamonds does not save highscores

Bug #304516 reported by Frans Slothouber
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rocksndiamonds (Debian)
Fix Released
Unknown
rocksndiamonds (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: rocksndiamonds

rocksndiamonds:
  Installed: 3.2.4+dfsg-2
  Candidate: 3.2.4+dfsg-2
  Version table:
 *** 3.2.4+dfsg-2 0
        500 http://nl.archive.ubuntu.com hardy/multiverse Packages
        100 /var/lib/dpkg/status

Description: Ubuntu 8.04.1
Release: 8.04

-------------------

If you finish a level of rocksndiamond you will appear in the hall-of-fame.
However after a restart of the game all this information is forgotten.

The reason for this is that the data for the hall of fame can not be written to disk.
The reason for this becomes clear when running:

frans@frans-laptop:~$ /usr/games/rocksndiamonds-bin --debug
Player 80 activated.
[Local player is 80 and currently active.]
Player 1: present == 1, connected == 1, active == 1.
Player 1 is local player.
[snip --- finish a level ----- ]
Player 3 not active.
Player 4 not active.
rocksndiamonds-bin: warning: cannot create main score directory '/usr/games/scores'
rocksndiamonds-bin: warning: cannot create level score directory '/usr/games/scores/frans'
rocksndiamonds-bin: warning: cannot save score for level

The executable can't create or access /usr/games/scores

The question is of course whether it should have access to this directory or if it the data
should be stored in some other directory.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Can you confirm this bug on jaunty?

Changed in rocksndiamonds (Ubuntu):
status: New → Incomplete
Revision history for this message
Frans Slothouber (rfsber) wrote :

Just upgraded to jaunty.
However the upgrade failed because the upgrade of rocksndiamonds failed.
This was due to the loss of network connectivity at the end of the upgrade
when rocksndiamonds was being upgraded and the upgrade wanted to download
the levels.

A
  sudo apt-get remove rocksndiamonds
and then a
  sudo apt-get install rocksndiamonds
results in:

Selecting previously deselected package rocksndiamonds.
Unpacking rocksndiamonds (from .../rocksndiamonds_3.2.6.0+dfsg-3_amd64.deb) ...
Processing triggers for man-db ...
Setting up libsdl-net1.2 (1.2.7-2) ...
Setting up p7zip (4.58~dfsg.1-1) ...
Setting up rocksndiamonds (3.2.6.0+dfsg-3) ...
Update menu
sh: update-menus: not found
Can not read directory /usr/share/games/rocksndiamonds/downloads: No such file or directory
dpkg: error processing rocksndiamonds (--configure):
 subprocess post-installation script returned error exit status 2
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 rocksndiamonds
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Frans Slothouber (rfsber) wrote :

Creating
   /usr/share/games/rocksndiamonds/downloads
by hand fixes the above error.

After running rocksndiamonds I can now confirm that in the bug:
  " rocksndiamonds does not save highscores"
still exists in Jaunty.

Frans.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Confirmed in Lucid

$ apt-cache policy rocksndiamonds
rocksndiamonds:
  Installé : 3.2.6.0+dfsg-6
  Candidat : 3.2.6.0+dfsg-6
 Table de version :
 *** 3.2.6.0+dfsg-6 0
        500 http://archive.ubuntu.com lucid/multiverse Packages
        100 /var/lib/dpkg/status

Changed in rocksndiamonds (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rocksndiamonds (Ubuntu Hardy):
status: New → Confirmed
Revision history for this message
Nikolay Morozov (nmorozov) wrote :

Confirmed in precise

apt-cache policy rocksndiamonds
rocksndiamonds:
  Installed: 3.3.0.1+dfsg1-2
  Candidate: 3.3.0.1+dfsg1-2
  Version table:
 *** 3.3.0.1+dfsg1-2 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages
        100 /var/lib/dpkg/status

tags: added: i386 precise
Revision history for this message
Nikolay Morozov (nmorozov) wrote :

Represented in 12.10 Alpha 3 (Quantal) amd64.

tags: added: amd64 quantal
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

A upstream bugtracker is not available.

An e-mail was send to the contact adress on:

http://artsoft.org/rocksndiamonds/

Changed in rocksndiamonds (Debian):
status: Unknown → New
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".

Changed in rocksndiamonds (Ubuntu Hardy):
status: Confirmed → Won't Fix
Changed in rocksndiamonds (Debian):
status: New → Fix Released
Stephen Kitt (steve-sk2)
Changed in rocksndiamonds (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.