[Only registered and activated users can see links. Click Here To Register...]
This is simply a sample of a future release, nothing more.
Saint said to post a video of a simple bot using JProxy API so I said sure.
Here's a small video, you'll understand whats below once you've watched it. It's about 10 minutes long.
There's sound, but you don't really need it. Feel free to mute sound on the video.
JProxy API - Auto Follower
[Only registered and activated users can see links. Click Here To Register...]
JProxy API - Path Finding
[Only registered and activated users can see links. Click Here To Register...]
JProxy Autolooter
[Only registered and activated users can see links. Click Here To Register...]
I'm sure based on this, you can tell JProxyAPI will bring a new age to bot creating based on how simple but effective this bot is.
This is simply a sample of a future release, nothing more.
Saint said to post a video of a simple bot using JProxy API so I said sure.
Here's a small video, you'll understand whats below once you've watched it. It's about 10 minutes long.
There's sound, but you don't really need it. Feel free to mute sound on the video.
JProxy API - Auto Follower
[Only registered and activated users can see links. Click Here To Register...]
Code:
using System;
using System.Threading;
using JProxyNativeInterface;
namespace ExamplePlugin
{
public class PluginClass
{
private static PluginForm Form;
private static JNativeGameClient Client;
private static ushort LastFollowedX;
private static ushort LastFollowedY;
public static void ServerToClient(IntPtr nativeInstance, byte[] Packet)
{
if (Form.Following)
{
Client = new JNativeGameClient(nativeInstance);
if (BitConverter.ToUInt16(Packet, 2) == 0x271A)
{ // 0x271A, 0x89 (Jump packet)
foreach (JNativeBasicEntity Entity in Client.Screen.Objects)
{
if (Entity.Name == Form.FollowName)
{
if (Entity.X != LastFollowedX &&
Entity.Y != LastFollowedY)
{
LastFollowedX = Entity.X;
LastFollowedY = Entity.Y;
Client.Jump(LastFollowedX, LastFollowedY);
Client.SyncClientScreen();
}
break;
}
}
}
}
}
public static void Main()
{
Form = new PluginForm();
new Thread(delegate()
{
System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
Form.ShowDialog();
}
).Start();
}
}
}
JProxy API - Path Finding
[Only registered and activated users can see links. Click Here To Register...]
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using JProxyNativeInterface;
namespace ExamplePlugin
{
public class PluginClass
{
public static void ClientCommand(IntPtr nativeInstance, string From, string To, string Message)
{
string[] cmd = Message.Split(' ');
if (cmd[0].ToLower() == "/findpath")
{
JNativeGameClient Client = new JNativeGameClient(nativeInstance);
new Thread(
delegate()
{
IntPtr hThread = Client.AddDependentThread(Thread.CurrentThread);
Client.SendClientMessage("JProxy is searching for a path please wait.", JNativeDialogType.Center);
JNativePoint[] path = JStandardLibrary.GetPath(Client.Map, Client.X, Client.Y, 947, 548);
Client.SendClientMessage("JProxy has found you a path.", JNativeDialogType.Center);
for (int i = 10; i < path.Length; i += 10)
{
Client.Jump(path[i].X, path[i].Y);
if (i % 20 == 0)
Client.SyncClientScreen();
System.Threading.Thread.Sleep(1000);
}
Client.Jump(path[path.Length - 1].X, path[path.Length - 1].Y);
Client.SyncClientScreen();
Client.RemoveDependentThread(hThread);
}
).Start();
}
}
}
}
[Only registered and activated users can see links. Click Here To Register...]
Code:
SOURCE NOT INCLUDED