Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 07-21-2006, 11:08 AM   #1 (permalink)
Forum Expert
 
nerun's Avatar
 
Join Date: Jun 2003
Location: Brazil
Age: 29
Posts: 799
Default Nerun's Distro

Summary:
Nerun's Distro is a distribution for RunUO 2.0 RC2, centered in the settlement of the game. And it uses the already known spawners system Premium Spawner. The advantage is that this distro is easy to use and it already includes spawns for a 100% spawned world. Tutorials include.

Changes 5.0.9:
- added "Elite Ninja Warrior" and "Plague Beast Lord" (badspawns fix);
- small gump fixes (cosmetic changes);
- Tutorial (PT-BR) revised;
<<<PATCH 5.1.0 HERE>>>

Installation:
1) Unzip the file.
2) After it, you will see two folders: "Data" and "Scripts". And 3 files: a tutorial (EN-US and PT-BR) and a change log.
3) Cut "Data" and "Scripts" folders.
4) Go to "c:\RunUO 2.0\" (RunUO root directory) and paste them, Windows Explorer will ask if you wish overwrite, click "yes to all".

Usage:
FROM SCRATCH (FRESH INSTALL RECOMMENDED):
1) Start Main Spawner System: [spawner.
2) Select Clear All Facets in Edition Options, click OK.
3) Select Create World Gump in World Creation Options, select all, click OK.
4) In SPAWN OPTIONS, select spawn Trammel/Felucca, then Ilshenar, Malas and Tokuno, de-select the map spawns you do not want to use, click OK.

IF NOT FRESH INSTALL:
1) First of all, if you did your own spawns with RunUO before install this distro, you can use Conversion Utility to convert RunUO spawners to Premium Spawners system. But it is not needed.
2) Remove the vendors spawned by default in RunUO (because this distro will spawn new vendors, in the right locations).
3) follow steps 3 to 4 in "Fresh Install".

PS.: for more command options read Tutorial.

FAQ:
1.- When I spawn the world all the spawners are set but not spawning. Am I missing something?
A: Post 26

2.- How do I get rid of the default spawned vendors before running the spawner?
A: Post 26

3.- Where can i download a version for RunUO 1.0?
A: In the Archive or Post 302

4.- I keep getting a map not found error message. What have i missed?
A: Post removed :/

5.- Server lag every ~3 seconds (100% CPU usage), what happens?
A: Post 57 and Post 295

6.- I downlaod the distro and when i try to unzip it says it corrupt and won't unzipp.
A: Post 303

Other scripts:
* Static Exporter - a script to save statics inside a bounding box to a decoration .cfg file.
* New Mine for Minoc - this add a new mine at Minoc mining camp.
* Britain Bank Custom Decoration - beautifull decoration for Britain Bank.
* Wheat Sheaves and Ear of Corn - additions for David's Harvest System v1.4.
* Avatar System - A new type of player, something like levels
* UO Patches repository - all the patches up to 6.0.5
* Mondain's Legacy - MalGanis / Lokai files
Attached Files
File Type: zip Nerun's Distro v5.0.9.zip (270.7 KB, 2768 views)

Last edited by nerun; 08-17-2008 at 10:06 AM. Reason: new release
nerun is offline   Reply With Quote
Old 07-21-2006, 11:10 AM   #2 (permalink)
Forum Expert
 
nerun's Avatar
 
Join Date: Jun 2003
Location: Brazil
Age: 29
Posts: 799
Default Patches

Changes 5.1.0:
- added Erica's Orc Scout (badspawns fix) (= BaseCreature.cs and BaseAI.cs changes);

Installation:
Just copy/paste/restart;

Changes 5.0.9:
- added "Elite Ninja Warrior" and "Plague Beast Lord" (badspawns fix);
- small gump fixes (cosmetic changes);
- Tutorial (PT-BR) revised;

Installation:
Just copy/paste/restart;
Attached Files
File Type: zip Nerun's Distro - patch 508 to 509.zip (6.3 KB, 195 views)
File Type: zip Nerun's Distro - patch 509 to 510.zip (86.6 KB, 265 views)

Last edited by nerun; 08-17-2008 at 10:11 AM. Reason: everybody already downloaded this patch.
nerun is offline   Reply With Quote
Old 07-21-2006, 11:10 AM   #3 (permalink)
Forum Expert
 
nerun's Avatar
 
