cool. This is already in most sources tho.
Well yea, nothing to say really. Just teleports you to your quest if you have one..
if you want other ranks to have permission to use this code simply change 7 to the rank you desire
This has to be added to wServer\realm\commands\AdminCommands.cs
Code:internal class TpQuestCommand : Command { public TpQuestCommand() : base("tpq", 7) { } protected override bool Process(Player player, RealmTime time, string args) { if (player.Quest == null) return false; player.Move(player.Quest.X + 0.5f, player.Quest.Y + 0.5f); player.SetNewbiePeriod(); player.UpdateCount++; player.Owner.BroadcastPacket(new GotoPacket { ObjectId = player.Id, Position = new Position { X = player.Quest.X, Y = player.Quest.Y } }, null); return true; } }
Last edited by cxydsaewq; 02-06-2017 at 04:45 AM.
[Vouched] Filehost l VPN l Music l Streaming l Gaming l Education l Security l Torrent l Others [All Accounts Shop]
Educational Account Store [Chegg l Coursehero l Grammarly l Pluarsight l Udemy l Ect]
VPN Store [ExpressVPN l IPVanish l HideMyAss l VyerVPN l NordVPN l StrongVPN l Others]
90% of Torrent - Trackers Accounts l Invites l Service l Warranty
cool. This is already in most sources tho.
[Vouched] Filehost l VPN l Music l Streaming l Gaming l Education l Security l Torrent l Others [All Accounts Shop]
Educational Account Store [Chegg l Coursehero l Grammarly l Pluarsight l Udemy l Ect]
VPN Store [ExpressVPN l IPVanish l HideMyAss l VyerVPN l NordVPN l StrongVPN l Others]
90% of Torrent - Trackers Accounts l Invites l Service l Warranty