Code:
----------------------------------------------------------------------------
ServUO - [http://www.servuo.com] Version 0.5, Build 5160.4708
Publish 54
Core: Optimizing for 4 64-bit processors
RandomImpl: CSPRandom (Software)
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...
Finished (4123 items, 1023 mobiles, 11 customs) (0.56 seconds)
Regions: Loading...done
World: Loading...failed
Error: Type 'Server.Mobiles.FireDragon' was not found. Delete all of those types
? (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.AnimalBreeder' was not found. Delete all of those ty
pes? (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.EvilDruidLord' was not found. Delete all of those ty
pes? (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.EvilGenetecist' was not found. Delete all of those t
ypes? (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.EvilDruid' was not found. Delete all of those types?
 (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.Abomination' was not found. Delete all of those type
s? (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.GeneticFailure' was not found. Delete all of those t
ypes? (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.EvilBioEngineer' was not found. Delete all of those
types? (y/n)
World: Loading...failed
Error: Type 'Server.Mobiles.ThePickyBeetle' was not found. Delete all of those t
ypes? (y/n)
World: Loading...failed
Error: Type 'Server.Items.SpringWater' was not found. Delete all of those types?
 (y/n)
World: Loading...failed
Error: Type 'Server.Items.DestroyingAngel' was not found. Delete all of those ty
pes? (y/n)
World: Loading...failed
Error: Type 'Server.Items.Organics' was not found. Delete all of those types? (y
/n)
World: Loading...failed
Error: Type 'Server.Items.ShrinkItem' was not found. Delete all of those types?
(y/n)
World: Loading...failed
Error: Type 'Server.Items.PetLeash' was not found. Delete all of those types? (y
/n)
World: Loading...failed
Error: Type 'Server.Items.PetrafiedWood' was not found. Delete all of those type
s? (y/n)
World: Loading...failed
Error: Type 'Server.Items.EmptyDNAVialSet' was not found. Delete all of those ty
pes? (y/n)
World: Loading...failed
Error: Type 'Server.Items.EmptyDNAVial' was not found. Delete all of those types
? (y/n)
World: Loading...failed
Error: Type 'Server.Items.CurePotionPet' was not found. Delete all of those type
s? (y/n)
World: Loading...failed
Error: Type 'Server.Items.GreaterCurePotionPet' was not found. Delete all of tho
se types? (y/n)
World: Loading...failed
Error: Type 'Server.Items.HealPotionPet' was not found. Delete all of those type
s? (y/n)
World: Loading...failed
Error: Type 'Server.Items.GreaterHealPotionPet' was not found. Delete all of tho
se types? (y/n)
World: Loading...failed
Error: Type 'Server.Items.PetResurrectPotion' was not found. Delete all of those
 types? (y/n)
World: Loading...failed
Error: Type 'Server.Items.PetShrinkPotion' was not found. Delete all of those ty
pes? (y/n)
World: Loading...An error was encountered while loading a saved object
 - Type: Server.Mobiles.FireGargoyle
 - Serial: 0x000024D1
Delete the object? (y/n)
Delete all objects of that type? (y/n)
After pressing return an exception will be thrown and the server will terminate.

Error:
System.FormatException: Index (zero based) must be greater than or equal to zero
 and less than the size of the argument list.
  at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String fo
rmat, Object[] args)
  at System.String.Format(IFormatProvider provider, String format, Object[] arg
s)
  at Server.World.Load() in c:\UO SERVER\ServUO\Server\World.cs:line 844
  at Server.Core.Main(String[] args) in c:\UO SERVER\ServUO\Server\Main.cs:line
 590
This exception is fatal, press return to exit
 
i y to delete but got this error
 
Ohh sorry you are right that's a problem with serialisation. I am still learning that myself.

Chances are it's the same with a ton of other scripts too but you can try remove the fire gargoyle script and the server will ask you to remove them and then add it back if the server boots. just make sure to save
 
Serialization is like someone in a bad mood, it doesn't like to listen. Removing a ton of scripts and reverting back custom ones is a sure fire way to get the serialization in a bad mood. The Core can only recover your saves so much by trying to delete items and sometimes you can get lucky restarting it over and over and delete until it will finally load. One way to achieve what you are trying to do would be to load the scripts back in, wipe out all items in question you'll be removing and reverting then try saving the world. Depending on how much you have changed you might end up wiping most of your world and if that's the case then starting with fresh saves would be a better option.

If you truly wanted to convert your old saves and you have knowledge of both serialization and coding then you could load all the scripts back in that you took out. Leave the Deserialize methods intact to allow you to load the world like it was but change you Serialize methods to all save back to the same format a fresh install state would be in. Save the world and shut down the server, then change out your Deserialize methods to match back up with the fresh install state that you did with Serialize. World should now load up and save normally again. This would be the only method I would recommend but like I said it would take both knowledge in coding and serialization and plenty of backups.
 
I've looked your errors up, like what scripts you were missing and find out that some Pet system has a lot of what you are supposed to. https://code.google.com/p/aedilis2server/source/browse/trunk/Scripts/Custom/?r=57#Custom/Pets

There's also the FireGargoyle https://code.google.com/p/aedilis2s.../Monsters/Humanoid/Magic/FireGargoyle.cs?r=57

Can you post your FireGargoyle script please? Here's where it should be - > Scripts/ Mobiles/ Monsters/ Humanoid/ Magic

It still doesn't work cause you can press y on all of the erros but the FireGargoyle as it's Deserialize function is bugged .

You can either fix it or just delete the script.
 
You can't just add in saves from an old server if the server files are different. It will -not- work. I'm pretty sure that's what everyone else has previously stated in one way or another.

You have 2 options:

1. You either need to add in the exact same scripts you had, and also make allllll of the exact same file edits, and then add your old saves in. (Theres still no guarantee the server will recognize the old saves, especially if theres one tiny variance in a serialize/deserialize edit)

-OR-

2. Don't use your old saves, and start completely over with a fresh server. I would personally recommend this for you.
 
Okay so you are using ServUO, right? What server did you previously have? RunUO 1? Runuo2? Meaning the server you are taking your saves from.
 
servuo i have added the fs but got error line 17
Errors:
+ Items/Talismans/TalismanSummons.cs:
CS0115: Line 30: 'Server.Mobiles.BaseTalismanSummon.IsInvulnerable': no suit
able method found to override
Code:
namespace
Server.Mobiles
{
publicclassBaseTalismanSummon : BaseCreature
	{
public BaseTalismanSummon()
			:
base(AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4)
		{ }
public BaseTalismanSummon(Serial serial)
			:
base(serial)
		{ }
publicoverridebool Commandable { get { returnfalse; } }
publicoverridebool InitialInnocent { get { returntrue; } }
publicoverridebool IsInvulnerable { get { returntrue; } }
 
Okay, the issue is that BaseCreature doesn't have the property . Which means to fix it something simple as changing
    1. public override bool IsInvulnerable { get { return true; } }
to
    1. public virtual bool IsInvulnerable { get { return true; } }

Should fix the problem. Try that and see what happens.
 
change that and now got
Code:
Errors:
 + Mobiles/PlayerMobile.cs:
  CS0506: Line 1809: 'Server.Mobiles.PlayerMobile.Hidden.get': cannot override
 inherited member 'Server.Mobile.Hidden.get' because it is not marked virtual, a
bstract, or override
  CS0506: Line 1813: 'Server.Mobiles.PlayerMobile.Hidden.set': cannot override
 inherited member 'Server.Mobile.Hidden.set' because it is not marked virtual, a
bstract, or override
  CS0508: Line 5009: 'Server.Mobiles.PlayerMobile.ComputeMovementSpeed(Server.
Direction, bool)': return type must be 'int' to match overridden member 'Server.
Mobile.ComputeMovementSpeed(Server.Direction, bool)'
Scripts: One or more scripts failed to compile or no script files were found.
 
Okay I think I know where are the issues coming from, you are using ServUO core with your old scripts, is that correct?

replace the could you would have defined with
public override TimeSpan ComputeMovementSpeed(Direction dir, bool checkTurning)

to

public override int ComputeMovementSpeed(Direction dir, bool checkTurning)
{
if (checkTurning && (dir & Direction.Mask) != (Direction & Direction.Mask))
{
return RunMount; // We are NOT actually moving (just a direction change)
}
TransformContext context = TransformationSpellHelper.GetContext(this);
if (context != null && context.Type == typeof(ReaperFormSpell))
{
return WalkFoot;
}
bool running = ((dir & Direction.Running) != 0);
bool onHorse = (Mount != null);
AnimalFormContext animalContext = AnimalForm.GetContext(this);
if (onHorse || (animalContext != null && animalContext.SpeedBoost))
{
return (running ? RunMount : WalkMount);
}
return (running ? RunFoot : WalkFoot);
}

The hidden I need to see the code to help out cause, the issue is that in core they've changed so that you can no longer, override the method, which means basically implement your own changes of how things work, instead there's OnHiddenChanged() method in which you could put stuff from Hidden
 
Last edited:
error
Code:
Errors:
 + Mobiles/[ServUO.com]-BaseCreature.cs:
  CS0029: Line 1517: Cannot implicitly convert type 'System.DateTime' to 'long
'
 + Custom Systems/FireRockCraftVer 3.0 ServUO/Items/FireRockMiningBook.cs:
  CS1061: Line 50: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'FireRockMining' and no extension method 'FireRockMining' accepting a first
 argument of type 'Server.Mobiles.PlayerMobile' could be found (are you missing
a using directive or an assembly reference?)
  CS1061: Line 56: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'FireRockMining' and no extension method 'FireRockMining' accepting a first
 argument of type 'Server.Mobiles.PlayerMobile' could be found (are you missing
a using directive or an assembly reference?)
 + Custom Systems/FireRockCraftVer 3.0 ServUO/FireRockMining.cs:
  CS1061: Line 107: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'FireRockMining' and no extension method 'FireRockMining' accepting a firs
t argument of type 'Server.Mobiles.PlayerMobile' could be found (are you missing
 a using directive or an assembly reference?)
 + Mobiles/AI/BaseAI.cs:
  CS0019: Line 2727: Operator '>' cannot be applied to operands of type 'Syste
m.DateTime' and 'long'
  CS0029: Line 2733: Cannot implicitly convert type 'long' to 'System.DateTime
'
 + Mobiles/[ServUO.com]-PlayerMobile.cs:
  CS0029: Line 456: Cannot implicitly convert type 'long' to 'System.DateTime'
  CS1501: Line 539: No overload for method 'SetToothAche' takes 2 arguments
  CS0103: Line 2088: The name 'MovementImpl' does not exist in the current con
text
  CS0103: Line 2093: The name 'MovementImpl' does not exist in the current con
text
  CS0019: Line 2100: Operator '+=' cannot be applied to operands of type 'Syst
em.DateTime' and 'int'
  CS0029: Line 2100: Cannot implicitly convert type 'int' to 'System.DateTime'
 + Regions/GuardedRegion.cs:
  CS1061: Line 326: 'Server.Mobiles.BaseCreature' does not contain a definitio
n for 'IsInvulnerable' and no extension method 'IsInvulnerable' accepting a firs
t argument of type 'Server.Mobiles.BaseCreature' could be found (are you missing
 a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 
Wow. Okay the errors are definitely due to having different set of scripts with a different core... okay so the first one FireRockCraft is cause it needs to be installed which needs PlayerMobile modifications. So I would need instructions for that.

Okay now find this in BaseAI.cs
if( m_Mobile.NextReacquireTime > DateTime.Now )
change to
if (m_Mobile.NextReacquireTime > Core.TickCount)

BaseCreature needs to have
public virtual bool IsInvulnerable { get { return false; } }

added somewhere and remember the previous script that will need to be changed back from virtual to override.

I've got a feeling there's many more errors to come, I've tried fixing some, attached the script.
 

Attachments

  • PlayerMobile.cs
    142.4 KB · Views: 6
BaseCreature needs to have
public virtual bool IsInvulnerable { get { return false; } }
at in basecreature
 

Attachments

  • [ServUO.com]-BaseCreature.cs
    238.6 KB · Views: 1
That is correct here it is , but remember the first script you had issue with and I told you change it to virtual from override that needs to be changed back. I'm talking of BaseTalismanSummon.

oh and there is supposed to have an install instruction for FireRockCraft, you need to do some modifications to the PlayerMobile
 

Attachments

  • BaseCreature.cs
    238.6 KB · Views: 1
error
Code:
Errors:
 + Mobiles/[ServUO.com]-BaseCreature.cs:
  CS0029: Line 1519: Cannot implicitly convert type 'System.DateTime' to 'long
'
 + Mobiles/AI/BaseAI.cs:
  CS0019: Line 2727: Operator '>' cannot be applied to operands of type 'Syste
m.DateTime' and 'long'
  CS0029: Line 2733: Cannot implicitly convert type 'long' to 'System.DateTime
'
 + Mobiles/[ServUO.com]-PlayerMobile.cs:
  CS1501: Line 535: No overload for method 'SetToothAche' takes 2 arguments
  CS0019: Line 5148: Operator '<' cannot be applied to operands of type 'long'
 and 'System.TimeSpan'
Scripts: One or more scripts failed to compile or no script files were found.
 
here
 

Attachments

  • [ServUO.com]-BaseCreature.cs
    238.6 KB · Views: 1
  • [ServUO.com]-PlayerMobile.cs
    142.7 KB · Views: 0
  • BaseAI.cs
    77.1 KB · Views: 2
Try this.
 

Attachments

  • PlayerMobile.cs
    142.6 KB · Views: 4
  • BaseCreature.cs
    238.6 KB · Views: 4
  • BaseAI.cs
    77.2 KB · Views: 6
Code:
Errors:
 + Mobiles/[ServUO.com]-BaseCreature.cs:
  CS0102: Line 6721: The type 'Server.Mobiles.BaseCreature' already contains a
 definition for 'ReacquireDelay'
Scripts: One or more scripts failed to compile or no script files were found.
 
Stacey,

Not trying to be an ass or anything but are you learning from this? That last error is very easy to interpret.
 
Code:
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
  at CustomsFramework.Systems.VIPSystem.VIPModule.Check()
  at Server.World.Load() in c:\Users\darrens desk top\Downloads\ServUO\Server\W
orld.cs:line 882
  at Server.Core.Main(String[] args) in c:\Users\darrens desk top\Downloads\Ser
vUO\Server\Main.cs:line 588
This exception is fatal, press return to exit
 
i just leave it i will have to start from scach and wait for servuo to put animal breeding in so thanks for all the help Marcis but i think the best think will be jut to wait untill i get better with c# again thx
 
I suppose so, the error you got now, I dunno I looked at it but it's not one you can easily fix you've gotta go through everything, script by script wouldn't be possible.
As for the animal breeding, if you could point me to the script I could do that for you. Like give me links to the scripts you need and i will install them to the ServUO, I've got time now anyway, so I'm always glad to help. Need a little break from working on my own shard so that I don't burn myself out and lose interest.
 
Back