Falkor

Member
Falkor submitted a new resource:

Mortis' NONPK Consenual PvP system from RunUO - Allows choice of participation in PvP activities

NOT my work -- saved from RunUO many years ago.

This system was for RunUO 2.0 and will require careful merging to use with ServUO. This is especially true for the playermobile edits which will involve new a new case for the ser/deser process. This system uses a new enum in playermobile rather than an account tag and the sample scripts show how to check and change this value with your own scripts.

The edits to notoriety.cs are the most crucial. In fact, I ended up writing a large...

Read more about this resource...
 
Errors: + Mobiles/PlayerMobile.cs: CS1519: Line 4332: Invalid token 'if' in class, struct, or interface member declaration CS1031: Line 4332: Type expected CS1519: Line 4332: Invalid token '29' in class, struct, or interface member declaration CS1519: Line 4334: Invalid token '=' in class, struct, or interface member declaration CS1519: Line 4334: Invalid token '=' in class, struct, or interface member declaration CS1519: Line 4334: Invalid token ';' in class, struct, or interface member declaration CS1519: Line 4335: Invalid token '=' in class, struct, or interface member declaration CS1519: Line 4335: Invalid token ';' in class, struct, or interface member declaration CS0116: Line 4339: A namespace cannot directly contain members such as fields or methods CS1518: Line 4341: Expected class, delegate, enum, interface, or struct CS0116: Line 4352: A namespace cannot directly contain members such as fields or methods CS1518: Line 4354: Expected class, delegate, enum, interface, or struct CS1022: Line 4355: Type or namespace definition, or end-of-file expected Scripts: One or more scripts failed to compile or no script files were found.
 

Attachments

  • PlayerMobile.cs
    160.8 KB · Views: 3
  • Notoriety.cs
    26.4 KB · Views: 3
in PlayerMobile.cs
on line 4056 and 4057 you need to remove the following

C#:
                        goto Case 28;
                    }

The same is repeated again on lines 4092 and 4093 (which are the ones that should be left alone I believe)
 
same errors... thing is i didnt add those. added those along time ago when adding other stuff and when trying to put this system in it gives me this and its referring to if verion 29 which that line i didnt even do anything too
Post automatically merged:

fixed some errors but still cant figure this out


C#:
Errors:
 + Mobiles/PlayerMobile.cs:
    CS0116: Line 4338: A namespace cannot directly contain members such as fields or methods
    CS1518: Line 4346: Expected class, delegate, enum, interface, or struct
    CS0116: Line 4357: A namespace cannot directly contain members such as fields or methods
    CS1518: Line 4359: Expected class, delegate, enum, interface, or struct
    CS1022: Line 4360: Type or namespace definition, or end-of-file expected
Scripts: One or more scripts failed to compile or no script files were found.
Post automatically merged:

i fixed it
 
Last edited:
Would there be a way to make it so whenever youre flagged PVP everyone who is also flagged PVP is orange to you? (Except guildmates and party)
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back