|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Mar 2003
Posts: 13
|
Error: Type 'Server.Items.GrizzlyBearRugEastAddon' was not found. Delete all of
those types? (y/n) y World: Loading...failed Error: Type 'Server.Items.PolarBearRugSouthAddon' was not found. Delete all of t hose types? (y/n) y World: Loading...failed Error: Type 'Server.Items.PolarBearRugEastAddon' was not found. Delete all of th ose types? (y/n) y World: Loading...An error was encountered while loading a saved object - Type: Server.Mobiles.PlayerMobile - Serial: 0x00000E7B Delete the object? (y/n) n After pressing return an exception will be thrown and the server will terminate ****************** False, type=Server.Mobiles.PlayerMobile, serial=0x00000E7B) ---> System.Exceptio n: ***** Bad serialize on Server.Mobiles.PlayerMobile ***** at Server.World.Load() --- End of inner exception stack trace --- at Server.World.Load() at Server.ScriptCompiler.Compile() at Server.Core.Main(String[] args) This exception is fatal, press return to exit Ok what went wrong I copied the saves folder to beta 23 from beta 22. Is this a wrong move or do I have to start world over? Im miffed here. |
|
|
|
|
|
#3 (permalink) | |
|
Moderate
Join Date: Nov 2002
Location: USA
Posts: 6,598
|
Quote:
![]()
__________________
David Forum Moderator The RunUO.com Forum Moderator Team Forum Rules and Guidelines RunUO Forum Search Engine Download RunUO 2.0 RC2 |
|
|
|
|
|
|
#5 (permalink) |
|
Moderate
Join Date: Nov 2002
Location: USA
Posts: 6,598
|
... but your thought was sound... ![]()
__________________
David Forum Moderator The RunUO.com Forum Moderator Team Forum Rules and Guidelines RunUO Forum Search Engine Download RunUO 2.0 RC2 |
|
|
|
|
|
#6 (permalink) |
|
Join Date: Mar 2003
Posts: 13
|
We're trying to upgrade to Beta-23 and keep our world files. In the SAVES directory it seems that the MOBILES subdirectory is causing the problem.
We created the RunUO-Beta-23 directory. Then copied the ACCOUNTS directory from the Beta-22 directory along with the GUILDS, ITEMS, MOBILES and REGIONS. Is that how to upgrade to a new version while still keeping the world we've created? If it is, then why do we keep having problems with the PlayerMobile.sc script when we copy our MOBILES directory into the Beta-23 directory? |
|
|
|
|
|
#7 (permalink) |
|
Account Terminated
|
Because the Dev Team adds stuff to the Player Mobile, on some things. You will have to fix the serilzation of your mobile.
Yes thats the corect way. There isnt really alot to upgrading as long as use the same classes and those types have the same serilzation has whats saved. Otherwise you have to fix your version'ing |
|
|
|
|
|
#9 (permalink) |
|
Guest
Posts: n/a
|
I had the same (well, almost the same) problem. Here is how I fixed it - it may be that you do not want to fix it the same way since my way is cheesy to some degree - but I had a few users immesurably mad at me and wanting the server up NOW. I had added in some race gates I think it was and then the player mobile file changed, oh well.... No matter what I tried it threw out an exception. Sooooo....
1. I asked all my players to put there items in a box in their homes. If they did not have a home, I created a non-movable box next to britain bank and locked it for them. They put everything they wanted to keep in the boxes (either in home or the boxes I gave them). 2. I then deleted the mobiles file in the save directory and copied a fresh set of files from the distribution into that folder (so you would have a clean database with no mobiles. I also deleted the accounts xml as there is an issue with saying there are no saved mobiles and then in accounts saying that there are actual characters attached to the account. (what this will do is cause the game to pick a random npc and say - hey that must be your character). So - put a fresh file from the distribution into the accounts folder as well. 3. Make sure that extra scripts that you added are in the items/custom/whichever folder you put in (like polarbear rugs and stuff) Read carefully the changelog for the server so that you don't put back in scripts for say glass bottles if the dev team has included glass bottles for this release. 4. Start the server, create a server admin account and make sure everything runs and is the way you want it. 5. Create your players accounts or let them login to autoregister. Drag them to their house and transfer ownership back to them. Or give them their box of special stuff. 6. Set any skills that they had. Or leave it in test and let them set skills. last but not least, if you are having problems with C-Sharp and coding, swear to yourself that you will not add anything in that will change the base files. Although limiting yourself to items scripts and perhaps a couple mobiles, you won't have an issue upgrading. Now the sad thing is, I figured out serialization about 2 hours after I had accomplished all of this stuff above to fix it all. Argh. |
|
|
|
#10 (permalink) | |
|
Account Terminated
|
Quote:
case 0: { goto case 1; } case 1: { break; } That code is not correct but give you the general idea, actually start with 1 then 0 :-) |
|
|
|
|
|
|
#11 (permalink) |
|
Join Date: Mar 2003
Posts: 13
|
Okay please bear with me...I know COBOL, BASIC, Pascal and Oracle PL/SQL but no experience with c# (yet).
What file do I modify? For mobiles I only have 3 files in the directory with extensions of .BIN, .IDX and .TDB. I also downloaded something called RESET - can that be used to do it? Thanks a lot for bearing with my 'newbie' questions. |
|
|
|
|
|
#12 (permalink) |
|
Account Terminated
|
You have to edit the class, those save files are in binary format, and they are not the problem. The problem is from compiling a newer version of the class and loading those items/mobile/what ever and not being the "same" version.
You can find a switch case on deserilzation function in almost any script. Check out baseweapon or Basearmor.cs for a complex example. |
|
|
|
|
|
#13 (permalink) |
|
In short you your version of the mobile does not have the stuff the devs added to playermobile.cs so when it compiles its not deserialzing correctly. To fix this you need to add whatever the devs have in their playermobile.cs into your playermobile.cs and then do some versoining in your player mobile script.
|
|
|
|
|
|
|
#14 (permalink) |
|
Join Date: Mar 2003
Posts: 13
|
I still do not understand anything much of what I'm being told. I'm being told WHAT to do but I need to know HOW to do it.
I unzipped the RunUO-Beta-23r2 into it's own directory. Then I copied my SAVES directory under the main Beta-23r2 directory. When I try to start RunUO using the PlayerMobile.cs that is in Beta-23r2 I get the error. I need to somehow synchronize my data files I copied over from Beta-22 with the new upgrade...but HOW? Is there a utility that will do this for me? I don't understand c# so I'm probably frustrating everybody with all my stupid questions |
|
|
|
|
|
#15 (permalink) |
|
Join Date: Mar 2003
Posts: 13
|
if all I am doing is copying the saves directory over to the new beta I still need to deserialize?
Let me regroup here. To upgarde from 22 to 23 all I have to do is copy the saves directory over to the new beta right? or is this wrong and I should only copy specific files from the saves dir? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|