Page 1 of 1

Deleted Characters

Posted: Sun Mar 26, 2006 1:04 am
by Kiff
So far 4 of the players on my shard have had the characters wiped from their accounts (which sucks if you are a player). I have no idea what is happening that causes this (other than one of them had an "account save yarntino-yarntino mismatch) *the account name was yarntino* problem I noticed on the server even after he had it wiped (but continued to use the same account). For the other 3 I havn't noticed any server errors.
There are also fairly random crashes once a day, but that's not such a big deal, and are more or less expected.

I am using the 3.5n experimental 3.

Posted: Sun Mar 26, 2006 3:09 am
by Kiff
Hmm, actually crashes seem to be more common recently. The last one the server was only up for an hour. I caught what one looked like (although most don't show any errors when they crash).


http://img106.imageshack.us/my.php?imag ... ror5jx.jpg

Posted: Sun Mar 26, 2006 3:54 am
by stranf
Weird. I guess I won't try 3.5n for ahwile.

I'm runinng 3.5n exp2, and haven't had much of an issue yet.

On a side note, you do a world save in 1.00 second? Man, I'm pushing 40 and am actually thinking of diabling the autosave and just letting my gms do it manually.

Posted: Sun Mar 26, 2006 4:50 am
by Maarc
There's no known issues with accounts to my knowledge, but what you're describing sounds like it's crashing during a save, or something like that (and hence, losing the tracking info).

Based on the screenshot you showed, I can't see immediately why it would be crashing. However, I notice you're having JS script errors. Are they custom scripts? You might need to fix them up. I don't imagine it's related, but you never know.

Posted: Sun Mar 26, 2006 6:17 am
by Kiff
My world saves are in 1 second because there are probably only 150 npc's in the world at any time, and everything players have they have to create :)

Also only 3 islands are available, so saving goes pretty fast


The only scripts I change are the opening scroll in dfn/misc and dfn/newbie to make it so characters only get tinker tools and pick axes (although in this build I forgot to change them so they are original). Other than that not really any custom scripts. Other times the shard crashes I don't get the JS error. Also I don't know how this would erase accounts...unless it crashed when it was saving characters or something....

Posted: Sun Mar 26, 2006 7:29 am
by Grimson
3.5n exp3 is running straight for over 60 hours here without a crash or lost accounts, and the changes between exp2 and exp3 were very minimal.

About the JS errors, did you also update your JS scripts? If yes, are you using the js32.dll from the experimental archive or one from a different build? If you are using a different js32.dll it could cause errors, as the uox3.exe is linked against the version from the experimental archive.

@stranf
World saves take about 3 to 4 secs here :P. Mainly because I spawn all NPCs via the spawn.dfn, so they won't get saved by default.

Posted: Sun Mar 26, 2006 8:25 am
by Grimson
Oh, and could you have a look at accounts/orphans.adm and see whether the lost chars are listed there?

Posted: Sun Mar 26, 2006 3:58 pm
by Xuri
Grimson: How many players on during those 60 hours straight?

Posted: Sun Mar 26, 2006 4:10 pm
by Grimson
Xuri wrote:Grimson: How many players on during those 60 hours straight?
1 to 3 local clients for testing different things, I'm currently not running a public shard as I spent most of my free time learning and working on the UOX3 code.

Posted: Sun Mar 26, 2006 5:32 pm
by Kiff
I got the JS scripts with the experimental and moved over the "JS" folder to the experimental 2 build I had been running (along with dictionaries, dfn data uox.ini and uox.exe)

Yes the lost characters seem to be listed in orphans... I can't say for sure all of them are, but there are a few I recognize for sure. The players say that they didn't delete them with the delete button, and I don't' know why they would since it's so hard for them to get started again in my world.

Posted: Sun Mar 26, 2006 5:47 pm
by Grimson
Kiff wrote:I got the JS scripts with the experimental and moved over the "JS" folder to the experimental 2 build I had been running (along with dictionaries, dfn data uox.ini and uox.exe)
Ok. There is no need to overwrite the uox.ini when updating, that one will be updated by uox3 itself. Please try to use the js32.dll from the archive, especially when it's a different date or size than the one you currently use and see if the crashes/js errors still happen.
Kiff wrote:Yes the lost characters seem to be listed in orphans... I can't say for sure all of them are, but there are a few I recognize for sure. The players say that they didn't delete them with the delete button, and I don't' know why they would since it's so hard for them to get started again in my world.
Ok, that means the chars might not really be lost but their "connection" to the accounts. You can edit the accounts.adm and username.uad files to add those chars back to the accounts, if they still exist in the worldfiles.

Have the effected accounts or chars any special signs or letters in their name?

Posted: Mon Mar 27, 2006 1:25 am
by Kiff
No, the account/ character names don't have anything unique about them.

What do you mean use the js32.dll from the archive?

Posted: Mon Mar 27, 2006 1:53 am
by Grimson
Kiff wrote:What do you mean use the js32.dll from the archive?
In the archive (the zip file) that contains the experimental builds is a js32.dll, that's the actual JS engine. If you use the uox3.exe from one of the experimental builds you should also use the js32.dll from that build. The same goes for release builds also.

Do you have a editor capable of searching the contents of a whole directory, if yes let it search the worldfiles and see whether the player chars still exist.

If not you could compress the folder "shared" and upload it somewhere, so we can have a look at it. In that case you also need to tell us the names of the lost chars.

Any more detailed information of what the players did and where there chars where when they disappeared, or when the server crashed, would help very much. It's very hard to find a bug when you can't reproduce it, and even harder if you have no information of the circumstances that produced the bug in the first time.

Posted: Mon Mar 27, 2006 5:13 pm
by Kiff
I'll get to this soon so you can hopefully fix it, but for the time being I have to focus on getting some term papers done. So if my response time seems slow that's why :)

Posted: Thu Mar 30, 2006 11:42 pm
by Kiff
How do I use the js32.dll that came with the build? Do I have to place it in a directory on my computer somewhere?

Also, how can I edit the accounts.adm and username.aud files to try to add the characters back?

I believe that the characters were logged out when they were deleted, but I can look into it. I will also upload the shared folder...not sure where though, suggestions welcome.

Posted: Fri Mar 31, 2006 1:04 am
by Xuri
The js32.dll file should be located in the root UOX3 directory, i.e. in the same location as uox3.exe.

You can edit accounts.adm and username.uad files using notepad or any other text-editor. As an example, assume you have a "lost" character in the worldfiles with a serial of 0, which would be the very first character created on your shard. Let's assume he's called "Kiff". Open accounts.adm, find the account the character should be on, and replace one of the CHARACTER-# 0xffffffff [UNKNOWN] lines with CHARACTER-# 0x0 [Kiff], where # is a character slot number for the account.

You can upload your worldfiles (zipped up) to a free filehosting service like http://www.rapidshare.de .

Posted: Sun Jul 09, 2006 11:01 pm
by giwo
Is this still an issue?