RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Unidentified Items For AOS Servers.

RoninGT

Sorceror
Readme? lol i just updated that today. Ill check it again thanks.

Ronin

EDIT: Thanks i see what i was missing lol, I updated it thanks again.
 

Pablo

Wanderer
love your script, i always missed the itemid on OSI after the AOS update, and dropped my GM ItemId off of my Smith, which really irked me.

just one thing, after downloading had errors and warnings, with the personal bless deed, just had to add the lines form base armour and weapon .cs in order for it to work and runs like a charm now, anyways love your script, brings back memories of the old OSI days......
 

kiknarse

Wanderer
Very nice

This is a very nice script.

I never knew UO made ItemID obselete until I read this thread. Boy they screwed up again.

First time was killing the thievery class and skills,
second time was taking all the magic "STUFFS" out of the world,
third time was destroying UO by splitting it into Felucca and Trammel,

Quit shortly after Trammel came out,
couldn't stand them ruining the game anymore.('96-'99).

Just started UO again with all you kind folks out there writing fine scripts and RunUO is awesome.

One HUGE request
there is a population of about 50,000 lost souls that needs and Earth and Beyond Emulator someone please help.
 

hellspawn

Wanderer
Nice job really!

I tested it and saw that with 30.0 in the skill you can identify everything... there is a manner to increase a little the difficulty?
 

LordHogFred

Knight
How would I do this in RUO 1.0.0
The CraftItem.cs has been changed and no longer contains the code
Code:
					if ( item is BaseWeapon )
					{
						BaseWeapon weapon = ( BaseWeapon )item;
						weapon.Quality = (WeaponQuality)quality;
						endquality = quality;
Or
Code:
					else if ( item is BaseArmor )
					{
						BaseArmor armor = ( BaseArmor )item;
						armor.Quality = (ArmorQuality)quality;
						endquality = quality;

So where should I put the code that tells UO that crafted items are automatically identified?

Chz :),
 

Kamron

Knight
I think it should be recoded to make the items identified in the constructor, then you can unidentify it in your loot script... You will have more control that way, and since you are only making loot unidentified, it should be good. Then if staff want to add an unidentified, they can do
[add weaponhere set identified false

This system is still pretty incomplete. I am debating whether to release my version of the system or not ;)
 

LordHogFred

Knight
XxSP1DERxX said:
I think it should be recoded to make the items identified in the constructor, then you can unidentify it in your loot script... You will have more control that way, and since you are only making loot unidentified, it should be good. Then if staff want to add an unidentified, they can do
[add weaponhere set identified false

This system is still pretty incomplete. I am debating whether to release my version of the system or not ;)


Ok chz,

If your system is more flexible than this and easier to use with RUO 1.0.0 please submit it :D


Chz :),
 

RoninGT

Sorceror
Find in CraftItem.cs
Code:
				if ( item != null )
				{
					if( item is ICraftable )
						endquality = ((ICraftable)item).OnCraft( quality, makersMark, from, craftSystem, typeRes, tool, this, resHue );

					if ( item.Hue == 0 )
						item.Hue = resHue;

					if ( maxAmount > 0 )
						item.Amount = maxAmount;

Make it look like this
Code:
				if ( item != null )
				{
					if( item is ICraftable )
						endquality = ((ICraftable)item).OnCraft( quality, makersMark, from, craftSystem, typeRes, tool, this, resHue );

					if ( item.Hue == 0 )
						item.Hue = resHue;

					if ( maxAmount > 0 )
						item.Amount = maxAmount;

					if ( item is BaseWeapon )
					{
						BaseWeapon bw = (BaseWeapon)item;
						bw.Identified = true;
					}

					if ( item is BaseArmor )
					{
						BaseArmor ba = (BaseArmor)item;
						ba.Identified = true;
					}

					if ( item is BaseJewel )
					{
						BaseJewel bj = (BaseJewel)item;
						bj.Identified = true;
					}

					from.AddToBackpack( item );

					//from.PlaySound( 0x57 );
				}

Ronin
 

Kamron

Knight
If you insist LordHogFred, then I will release it. I am not home, although when I am, I will put it all together and submit it.
 

X-SirSly-X

Sorceror
XxSP1DERxX said:
If you insist LordHogFred, then I will release it. I am not home, although when I am, I will put it all together and submit it.


Are you still going to release this system? Please do =)

