|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
|
I was attempting to edit a script by either Merlin* or GoldDraco13 to hold just standard reagents. I couldn't get it to work, and I am not a very good scripter, so if someone would help me out, I would be greatful. This system is based off of Merlins Ingot Box.
*** These scripts do not work, I uploaded them so someone could download them and look them over. Your Friend, Manix |
|
|
|
|
|
#2 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
you should post the exact errors that you are getting.
__________________
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 |
|
|
|
|
|
#3 (permalink) |
|
Forum Novice
|
There are quit a few errors to list, I don't know how to copy and paste all of them from the server screen, I would have to type each one. If I delete the two scripts, everything is fine.
You wouldn't happen to know of someone that creatured a reagent box for just standard would you? I am wanting to create just these box's: ▓Standard Reagent Box ▓Ingot Box (that can hold the custom ones too) ▓Leather Box (that again can hold custom) ▓Necro Reagent Box ▓Druid Reagent Box (I know there is only 2 druid reagents, but I want them to have their own special box for storing them, that is a different hue from the rest) ▓Boards Box (holds custom) ▓Gems Box (from the D2 System) |
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
to cut and paste errors from the console, just right click on the title bar and select the 'Edit->Select All' menu option and then the 'Edit->Copy' option.
(edit) also, pointing out exactly what you changed in the scripts would be helpful. In general, the more information that you can provide about the problem the easier it will be to get help on it.
__________________
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 |
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
|
All I changed in the scripts was, if it said iron, copper, shadow, etc. then I replaced it with a reagent type, like blood moss, black pearl, garlic, etc. And any word that said ingot I changed to reagent.
Here are the errors... RunUO - [www.runuo.com] Version 1.0.0, Build 36918 Scripts: Compiling C# scripts...failed (68 errors, 7 warnings) - Warning: Scripts\Items\Shields\BaseShield.cs: CS0108: (line 17, column 17) Th e keyword new is required on 'Server.Items.BaseShield.AugmentList' because it hi des inherited member 'Server.Items.BaseArmor.AugmentList' - Warning: Scripts\Items\Shields\BaseShield.cs: CS0114: (line 23, column 25) 'S erver.Items.BaseShield.SocketLabel' hides inherited member 'Server.Items.BaseArm or.SocketLabel'. To make the current member override that implementation, add th e override keyword. Otherwise add the new keyword. - Warning: Scripts\Items\Shields\BaseShield.cs: CS0108: (line 26, column 14) Th e keyword new is required on 'Server.Items.BaseShield.UsedSockets' because it hi des inherited member 'Server.Items.BaseArmor.UsedSockets' - Warning: Scripts\Items\Shields\BaseShield.cs: CS0108: (line 33, column 14) Th e keyword new is required on 'Server.Items.BaseShield.MaxSockets' because it hid es inherited member 'Server.Items.BaseArmor.MaxSockets' - Warning: Scripts\Custom\PSBook.cs: CS0162: (line 198, column 20) Unreachable code detected - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 100, column 5) The type or namespace name 'Basereagent' could not be found (are you missing a using direct ive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 101, column 10) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 103, column 28) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 104, column 6) The type or namespace name 'ingot' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 105, column 86) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 106, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 110, column 15) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 112, column 27) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 113, column 6) The type or namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 114, column 85) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 115, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 119, column 15) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 121, column 30) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 122, column 6) The type or namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 123, column 88) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 124, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 128, column 15) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 130, column 28) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 131, column 6) The type or namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 132, column 85) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 133, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 137, column 15) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 139, column 24) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 140, column 6) The type or namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 141, column 81) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 142, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 146, column 15) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 148, column 25) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 149, column 6) The type or namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 150, column 82) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 151, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 155, column 15) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 157, column 29) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 158, column 6) The type or namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 159, column 88) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 160, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 164, column 15) The name ' reagent' does not exist in the class or namespace 'Server.Items.ReagentBox' - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 166, column 30) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 167, column 6) The type or namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 168, column 88) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0246: (line 169, column 26) The type o r namespace name 'reagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\ReagentBox.cs: CS0103: (line 215, column 18) The name ' m_SulferousAshAmount' does not exist in the class or namespace 'Server.Items.Rea gentBox' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 48, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'IronAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 53, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'DullAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 58, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'ShadowAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 63, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'CopperAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 68, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'BronzeAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 73, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'GoldAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 78, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'AgapiteAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 83, column 9) 'Server.I tems.ReagentBox' does not contain a definition for 'VeriteAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 115, column 33) The typ e or namespace name 'BlackPearlReagent' could not be found (are you missing a us ing directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 117, column 9) 'Server. Items.ReagentBox' does not contain a definition for 'IronAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 139, column 31) The typ e or namespace name 'BlackPearlreagent' could not be found (are you missing a us ing directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 167, column 33) The typ e or namespace name 'BloodMossReagent' could not be found (are you missing a usi ng directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 191, column 31) The typ e or namespace name 'BloodMossReagent' could not be found (are you missing a usi ng directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 219, column 33) The typ e or namespace name 'SulfurousAshReagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 243, column 31) The typ e or namespace name 'SulfurousAshReagents' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 271, column 33) The typ e or namespace name 'NightshadeReagent' could not be found (are you missing a us ing directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0117: (line 273, column 9) 'Server. Items.ReagentBox' does not contain a definition for 'CopperAmount' - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 295, column 31) The typ e or namespace name 'NightshadeReagent' could not be found (are you missing a us ing directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 323, column 33) The typ e or namespace name 'GarlicReagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 347, column 31) The typ e or namespace name 'GarlicReagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 375, column 33) The typ e or namespace name 'GinsengReagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 399, column 31) The typ e or namespace name 'GinsengIngot' could not be found (are you missing a using d irective or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 427, column 33) The typ e or namespace name 'SpidersSilkReagent' could not be found (are you missing a u sing directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 451, column 31) The typ e or namespace name 'SpidersSilkReagent' could not be found (are you missing a u sing directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 479, column 33) The typ e or namespace name 'MandrakeRootReagent' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Gumps\ReagentBoxGump.cs: CS0246: (line 503, column 31) The typ e or namespace name 'MandrakeRootreagent' could not be found (are you missing a using directive or an assembly reference?) - Warning: Scripts\Gumps\SetableWebStoneGump.cs: CS0642: (line 40, column 53) P ossible mistaken null statement - Warning: Scripts\Gumps\SetableWebStoneGump.cs: CS0168: (line 129, column 14) The variable 'Display' is declared but never used Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
|
|
|
|
|
#10 (permalink) |
|
ok compare the 2 in winmerge and see where mine differs from yours it took me 5 or so minutes to go thru them
Some were places where the ReagentReagent didn't need the 2nd Reagent ie BloodMossReagent is not a valid Item it's just BloodMoss Some were points where you missed removing the ingot or ore type from the script and capitalization on certain items |
|
|
|
|
|
|
#11 (permalink) |
|
Forum Novice
|
I looking in on the scripts that I downloaded, and it looks like the same thing I did, exactly. I don't know why mine wouldn't work.
"Probably because my computer doesn't like me anymore, being to over worked" Your Friend, Manix |
|
|
|
|
|
#15 (permalink) |
|
Forum Novice
|
You wouldn't happen to know where the other box's are that I mentioned would you. I seen the one that it was One Box for All Resources. But I don't want that. I want people to have their own box's. If someone doesn't use standard reagents, boards, ingots, etc. then they have a giant empty box with only Necro Reagents in it.
*Just makes like more organized |
|
|
|
|
|
#20 (permalink) | |
|
Forum Expert
Join Date: Apr 2004
Location: Another state of mind
Age: 27
Posts: 2,875
|
Quote:
![]() It allows for Ingots, Granites, Logs, Boards, Regs and Misc. Easily added to lists. It comes ready for base resources, with commented out stuff for daat99's customs, and druid regs. It can be found here. |
|
|
|
|
|
|
#24 (permalink) | |
|
Forum Expert
Join Date: Apr 2004
Location: Another state of mind
Age: 27
Posts: 2,875
|
Quote:
![]() Check my post of the ResourceBox I linked to in this thread. I have added individual boxes for Ingots, Granite, Logs/Boards, Scales and reagents. |
|
|
|
|