zerodowned

Moderator
Updating these two to work with the newest repo of Servuo.

Note:
1) XML Attach use to be included with the repo but was recently taken out. I had to make a small edit to get it working
2) For XML Level Item to work correctly it requires edits to BaseCreature, BaseWeapon, BaseArmor etc

Redundant Note: You need XmlAttach for XmlLevelItem
 

Attachments

  • XmlAttach.zip
    19.3 KB · Views: 140
  • XmlLevelItem.zip
    16.4 KB · Views: 124
using this XmlAttach.cs file in pub58 and recieving this error
3>D:\Current\58\Scripts\Customs\XmlLevelItem\XmlAttach\XmlAttach.cs(2386,17,2386,22): error CS0029: Cannot implicitly convert type 'int' to 'Server.Serial'

Line 2386 reads
Serial s = value;


any help would be greatly appreciated.
 
I have this same issue "Cannot implicitly convert type 'int' to 'Server.Serial' " in a bunch of scripts. Using pub58.
 

VToday at 11:34 AM​

use new Serial( value ) explicitly, and/or pvSrc.ReadSerial()
This worked for me as I had to use ReadSerial in a couple spots.
 
Its giving an error as

ServUO-master/Scripts/Custom/Xml/XmlAttach/XmlAttach.cs(51,51): Error CS0117: 'XmlSpawner' does not contain a definition for 'Version' (CS0117) (Scripts)

line 2599
 
Last edited:
I dont think my server likes these attachments.... 46errors
please Help!
 

Attachments

  • Errors.txt
    43.5 KB · Views: 11

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back