XmlSpawner2 with mono and RUNUO 2.0
Hi,
RUNUO (svn) works with mono 1.2.6 and the fixpacks from
RunUOForge > Projects > RunUO on Linux > Home thanks to RavenTUS
There is another problem, installing XmlSpawner2:
I was able to remove some of the
by replacing
with
with this script:
but there are a lot of further error messages as you can see.
I know, that XmlSpawner2 != runuo and this forum only said: "runuo works with mono", but XmlSpawner2 is I think one of the best addons I have ever seen. So for a usefull runuo/mono environment we need a solution which works with some popular addons like XmlSpawner2, nerun, ...
What could be done to get XmlSpawner2 work with mono?
Regards
Lukas
Hi,
RUNUO (svn) works with mono 1.2.6 and the fixpacks from
RunUOForge > Projects > RunUO on Linux > Home thanks to RavenTUS
There is another problem, installing XmlSpawner2:
Code:
RunUO - [www.runuo.com] Version 2.0, Build 3013.23354
Core: Running on .NET Framework Version 2.0.50727
Core: Unix environment detected
Scripts: Compiling C# scripts...failed (12 errors, 0 warnings)
Errors:
+ Custom/XmlMobiles/XmlQuestNPC.cs:
CS0234: Line 11: The type or namespace name `Scripts' does not exist in the namespace `Server'. Are you missing an assembly reference?
CS0246: Line 11: The type or namespace name `Scripts.Commands' could not be found. Are you missing a using directive or an assembly reference?
+ Custom/XmlAttach/XmlAttachment.cs:
CS0234: Line 4: The type or namespace name `Scripts' does not exist in the namespace `Server'. Are you missing an assembly reference?
CS0246: Line 4: The type or namespace name `Scripts.Commands' could not be found. Are you missing a using directive or an assembly reference?
CS0234: Line 4: The type or namespace name `Scripts' does not exist in the namespace `Server'. Are you missing an assembly reference?
CS0246: Line 4: The type or namespace name `Scripts.Commands' could not be found. Are you missing a using directive or an assembly reference?
+ Custom/XmlUtils/WriteMulti.cs:
CS0246: Line 40: The type or namespace name `CommandEventArgs' could not be found. Are you missing a using directive or an assembly reference?
+ Custom/XmlSpawnerSkillCheck.cs:
CS0234: Line 11: The type or namespace name `Scripts' does not exist in the namespace `Server'. Are you missing an assembly reference?
CS0246: Line 11: The type or namespace name `Scripts.Commands' could not be found. Are you missing a using directive or an assembly reference?
CS0234: Line 11: The type or namespace name `Scripts' does not exist in the namespace `Server'. Are you missing an assembly reference?
CS0246: Line 11: The type or namespace name `Scripts.Commands' could not be found. Are you missing a using directive or an assembly reference?
+ Custom/XmlSpawner2.cs:
CS0506: `Server.Mobiles.XmlSpawner.Name': Line 1217: cannot override inherited member `Server.Item.Name' because it is not marked virtual, abstract or override
+ Custom/XmlQuest/XmlQuestPoints.cs:
CS0246: Line 167: The type or namespace name `CommandEventArgs' could not be found. Are you missing a using directive or an assembly reference?
CS0246: Line 187: The type or namespace name `CommandEventArgs' could not be found. Are you missing a using directive or an assembly reference?
+ Custom/XmlMobiles/TalkingBaseVendor.cs:
CS0115: Line 753: `Server.Mobiles.TalkingBaseVendor.GetContextMenuEntries(Server.Mobile, System.Collections.ArrayList)' is marked as an override but no suitable method found to override
+ Custom/XmlMobiles/TalkingBaseEscortable.cs:
CS0115: Line 462: `Server.Mobiles.TalkingBaseEscortable.AddCustomContextEntries(Server.Mobile, System.Collections.ArrayList)' is marked as an override but no suitable method found to override
+ Custom/XmlQuest/XmlQuestToken.cs:
CS0506: `Server.Items.XmlQuestToken.Name': Line 866: cannot override inherited member `Server.Item.Name' because it is not marked virtual, abstract or override
+ Custom/XmlUtils/WhatIsIt.cs:
CS0246: Line 62: The type or namespace name `CommandEventArgs' could not be found. Are you missing a using directive or an assembly reference?
+ Custom/XmlMobiles/TalkingBaseCreature.cs:
CS0115: Line 746: `Server.Mobiles.TalkingBaseCreature.GetContextMenuEntries(Server.Mobile, System.Collections.ArrayList)' is marked as an override but no suitable method found to override
+ Custom/XmlQuest/XmlQuestHolder.cs:
CS0506: `Server.Items.XmlQuestHolder.Name': Line 781: cannot override inherited member `Server.Item.Name' because it is not marked virtual, abstract or override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Exiting...done
I was able to remove some of the
Code:
The type or namespace name `Scripts'
by replacing
Code:
using Server.Scripts;
with
Code:
using Server;
with this script:
Code:
for file in Custom/XmlQuest/XmlQuestLeaders.cs Custom/XmlUtils/XmlEdit.cs Custom/BaseXmlSpawner.cs Custom/XmlMobiles/TalkingBaseVendor.cs Custom/XmlAttach/XmlGetAttachGump.cs Custom/XmlAttach/XmlAttach.cs Custom/XmlSpawnerGumps.cs Custom/XmlSpawner2.cs Custom/ItemFlags.cs Custom/XmlUtils/XmlAdd.cs Custom/XmlMobiles/TalkingBaseCreature.cs Custom/XmlUtils/XmlFind.cs Custom/SpawnerExporter.cs Custom/XmlAttachments/XmlDialog.cs; do echo $file; cat Scripts/$file | sed -e 's/using Server\.Scripts/using Server/g' > Scripts/$file.neu;cp -p Scripts/$file Scripts/$file.backup; mv -f Scripts/$file.neu Scripts/$file; done
but there are a lot of further error messages as you can see.
I know, that XmlSpawner2 != runuo and this forum only said: "runuo works with mono", but XmlSpawner2 is I think one of the best addons I have ever seen. So for a usefull runuo/mono environment we need a solution which works with some popular addons like XmlSpawner2, nerun, ...
What could be done to get XmlSpawner2 work with mono?
Regards
Lukas