night_owl
Page
havin a small prob addin this to the RunUO-2.1 + Nerun'sDistro r11 this is the error im havin
RunUO - [www.runuo.com] Version 2.1, Build 3995.28114
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 2 warnings)
Warnings:
+ Customs/costums/BaseCostume.cs:
CS0114: Line 81: 'Server.Items.BaseCostume.Dye(Server.Mobile, Server.Items.D
yeTub)' hides inherited member 'Server.Items.BaseClothing.Dye(Server.Mobile, Ser
ver.Items.DyeTub)'. To make the current member override that implementation, add
the override keyword. Otherwise add the new keyword.
+ Customs/Alpha Gold Ledger.cs:
CS0429: Line 375: Unreachable expression code detected
Errors:
+ Spells/Base/Spell.cs:
CS0118: Line 789: 'Server.Items.Backpack' is a 'type' but is used like a 'va
riable'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
it did say pack i added Back to it that killed most of the error but now its sayin that any ideas ? if i take the Back part out i get this error CS0103: line 794: the name 'pack' does not exist in the current context
k error fixed for anyone else who uses the neron autospawner version its line 241 before return false; you wanna place it there for the Spells.cs add lines
RunUO - [www.runuo.com] Version 2.1, Build 3995.28114
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 2 warnings)
Warnings:
+ Customs/costums/BaseCostume.cs:
CS0114: Line 81: 'Server.Items.BaseCostume.Dye(Server.Mobile, Server.Items.D
yeTub)' hides inherited member 'Server.Items.BaseClothing.Dye(Server.Mobile, Ser
ver.Items.DyeTub)'. To make the current member override that implementation, add
the override keyword. Otherwise add the new keyword.
+ Customs/Alpha Gold Ledger.cs:
CS0429: Line 375: Unreachable expression code detected
Errors:
+ Spells/Base/Spell.cs:
CS0118: Line 789: 'Server.Items.Backpack' is a 'type' but is used like a 'va
riable'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Code:
//pass the task of finding/consuming reagents to a static method in BaseStoreKey. This allows the system to scan
//all keys in your backpack for any reagents, and pick what it needs from each one. Also, it will doublecheck the
//backpack in case not everythinhg was found in the keys, but the rest is lying loose in the backpack
if( BaseStoreKey.Consume( Backpack, m_Info.Reagents, m_Info.Amounts ) )
{
return true;
}
else
{
DoFizzle();
}
return false;
}
k error fixed for anyone else who uses the neron autospawner version its line 241 before return false; you wanna place it there for the Spells.cs add lines