Candy Apple

Member
I do not know why it keeps telling me this because the script is no different than the other one's I been working on. If someone could tell me how to fix this. One sill error will have you thinking and trying all night LOL
 

Attachments

  • Untitled.png
    Untitled.png
    124.3 KB · Views: 8
  • DecemberQuest.cs
    2.8 KB · Views: 6
error
+ Quests/Holiday Quest/12 Days of Christmas Quest/Mobiles/DecemberQuest.cs:
CS1031: Line 58: Type expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Attachments

  • DecemberQuest.cs
    3.1 KB · Views: 2
Tell me if it compiles
--------------------------------------------------------------------------------
ServUO - [http://www.servuo.com] 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:
+ Quests/Holiday Quest/12 Days of Christmas Quest/Mobiles/DecemberQuest.cs:
CS1514: Line 13: { expected
CS1026: Line 67: ) expected
CS1513: Line 118: } expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
It is strange thoe because its the same as the other one I have working for a diff Quest.
 
Last edited:
in your first post i noticed this...
On line 64 you are missing what is being dropped..
C#:
                if (dropped is  )
                {
                    if (dropped.Amount != 1)
                        this.PrivateOverheadMessage(MessageType.Regular, 1153, false, "There's not the right amount here!", mobile.NetState); return false;
                }
and you are missing a } Close Bracket at the end of the script
not sure if thats all thats missing. i dont have alot of what's in the script, but thats from a quick glance
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back