Candy Apple

Member
--------------------------------------------------------------------------------

ServUO - [ServUO - Ultima Online Emulation] Version 0.5, Build 6437.20990
Publish 54
Core: Optimizing for 4 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 1 errors, 0 warnings
Errors:
+ Custom/Loose scripts/GenderChangeToken.cs:
CS1002: Line 9: ; expected
CS1002: Line 10: ; expected
CS1002: Line 12: ; expected
CS1519: Line 12: Invalid token ')' in class, struct, or interface member dec
laration
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

I am not sure what went wrong here
 

Attachments

  • GenderChangeToken.cs
    6.8 KB · Views: 4
try replacing those 3 lines with:

C#:
        public override int LabelNumber { get { return 1070997; } } // a promotional token
        public TextDefinition ItemName { get { return 1075252; } } // gender change

        public Type GumpType { get { return typeof(GenderChangeConfirmGump); } }
 
try replacing those 3 lines with:

C#:
        public override int LabelNumber { get { return 1070997; } } // a promotional token
        public TextDefinition ItemName { get { return 1075252; } } // gender change

        public Type GumpType { get { return typeof(GenderChangeConfirmGump); } }
did that and got this line 7
--------------------------------------------------------------------------------

ServUO - [ServUO - Ultima Online Emulation] Version 0.5, Build 6437.20990
Publish 54
Core: Optimizing for 4 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 1 errors, 6 warnings
Warnings:
+ Custom/Loose scripts/Stripper.cs:
CS0105: Line 11: The using directive for 'Server.Misc' appeared previously i
n this namespace
+ Items/Tools/ProspectorsTool.cs:
CS0105: Line 4: The using directive for 'Server.Engines.Harvest' appeared pr
eviously in this namespace
+ Quests/2Quest of the Months/Feb.Quest/Sara/EvilCupid1.cs:
CS0105: Line 9: The using directive for 'Server.Items' appeared previously i
n this namespace
+ Quests/2Quest of the Months/Jan.July.Quest/Baby Quest/Mother.cs:
CS0105: Line 8: The using directive for 'Server.ContextMenus' appeared previ
ously in this namespace
+ Quests/SaturnQuest/Mobiles & Quest Items/NebulasRing.cs:
CS0105: Line 6: The using directive for 'System' appeared previously in this
namespace
+ Quests/[ServUO.com]-GraniteFurnessAddon.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this
namespace
Errors:
+ Custom/Loose scripts/GenderChangeToken.cs:
CS0246: Line 7: The type or namespace name 'IPromotionalToken' could not 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.
- Press return to exit, or R to try again.
 

Attachments

  • GenderChangeToken.cs
    6.9 KB · Views: 2
The gender change token in servuo requires the following script PromotionalToken.cs to work
I think it should be just drag and drop from browsing through it. Here is mine from an older version which should work better for you than the one in the current repo.
 

Attachments

  • PromotionalToken.cs
    3.2 KB · Views: 5
The gender change token in servuo requires the following script PromotionalToken.cs to work
I think it should be just drag and drop from browsing through it. Here is mine from an older version which should work better for you than the one in the current repo.
thanks ill let you know
Post automatically merged:

The gender change token in servuo requires the following script PromotionalToken.cs to work
I think it should be just drag and drop from browsing through it. Here is mine from an older version which should work better for you than the one in the current repo.
Nope nothing works
 
Last edited:

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back