Resource icon

Mortis' NONPK Consenual PvP system from RunUO 2.1

No permission to download

Falkor

Well-Known Member
Apr 11, 2018
217
75
wpshard.com
Shard Name
Whispering Pines
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...
 

billy

Well-Known Member
May 22, 2014
46
9
30
Concord, New Hampshire
Shard Name
darklights

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

Visam

Well-Known Member
Mar 19, 2015
278
55
47
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)
 

billy

Well-Known Member
May 22, 2014
46
9
30
Concord, New Hampshire
Shard Name
darklights
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: