i have some problems with injecting of my source
here the source of hack:
using System.Collections.Generic;
using UnityEngine;
namespace UnityTestShit
{
public class DrawShit : MonoBehaviour
{
void OnGUI()
{
if (Event.current.type != EventType.Repaint)
return;
var spacing = 30;
var curY = 400;
for (int i = 0; i < 16; ++i)
{
var curPlayer = PlayerControll.Player[i];
if (curPlayer == null || curPlayer.go == null)
continue;
var output = string.Format("{0}: Pos={1} level={2}", curPlayer.Name, curPlayer.currPos, curPlayer.level);
GUI.TextArea(new Rect(15, curY, 200, 35), output);
curY += spacing;
}
}
}
}
here the injector settings:
[Injection]
path=C:\UnitySuite\WM.dll
namespace=UnityTestShit
class=Loader
method=Init
[Debug]
conout=1
ghost=1
[Injector]
target=warmode.exe