Zsu

Member
I have STILL been trying to get Xanthos Evo and shrink system to work for me. Ive been fixing all different kinds of codes. Does anyone think they can help me fix these? And yes I'm aware that I have the latest and this isnt "technically" for that but with rewording it could work. Just wondering if anyone else has figured it out?


Custom\ShrinkCommand.cs(141,27): error CS1503: Argument 1: cannot convert from '
Xanthos.ShrinkSystem.ShrinkTarget' to 'Server.ISpawnable' [C:\FrightNightServer\
ServUO-master\Scripts\Scripts.csproj]
Custom\HitchingPost.cs(33,76): error CS0117: 'ObjectPropertyList' does not conta
in a definition for 'Enabled' [C:\FrightNightServer\ServUO-master\Scripts\Script
s.csproj]
Custom\BaseEvo.cs(265,23): error CS0161: 'BaseEvo.Damage(int, Mobile)': not all
code paths return a value [C:\FrightNightServer\ServUO-master\Scripts\Scripts.cs
proj]
Custom\BaseMountEvo.cs(273,23): error CS0161: 'BaseEvoMount.Damage(int, Mobile)'
: not all code paths return a value [C:\FrightNightServer\ServUO-master\Scripts\
Scripts.csproj]
Post automatically merged:

I have STILL been trying to get Xanthos Evo and shrink system to work for me. Ive been fixing all different kinds of codes. Does anyone think they can help me fix these? And yes I'm aware that I have the latest and this isnt "technically" for that but with rewording it could work. Just wondering if anyone else has figured it out?


Custom\ShrinkCommand.cs(141,27): error CS1503: Argument 1: cannot convert from '
Xanthos.ShrinkSystem.ShrinkTarget' to 'Server.ISpawnable' [C:\FrightNightServer\
ServUO-master\Scripts\Scripts.csproj]
Custom\HitchingPost.cs(33,76): error CS0117: 'ObjectPropertyList' does not conta
in a definition for 'Enabled' [C:\FrightNightServer\ServUO-master\Scripts\Script
s.csproj]
Custom\BaseEvo.cs(265,23): error CS0161: 'BaseEvo.Damage(int, Mobile)': not all
code paths return a value [C:\FrightNightServer\ServUO-master\Scripts\Scripts.cs
proj]
Custom\BaseMountEvo.cs(273,23): error CS0161: 'BaseEvoMount.Damage(int, Mobile)'
: not all code paths return a value [C:\FrightNightServer\ServUO-master\Scripts\
Scripts.csproj]
so I just decided to // out everything it was having problems with and it worked... I also took out the motd, the mercs, and the berserkai.
 
Last edited:
Commenting portions are okay and all, but if you are commenting the scripting problems then you are also taking away what could be used in the server as well. Partial coding is never good. When I get home I'll check my script and see what to be changed and updated. Most likely xanthos evos needs the latest coding methods.
 
Xanthos Evo is not supported for Pub57
The one that is currently published on ServUO isn't compatible yes, but it's quite easy to fix. @Zsu can you post your Baseevo and BaseEvoMount scripts. I need to see the actual line of code that it is targeting as an error. As for the Hitching post script that line it's referring to should be something like this
C#:
Expand Collapse Copy
public override bool ForceShowProperties{ get{ return true; }}
 
The one that is currently published on ServUO isn't compatible yes, but it's quite easy to fix. @Zsu can you post your Baseevo and BaseEvoMount scripts. I need to see the actual line of code that it is targeting as an error. As for the Hitching post script that line it's referring to should be something like this
C#:
Expand Collapse Copy
public override bool ForceShowProperties{ get{ return true; }}
Yes thank you!
 

Attachments

okay so @Zsu to fix these 2 you need to change

C#:
Expand Collapse Copy
base.Damage( amount, defender );

into

return base.Damage( amount, defender );

for both BaseMountEvo, and BaseEvo
Post automatically merged:

also post your shrinkcommand.cs so i can see what its referring to
 
Last edited:
okay so @Zsu to fix these 2 you need to change

C#:
Expand Collapse Copy
base.Damage( amount, defender );

into

return base.Damage( amount, defender );

for both BaseMountEvo, and BaseEvo
Post automatically merged:

also post your shrinkcommand.cs so i can see what its referring to
ok thanks you!!
 

Attachments

so the shrink command that line it is referring to should be changed from
C#:
Expand Collapse Copy
pet.Spawner.Remove( this );

to

pet.Spawner.Remove((ISpawnable)pet);
Post automatically merged:

I posted an updated version in the resources now, it's a simple drag and drop
 
Last edited:

Donations

Total amount
$50.00
Goal
$500.00

Shards

Back