Character Rollback source code
Because my code that I wrote has been deleted:
To dupe extremely fast:
Trade 8 items from one mule to another, the one that trades away the items types /dupe. Repeat.
By the way the original thread is still on google cache:
http://webcache.googleusercontent.co....0.3h9hUe2qPGY
edit:
Hilarious:

Because that's totally the reason, and no other reason.

http://webcache.googleusercontent.co...94.7tK6C_aiK7k
Code:
using Lib_K_Relay;
using Lib_K_Relay.Interface;
using Lib_K_Relay.Networking;
using Lib_K_Relay.Networking.Packets;
using Lib_K_Relay.Networking.Packets.Client;
using Lib_K_Relay.Utilities;
using System;
namespace Rollback
{
public class Rollback : IPlugin
{
private UInt32 _amount = 30000;
public string GetAuthor()
{
return "059";
}
public string GetName()
{
return "Rollback";
}
public string GetDescription()
{
return "Delays character saving on the server.";
}
public string[] GetCommands()
{
return new string[2]
{
"/dupe", "/damount"
};
}
public void Initialize(Proxy proxy)
{
proxy.HookCommand("dupe", OnDupeCommand);
proxy.HookCommand("damount", OnAmountCommand);
}
private void OnDupeCommand(Client client, string command, string[] args)
{
ChangeGuildRankPacket changeGuildRankPacket = (ChangeGuildRankPacket)Packet.Create(PacketType.CHANGEGUILDRANK);
changeGuildRankPacket.GuildRank = -1;
changeGuildRankPacket.Name = "\n";
for (int index = 0; index < _amount; ++index)
client.SendToServer((Packet)changeGuildRankPacket);
client.SendToClient((Packet)PluginUtils.CreateNotification((int)client.ObjectId, 0xFFFF00, "Rollback Initiated"));
client.SendToClient((Packet)PluginUtils.CreateOryxNotification("@059", "Rollback Initiated at " + DateTime.Now));
}
private void OnAmountCommand(Client client, string command, string[] args)
{
if (args.Length == 1){
_amount = UInt32.Parse(args[0]);
client.SendToClient((Packet)PluginUtils.CreateOryxNotification("@059", "Amount set to " + _amount));
}
}
}
}
Trade 8 items from one mule to another, the one that trades away the items types /dupe. Repeat.
By the way the original thread is still on google cache:
http://webcache.googleusercontent.co....0.3h9hUe2qPGY
edit:
Hilarious:

Because that's totally the reason, and no other reason.

http://webcache.googleusercontent.co...94.7tK6C_aiK7k
