Description:
This system makes use of the XmlSpawner2 attachment system and the XmlSpawner2 package must be installed to support it. You dont need to use the xmlspawners themselves, and it doesnt matter whether you use the standard distribution spawners or any other spawning system but you do need the XmlSpawner2 package installed.
Because the attachment system neither requires nor makes any changes to serialization/deserializations of any item or mobile (including the playermobile), it can be safely added and removed at any time now or in the future without interfering with any other systems that you might have installed and that includes any existing points system.
Found this on the xmlspawner thread.Latest News:
If you get an error like this on startup
Cannot implicitly convert type 'System.Collections.ArrayList' to 'System.Collections.Generic.List<Server.Tile>'
it means that you are running RunUO 2.0 RC1 instead of RC2 or the most recent SVN and you just need to uncomment this line at the beginning of xmlspawner2.cs
//#define RUNUO2RC1
so that it looks like
#define RUNUO2RC1
You will also need to comment out this line at the beginning of XmlQuestHolder.cs and PacketHandlerOverrides.cs because RC1 doesnt support UO clients beyond 6.0.1.7
#define CLIENT6017
so that it looks like
//#define CLIENT6017
Pr3d13;866588 said:its because you are running svn and not 2.0 rc1, look at the 2.0 and svn scripts for complete customizable vendor you should get an idea of what you need to change stuff to.
edit:
Found this on the xmlspawner thread.
http://www.runuo.com/community/thre...-and-challenge-game-system.70114/#post-541908hello im having some problems with this script i have everything installed and i think i may have missed something.. when a player kill another player the kills nor deaths are recorded can anyone help me?
If the points system for the player isn't added to create duel it will be impossible.[challenge - this command can be run by players to allow challenge duels for points. Just issue the command and target another player. The targeted player can then accept or decline the challenge. This can also be invoked through the points gump.
[addallpoints - this command will add the xmlpoints attachment to all current players that dont have it yet and can only be run by an administrator.
STEP 1:Have an issue where my players will duel eachother, and after one dies, the duel doesn't end. Staff has to pull them out of the duel, and then they are still flagged to eachother and can kill eachother wherever, whenever until we restart. I followed all of the instructions perfectly, and only modified logging kills and duel locations inside xmlpoints.cs. I'm using the latest SVN (runuo 2.1)
Attached is my xmlpoints.cs, playermobile.cs, and notoriety.cs [too big to put in code tags]
Any clue what's going on?
STEP 6: (recommended but not required)
--------------------------------------
To allow the XmlQuest killtask keywords KILL and KILLNAMED to be applied to players providing a contract kill system, one line must be added to ReportMurderer.cs (Scripts/Gumps/ReportMurderer.cs) as described below (note, you dont have to make this mod if you dont want to, the spawner and other items will work just fine without it, the KILL and KILLNAMED features simply wont work when specifying players as the targets).
This is also required to allow the attachment system to register kills (through the OnKill or OnKilled methods). Some addons such as XmlPoints require this.
around line 64 of ReportMurderer.cs change
Titles.AwardKarma( g, karmaAward, true );
to
Titles.AwardKarma( g, karmaAward, true );
// modification to support XmlQuest Killtasks of players
Server.Items.XmlQuest.RegisterKill( m, g);
RunUO - [www.runuo.com] Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ XmlPoints-20-v124b-1of2/XmlAttachments/XmlPoints.cs:
CS0246: Line 22: 'XmlAttachment' tür veya ad alanı adı bulunamadı (bir kulla
nma yönergeniz veya derleme başvurunuz mu eksik?)
CS0246: Line 1680: 'ASerial' tür veya ad alanı adı bulunamadı (bir kullanma
yönergeniz veya derleme başvurunuz mu eksik?)
CS0246: Line 1684: 'Attachable' tür veya ad alanı adı bulunamadı (bir kullan
ma yönergeniz veya derleme başvurunuz mu eksik?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.