Join Date: Jun 2003
Location: Brazil
Age: 29
Posts: 799
Default Benchmark

Machine:
- Athlon XP 2400+, 512 Mb RAM

Method:
- world just with spawners, no decorations, doors, signs etc.
- spawn the world, save, restart, then check memory usage from [admin information panel.

Benchmark of release 5.0.6 (RunUO 2.0):
- 4,825 spawners (all facets, including Mondain's Legacy);
- around 87,000 items (items plus spawners)
- around 34,000 mobiles

Smart P.R.S. disable
- 3.8 seconds save time;
- 23.0 Mb saves folder size;
- 110.3 Mb memory usage;

Smart P.R.S. enable
- 0.3 seconds save time;
- 2.5 Mb saves folder size;
- 45.3 Mb memory usage;

-------------------------------------

Machine:
- Athlon 64 x2 4200+, 2 Gb RAM

Smart P.R.S. disable
- 0.40 seconds save time;

Smart P.R.S. enable
- 0.12 seconds save time;
__________________
Ok, i am back...
Oh man, Work, University and RunUO Scripting are a hard triple journey...

Last edited by nerun; 01-01-2008 at 10:31 AM.
nerun is offline   Reply With Quote
Old 07-21-2006, 03:54 PM   #4 (permalink)
Forum Expert
 
Join Date: Feb 2006
Posts: 277
Send a message via ICQ to Tee312 Send a message via MSN to Tee312 Send a message via Yahoo to Tee312
Default

Awesome nerun, love your distros! oh, and your fetid essence is the form of the grizzle, the bodyvalue should be 272
Tee312 is offline   Reply With Quote
Old 07-21-2006, 04:02 PM   #5 (permalink)
Master of the Internet
 
Anti-Basic's Avatar
 
Join Date: Dec 2005
Age: 20
Posts: 12,927
Default

yeah, great distro. Been using for long time. Any plans to ever add Reags or books or anything?
__________________
Quote:
Originally Posted by madmadmax3 View Post
I didn't insult anyone dumpass
Anti-Basic is offline   Reply With Quote
Old 07-21-2006, 04:04 PM   #6 (permalink)
Forum Novice
 
Prohor Meletevich's Avatar
 
Join Date: Jan 2006
Location: Ashkelon, Israel
Age: 27
Posts: 143
Send a message via ICQ to Prohor Meletevich Send a message via Skype™ to Prohor Meletevich
Thumbs up

Yeh, very good. Im using it on my real shard.
Prohor Meletevich is offline   Reply With Quote
Old 07-25-2006, 01:22 AM   #7 (permalink)
Newbie
 
Join Date: Jan 2006
Location: Michigan
Age: 18
Posts: 26
Send a message via AIM to Seven Pack
Thumbs up Oh Em Gee

Two words... Wow! This script is unbelievable. I love how you can just make your own maps and save them as .map files. I give you for this script. Keep up the goo.. *crosses off good* GOD-LIKE work!
Seven Pack is offline   Reply With Quote
Old 07-25-2006, 01:29 AM   #8 (permalink)
Forum Expert
 
Erica's Avatar
 
Join Date: Jan 2005
Location: Laramie Wyoming
Age: 43
Posts: 1,268
Send a message via ICQ to Erica Send a message via AIM to Erica Send a message via MSN to Erica Send a message via Yahoo to Erica Send a message via Skype™ to Erica
Default

Just so you know nerun for 2.0 your script dont need the ML Script since 2.0 it has ML Builted Already.
__________________
Erica is offline   Reply With Quote
Old 07-25-2006, 02:36 AM   #9 (permalink)
Forum Expert
 
zachseitz's Avatar
 
Join Date: Dec 2004
Location: Middle of nowhere
Posts: 593
Default

Best thing that has happend in the runuo scripts!! Saves alot alot alot time.
__________________
Give respect, get respect.
Give karma, get karma.

Its the way life goes.
zachseitz is offline   Reply With Quote
Old 07-25-2006, 08:47 AM   #10 (permalink)
Forum Expert
 
nerun's Avatar
 
Join Date: Jun 2003
Location: Brazil
Age: 29
Posts: 799
Default

Quote:
Originally Posted by Erica
Just so you know nerun for 2.0 your script dont need the ML Script since 2.0 it has ML Builted Already.
ML mobiles are builted already?
__________________
Ok, i am back...
Oh man, Work, University and RunUO Scripting are a hard triple journey...
nerun is offline   Reply With Quote
Old 07-25-2006, 09:24 AM   #11 (permalink)
Forum Expert
 
Erica's Avatar
 
Join Date: Jan 2005
Location: Laramie Wyoming
Age: 43
Posts: 1,268
Send a message via ICQ to Erica Send a message via AIM to Erica Send a message via MSN to Erica Send a message via Yahoo to Erica Send a message via Skype™ to Erica
Default

Quote:
Originally Posted by nerun
ML mobiles are builted already?
No no im talking about the Splash screen ---> ML.cs script not the mobiles lol .
__________________
Erica is offline   Reply With Quote
Old 07-25-2006, 10:19 AM   #12 (permalink)
Forum Expert
 
nerun's Avatar
 
Join Date: Jun 2003
Location: Brazil
Age: 29
Posts: 799
Default

Oh, thx! hehe
__________________
Ok, i am back...
Oh man, Work, University and RunUO Scripting are a hard triple journey...
nerun is offline   Reply With Quote
Old 07-25-2006, 06:06 PM   #13 (permalink)
Forum Novice
 
expiaumm's Avatar
 
Join Date: Apr 2006
Location: Portugal Lisbon
Age: 25
Posts: 185
Send a message via MSN to expiaumm Send a message via Yahoo to expiaumm Send a message via Skype™ to expiaumm
Default dang

your script is giving me errors on the hirebles i really need this script i cant find one better and i cant put this working ok i download other hirebles to see if it work but it didnt work is something on the base can you help please?
expiaumm is offline   Reply With Quote
Old 07-25-2006, 08:58 PM   #14 (permalink)
Newbie
 
ratzerna's Avatar
 
Join Date: Nov 2003
Location: Where ducks live in VA
Age: 42
Posts: 55
Default

At least post an output of your console errors so we have an idea of what might be causing it. It would also be helpful to include if you added any other custom scripts or systems. When I installed Nerun's distro I had zero problems. Also what version of the Server are you trying to run on? 1.00 or 2.0Rc1?

We need more details to be able to help...
ratzerna is offline   Reply With Quote
Old 07-26-2006, 12:39 AM   #15 (permalink)
Forum Novice
 
expiaumm's Avatar
 
Join Date: Apr 2006
Location: Portugal Lisbon
Age: 25
Posts: 185
Send a message via MSN to expiaumm Send a message via Yahoo to expiaumm Send a message via Skype™ to expiaumm
Default

well im trying to get to run 1.0 is really important iff you can help me get one whit no errors iff you guys cant get me one for 1.0 i will post here the errors .The errors who give me is all in basehire.cs in the hireables please try to help me get a world full spawn for 1.0 is really important tks a lot
expiaumm is offline   Reply With Quote
Old 07-26-2006, 02:51 AM   #16 (permalink)
Ex-Shard Owner
 
zardoz's Avatar
 
Join Date: Dec 2002
Location: Farnham, Surrey. UK
Age: 51
Posts: 49
Default

If you are trying to run this on RunUO 1.0, you will find that you cannot. The correct version for RunUO 1.0 is here Nerun's Distro

Z.
__________________
so long, and thanks for all the fish....

Time to move on to other things.. Goodbye UO, and thanks to everyone for loads of fun!
zardoz is offline   Reply With Quote
Old 07-26-2006, 01:00 PM   #17 (permalink)
Forum Novice
 
expiaumm's Avatar
 
Join Date: Apr 2006
Location: Portugal Lisbon
Age: 25
Posts: 185
Send a message via MSN to expiaumm Send a message via Yahoo to expiaumm Send a message via Skype™ to expiaumm
Default

this one have some errors but i fix it but there is just more two errors that ones i dont know how to fix can you guys give me a help i will put here all please get me a solution

Scripts:compiling C# scripts...failed (2 errors, 0 warnings)
- Error: Scripts\Skills\AnimalLore.cs: CS0101: (line 9, columm 15)The name space 'Server.skillsHandlers' already have a definition for 'AnimalLore'
- Error: Scripts\Skills\AnimalLore.cs: CS0101: (line 81, columm 15)The name space 'Server.skillsHandlers' already have a definition for 'AnimalLoreGump'


this is the errors now here the script :

Quote:
using System;
using Server;
using Server.Gumps;
using Server.Mobiles;
using Server.Targeting;

namespace Server.SkillHandlers
{
public class AnimalLore
{
public static void Initialize()
{
SkillInfo.Table[(int)SkillName.AnimalLore].Callback = new SkillUseCallback( OnUse );
}

public static TimeSpan OnUse(Mobile m)
{
m.Target = new InternalTarget();

m.SendLocalizedMessage( 500328 ); // What animal should I look at?

return TimeSpan.FromSeconds( 1.0 );
}

private class InternalTarget : Target
{
public InternalTarget() : base( 8, false, TargetFlags.None )
{
}

protected override void OnTarget( Mobile from, object targeted )
{
if ( !from.Alive )
{
from.SendLocalizedMessage( 500331 ); // The spirits of the dead are not the province of animal lore.
}
else if ( targeted is BaseCreature )
{
BaseCreature c = (BaseCreature)targeted;

if ( !c.IsDeadPet )
{
if ( c.Body.IsAnimal || c.Body.IsMonster || c.Body.IsSea )
{
if ( (!c.Controled || !c.Tamable) && from.Skills[SkillName.AnimalLore].Base < 100.0 )
{
from.SendLocalizedMessage( 1049674 ); // At your skill level, you can only lore tamed creatures.
}
else if ( !c.Tamable && from.Skills[SkillName.AnimalLore].Base < 110.0 )
{
from.SendLocalizedMessage( 1049675 ); // At your skill level, you can only lore tamed or tameable creatures.
}
else if ( !from.CheckTargetSkill( SkillName.AnimalLore, c, 0.0, 120.0 ) )
{
from.SendLocalizedMessage( 500334 ); // You can't think of anything you know offhand.
}
else
{
from.CloseGump( typeof( AnimalLoreGump ) );
from.SendGump( new AnimalLoreGump( c ) );
}
}
else
{
from.SendLocalizedMessage( 500329 ); // That's not an animal!
}
}
else
{
from.SendLocalizedMessage( 500331 ); // The spirits of the dead are not the province of animal lore.
}
}
else
{
from.SendLocalizedMessage( 500329 ); // That's not an animal!
}
}
}
}

public class AnimalLoreGump : Gump
{
private static string FormatSkill( BaseCreature c, SkillName name )
{
Skill skill = c.Skills[name];

if ( skill.Base < 10.0 )
return "<div align=right>---</div>";

return String.Format( "<div align=right>{0:F1}</div>", skill.Base );
}

private static string FormatAttributes( int cur, int max )
{
if ( max == 0 )
return "<div align=right>---</div>";

return String.Format( "<div align=right>{0}/{1}</div>", cur, max );
}

private static string FormatStat( int val )
{
if ( val == 0 )
return "<div align=right>---</div>";

return String.Format( "<div align=right>{0}</div>", val );
}

private static string FormatElement( int val )
{
if ( val <= 0 )
return "<div align=right>---</div>";

return String.Format( "<div align=right>{0}%</div>", val );
}

private const int LabelColor = 0x24E5;

public AnimalLoreGump( BaseCreature c ) : base( 250, 50 )
{
AddPage( 0 );

AddImage( 100, 100, 2080 );
AddImage( 118, 137, 2081 );
AddImage( 118, 207, 2081 );
AddImage( 118, 277, 2081 );
AddImage( 118, 347, 2083 );

AddHtml( 147, 108, 210, 18, String.Format( "<center><i>{0}</i></center>", c.Name ), false, false );

AddButton( 240, 77, 2093, 2093, 2, GumpButtonType.Reply, 0 );

AddImage( 140, 138, 2091 );
AddImage( 140, 335, 2091 );

int pages = ( Core.AOS ? 5 : 3 );
int page = 0;


#region Attributes
AddPage( ++page );

AddImage( 128, 152, 2086 );
AddHtmlLocalized( 147, 150, 160, 18, 1049593, 200, false, false ); // Attributes

AddHtmlLocalized( 153, 168, 160, 18, 1049578, LabelColor, false, false ); // Hits
AddHtml( 280, 168, 75, 18, FormatAttributes( c.Hits, c.HitsMax ), false, false );

AddHtmlLocalized( 153, 186, 160, 18, 1049579, LabelColor, false, false ); // Stamina
AddHtml( 280, 186, 75, 18, FormatAttributes( c.Stam, c.StamMax ), false, false );

AddHtmlLocalized( 153, 204, 160, 18, 1049580, LabelColor, false, false ); // Mana
AddHtml( 280, 204, 75, 18, FormatAttributes( c.Mana, c.ManaMax ), false, false );

AddHtmlLocalized( 153, 222, 160, 18, 1028335, LabelColor, false, false ); // Strength
AddHtml( 320, 222, 35, 18, FormatStat( c.Str ), false, false );

AddHtmlLocalized( 153, 240, 160, 18, 3000113, LabelColor, false, false ); // Dexterity
AddHtml( 320, 240, 35, 18, FormatStat( c.Dex ), false, false );

AddHtmlLocalized( 153, 258, 160, 18, 3000112, LabelColor, false, false ); // Intelligence
AddHtml( 320, 258, 35, 18, FormatStat( c.Int ), false, false );

if ( Core.AOS )
{
AddImage( 128, 278, 2086 );
AddHtmlLocalized( 147, 276, 160, 18, 1049594, 200, false, false ); // Loyalty Rating

AddHtmlLocalized( 153, 294, 160, 18, (!c.Controled || c.Loyalty == PetLoyalty.None) ? 1061643 : 1049594 + (int)c.Loyalty, LabelColor, false, false );
}
else
{
AddImage( 128, 278, 2086 );
AddHtmlLocalized( 147, 276, 160, 18, 3001016, 200, false, false ); // Miscellaneous

AddHtmlLocalized( 153, 294, 160, 18, 1049581, LabelColor, false, false ); // Armor Rating
AddHtml( 320, 294, 35, 18, FormatStat( c.VirtualArmor ), false, false );
}

AddButton( 340, 358, 5601, 5605, 0, GumpButtonType.Page, page + 1 );
AddButton( 317, 358, 5603, 5607, 0, GumpButtonType.Page, pages );
#endregion

#region Resistances
if ( Core.AOS )
{
AddPage( ++page );

AddImage( 128, 152, 2086 );
AddHtmlLocalized( 147, 150, 160, 18, 1061645, 200, false, false ); // Resistances

AddHtmlLocalized( 153, 168, 160, 18, 1061646, LabelColor, false, false ); // Physical
AddHtml( 320, 168, 35, 18, FormatElement( c.PhysicalResistance ), false, false );

AddHtmlLocalized( 153, 186, 160, 18, 1061647, LabelColor, false, false ); // Fire
AddHtml( 320, 186, 35, 18, FormatElement( c.FireResistance ), false, false );

AddHtmlLocalized( 153, 204, 160, 18, 1061648, LabelColor, false, false ); // Cold
AddHtml( 320, 204, 35, 18, FormatElement( c.ColdResistance ), false, false );

AddHtmlLocalized( 153, 222, 160, 18, 1061649, LabelColor, false, false ); // Poison
AddHtml( 320, 222, 35, 18, FormatElement( c.PoisonResistance ), false, false );

AddHtmlLocalized( 153, 240, 160, 18, 1061650, LabelColor, false, false ); // Energy
AddHtml( 320, 240, 35, 18, FormatElement( c.EnergyResistance ), false, false );

AddButton( 340, 358, 5601, 5605, 0, GumpButtonType.Page, page + 1 );
AddButton( 317, 358, 5603, 5607, 0, GumpButtonType.Page, page - 1 );
}
#endregion

#region Damage
if ( Core.AOS )
{
AddPage( ++page );

AddImage( 128, 152, 2086 );
AddHtmlLocalized( 147, 150, 160, 18, 1017319, 200, false, false ); // Damage

AddHtmlLocalized( 153, 168, 160, 18, 1061646, LabelColor, false, false ); // Physical
AddHtml( 320, 168, 35, 18, FormatElement( c.PhysicalDamage ), false, false );

AddHtmlLocalized( 153, 186, 160, 18, 1061647, LabelColor, false, false ); // Fire
AddHtml( 320, 186, 35, 18, FormatElement( c.FireDamage ), false, false );

AddHtmlLocalized( 153, 204, 160, 18, 1061648, LabelColor, false, false ); // Cold
AddHtml( 320, 204, 35, 18, FormatElement( c.ColdDamage ), false, false );

AddHtmlLocalized( 153, 222, 160, 18, 1061649, LabelColor, false, false ); // Poison
AddHtml( 320, 222, 35, 18, FormatElement( c.PoisonDamage ), false, false );

AddHtmlLocalized( 153, 240, 160, 18, 1061650, LabelColor, false, false ); // Energy
AddHtml( 320, 240, 35, 18, FormatElement( c.EnergyDamage ), false, false );

AddButton( 340, 358, 5601, 5605, 0, GumpButtonType.Page, page + 1 );
AddButton( 317, 358, 5603, 5607, 0, GumpButtonType.Page, page - 1 );
}
#endregion

#region Skills
AddPage( ++page );

AddImage( 128, 152, 2086 );
AddHtmlLocalized( 147, 150, 160, 18, 3001030, 200, false, false ); // Combat Ratings

AddHtmlLocalized( 153, 168, 160, 18, 1044103, LabelColor, false, false ); // Wrestling
AddHtml( 320, 168, 35, 18, FormatSkill( c, SkillName.Wrestling ), false, false );

AddHtmlLocalized( 153, 186, 160, 18, 1044087, LabelColor, false, false ); // Tactics
AddHtml( 320, 186, 35, 18, FormatSkill( c, SkillName.Tactics ), false, false );

AddHtmlLocalized( 153, 204, 160, 18, 1044086, LabelColor, false, false ); // Magic Resistance
AddHtml( 320, 204, 35, 18, FormatSkill( c, SkillName.MagicResist ), false, false );

AddHtmlLocalized( 153, 222, 160, 18, 1044061, LabelColor, false, false ); // Anatomy
AddHtml( 320, 222, 35, 18, FormatSkill( c, SkillName.Anatomy ), false, false );

AddHtmlLocalized( 153, 240, 160, 18, 1044090, LabelColor, false, false ); // Poisoning
AddHtml( 320, 240, 35, 18, FormatSkill( c, SkillName.Poisoning ), false, false );

AddImage( 128, 260, 2086 );
AddHtmlLocalized( 147, 258, 160, 18, 3001032, 200, false, false ); // Lore & Knowledge

AddHtmlLocalized( 153, 276, 160, 18, 1044085, LabelColor, false, false ); // Magery
AddHtml( 320, 276, 35, 18, FormatSkill( c, SkillName.Magery ), false, false );

AddHtmlLocalized( 153, 294, 160, 18, 1044076, LabelColor, false, false ); // Evaluating Intelligence
AddHtml( 320, 294, 35, 18,FormatSkill( c, SkillName.EvalInt ), false, false );

AddHtmlLocalized( 153, 312, 160, 18, 1044106, LabelColor, false, false ); // Meditation
AddHtml( 320, 312, 35, 18, FormatSkill( c, SkillName.Meditation ), false, false );

AddButton( 340, 358, 5601, 5605, 0, GumpButtonType.Page, page + 1 );
AddButton( 317, 358, 5603, 5607, 0, GumpButtonType.Page, page - 1 );
#endregion

#region Misc
AddPage( ++page );

AddImage( 128, 152, 2086 );
AddHtmlLocalized( 147, 150, 160, 18, 1049563, 200, false, false ); // Preferred Foods

int foodPref = 3000340;

if ( (c.FavoriteFood & FoodType.FruitsAndVegies) != 0 )
foodPref = 1049565; // Fruits and Vegetables
else if ( (c.FavoriteFood & FoodType.GrainsAndHay) != 0 )
foodPref = 1049566; // Grains and Hay
else if ( (c.FavoriteFood & FoodType.Fish) != 0 )
foodPref = 1049568; // Fish
else if ( (c.FavoriteFood & FoodType.Meat) != 0 )
foodPref = 1049564; // Meat

AddHtmlLocalized( 153, 168, 160, 18, foodPref, LabelColor, false, false );

AddImage( 128, 188, 2086 );
AddHtmlLocalized( 147, 186, 160, 18, 1049569, 200, false, false ); // Pack Instincts

int packInstinct = 3000340;

if ( (c.PackInstinct & PackInstinct.Canine) != 0 )
packInstinct = 1049570; // Canine
else if ( (c.PackInstinct & PackInstinct.Ostard) != 0 )
packInstinct = 1049571; // Ostard
else if ( (c.PackInstinct & PackInstinct.Feline) != 0 )
packInstinct = 1049572; // Feline
else if ( (c.PackInstinct & PackInstinct.Arachnid) != 0 )
packInstinct = 1049573; // Arachnid
else if ( (c.PackInstinct & PackInstinct.Daemon) != 0 )
packInstinct = 1049574; // Daemon
else if ( (c.PackInstinct & PackInstinct.Bear) != 0 )
packInstinct = 1049575; // Bear
else if ( (c.PackInstinct & PackInstinct.Equine) != 0 )
packInstinct = 1049576; // Equine
else if ( (c.PackInstinct & PackInstinct.Bull) != 0 )
packInstinct = 1049577; // Bull

AddHtmlLocalized( 153, 204, 160, 18, packInstinct, LabelColor, false, false );

if ( !Core.AOS )
{
AddImage( 128, 224, 2086 );
AddHtmlLocalized( 147, 222, 160, 18, 1049594, 200, false, false ); // Loyalty Rating

AddHtmlLocalized( 153, 240, 160, 18, (!c.Controled || c.Loyalty == PetLoyalty.None) ? 1061643 : 1049594 + (int)c.Loyalty, LabelColor, false, false );
}

AddButton( 340, 358, 5601, 5605, 0, GumpButtonType.Page, 1 );
AddButton( 317, 358, 5603, 5607, 0, GumpButtonType.Page, page - 1 );
#endregion
}
}
}
expiaumm is offline   Reply With Quote
Old 07-26-2006, 01:53 PM   #18 (permalink)
Ex-Shard Owner
 
zardoz's Avatar
 
Join Date: Dec 2002
Location: Farnham, Surrey. UK
Age: 51
Posts: 49
Default

Again, for the record,... EXACTLY which version of Nerun's Distro are you trying to run and which version of RunUO are you using to run it on?

Z.
__________________
so long, and thanks for all the fish....

Time to move on to other things.. Goodbye UO, and thanks to everyone for loads of fun!
zardoz is offline   Reply With Quote
Old 07-26-2006, 02:09 PM   #19 (permalink)
Forum Novice
 
expiaumm's Avatar
 
Join Date: Apr 2006
Location: Portugal Lisbon
Age: 25
Posts: 185
Send a message via MSN to expiaumm Send a message via Yahoo to expiaumm Send a message via Skype™ to expiaumm
Default

im using runuo 1.0 and the distro is this one here http://www.runuo.com/forums/showthre...run%27s+distro
please friend help me out you are the only one who are giving me some atention
expiaumm is offline   Reply With Quote
Old 07-26-2006, 02:30 PM   #20 (permalink)
Newbie
 
ratzerna's Avatar
 
Join Date: Nov 2003
Location: Where ducks live in VA
Age: 42
Posts: 55
Default

From that distro to work with RunUO 1.00

Did you follow all the steps? Especially Step 5 to delete the existing conflicting files?

Installation:
1) Unzip "Nerun's Distro v4.1.4".
2) After it, you will see two folders: "Data" and "Scripts". And 4 files: a tutorial (EN-US and PT-BR), an image (bmp) with the spawns areas and a change log.
3) Cut "Data" and "Scripts" folders.
4) Go to "c:\RunUO 1.0.0\" (RunUO root directory) and paste them, Windows Explorer will ask if you wish overwrite, click "yes to all".
5) Delete:
C:\...\RunUO 1.0\Scripts\Items\Construction\Doors\Doors.cs
C:\...\RunUO 1.0\Scripts\Items\Construction\Doors\BaseDoor.cs
C:\...\RunUO 1.0\Scripts\Items\Construction\Doors\HouseDoor.cs
C:\...\RunUO 1.0\Scripts\Multis\HouseFoundation.cs
C:\...\RunUO 1.0\Scripts\Engines\AI\Creature\Paragon.cs
C:\...\RunUO 1.0\Scripts\Items\SkillItems\Misc\Bandage.cs
C:\...\RunUO 1.0\Scripts\Skills\AnimalLore.cs
C:\...\RunUO 1.0\Scripts\Accounting\Account.cs
C:\...\RunUO 1.0\Scripts\Misc\MapDefinitions.cs


