|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
|
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 |
|
|
|
|
|
#3 (permalink) | |
|
Forum Expert
Join Date: Apr 2004
Location: A hole in the wall...
Age: 19
Posts: 1,075
|
Quote:
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 )
{
}
}
}
}
and boosts my rep lmao i'm -8 rep points.. ![]() |
|
|
|
|
|
|
#6 (permalink) | |
|
Quote:
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. ![]() |
||
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
Join Date: Apr 2004
Location: A hole in the wall...
Age: 19
Posts: 1,075
|
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.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|