|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#201 (permalink) | |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
Quote:
[RunUO 2.0 RC1] XmlPoints - pvp dueling and challenge game system
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
|
#204 (permalink) |
|
Newbie
Join Date: Mar 2006
Posts: 21
|
RunUO - [www.runuo.com] Version 2.0, Build 2885.28247
Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...ScriptCompiler: CS1518: Se esperaba una clase, u n delegado, una enumeración, una interfaz o una estructura done (0 errors, 0 warnings) Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. i have this problem... with svn 265 help please! |
|
|
|
|
|
#205 (permalink) |
|
Newbie
Join Date: Dec 2005
Posts: 82
|
I getting this error after i put the scripts in
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 (5 errors, 7 warnings)
Warnings:
+ 2.0 CustomQuests/ElainQuest/Mobiles/Andora.cs:
CS0219: Line 34: The variable 'hairHue' is assigned but its value is never u
sed
+ 2.0 CustomQuests/ElainQuest/Mobiles/ErikSullivan.cs:
CS0219: Line 35: The variable 'hairHue' is assigned but its value is never u
sed
+ Fireworks/DefFirework.cs:
CS0219: Line 84: The variable 'index' is assigned but its value is never use
d
+ Knives Chat 3.0 Beta 9/General/MultiConnection.cs:
CS0168: Line 65: The variable 'e' is declared but never used
CS0168: Line 134: The variable 'e' is declared but never used
CS0168: Line 165: The variable 'e' is declared but never used
CS0168: Line 184: The variable 'e' is declared but never used
CS0168: Line 201: The variable 'e' is declared but never used
CS0168: Line 252: The variable 'e' is declared but never used
+ Knives Chat 3.0 Beta 9/Gumps/Error Reporting/Errors.cs:
CS0618: Line 91: 'System.Web.Mail.MailMessage' is obsolete: 'The recommended
alternative is System.Net.Mail.MailMessage. http://go.microsoft.com/fwlink/?lin
kid=14202'
CS0618: Line 91: 'System.Web.Mail.MailMessage' is obsolete: 'The recommended
alternative is System.Net.Mail.MailMessage. http://go.microsoft.com/fwlink/?lin
kid=14202'
CS0618: Line 102: 'System.Web.Mail.SmtpMail' is obsolete: 'The recommended a
lternative is System.Net.Mail.SmtpClient. http://go.microsoft.com/fwlink/?linkid
=14202'
+ Knives Chat 3.0 Beta 9/shadow and crystal items/shadow/ShadowBannerAddon.cs:
CS0168: Line 22: The variable 'ac' is declared but never used
CS0168: Line 93: The variable 'ac' is declared but never used
+ Yard and Garden System 10-05/Items/YardFountain.cs:
CS1717: Line 33: Assignment made to same variable; did you mean to assign so
mething else?
Errors:
+ custom/Xanthos/EVO System/Mercenary/Mercenary.cs:
CS0103: Line 430: The name 'NotorietyHandlers' does not exist in the current
context
+ Items/Misc/Corpses/Corpse.cs:
CS0103: Line 574: The name 'NotorietyHandlers' does not exist in the current
context
CS0103: Line 901: The name 'NotorietyHandlers' does not exist in the current
context
CS0103: Line 910: The name 'NotorietyHandlers' does not exist in the current
context
+ Engines/Quests/Uzeraan Turmoil/Items/SchmendrickApprenticeCorpse.cs:
CS0234: Line 118: The type or namespace name 'NotorietyHandlers' does not ex
ist in the namespace 'Server.Misc' (are you missing an assembly reference?)
+ Engines/Quests/Uzeraan Turmoil/Mobiles/MilitiaFighter.cs:
CS0234: Line 117: The type or namespace name 'NotorietyHandlers' does not ex
ist in the namespace 'Server.Misc' (are you missing an assembly reference?)
+ Engines/Quests/Witch Apprentice/Items/HagApprenticeCorpse.cs:
CS0103: Line 40: The name 'NotorietyHandlers' does not exist in the current
context
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
__________________
straight From The HiVe Djkb |
|
|
|
|
|
#206 (permalink) | |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
Quote:
It looks like you deleted or messed up your Notoriety.cs
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
|
#208 (permalink) | |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
Quote:
for example in CTF.cs Code:
public static bool OnlyInChallengeGameRegion = false; // if this is true, then the game can only be set up in a challenge game region
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
|
#209 (permalink) |
|
Lurker
Join Date: Oct 2006
Posts: 6
|
I am getting an error in the notoriety, can someone help?
Code:
// XmlPoints challenge mod if (XmlPoints.AreTeamMembers(source,target)) return Notoriety.Ally; else if (XmlPoints.AreChallengers(source,target)) return Notoriety.Enemy; Thanks. |
|
|
|
|
|
#210 (permalink) | ||
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
Quote:
you probably made this mod in the wrong place. You probably put it in the CorpseNotoriety method instead of the MobileNotoriety method. Quote:
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
||
|
|
|
|
|
#211 (permalink) |
|
Forum Novice
|
Hi arte.
There is a bug in Challenge region stone. On constructed m_ChallengeArea in RefreshRegions is null so is null even m_ChallengeRegion. On [Add you get a runtime error and in Deserialize you get a fatal exception. I suggest 2 simple "If ... != null" ^^ |
|
|
|
|
|
#212 (permalink) | |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
Quote:
Code:
public void RefreshRegions()
{
if (m_ChallengeRegion != null)
{
m_ChallengeRegion.Unregister();
}
if (m_ChallengeMap == null || m_ChallengeArea == null) return;
// define a new one based on the named region
m_ChallengeRegion = new ChallengeGameRegion(m_ChallengeRegionName, m_ChallengeMap, m_Priority, m_ChallengeArea);
// check for invalid area or map or region list
if (m_ChallengeRegion == null || m_ChallengeRegion.Area == null || m_ChallengeRegion.Map == null || Region.Regions == null) return;
for (int i = 0; i < m_ChallengeRegion.Area.Length; i++)
{
// check for invalid areas
Rectangle3D rect = m_ChallengeRegion.Area[i];
Point2D start = m_ChallengeRegion.Map.Bound(new Point2D(rect.Start));
Point2D end = m_ChallengeRegion.Map.Bound(new Point2D(rect.End));
Sector startSector = m_ChallengeRegion.Map.GetSector(start);
Sector endSector = m_ChallengeRegion.Map.GetSector(end);
if (startSector == null || endSector == null) return;
}
if (m_ChallengeRegion.Parent != null)
{
// check for invalid parent child list
if(m_ChallengeRegion.Parent.Children == null) return;
}
// update the new region properties with current values
m_ChallengeRegion.Music = m_Music;
m_ChallengeRegion.Disabled = m_Disable;
m_ChallengeRegion.Register();
}
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
|
#215 (permalink) |
|
Newbie
Join Date: Jul 2008
Age: 31
Posts: 35
|
OK patience is not my #1 virtue, I only read the first 4 pages lol. I have problem, which is close to a problem listed on page 2:
Its not been used as an exploit so far, but the problem is, by picking the Malas location, we can't even attack each other.... How do I fix this, or at least block the malas location (and any other non PVP) areas? |
|
|
|
|
|
#216 (permalink) |
|
Forum Novice
Join Date: Apr 2006
Posts: 188
|
Look in XMLPoints.cs. I know there is a check to block challenges in the Jail region. See if you can get anywhere with that. When I get home I'll check some more on it.
__________________
http://www.crypticrealms.com |
|
|
|
|
|
#217 (permalink) |
|
Lurker
Join Date: Sep 2005
Posts: 6
|
hiya
quick question for you on attachments im working ingame with XML attachments im trying to create a xmlminionstrike, that passes on properties to the spawned critters. for example, I want to put this on a monster: xmlminionstrike {drake/ATTACH/TEMPORARYQUESTOBJECT,NILMER,1} 100 so it would spawn creatures with a temporaryquestobject on them. tried using @, no success. any help would be appreciated. Big fan of yours btw arte, Ive created more amazing things with your xmlspawners ingame than most scripters can even imagine hardcoding. |
|
|
|
|
|
#218 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 52
|
Hey, i followed your instruction's step by step 3 and 4 times. I cant seem to get this thing working i am getting these error's... any help would be greatly appriciated. Thank you.
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527 Core: Running on .NET Framework Version 2.0.50727 Core: Optimizing for 2 processors Scripts: Compiling C# scripts...failed (3 errors, 0 warnings) Errors: + BaseArtifact.cs: CS0101: Line 7: The namespace 'Server.Items' already contains a definition f or 'Artifact' + StaffCloak.cs: CS0101: Line 11: The namespace 'Server.Items' already contains a definition for 'StaffCloak' + SimpleArtifact.cs: CS0101: Line 7: The namespace 'Server.Items' already contains a definition f or 'SimpleArtifact' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
|
|
|
|
|
#219 (permalink) |
|
Lurker
|
Whenever i start my server i get an error saying the 1of2 file has 3 errors heres the error report
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: + XML PvP point System/XmlPoints-20-v124b-1of2/XmlAttachments/XmlPoints.cs: CS0246: Line 22: The type or namespace name 'XmlAttachment' could not be fou nd (are you missing a using directive or an assembly reference?) CS0246: Line 1674: The type or namespace name 'ASerial' could not be found ( are you missing a using directive or an assembly reference?) CS0246: Line 1678: The type or namespace name 'Attachable' could not be foun d (are you missing a using directive or an assembly reference?) Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. Any ideas? ![]()
__________________
Reading this indicates you truly have no life :/ |
|
|
|
|
|
#220 (permalink) |
|
Forum Novice
Join Date: Oct 2007
Age: 28
Posts: 171
|
pls can someone help me, when i use [challenge mode, when one of duellist die the duel doesnt ends... good the reply was on this thread, many thx to author you are GOD
![]() for others who dont know [RunUO 2.0 RC1] XmlPoints - pvp dueling and challenge game system. but anyway, if someone dies, both reamins on same place, it would be good, if both players will be ported back :/ and ressurected
__________________
RUNUO rocks so hard ![]() Useful Merge Utility for installing distro files: winmerge.org Last edited by test444; 11-16-2008 at 09:45 AM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|