RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[2.0] Diablo Style Socket System

Dutch50

Wanderer
I followed the directions but I am getting this error, I am sure I its something
simple, but I can't figure it out right now
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Misc/LootPack.cs:
    CS1520: Line 372: Class, struct, or interface method must have a return type

    CS1031: Line 372: Type expected
    CS1519: Line 372: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 382: Class, struct, or interface method must have a return type

    CS1031: Line 382: Type expected
    CS1519: Line 382: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 383: Class, struct, or interface method must have a return type

    CS1031: Line 383: Type expected
    CS1519: Line 383: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 394: Class, struct, or interface method must have a return type

    CS1031: Line 394: Type expected
    CS1519: Line 394: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 395: Class, struct, or interface method must have a return type

    CS1031: Line 395: Type expected
    CS1519: Line 395: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 396: Class, struct, or interface method must have a return type

    CS1031: Line 396: Type expected
    CS1519: Line 396: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 407: Class, struct, or interface method must have a return type

    CS1031: Line 407: Type expected
    CS1519: Line 407: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 408: Class, struct, or interface method must have a return type

    CS1031: Line 408: Type expected
    CS1519: Line 408: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 409: Class, struct, or interface method must have a return type

    CS1031: Line 409: Type expected
    CS1519: Line 409: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 410: Class, struct, or interface method must have a return type

    CS1031: Line 410: Type expected
    CS1519: Line 410: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 424: Class, struct, or interface method must have a return type

    CS1031: Line 424: Type expected
    CS1519: Line 424: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 425: Class, struct, or interface method must have a return type

    CS1031: Line 425: Type expected
    CS1519: Line 425: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 426: Class, struct, or interface method must have a return type

    CS1031: Line 426: Type expected
    CS1519: Line 426: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 427: Class, struct, or interface method must have a return type

    CS1031: Line 427: Type expected
    CS1519: Line 427: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 428: Class, struct, or interface method must have a return type

    CS1031: Line 428: Type expected
    CS1519: Line 428: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 442: Class, struct, or interface method must have a return type

    CS1031: Line 442: Type expected
    CS1519: Line 442: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 443: Class, struct, or interface method must have a return type

    CS1031: Line 443: Type expected
    CS1519: Line 443: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 444: Class, struct, or interface method must have a return type

    CS1031: Line 444: Type expected
    CS1519: Line 444: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 445: Class, struct, or interface method must have a return type

    CS1031: Line 445: Type expected
    CS1519: Line 445: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 446: Class, struct, or interface method must have a return type

    CS1031: Line 446: Type expected
    CS1519: Line 446: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 464: Class, struct, or interface method must have a return type

    CS1031: Line 464: Type expected
    CS1519: Line 464: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 465: Class, struct, or interface method must have a return type

    CS1031: Line 465: Type expected
    CS1519: Line 465: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 466: Class, struct, or interface method must have a return type

    CS1031: Line 466: Type expected
    CS1519: Line 466: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 467: Class, struct, or interface method must have a return type

    CS1031: Line 467: Type expected
    CS1519: Line 467: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 468: Class, struct, or interface method must have a return type

    CS1031: Line 468: Type expected
    CS1519: Line 468: Invalid token ',' in class, struct, or interface member de
claration
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Misc/LootPack.cs:
    CS1520: Line 372: Class, struct, or interface method must have a return type

    CS1031: Line 372: Type expected
    CS1519: Line 372: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 382: Class, struct, or interface method must have a return type

    CS1031: Line 382: Type expected
    CS1519: Line 382: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 383: Class, struct, or interface method must have a return type

    CS1031: Line 383: Type expected
    CS1519: Line 383: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 394: Class, struct, or interface method must have a return type

    CS1031: Line 394: Type expected
    CS1519: Line 394: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 395: Class, struct, or interface method must have a return type

    CS1031: Line 395: Type expected
    CS1519: Line 395: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 406: Class, struct, or interface method must have a return type

    CS1031: Line 406: Type expected
    CS1519: Line 406: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 407: Class, struct, or interface method must have a return type

    CS1031: Line 407: Type expected
    CS1519: Line 407: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 408: Class, struct, or interface method must have a return type

    CS1031: Line 408: Type expected
    CS1519: Line 408: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 409: Class, struct, or interface method must have a return type

    CS1031: Line 409: Type expected
    CS1519: Line 409: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 423: Class, struct, or interface method must have a return type

    CS1031: Line 423: Type expected
    CS1519: Line 423: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 424: Class, struct, or interface method must have a return type

    CS1031: Line 424: Type expected
    CS1519: Line 424: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 425: Class, struct, or interface method must have a return type

    CS1031: Line 425: Type expected
    CS1519: Line 425: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 426: Class, struct, or interface method must have a return type

    CS1031: Line 426: Type expected
    CS1519: Line 426: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 427: Class, struct, or interface method must have a return type

    CS1031: Line 427: Type expected
    CS1519: Line 427: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 441: Class, struct, or interface method must have a return type

    CS1031: Line 441: Type expected
    CS1519: Line 441: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 442: Class, struct, or interface method must have a return type

    CS1031: Line 442: Type expected
    CS1519: Line 442: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 443: Class, struct, or interface method must have a return type

    CS1031: Line 443: Type expected
    CS1519: Line 443: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 444: Class, struct, or interface method must have a return type

    CS1031: Line 444: Type expected
    CS1519: Line 444: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 445: Class, struct, or interface method must have a return type

    CS1031: Line 445: Type expected
    CS1519: Line 445: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 463: Class, struct, or interface method must have a return type

    CS1031: Line 463: Type expected
    CS1519: Line 463: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 464: Class, struct, or interface method must have a return type

    CS1031: Line 464: Type expected
    CS1519: Line 464: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 465: Class, struct, or interface method must have a return type

    CS1031: Line 465: Type expected
    CS1519: Line 465: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 466: Class, struct, or interface method must have a return type

    CS1031: Line 466: Type expected
    CS1519: Line 466: Invalid token ',' in class, struct, or interface member de
claration
    CS1520: Line 467: Class, struct, or interface method must have a return type

    CS1031: Line 467: Type expected
    CS1519: Line 467: Invalid token ',' in class, struct, or interface member de
claration
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 
either post your lootpack code, or use this file of mine

I have it set to drop a good bit of gems, so check the first post to see how to adjust.

In the future, you might want to use something like winmerge, or my favorite, compareit to add items to a script
 

Attachments

  • LootPack.cs
    35.1 KB · Views: 53

HomeDaddy

Wanderer
camberman2003 said:
In the future, you might want to use something like winmerge, or my favorite, compareit to add items to a script

Thanks for the tip on this one, I grabbed CompareIt, and its an excelent app, and make it sooooo easy to incorporate changes from 2 different custom files into the original.

Thanks
 
Top