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.
djkillerbee;732029 said:I getting this error after i put the scripts inCode: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.
djkillerbee;732036 said:oh dam haha thank you its all good now one more thing for the games we have an already made arena how would i set the games up for that does each one have a gump to set areas
public static bool OnlyInChallengeGameRegion = false; // if this is true, then the game can only be set up in a challenge game region
// XmlPoints challenge mod
if (XmlPoints.AreTeamMembers(source,target))
return Notoriety.Ally;
else
if (XmlPoints.AreChallengers(source,target))
return Notoriety.Enemy;
xScortchx;734472 said: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;
It says that the arguments are invalid.
Thanks.
and in the MobileNotoriety method around line 279 change
if ( target.Criminal )
return Notoriety.Criminal;
to
if ( target.Criminal )
return Notoriety.Criminal;
// XmlPoints challenge mod
if(XmlPoints.AreTeamMembers(source,target))
return Notoriety.Ally;
else
if(XmlPoints.AreChallengers(source,target))
return Notoriety.Enemy;
Varchild;736669 said: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"
^^
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 ([COLOR="Red"]m_ChallengeRegion == null ||[/COLOR] 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();
}
Melantus;608959 said:We are find little expoit. This system make possible PK travel to continent Malas and hunt here. Red's simply use
[challenge command, choose luna grand arena, next leave this location and hunt freely