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!

!Easy Level System! V 1.5

mixiel

Wanderer
My gms do... In fact to test it I made like 10 dragons then killed them all, I had tons of exp points after that...
Did you had the veryfire item to your pack???
Anyone who doesn't have that in their pack, the system isn't going to work.
 

setsunamudo

Wanderer
At last..

mixiel said:
My gms do... In fact to test it I made like 10 dragons then killed them all, I had tons of exp points after that...
Did you had the veryfire item to your pack???
Anyone who doesn't have that in their pack, the system isn't going to work.


I figured out the commands at last :) :rolleyes:
 

mastermat2

Wanderer
wow it work!!!

i have modified my levelgump.sc for the skill i dont want in the levelup menu but i dont know how to add the three stats i send all my gratitude to the person who will help me

oooo and who have done great job man continue like this ;)
 

atticus589

Sorceror
Hello All And Thanks

Hello... Long time since Ive been here... Been Playing WOW and the fact that it gets boring after 45 mins, and there are so many little shit talking punks, makes me want to kill myself. I still remember vaguely how to script c# sooo... I guess I might be coming back to UO, I have been making games with "Gamemaker" trying to make a better UO clone... But I just cant do it... I want to expand this script to Fix it to be flawless and have a HUGE! massive Quest system... I want to do this very badly because this would then become a very good attribute to any server. And make the Ultima Game alot more entertaining now that you would have side quests that would give you badass armor and such... I want a team of people to help me with this, I need these people:

Scriptor x 4
Gumpbuilder x 1
Writer x 1
If you want to apply for a position send me a PM with examples of work you have done in realation to the spot you are trying for.

later on curing alpha and beta versions I will need:
Testers
and other people...
 

El1122

Sorceror
Where does VERYFIRE go

