|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Jan 17, 2010 7:18 pm
[3.12pro]Room Properties window edits when no room selected throws AV |
If there are no rooms selected, the Vnum shows as 0. You can still add room information from a room you are no longer in (ie, because it's too dangerous, because it's too much of a hassle to go there, your game has a command to peer into adjacent rooms, etc) to this VNum 0 room, and CMud still allows you to save that information via normal channels.
The editing goes off without an error (although where is it putting the info?), but the very next room you create throws up the SQL: Primary Key must be unique AV.
When vnum = 0, the components should probably be locked or the data not saved when clicking on the Save Changes button. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon Jan 18, 2010 4:12 am |
I was running into that same issue. After I started using the new Achaea room ids I couldn't create a room without it throwing that AV error.
I figured it was something associated with my other scripts and the fact that I haven't paid too much attention to whether I use the vnum or actual db number in my scripts. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 18, 2010 6:58 pm |
Confirmed and Added to bug list.
|
|
|
|
|
|