If you skip step 5, you will end up with the following errors:

Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (35 errors, 0 warnings)
 - Error: Scripts\Customs\Modified\Accounting\Account.cs: CS0101: (line 15, column 15) The namespace 'Server.Accounting' already contains a definition for 'Account'
 - Error: Scripts\Engines\AI\Creature\Paragon.cs: CS0101: (line 7, column 15) The namespace 'Server.Mobiles' already contains a definition for 'Paragon'
 - Error: Scripts\Items\Construction\Doors\BaseDoor.cs: CS0101: (line 8, column 24) The namespace 'Server.Items' already contains a definition for 'BaseDoor'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 5, column 14) The namespace 'Server.Items' already contains a definition for 'DoorFacing'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 22, column 15) The namespace 'Server.Items' already contains a definition for 'IronGateShort'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 48, column 15) The namespace 'Server.Items' already contains a definition for 'IronGate'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 74, column 15) The namespace 'Server.Items' already contains a definition for 'LightWoodGate'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 100, column 15) The namespace 'Server.Items' already contains a definition for 'DarkWoodGate'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 126, column 15) The namespace 'Server.Items' already contains a definition for 'MetalDoor'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 152, column 15) The namespace 'Server.Items' already contains a definition for 'BarredMetalDoor'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 178, column 15) The namespace 'Server.Items' already contains a definition for 'BarredMetalDoor2'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 204, column 15) The namespace 'Server.Items' already contains a definition for 'RattanDoor'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 230, column 15) The namespace 'Server.Items' already contains a definition for 'DarkWoodDoor'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 256, column 15) The namespace 'Server.Items' already contains a definition for 'MediumWoodDoor'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 282, column 15) The namespace 'Server.Items' already contains a definition for 'MetalDoor2'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 308, column 15) The namespace 'Server.Items' already contains a definition for 'LightWoodDoor'
 - Error: Scripts\Items\Construction\Doors\Doors.cs: CS0101: (line 334, column 15) The namespace 'Server.Items' already contains a definition for 'StrongWoodDoor'
 - Error: Scripts\Items\Construction\Doors\HouseDoors.cs: CS0101: (line 9, column 15) The namespace 'Server.Items' already contains a definition for 'MetalHouseDoor'
 - Error: Scripts\Items\Construction\Doors\HouseDoors.cs: CS0101: (line 35, column 15) The namespace 'Server.Items' already contains a definition for 'DarkWoodHouseDoor'
 - Error: Scripts\Items\Construction\Doors\HouseDoors.cs: CS0101: (line 61, column 15) The namespace 'Server.Items' already contains a definition for 'GenericHouseDoor'
 - Error: Scripts\Items\Construction\Doors\HouseDoors.cs: CS0101: (line 87, column 24) The namespace 'Server.Items' already contains a definition for 'BaseHouseDoor'
 - Error: Scripts\Items\Skill Items\Misc\Bandage.cs: CS0101: (line 12, column 15) The namespace 'Server.Items' already contains a definition for 'Bandage'
 - Error: Scripts\Items\Skill Items\Misc\Bandage.cs: CS0101: (line 110, column 15) The namespace 'Server.Items' already contains a definition for 'BandageContext'
 - Error: Scripts\Misc\MapDefinitions.cs: CS0101: (line 6, column 15) The namespace 'Server.Misc' already contains a definition for 'MapDefinitions'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 14, column 14) The namespace 'Server.Multis' already contains a definition for 'FoundationType'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 23, column 15) The namespace 'Server.Multis' already contains a definition for 'HouseFoundation'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 1536, column 15) Thenamespace 'Server.Multis' already contains a definition for 'DesignState'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 1728, column 15) The namespace 'Server.Multis' already contains a definition for 'ConfirmCommitGump'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 1776, column 15) The namespace 'Server.Multis' already contains a definition for 'DesignContext'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 1884, column 15) The namespace 'Server.Multis' already contains a definition for 'BeginHouseCustomization'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 1900, column 15) The namespace 'Server.Multis' already contains a definition for 'EndHouseCustomization'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 1916, column 15) The namespace 'Server.Multis' already contains a definition for 'DesignStateGeneral'
 - Error: Scripts\Multis\HouseFoundation.cs: CS0101: (line 1928, column 15) The namespace 'Server.Multis' already contains a definition for 'DesignStateDetailed'
 - Error: Scripts\Skills\AnimalLore.cs: CS0101: (line 9, column 15) The namespace 'Server.SkillHandlers' already contains a definition for 'AnimalLore'
 - Error: Scripts\Skills\AnimalLore.cs: CS0101: (line 81, column 15) The namespace 'Server.SkillHandlers' already contains a definition for 'AnimalLoreGump'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

Ratzerna
ratzerna is offline