what folder do i put VERYFIRE because every time i type [level my server crashs am really new at this (this is the first time i posted and proply be the last time)
 

mixiel

Wanderer
Put the veryfire in the character's pack. Simple as that, use the [move command to move it from the ground to the pack.
 
I am having an issue with players being allowed to still add skill points above their overall skill cap. I have a 10x skillcap, yet players can still add to a skill and raise beyond that. Individual skillcaps work properly by telling the player they cant raise any further. Any ideas?
 

Darkblade

Wanderer
How about adding classes and Advance class

Say you started as an Warrior then you get to choose to go to other class but more powerful ?

and what about making exp system go to Demi-God status
 
X

Xplozive

Guest
Plz i need help when i put this in BaseCreature.cs i get this error where can i put this.


//***************************************************************************************************
PlayerMobile t = ds.m_Mobile as PlayerMobile;
if ( Core.AOS );
{
Mobile m = ds.m_Mobile;

m.Backpack.FindItemByType( typeof( VERYFIRE ) );
int m_Exists = m.Backpack.GetAmount( typeof( VERYFIRE ) );
if ( m_Exists == 0 )
m.SendMessage( "You have not been updated please page a GM" );

else
{

VERYFIRE v;

v = m.Backpack.FindItemByType( typeof( VERYFIRE ) ) as VERYFIRE;

int strth = this.Int / 25 + this.HitsMax + this.Str + this.Dex /25;
if ( v.EXP == 999999999 )
{
t.SendMessage( 600, "You have reached the highest level in experience." );
}

else if ( Controled == false || this.IsAnimatedDead == false || this.Summoned == false)
{

if ( this.IsParagon == true )
{
v.EXP = v.EXP+800;
t.SendMessage( 600, "You killed an odd creature, For this you get a bonus 800 Experience!!!" );
t.PlaySound( 523 );
}
else if ( this.IsParagon == false )
{
}


if ( strth <= 50 )
{
v.EXP = v.EXP+25;
t.SendMessage( 600, "You Gained 24 Experience!!!" );
t.PlaySound( 523 );
}

else if ( strth <= 75 )
{
v.EXP = v.EXP+50;
t.SendMessage( 600, "You Gained 50 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 150 )
{
v.EXP = v.EXP+150;
t.SendMessage( 600, "You Gained 150 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 200 )
{
v.EXP = v.EXP+200;
t.SendMessage( 600, "You Gained 200 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 255 )
{
v.EXP = v.EXP+255;
t.SendMessage( 600, "You Gained 255 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 300 )
{
v.EXP = v.EXP+300;
t.SendMessage( 600, "You Gained 300 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 400 )
{
v.EXP = v.EXP+400;
t.SendMessage( 600, "You Gained 400 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 500 )
{
v.EXP = v.EXP+500;
t.SendMessage( 600, "You Gained 500 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 1000 )
{
v.EXP = v.EXP+1000;
t.SendMessage( 600, "You Gained 1000 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 1500 )
{
v.EXP = v.EXP+1500;
t.SendMessage( 600, "You Gained 1500 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 2000 )
{
v.EXP = v.EXP+2000;
t.SendMessage( 600, "You Gained 2000 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 2500 )
{
v.EXP = v.EXP+2500;
t.SendMessage( 600, "You Gained 2500 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 3000 )
{
v.EXP = v.EXP+3000;
t.SendMessage( 600, "You Gained 3000 Experience" );
t.PlaySound( 523 );
}

else if ( strth <= 10000 )
{
v.EXP = v.EXP+5000;
t.SendMessage( 600, "You Gained 5000 Experience" );
t.PlaySound( 523 );
}

t.SendMessage( 88,"You Have {0} Experience Total", v.EXP );
}
}
}
//******************************************************************************************************

This is the error.

Scripts: Compiling C# scripts...failed (16 errors, 0 warnings)
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4039, colum
n 9) Invalid token 'if' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4039, colum
n 23) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4043, colum
n 30) Invalid token '(' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4043, colum
n 49) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4045, colum
n 11) Invalid token 'if' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4045, colum
n 25) Invalid token '==' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4046, colum
n 25) Invalid token '(' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4053, colum
n 8) Invalid token '=' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4053, colum
n 35) Invalid token '(' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4053, colum
n 54) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4053, colum
n 69) Invalid token ';' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4056, colum
n 6) Invalid token 'if' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4056, colum
n 17) Invalid token '==' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 4058, colum
n 20) Invalid token '(' in class, struct, or interface member declaration
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS0116: (line 4061, colum
n 7) A namespace does not directly contain members such as fields or methods
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1022: (line 4176, colum
n 4) Type or namespace definition, or end-of-file expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Tredlort

Wanderer
Level System

Well its nice system that u made.. Tho I dont like the fact that every item cost same amout (5k exp).. but that can be changed pretty easy..
Keep up the good work and Im looking forward to see 2.0 version =) :)
 
Okay every time I edit distro files for my shard these same types of errors come up I dont know why.

Scripts: Compiling C# scripts...failed (52 errors, 1 warnings)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\BaseCreature.c
s: CS0246: (line 1039, column 28) The type or namespace name 'SpinedHides' could
not be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\BaseCreature.c
s: CS0246: (line 1041, column 28) The type or namespace name 'HornedHides' could
not be found (are you missing a using directive or an assembly reference?)
- Warning: Scripts\Customs\NO RACES- new level system\Replacements\BaseCreature
.cs: CS0642: (line 3888, column 24) Possible mistaken null statement
- Error: Scripts\Customs\NO RACES- new level system\Customs\AllLevelItems.cs: C
S0246: (line 319, column 18) The type or namespace name 'DullCopperIngot' could
not be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Customs\AllLevelItems.cs: C
S0246: (line 320, column 18) The type or namespace name 'ShadowIronIngot' could
not be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Customs\AllLevelItems.cs: C
S0246: (line 323, column 18) The type or namespace name 'GoldIngot' could not be
found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Customs\AllLevelItems.cs: C
S0246: (line 324, column 18) The type or namespace name 'AgapiteIngot' could not
be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Customs\AllLevelItems.cs: C
S0246: (line 325, column 18) The type or namespace name 'VeriteIngot' could not
be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Customs\AllLevelItems.cs: C
S0246: (line 326, column 18) The type or namespace name 'ValoriteIngot' could no
t be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 128, column 48) 'Server.Items.CraftResource' does not cont
ain a definition for 'DullCopper'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 129, column 48) 'Server.Items.CraftResource' does not cont
ain a definition for 'ShadowIron'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 132, column 48) 'Server.Items.CraftResource' does not cont
ain a definition for 'Gold'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 133, column 48) 'Server.Items.CraftResource' does not cont
ain a definition for 'Agapite'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 134, column 48) 'Server.Items.CraftResource' does not cont
ain a definition for 'Verite'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 135, column 48) 'Server.Items.CraftResource' does not cont
ain a definition for 'Valorite'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 137, column 51) 'Server.Items.CraftResource' does not cont
ain a definition for 'SpinedLeather'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0117: (line 138, column 51) 'Server.Items.CraftResource' does not cont
ain a definition for 'HornedLeather'
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 187, column 35) The type or namespace name 'HornedLeather'
could not be found (are you missing a using directive or an assembly reference?
)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 188, column 35) The type or namespace name 'SpinedLeather'
could not be found (are you missing a using directive or an assembly reference?
)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 195, column 36) The type or namespace name 'DullCopperIngo
t' could not be found (are you missing a using directive or an assembly referenc
e?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 196, column 36) The type or namespace name 'ShadowIronIngo
t' could not be found (are you missing a using directive or an assembly referenc
e?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 199, column 36) The type or namespace name 'GoldIngot' cou
ld not be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 200, column 36) The type or namespace name 'AgapiteIngot'
could not be found (are you missing a using directive or an assembly reference?)

- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 201, column 36) The type or namespace name 'VeriteIngot' c
ould not be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 202, column 36) The type or namespace name 'ValoriteIngot'
could not be found (are you missing a using directive or an assembly reference?
)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 454, column 36) The type or namespace name 'DullCopperIngo
t' could not be found (are you missing a using directive or an assembly referenc
e?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 455, column 36) The type or namespace name 'ShadowIronIngo
t' could not be found (are you missing a using directive or an assembly referenc
e?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 458, column 36) The type or namespace name 'GoldIngot' cou
ld not be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 459, column 36) The type or namespace name 'AgapiteIngot'
could not be found (are you missing a using directive or an assembly reference?)

- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 460, column 36) The type or namespace name 'VeriteIngot' c
ould not be found (are you missing a using directive or an assembly reference?)
- Error: Scripts\Customs\NO RACES- new level system\Replacements\CharacterCreat
ion.cs: CS0246: (line 461, column 36) The type or namespace name 'ValoriteIngot'
could not be found (are you missing a using directive or an assembly reference?
)
- Error: Scripts\Items\Special\Bulk Order Rewards\Blacksmithy\ColoredAnvil.cs:
CS0117: (line 11, column 98) 'Server.Items.CraftResource' does not contain a def
inition for 'DullCopper'
- Error: Scripts\Items\Special\Bulk Order Rewards\Blacksmithy\ColoredAnvil.cs:
CS0117: (line 11, column 129) 'Server.Items.CraftResource' does not contain a de
finition for 'Valorite'
 
heres part two of all the errors cuase it wouldnt all fit.

