|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#4 (permalink) |
|
Newbie
Join Date: Nov 2005
Age: 21
Posts: 94
|
I edited oreinfo, ore, ingots, defblacksmithy, and it works just fine, its colorizing items, can be metled etc, but ore and ingots dont have any name...
its writen : Exceptional `1_oretype``2_armortype' where the name of metal should be... any one know what is going on? edit i edited basearmor and weapon as well but the problem is the same, name of ore/ingots are strange... Last edited by Nataq; 12-09-2005 at 05:13 PM. |
|
|
|
|
|
#6 (permalink) |
|
Newbie
Join Date: Nov 2005
Age: 21
Posts: 94
|
Is there anyone who could answer my question? :/
Code:
public override void AddNameProperty( ObjectPropertyList list )
{
if ( Amount > 1 )
list.Add( 1050039, "{0}\t#{1}", Amount, 1027154 ); // ~1_NUMBER~ ~2_ITEMNAME~
else
list.Add( 1027154 ); // ingots
}
Code:
public override void AddNameProperty( ObjectPropertyList list )
{
if ( Amount > 1 )
list.Add( 1050039, "{0}\t#{1}", Amount, 1026583 ); // ~1_NUMBER~ ~2_ITEMNAME~
else
list.Add( 1026583 ); // ore
}
My new custom ore (Blaradian) dont have got name in ores, ingots and crafted items.... plz help |
|
|
|
|
|
#7 (permalink) | |
|
Account Terminated
|
Quote:
Without the entire class I cannot help you, but you still should use a system written by somebody, to avoid issues like this. Anyways this is wrong: Code:
list.Add( 1050039, "{0}\t#{1}", Amount, 1027154 ); // ~1_NUMBER~ ~2_ITEMNAME~
|
|
|
|
|
|
|
#11 (permalink) |
|
Master of the Internet
|
theres use to be a realy good tutorial, doubt its accurate anymore though
i suggest downloading daats system and looking at how hes changed the files and then based on his edits, create your own
__________________
Experience is not what happens to you; it is what you do with what happens to you. - Aldous Huxley In order to be effective truth must penetrate like an arrow - and that is likely to hurt. - Wei Wu Wei Let men gain wisdom - or buy a rope - Antisthenes |
|
|
|
|
|
#12 (permalink) |
|
Newbie
Join Date: Nov 2005
Age: 21
Posts: 94
|
i did it my way and its working really great, evrything i did for now was correct, the names was badly displayd becuse i didnt changed anything i cliloc.enu file i uo folder, i added string to this file and now i just must give this files i package to players
|
|
|
|
|
|
#13 (permalink) |
|
Lifetime Member 1\24\05
|
Way to go Nataq!
While reading this, my first guess was cliloc, but usually that comes with a nice error making the blame easier to place there. I am very proud of you for persevering dispite certain naysayers. However, I must back up the general principal, that if there is something written that does mostly what you wish, then exploring that work is often very instructive. ((Personally Datt99 and XxSPIDERxX are far and wide the two scripters I've found to be most thorough and least likely to create "buggy crap".)) And yet on the other hand that method also leads to stagnation and assumptions that there is only one correct, or propperly functioning, way to do a given task. The beauty of programming is that there are often countless methods to accomplish the same thing. Some of those ways just haven't been invented yet. ![]() Again, wtg Nataq!
__________________
Brazen Sarcasm: The body's natural response to stupidity. *currently affiliated with shard "Shienar: Reborn"* A wise person knows their limitations. I know just enough c# to be dangerous. |
|
|
|
|
|
#14 (permalink) |
|
Join Date: May 2005
Location: Maine
Posts: 783
|
Hi! The problem was indeed cliloc related. They're pesky little things, and I ran into stupid stuff I didn't understand. This thread: GetProperties problem was REALLY helpful, and uncovered a couple of little "secrets" about clilocs and ObjectPropertyList.
Hope it's of use! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|