-Sly
 

Kamron

Knight
Yeah, I have been busy.. I will do it now

EDIT: Runuo.com was down, and I am not home. I will post it when I get home later tonight.
 

pivna

Sorceror
Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (9 errors, 0 warnings)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Engines\Factions\Items
\Traps\BaseFactionTrapDeed.cs: CS0246: (line 10, column 52) The type or namespac
e name 'ICraftable' could not be found (are you missing a using directive or an
assembly reference?)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Containers\Locka
bleContainer.cs: CS0246: (line 8, column 89) The type or namespace name 'ICrafta
ble' could not be found (are you missing a using directive or an assembly refere
nce?)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Armor\BaseArmor.
cs: CS0246: (line 11, column 42) The type or namespace name 'IArmor' could not b
e found (are you missing a using directive or an assembly reference?)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Clothing\BaseClo
thing.cs: CS0246: (line 24, column 82) The type or namespace name 'ICraftable' c
ould not be found (are you missing a using directive or an assembly reference?)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Deeds\DragonBard
ingDeed.cs: CS0246: (line 9, column 41) The type or namespace name 'ICraftable'
could not be found (are you missing a using directive or an assembly reference?)

 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Maps\MapItem.cs:
 CS0246: (line 11, column 31) The type or namespace name 'ICraftable' could not
be found (are you missing a using directive or an assembly reference?)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Skill Items\Musi
cal Instruments\BaseInstrument.cs: CS0246: (line 20, column 47) The type or name
space name 'ICraftable' could not be found (are you missing a using directive or
 an assembly reference?)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Skill Items\Magi
cal\Potions\BasePotion.cs: CS0246: (line 31, column 43) The type or namespace na
me 'ICraftable' could not be found (are you missing a using directive or an asse
mbly reference?)
 - Error: c:\Documents and Settings\Jára\Plocha\j\Scripts\Items\Skill Items\Magi
cal\Runebook.cs: CS0246: (line 11, column 44) The type or namespace name 'ICraft
able' could not be found (are you missing a using directive or an assembly refer
ence?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

know what fills?
 

Leenk

Wanderer
im having a problem adding this to my server here is the eror im getting
RunUO - [www.runuo.com] Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...ScriptCompiler: CS1519: Invalid token '100.00' i
n class, struct, or interface member declaration
ScriptCompiler: CS1520: Class, struct, or interface method must have a return ty
pe
ScriptCompiler: CS1031: Type expected
ScriptCompiler: CS1519: Invalid token ',' in class, struct, or interface member
declaration
ScriptCompiler: CS1520: Class, struct, or interface method must have a return ty
pe
ScriptCompiler: CS1031: Type expected
ScriptCompiler: CS1519: Invalid token ',' in class, struct, or interface member
declaration
ScriptCompiler: CS1520: Class, struct, or interface method must have a return ty
pe
ScriptCompiler: CS1031: Type expected
ScriptCompiler: CS1519: Invalid token ',' in class, struct, or interface member
declaration
ScriptCompiler: CS1520: Class, struct, or interface method must have a return ty
pe
ScriptCompiler: CS1031: Type expected
ScriptCompiler: CS1519: Invalid token ',' in class, struct, or interface member
declaration
ScriptCompiler: CS0116: A namespace does not directly contain members such as fi
elds or methods
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1001: Identifier expected
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS0116: A namespace does not directly contain members such as fi
elds or methods
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1001: Identifier expected
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1518: Expected class, delegate, enum, interface, or struct
ScriptCompiler: CS1022: Type or namespace definition, or end-of-file expected
ScriptCompiler: CS0101: The namespace 'Server' already contains a definition for
'LootPack'
ScriptCompiler: CS0101: The namespace 'Server.Items' already contains a definiti
on for 'ItemIdentification'
ScriptCompiler: CS0102: The type 'Server.Items.ItemIdentification' already conta
ins a definition for 'InternalTarget'
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.
can you help me figure this out thankyou
 
Top