Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 04-02-2005, 08:46 PM   #1 (permalink)
Forum Novice
 
Join Date: Feb 2005
Location: Mobile Alabama
Age: 18
Posts: 123
Send a message via ICQ to The Great Alkah Send a message via AIM to The Great Alkah Send a message via Yahoo to The Great Alkah
Default A global skill

I need to know if there is a way to make everone's skills 0. Here is my reason. I am deleting skill gates because i would figure that people with 6000+ skill points lags. Ad the pvp is also retarded, I think pvp would be better if players can set their skills. Only problem is, How do i make EVERYONE's skills back to 0 without deleteing accounts? is there a command? Please help.

Thanks
Your help is REALLY appretiated

Alkah
The Great Alkah is offline   Reply With Quote
Old 04-03-2005, 06:43 PM   #2 (permalink)
 
Join Date: Feb 2005
Age: 22
Posts: 115
Default

[setallskills 0
GG521 is offline   Reply With Quote
Old 04-03-2005, 07:27 PM   #3 (permalink)
Forum Expert
 
Savaal's Avatar
 
Join Date: Apr 2004
Location: A hole in the wall...
Age: 19
Posts: 1,075
Default

Quote:
Originally Posted by GG521
[setallskills 0
GG521 That command is for a single mobile, being the Distro [setallskills doesnt support the Global modifier you will not be able to go [Global setallskills so you will either have to modify the Command or Script your own like this

Code:
using System; 
using System.Collections; 
using Server; 
using Server.Items; 
using Server.Mobiles; 

namespace Server.Scripts.Commands 
{ 
	public class GlobalSkills 
	{ 

		public static void Initialize() 
		{ 
			Server.Commands.Register( "GlobalSkills", AccessLevel.Administrator, new CommandEventHandler( GlobalSkills_OnCommand ) ); 
		}
		public static void GlobalSkills_OnCommand( CommandEventArgs arg )
		{
			try
			{
				foreach ( Mobile mob in World.Mobiles.Values )
				{
				mob.Skills[SkillName.Alchemy].Base = 100;
				mob.Skills[SkillName.Anatomy].Base = 100;
				mob.Skills[SkillName.AnimalLore].Base = 100;
				mob.Skills[SkillName.AnimalTaming].Base = 100;
				mob.Skills[SkillName.Archery].Base = 100;
                                                                        mob.Skills[SkillName.ArmsLore].Base = 100;
                                                                        mob.Skills[SkillName.Begging].Base = 100;
				mob.Skills[SkillName.Blacksmith].Base = 100;
				mob.Skills[SkillName.Camping].Base = 100;
				mob.Skills[SkillName.Carpentry].Base = 100;
				mob.Skills[SkillName.Cartography].Base = 100;
				mob.Skills[SkillName.Cooking].Base = 100;
				mob.Skills[SkillName.Chivalry].Base = 100;
				mob.Skills[SkillName.DetectHidden].Base = 100;
				mob.Skills[SkillName.Discordance].Base = 100;
				mob.Skills[SkillName.EvalInt].Base = 100;
				mob.Skills[SkillName.Fishing].Base = 100;
				mob.Skills[SkillName.Fencing].Base = 100;
				mob.Skills[SkillName.Fletching].Base = 100;
				mob.Skills[SkillName.Focus].Base = 100;
				mob.Skills[SkillName.Forensics].Base = 100;
				mob.Skills[SkillName.Healing].Base = 100;
				mob.Skills[SkillName.Herding].Base = 100;
				mob.Skills[SkillName.Hiding].Base = 100;
				mob.Skills[SkillName.Inscribe].Base = 100;
				mob.Skills[SkillName.ItemID].Base = 100;
				mob.Skills[SkillName.Lockpicking].Base = 100;
				mob.Skills[SkillName.Lumberjacking].Base = 100;
				mob.Skills[SkillName.Macing].Base = 100;
				mob.Skills[SkillName.Magery].Base = 100;
				mob.Skills[SkillName.MagicResist].Base = 100;
				mob.Skills[SkillName.Meditation].Base = 100;
				mob.Skills[SkillName.Mining].Base = 100;
				mob.Skills[SkillName.Musicianship].Base = 100;
				mob.Skills[SkillName.Necromancy].Base = 100;
				mob.Skills[SkillName.Parry].Base = 100;
				mob.Skills[SkillName.Peacemaking].Base = 100;
				mob.Skills[SkillName.Poisoning].Base = 100;
				mob.Skills[SkillName.Provocation].Base = 100;
				mob.Skills[SkillName.RemoveTrap].Base = 100;
				mob.Skills[SkillName.Snooping].Base = 100;
				mob.Skills[SkillName.SpiritSpeak].Base = 100;
				mob.Skills[SkillName.Stealing].Base = 100;
				mob.Skills[SkillName.Stealth].Base = 100;
				mob.Skills[SkillName.Swords].Base = 100;
				mob.Skills[SkillName.Tactics].Base = 100;
				mob.Skills[SkillName.Tailoring].Base = 100;
				mob.Skills[SkillName.TasteID].Base = 100;
				mob.Skills[SkillName.Tinkering].Base = 100;
				mob.Skills[SkillName.Tracking].Base = 100;
				mob.Skills[SkillName.Veterinary].Base = 100;
				mob.Skills[SkillName.Wrestling].Base = 100;
				}
			}
			catch ( Exception ex )
			{
			}	

		}
	}
}
Set the 100's to 0 and in game type [globalskills and this will set all Offline and Online players skills to 0.0% i hope this simple script helps and boosts my rep lmao i'm -8 rep points..
Attached Files
File Type: cs GlobalSkills.cs (3.2 KB, 15 views)
Savaal is offline   Reply With Quote
Old 04-03-2005, 08:37 PM   #4 (permalink)
 
Join Date: Feb 2005
Age: 22
Posts: 115
Default

I know what my command does =D. I just didn't quite understand what he was asking for. People have to be more specific
GG521 is offline   Reply With Quote
Old 04-03-2005, 09:47 PM   #5 (permalink)
Forum Expert
 
Savaal's Avatar
 
Join Date: Apr 2004
Location: A hole in the wall...
Age: 19
Posts: 1,075
Default

He was specific he simply said he wanted EVERYONES Skills to 0.0% without having to do a account wipe.
Savaal is offline   Reply With Quote
Old 04-03-2005, 10:46 PM   #6 (permalink)
 
Join Date: Jan 2005
Location: Northern Michigan
Age: 44
Posts: 357
Send a message via ICQ to Liam Send a message via MSN to Liam
Default

Quote:
Originally Posted by Savaal
He was specific he simply said he wanted EVERYONES Skills to 0.0% without having to do a account wipe.
He wasn't specific.

GG's answer was correct to the question asked.

The answer was given that answered his question. He could use that on every playermobile and achieve the very results that he asked for.

Did he ask if there was a command to do it all at once or did you assume he meant everyone "at once" because he said "everyone" in his request?

Reading what he says, he never says he wants to do it all with a single command.

If he wanted to do this with a single command, perhaps his statement would have been something along the lines "I need to know if there is a way to make everone's skills 0 using a global command?" Now that would have been specific.
Liam is offline   Reply With Quote
Old 04-04-2005, 02:35 AM   #7 (permalink)
Forum Expert
 
Savaal's Avatar
 
Join Date: Apr 2004
Location: A hole in the wall...
Age: 19
Posts: 1,075
Default

No, Liam what do you think everyone means i'm not gonna argue with anyone the fact is I UNDERSTOOD he was specific enough for me and i helped him nuff said.. this topic can end now.
Savaal is offline   Reply With Quote
Old 04-04-2005, 07:58 AM   #8 (permalink)
Forum Novice
 
Join Date: Feb 2005
Location: Mobile Alabama
Age: 18
Posts: 123
Send a message via ICQ to The Great Alkah Send a message via AIM to The Great Alkah Send a message via Yahoo to The Great Alkah
Default

Thank you very much savaal I will try it out and please lets keep the flames to a minimum, if I was not specific enough then I apologize.
The Great Alkah is offline   Reply With Quote
Old 04-04-2005, 08:29 AM   #9 (permalink)
Forum Novice
 
Join Date: Feb 2005
Location: Mobile Alabama
Age: 18
Posts: 123
Send a message via ICQ to The Great Alkah Send a message via AIM to The Great Alkah Send a message via Yahoo to The Great Alkah
Default

It worked out great thanks savaal
The Great Alkah is offline   Reply With Quote
Old 04-04-2005, 11:18 AM   #10 (permalink)
Forum Expert
 
Savaal's Avatar
 
Join Date: Apr 2004
Location: A hole in the wall...
Age: 19
Posts: 1,075
Default

No problem at all, i always try to help when i can.
Savaal is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5