BlackRayquaza (11-15-2015),Stellar Spark (11-15-2015)
This command just maxes your pet level :3 Put it in admincommands.cs
Code:internal class PetMaxCommand : Command { public PetMaxCommand() : base("petmax", 1) { } protected override bool Process(Player player, RealmTime time, string[] args) { Item feed = player.Manager.GameData.Items[0x9d4]; for (int i = 0; i < 50; i++) { player.Pet.Feed(feed); player.Pet.UpdateCount++; } return true; } }
BlackRayquaza (11-15-2015),Stellar Spark (11-15-2015)
Useful for lazy people I guess.
YEP cock
Maybe a little improvement to reduce CPU usage?
1. Replace in db/IFeedable.cs
with:Code:ushort FeedPower { get; set; }
Code:int FeedPower { get; set; }
2. Replace in db/data/Descriptors.cs
with:Code:public ushort FeedPower { get; set; }
Code:public int FeedPower { get; set; }
3. Add your command
Code:internal class PetMaxCommand : Command { public PetMaxCommand() : base("petmax", 1) { } protected override bool Process(Player player, RealmTime time, string[] args) { if (player.Pet == null) return false; player.Pet.Feed(new PetFoodNomNomNom()); player.Pet.UpdateCount++; return true; } private class PetFoodNomNomNom : IFeedable { public int FeedPower { get; set; } public PetFoodNomNomNom() { FeedPower = Int32.MaxValue; } } }
[MPGH]Ahl (11-15-2015),BlackRayquaza (11-15-2015),HGAEHaeheadhetdhtertherh (11-16-2015),lkdjnfoskjednfblksjdfn (11-26-2015),Lxys (11-27-2015),Riigged (11-15-2015),Stellar Spark (11-15-2015)
i dont have a admincommands.cs.....
another post bumped that i didnt notice lol, i was gonna say this came with Edited FSOD source by Drake Games