- Error: Scripts\Items\Special\Bulk Order Rewards\Blacksmithy\GlovesOfMining.cs
: CS0117: (line 207, column 80) 'Server.Items.CraftResource' does not contain a
definition for 'DullCopper'
- Error: Scripts\Items\Special\Bulk Order Rewards\Blacksmithy\GlovesOfMining.cs
: CS0117: (line 207, column 111) 'Server.Items.CraftResource' does not contain a
definition for 'Valorite'
- Error: Scripts\Items\SupplyBags\BagOfIngots.cs: CS0246: (line 17, column 18)
The type or namespace name 'DullCopperIngot' could not be found (are you missing
a using directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\BagOfIngots.cs: CS0246: (line 18, column 18)
The type or namespace name 'ShadowIronIngot' could not be found (are you missing
a using directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\BagOfIngots.cs: CS0246: (line 21, column 18)
The type or namespace name 'GoldIngot' could not be found (are you missing a usi
ng directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\BagOfIngots.cs: CS0246: (line 22, column 18)
The type or namespace name 'AgapiteIngot' could not be found (are you missing a
using directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\BagOfIngots.cs: CS0246: (line 23, column 18)
The type or namespace name 'VeriteIngot' could not be found (are you missing a u
sing directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\BagOfIngots.cs: CS0246: (line 24, column 18)
The type or namespace name 'ValoriteIngot' could not be found (are you missing a
using directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\SmithBag.cs: CS0246: (line 17, column 18) The
type or namespace name 'DullCopperIngot' could not be found (are you missing a
using directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\SmithBag.cs: CS0246: (line 18, column 18) The
type or namespace name 'ShadowIronIngot' could not be found (are you missing a
using directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\SmithBag.cs: CS0246: (line 21, column 18) The
type or namespace name 'GoldIngot' could not be found (are you missing a using
directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\SmithBag.cs: CS0246: (line 22, column 18) The
type or namespace name 'AgapiteIngot' could not be found (are you missing a usi
ng directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\SmithBag.cs: CS0246: (line 23, column 18) The
type or namespace name 'VeriteIngot' could not be found (are you missing a usin
g directive or an assembly reference?)
- Error: Scripts\Items\SupplyBags\SmithBag.cs: CS0246: (line 24, column 18) The
type or namespace name 'ValoriteIngot' could not be found (are you missing a us
ing directive or an assembly reference?)
- Error: Scripts\Mobiles\Monsters\Ore Elementals\AgapiteElemental.cs: CS0246: (
line 47, column 18) The type or namespace name 'AgapiteOre' could not be found (
are you missing a using directive or an assembly reference?)
- Error: Scripts\Mobiles\Monsters\Ore Elementals\DullCopperElemental.cs: CS0246
: (line 47, column 18) The type or namespace name 'DullCopperOre' could not be f
ound (are you missing a using directive or an assembly reference?)
- Error: Scripts\Mobiles\Monsters\Ore Elementals\GoldenElemental.cs: CS0246: (l
ine 47, column 18) The type or namespace name 'GoldOre' could not be found (are
you missing a using directive or an assembly reference?)
- Error: Scripts\Mobiles\Monsters\Ore Elementals\ShadowIronElemental.cs: CS0246
: (line 47, column 18) The type or namespace name 'ShadowIronOre' could not be f
ound (are you missing a using directive or an assembly reference?)
- Error: Scripts\Mobiles\Monsters\Ore Elementals\ValoriteElemental.cs: CS0246:
(line 51, column 18) The type or namespace name 'ValoriteOre' could not be found
(are you missing a using directive or an assembly reference?)
- Error: Scripts\Mobiles\Monsters\Ore Elementals\VeriteElemental.cs: CS0246: (l
ine 48, column 18) The type or namespace name 'VeriteOre' could not be found (ar
e you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

bacaw

Sorceror
Valo those errors are completely irrelevant to this level system, those are all dealing with the your Ores/Ingots :rolleyes:
 

Kheldar

Sorceror
u need veryfire in pack to use level and levelup commands. btw this is a great script my question is that we have a jail system on the shard that takes all items and puts them in bank in a bag this includes the veryfire that is invisible we r currently have to move it manually i was wonderin if there is a way to make it so that even with that it stays in pack at all times and yes it stays when they die just not when they go to jail ty in advance for any help u can give
 

Josh787

Wanderer
Ok i was think of puting this script in and wonder about the race system. When a player choses a race does it automaticlly give the player all that skill or do the have to work that skill up lol?
 

Elsa

Wanderer
glass sword

When my player character used the glass sword weapon, she one-hit-killed a monster but then she couldnt loot it and she got no exp points

edit: couldn't loot it b/c it says she 'did not earn the right to loot this creature!'
I had her by herself with it, so no one else or anything would have attacked it nor would it target anyone/anything else.
 

bacaw

Sorceror
Kheldar said:
u need veryfire in pack to use level and levelup commands. btw this is a great script my question is that we have a jail system on the shard that takes all items and puts them in bank in a bag this includes the veryfire that is invisible we r currently have to move it manually i was wonderin if there is a way to make it so that even with that it stays in pack at all times and yes it stays when they die just not when they go to jail ty in advance for any help u can give
a good way to prevent from the server crash would be just to put a null check in before you send the gump ( its what i did in mine ) and now no more crashes ( yet :S lol )

And for ur Veryfire problems just put a check for that item in there pack in your script like this
Code:
 Item vy = from.Backpack.FindItemByType( typeof( Veryfire ) );
replcace Veryfire with w/e it is called.
and then ull need to make sure it isnt allowed into that bag!
 
Top