Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri May 28, 2010 5:56 am   

[3.18 Alpha]BUG: Installation deletes database variables
 
Following your post about making the backup and the dangers of the new beta, I made a backup. However, I will say that it is annoying to have all my database variables no longer exist upon installation. ;)

With further testing, it seems that CMUD no longer likes database variables, as installing a backup package file complete wipes the database variables, as well. I'm just glad I was smart enough to use a different backup for testing.

Charneus
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 28, 2010 6:15 am   
 
Please send me your *.PKG file with the database variables that were deleted. The database variables in my saved sessions were not deleted so I need to see yours to figure out what is happening.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri May 28, 2010 6:27 am   
 
Well, the one I used to verify is in the Package Library from MattLofton (AardSkies). I can definitely send you that package over. I do want to show this to you, and I'm wondering if it has anything to do with database (and also string list variables, as I recently found out) being deleted:

Code:
date/time         : 2010-05-27, 23:20:21, 352ms
computer name     : CHARNEUS-LAPTOP
user name         : Charneus <admin>
registered owner  : Charneus
operating system  : Windows 7 build 7600
system language   : English
system up time    : 1 day
program up time   : 43 minutes 18 seconds
processors        : 2x AMD Turion(tm) 64 X2 Mobile Technology TL-60
physical memory   : 844/1918 MB (free/total)
free disk space   : (C:) 31.96 GB
display mode      : 1280x800, 32 bit
process id        : $1408
allocated memory  : 94.08 MB
executable        : cMUD.exe
exec. date/time   : 2010-05-27 18:45
version           : 3.18.0.0
compiled with     : BCB 2006/07
madExcept version : 3.0k
contact name      :
contact email     :
callstack crc     : $436b216f, $6bbfd9a0, $6bbfd9a0
exception number  : 1
exception class   : Exception
exception message : Error saving data in background - INSERT INTO settings (id,kind,parent,pkgid,enabled,idname,options,userval,val,comment,name,subkind,valkind,opt,owner,userint,priority,flag,state) VALUES ('28','0','1048575','28','-1','Skies','<opt><height>155</height><left>79</left><top>259</top><width>587</width></opt>','{29DAD0B0-D311-45D9-9667-E399D46A5B38}','','','Skies','0','0','0','1048575','0','0','0','0') :: SQL Error: PRIMARY KEY must be unique.

Main ($e3c):
00ddd16c +250 cMUD.exe     PkgDM            4870 +43 TPkg.Save
00c28c48 +204 cMUD.exe     PackageServer     622 +28 TPackageServer.InstallPackage
00c29dfe +5be cMUD.exe     PackageServer     768 +42 AddPackage
00c2a190 +17c cMUD.exe     PackageServer     792 +17 ProcessNodes
00c2a3d8 +14c cMUD.exe     PackageServer     819 +21 TPackageServer.ProcessUpdates
00c2a6f1 +0e5 cMUD.exe     PackageServer     871 +11 TPackageServer.GetPackage
00cb94fd +0e1 cMUD.exe     PkgLibMain       1418 +15 TPkgLibF.HandleInstall
00cb8c28 +0d8 cMUD.exe     PkgLibMain       1273  +7 TPkgLibF.PackageViewMouseDown
004bc5eb +02b cMUD.exe     Controls                  TControl.MouseDown
005ac338 +188 cMUD.exe     cxControls                TcxControl.MouseDown
004bc66e +076 cMUD.exe     Controls                  TControl.DoMouseDown
004bc6bc +040 cMUD.exe     Controls                  TControl.WMLButtonDown
005abdc2 +0da cMUD.exe     cxControls                TcxControl.WndProc
007f165b +01b cMUD.exe     cxGridCustomView          TcxGridSite.WndProc
004bf7c0 +02c cMUD.exe     Controls                  TWinControl.MainWndProc
0047d424 +014 cMUD.exe     Classes                   StdWndProc
77353573 +00a USER32.dll                             DispatchMessageA
004aa76c +0fc cMUD.exe     Forms                     TApplication.ProcessMessage
004aa7a6 +00a cMUD.exe     Forms                     TApplication.HandleMessage
004aaa9b +0b3 cMUD.exe     Forms                     TApplication.Run
00e40b4c +088 cMUD.exe     CMUD              373 +20 initialization
75751192 +010 kernel32.dll                           BaseThreadInitThunk

error details:
Installing a package from the package library.


If you still need the package (or can't get it from the package library) I can still send you mine.

Charneus
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 28, 2010 7:14 am   
 
Actually, if you just run the previous 3.17 version and then post the XML of one of the database variables that was deleted, that should be good enough. It's very possible the crash you gave above is related.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 28, 2010 7:29 am   
 
Nevermind, I confirmed the problem.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 28, 2010 8:00 am   
 
Hopefully fixed in v3.18a, although not sure about the crash so let me know if that still happens. Remember to restore your backup files from the 3.17 version so that you are not working with files corrupted by the first 3.18 version. Sorry for all the trouble, but thanks for testing it tonight while I still had some time to fix it. Can't sleep because of all my coughing anyway.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net