├── rustbox.sln
└── rustbox
├── App.config
├── FTD3XX.dll
├── Features
├── GameObject.cs
├── Offsets.cs
└── UpdateLoop.cs
├── FormMain.Designer.cs
├── FormMain.cs
├── FormMain.resx
├── Memory
├── DMAController.cs
└── VmmWrapper.cs
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
└── Settings.settings
├── leechcore.dll
├── packages.config
├── rustbox.csproj
└── vmm.dll
/rustbox.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.31729.503
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "rustbox", "rustbox\rustbox.csproj", "{C2D5A42D-035A-4A3F-8725-DA9D5192259E}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x64 = Debug|x64
12 | Release|Any CPU = Release|Any CPU
13 | Release|x64 = Release|x64
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Debug|x64.ActiveCfg = Debug|x64
19 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Debug|x64.Build.0 = Debug|x64
20 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Release|x64.ActiveCfg = Release|x64
23 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}.Release|x64.Build.0 = Release|x64
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {AE231143-2162-45FA-94FF-E641DE1C61E9}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/rustbox/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/rustbox/FTD3XX.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bytemyass/rustbox/12260d0be99fc451e14019b62c865ca97e8e050f/rustbox/FTD3XX.dll
--------------------------------------------------------------------------------
/rustbox/Features/GameObject.cs:
--------------------------------------------------------------------------------
1 | namespace rustbox.Features
2 | {
3 | public class GameObject
4 | {
5 | }
6 | }
--------------------------------------------------------------------------------
/rustbox/Features/Offsets.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace rustbox
8 | {
9 | public static class Offsets
10 | {
11 | public enum PlayerFlags // TypeDefIndex: 8879
12 | {
13 | Unused1 = 1,
14 | Unused2 = 2,
15 | IsAdmin = 4,
16 | ReceivingSnapshot = 8,
17 | Sleeping = 16,
18 | Spectating = 32,
19 | Wounded = 64,
20 | IsDeveloper = 128,
21 | Connected = 256,
22 | ThirdPersonViewmode = 1024,
23 | EyesViewmode = 2048,
24 | ChatMute = 4096,
25 | NoSpr = 8192,
26 | Aiming = 16384,
27 | DisplaySash = 32768,
28 | Relaxed = 65536,
29 | SafeZone = 131072,
30 | ServerFall = 262144,
31 | Incapacitated = 524288,
32 | Workbench1 = 1048576,
33 | Workbench2 = 2097152,
34 | Workbench3 = 4194304
35 | }
36 |
37 | // DECIMAL TO HEX: https://www.rapidtables.com/convert/number/decimal-to-hex.html (THE SCRIPTS.JSON OFFSETS BELOW WILL BE IN DECIMAL FORM WHEN YOU FIND THEM)
38 | public static uint gom = 0x17C1F18;
39 | public static uint baseNetworkable = 0x3149A10; //BaseNetworkable_Typeinfo > scripts.json
40 | public static uint occlusionculling = 0x3149F48; //OcclusionCulling_Typeinfo > scripts.json
41 | public static uint OutlineManager = 0x3135070; //for blur chams material : OutlineManager_TypeInfo > scripts.json
42 | public static uint GraphicsCVar = 0x3147610; //ConVar.Graphics_Typeinfo > scripts.json
43 |
44 |
45 | public static uint playerFlags = 0x680; //BasePlayer
46 | public static uint playerEyes = 0x688; //BasePlayer
47 |
48 | public static uint health = 0x224; //BaseCombatEntity _health
49 | public static uint playerInventory = 0x690; //BasePlayer
50 | public static uint clActiveItem = 0x5D0; //BasePlayer
51 | public static uint recoilProperties = 0x2D8; //BaseProjectile
52 |
53 | public static uint playerModel = 0x4C0; //BasePlayer
54 | public static uint skinSetWomen = 0x198; //Playermodel
55 | public static uint skinSetMale = 0x190; //Playermodel
56 | public static uint needsClothingRebuild = 0x520; //Playermodel
57 |
58 |
59 | public static uint clothingBlocksAiming = 0x750; // BasePlayer : BaseCombatEntity
60 | public static uint clothingMoveSpeedReduction = 0x754; // BasePlayer : BaseCombatEntity
61 | public static uint equippingBlocked = 0x760; // BasePlayer : BaseCombatEntity
62 | public static uint playerBaseMovement = 0x4e8; // BasePlayer
63 |
64 | public static uint groundAngle = 0xc4; // PlayerWalkMovement : BaseMovement
65 | public static uint groundAngleNew = 0xc8; // PlayerWalkMovement : BaseMovement
66 | public static uint jumpTime = 0xd0; // PlayerWalkMovement : BaseMovement
67 | public static uint landTime = 0xd4; // PlayerWalkMovement : BaseMovement
68 | public static uint groundTime = 0xcc; // PlayerWalkMovement : BaseMovement
69 |
70 | public static uint cameraFov = 0x18; // BasePlayer : BaseCombatEntity
71 | public static uint CameraManager = 0x18; // BasePlayer : BaseCombatEntity
72 |
73 | public static uint debugShow = 0x94; //
74 | public static uint debugSettings = 0x18; //
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/rustbox/Features/UpdateLoop.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.Linq;
5 | using System.Runtime.InteropServices;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace rustbox.Features
10 | {
11 | public static class VectorExtensions
12 | {
13 | public static System.Numerics.Vector3 RotateY(this System.Numerics.Vector3 vector, double yaw)
14 | {
15 | var s = Math.Sin(yaw);
16 | var c = Math.Cos(yaw);
17 |
18 | return new System.Numerics.Vector3(
19 | Convert.ToSingle(vector.X * c - vector.Z * s),
20 | vector.Y,
21 | Convert.ToSingle(vector.X * s + vector.Z * c)
22 | );
23 | }
24 | }
25 |
26 | public static class UpdateLoop
27 | {
28 | public static bool noRecoil = false;
29 | public static bool adminFlag = false;
30 | public static bool keepRecoil = false;
31 |
32 | public static bool viewOffset = false;
33 | public static bool spiderman = false;
34 | public static bool canJump = false;
35 |
36 | public static bool setFov = false;
37 | public static float fov = 90;
38 | public static bool cullingESP = false;
39 |
40 | public static FormMain formMain;
41 |
42 | private static ulong localPlayer = 0;
43 | private static ulong GameObjectManager = 0;
44 | private static ulong TOD_Sky = 0;
45 |
46 | private static bool restoredRecoil = false;
47 | private static ulong lastWeaponPtr = 0;
48 | private static uint lastItemId;
49 |
50 |
51 | public static bool rewrite = false;
52 |
53 | public struct Weapon
54 | {
55 | public int oMaxYaw;
56 | public int oMaxPitch;
57 | public float multiplierYaw;
58 | public float multiplierPitch;
59 |
60 | public Weapon(int oMaxYaw, int oMaxPitch, float multiplierYaw, float multiplierPitch)
61 | {
62 | this.oMaxPitch = oMaxPitch;
63 | this.oMaxYaw = oMaxYaw;
64 | this.multiplierYaw = multiplierYaw;
65 | this.multiplierPitch = multiplierPitch;
66 | }
67 | }
68 |
69 | public static Dictionary weaponDict = new Dictionary();
70 | public static volatile Dictionary cachedEntities = new Dictionary();
71 |
72 | public static void RunEntityLoop()
73 | {
74 | GameObjectManager = DMAController.ReadMemory(DMAController.unityplayer.vaBase + Offsets.gom);
75 |
76 | ulong baseNetworkable = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.baseNetworkable);
77 | baseNetworkable = DMAController.ReadMemory(baseNetworkable + 0xb8);
78 | baseNetworkable = DMAController.ReadMemory(baseNetworkable);
79 |
80 | var ffirstptr = DMAController.ReadMemory(baseNetworkable + 0x10);
81 | var secondPTR = DMAController.ReadMemory(ffirstptr + 0x28);
82 | var ThirdPTR = DMAController.ReadMemory(secondPTR + 0x18);
83 |
84 | TOD_Sky = FindSkyDome();
85 |
86 | int prevSelectedChams = 0;
87 |
88 | while (true)
89 | {
90 | if (formMain.checkBoxInteractiveDebugCamera.Checked)
91 | continue;
92 |
93 | List control = new List();
94 | var objectPtr = DMAController.ReadMemory(ThirdPTR + 0x20 + (0 * 0x8));
95 | var localPlayerGameObject = DMAController.ReadMemory(objectPtr + 0x10);
96 | localPlayer = DMAController.ReadMemory(localPlayerGameObject + 0x30);
97 |
98 | var listLenght = DMAController.ReadMemory(secondPTR + 0x10);
99 |
100 | byte[] buffer = vmm.MemRead(DMAController.pid, ThirdPTR + 0x20, (uint)(sizeof(ulong) * listLenght));
101 | Span ptrs = MemoryMarshal.Cast(buffer);
102 |
103 | bool needsRewrite = formMain.needRewrite;
104 |
105 | for (int i = 1; i < ptrs.Length; i++)
106 | {
107 | if (ptrs[i] != 0)
108 | {
109 | control.Add(ptrs[i]);
110 |
111 | var baseObject = DMAController.ReadMemory(ptrs[i] + 0x10);
112 | var ent = DMAController.ReadMemory(baseObject + 0x28);
113 | var entClass = DMAController.ReadMemory(ent);
114 | var classNamePtr = DMAController.ReadMemory(entClass + 0x10);
115 | var className = DMAController.ReadClassName(classNamePtr);
116 |
117 | GameObject cachedGom;
118 | if (cachedEntities.TryGetValue(ptrs[i], out cachedGom))
119 | {
120 | if (className != "BasePlayer")
121 | continue;
122 | }
123 | else
124 | {
125 | cachedEntities.Add(ptrs[i], new GameObject());
126 | }
127 |
128 | if (className == "BasePlayer" && formMain.checkBoxChams.Checked)
129 | {
130 | ulong shit = DMAController.ReadMemory(baseObject + 0x30);
131 | ulong objectClasses = DMAController.ReadMemory(shit + 0x30);
132 | ulong Entity = DMAController.ReadMemory(objectClasses + 0x18);
133 | ulong baseEntity = DMAController.ReadMemory(Entity + 0x28);
134 |
135 | if (baseEntity != 0 && TOD_Sky != 0)
136 | {
137 | //scattering mat (white)
138 | ulong components = DMAController.ReadMemory(TOD_Sky + 0xA8);
139 | ulong scattering = DMAController.ReadMemory(components + 0x1A0);
140 | ulong material = DMAController.ReadMemory(scattering + 0x78);
141 |
142 | //outlineManager mat (shiny/chrome kinda)
143 | ulong outlineManager = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.OutlineManager);
144 | ulong component = DMAController.ReadMemory(outlineManager + 0xB8);
145 | ulong material2 = DMAController.ReadMemory(component + 0x0);
146 |
147 |
148 | //set player skin to cham material
149 | ulong playerModel = DMAController.ReadMemory(baseEntity + Offsets.playerModel); //playerModel in Baseplayer
150 | ulong skinSet = DMAController.ReadMemory(playerModel + Offsets.skinSetWomen);
151 | ulong skinSetMale = DMAController.ReadMemory(playerModel + Offsets.skinSetMale);
152 |
153 | SetMaterial(skinSetMale, material, material2);
154 | SetMaterial(skinSet, material, material2);
155 |
156 | if (needsRewrite)
157 | DMAController.WriteMemory(baseEntity + Offsets.needsClothingRebuild, true); //needs clothing rebuild
158 | }
159 | }
160 | }
161 | }
162 |
163 | if (needsRewrite)
164 | formMain.needRewrite = false;
165 | }
166 | }
167 |
168 | public static void SetMaterial(ulong skinset, ulong material, ulong material2)
169 | {
170 | if (skinset != 0)
171 | {
172 | ulong skins = DMAController.ReadMemory(skinset + 0x18);
173 | int size = DMAController.ReadMemory(skins + 0x18);
174 |
175 | if (size < 20)
176 | {
177 | for (int e = 0; e < size; e++)
178 | {
179 | ulong currentSkinSet = DMAController.ReadMemory(skins + 0x20 + (ulong)(e * 0x8));
180 |
181 | if (currentSkinSet != 0)
182 | {
183 |
184 | if (material != 0)
185 | {
186 | if (formMain.selectedChams == 0) //scattering
187 | {
188 | DMAController.WriteMemory(currentSkinSet + 0x68, material);
189 | DMAController.WriteMemory(currentSkinSet + 0x70, material);
190 | DMAController.WriteMemory(currentSkinSet + 0x78, material);
191 | }
192 | if (formMain.selectedChams == 2) //null
193 | {
194 | DMAController.WriteMemory(currentSkinSet + 0x68, 0);
195 | DMAController.WriteMemory(currentSkinSet + 0x70, 0);
196 | DMAController.WriteMemory(currentSkinSet + 0x78, 0);
197 | }
198 |
199 | }
200 | if (material2 != 0)
201 | {
202 | if (formMain.selectedChams == 1) //shiny blur
203 | {
204 | DMAController.WriteMemory(currentSkinSet + 0x68, material2);
205 | DMAController.WriteMemory(currentSkinSet + 0x70, material2);
206 | DMAController.WriteMemory(currentSkinSet + 0x78, material2);
207 | }
208 |
209 |
210 | }
211 |
212 | }
213 | }
214 | }
215 | }
216 | }
217 |
218 | public static void DestroyOldEntities(List control)
219 | {
220 | try
221 | {
222 | ulong[] controlLocalCopy = new ulong[control.Count];
223 | control.CopyTo(controlLocalCopy);
224 |
225 | for (int i = 0; i < cachedEntities.Count; i++)
226 | {
227 | if (!controlLocalCopy.Contains(cachedEntities.ElementAt(i).Key))
228 | {
229 | cachedEntities.Remove(cachedEntities.ElementAt(i).Key);
230 | }
231 | }
232 | }
233 | catch (Exception ex) { }
234 | }
235 |
236 | [DllImport("User32.dll")]
237 | private static extern short GetAsyncKeyState(System.Windows.Forms.Keys vKey); // Keys enumeration
238 |
239 | private static double previousYaw = 0;
240 | private static float camSpeed = 0.00015f;
241 | private static float camSpeedMultiplier = 5;
242 | private static bool camFast = false;
243 | private static float camDrag = 0.99f;
244 | private static bool camFlyToLook = true;
245 | private static System.Numerics.Vector3 camVelocity = new System.Numerics.Vector3();
246 |
247 | private static System.Numerics.Vector3 targetmovement = new System.Numerics.Vector3();
248 |
249 | private static System.Numerics.Vector3 forward = new System.Numerics.Vector3(0, 0, 1);
250 | private static System.Numerics.Vector3 right = new System.Numerics.Vector3(1, 0, 0);
251 | private static System.Numerics.Vector3 up = new System.Numerics.Vector3(0, 1, 0);
252 |
253 | private static System.Numerics.Vector3 GetForwardDirection(System.Numerics.Quaternion quaternion)
254 | {
255 | return new System.Numerics.Vector3(
256 | 2 * (quaternion.X * quaternion.Z + quaternion.W * quaternion.Y),
257 | 2 * (quaternion.Y * quaternion.Z - quaternion.W * quaternion.X),
258 | 1 - 2 * (quaternion.X * quaternion.X - quaternion.Y * quaternion.Y)
259 | );
260 | }
261 |
262 | private static double GetYawRad(System.Numerics.Quaternion q)
263 | {
264 | return Math.Atan2(2 * q.Y * q.W - 2 * q.X * q.Z, 1 - 2 * q.Y * q.Y - 2 * q.Z * q.Z);
265 | }
266 |
267 | public static void RunFeatures()
268 | {
269 | Stopwatch stopwatch = new Stopwatch();
270 |
271 | while (true)
272 | {
273 | var deltaTime = Convert.ToSingle(stopwatch.Elapsed.TotalMilliseconds);
274 | stopwatch.Restart();
275 |
276 | var objectClasses = DMAController.ReadMemory(localPlayer + 0x30);
277 | var entity = DMAController.ReadMemory(objectClasses + 0x18);
278 | var baseEntity = DMAController.ReadMemory(entity + 0x28);
279 | var baseMovement = DMAController.ReadMemory(baseEntity + Offsets.playerBaseMovement);
280 | if (formMain.checkBoxInteractiveDebugCamera.Checked && localPlayer != 0)
281 | {
282 | // Read Memory
283 | ulong playerEyes = DMAController.ReadMemory(baseEntity + Offsets.playerEyes); //playerEyes in Baseplayer
284 | System.Numerics.Quaternion currentRotation = DMAController.ReadMemory(playerEyes + 0x44);
285 |
286 | // Calculate how much the camera turned around the Y axis
287 | var currentYaw = GetYawRad(currentRotation);
288 | var deltaRotation = currentYaw - previousYaw; // We need to know how much the camera moved since the last time
289 | previousYaw = currentYaw; // Save the yaw
290 | // If the camera has turned
291 | if (deltaRotation != 0)
292 | // Fix the position
293 | targetmovement = targetmovement.RotateY(deltaRotation);
294 |
295 | // Check for reset
296 | if (GetAsyncKeyState(System.Windows.Forms.Keys.R) != 0)
297 | {
298 | camVelocity = new System.Numerics.Vector3();
299 | targetmovement = new System.Numerics.Vector3();
300 | }
301 |
302 | // Switch camera mode hotkey
303 | if (GetAsyncKeyState(System.Windows.Forms.Keys.Q) != 0)
304 | camFlyToLook = !camFlyToLook;
305 |
306 | //Add movement vector
307 | if (GetAsyncKeyState(System.Windows.Forms.Keys.LShiftKey) != 0)
308 | camFast = true;
309 | else
310 | camFast = false;
311 |
312 | int moveCam = 0;
313 | if (GetAsyncKeyState(System.Windows.Forms.Keys.W) != 0)
314 | {
315 | camVelocity += forward;
316 | moveCam = 1;
317 | }
318 |
319 | if (GetAsyncKeyState(System.Windows.Forms.Keys.S) != 0)
320 | {
321 | camVelocity -= forward;
322 | moveCam = -1;
323 | }
324 |
325 | if (GetAsyncKeyState(System.Windows.Forms.Keys.A) != 0)
326 | camVelocity -= right;
327 | if (GetAsyncKeyState(System.Windows.Forms.Keys.D) != 0)
328 | camVelocity += right;
329 |
330 | // Up/Down movement
331 | if (camFlyToLook)
332 | {
333 | // Add up/down component from view direction
334 | camVelocity.Y += GetForwardDirection(currentRotation).Y * moveCam;
335 | }
336 | else
337 | {
338 | if (GetAsyncKeyState(System.Windows.Forms.Keys.LControlKey) != 0)
339 | camVelocity -= up;
340 | if (GetAsyncKeyState(System.Windows.Forms.Keys.Space) != 0)
341 | camVelocity += up;
342 | }
343 |
344 |
345 | // Apply velocity to pos
346 | if (camFast)
347 | targetmovement += camVelocity * deltaTime * camSpeed * camSpeedMultiplier;
348 | else
349 | targetmovement += camVelocity * deltaTime * camSpeed;
350 |
351 | // Apply drag to velocity
352 | camVelocity *= camDrag;
353 |
354 | DMAController.WriteMemory(playerEyes + 0x38, targetmovement);
355 |
356 | continue;
357 | }
358 |
359 | //j7ware additions//
360 |
361 | if (cullingESP && localPlayer != 0) /// this one makes it constantly write, we dont know if this is necessary yet so use the buttons
362 | {
363 | ulong occlusionCulling = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.occlusionculling);
364 | ulong otherCulling = DMAController.ReadMemory(occlusionCulling + 0xB8);
365 |
366 |
367 |
368 |
369 | DMAController.WriteMemory(otherCulling + Offsets.debugShow, true);
370 |
371 | }
372 |
373 | if (setFov && localPlayer != 0)
374 | {
375 | ulong camManager = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.GraphicsCVar);
376 | ulong camMan = DMAController.ReadMemory(camManager + 0xB8);
377 |
378 | DMAController.WriteMemory(camMan + Offsets.cameraFov, fov);
379 | }
380 |
381 | if (canJump && localPlayer != 0)
382 | {
383 |
384 | DMAController.WriteMemory(baseMovement + Offsets.jumpTime, 0.0f);
385 | DMAController.WriteMemory(baseMovement + Offsets.landTime, 0.0f);
386 | DMAController.WriteMemory(baseMovement + Offsets.groundTime, 2500.0f);
387 |
388 | }
389 |
390 | if (spiderman && localPlayer != 0)
391 | {
392 | DMAController.WriteMemory(baseMovement + Offsets.groundAngle, 0.0f);
393 | DMAController.WriteMemory(baseMovement + Offsets.groundAngleNew, 0.0f);
394 | }
395 | ///////
396 | ////
397 | //
398 |
399 | if (adminFlag && localPlayer != 0)
400 | {
401 | float health = DMAController.ReadMemory(baseEntity + Offsets.health);
402 | int playerFlags = DMAController.ReadMemory(baseEntity + Offsets.playerFlags);
403 |
404 | int sleeping = (playerFlags & (int)Offsets.PlayerFlags.Sleeping);
405 | int wounded = (playerFlags & (int)Offsets.PlayerFlags.Wounded);
406 |
407 | if (sleeping == 0 && wounded == 0 && health > 0)
408 | {
409 | playerFlags |= (int)Offsets.PlayerFlags.IsAdmin;
410 | DMAController.WriteMemory(baseEntity + Offsets.playerFlags, playerFlags);
411 |
412 | }
413 | }
414 |
415 | if (noRecoil)
416 | {
417 | var inventory = DMAController.ReadMemory(baseEntity + Offsets.playerInventory);
418 | var belt = DMAController.ReadMemory(inventory + 0x28);
419 |
420 | for (int i = 0; i < 6; i++)
421 | {
422 | var contentsItemList = DMAController.ReadMemory(belt + 0x38);
423 | var activeItem = DMAController.ReadMemory(baseEntity + Offsets.clActiveItem);
424 | var Items = DMAController.ReadMemory(contentsItemList + 0x10);
425 | var item = DMAController.ReadMemory((ulong)((IntPtr)Items + 0x20 + (i * 0x8)));
426 | var currID = DMAController.ReadMemory(item + 0x28);
427 |
428 | if (item != 0 && currID == activeItem)
429 | {
430 | ulong ItemInfo = DMAController.ReadMemory(item + 0x20);
431 | var ItemId = DMAController.ReadMemory(ItemInfo + 0x18);
432 |
433 | if (ItemId != lastItemId)
434 | RestoreRecoil();
435 |
436 | Weapon weapon;
437 | if (weaponDict.TryGetValue(ItemId, out weapon))
438 | {
439 | ulong baseprojectile = DMAController.ReadMemory(item + 0x98);
440 |
441 | if (ItemId != lastItemId || rewrite)
442 | {
443 | ulong recoilProperties = DMAController.ReadMemory(baseprojectile + Offsets.recoilProperties);
444 |
445 | if (baseprojectile != 0 && recoilProperties != 0)
446 | {
447 | DMAController.WriteMemory(recoilProperties + 0x1C, weapon.oMaxYaw * weapon.multiplierYaw); //writing maxYaw
448 | DMAController.WriteMemory(recoilProperties + 0x24, weapon.oMaxPitch * weapon.multiplierPitch); //writing maxPitch
449 | }
450 | rewrite = false;
451 | }
452 |
453 | lastWeaponPtr = baseprojectile;
454 | restoredRecoil = false;
455 | }
456 |
457 | lastItemId = ItemId;
458 | }
459 | }
460 | }
461 | else
462 | {
463 | if (!restoredRecoil)
464 | {
465 | RestoreRecoil();
466 | restoredRecoil = true;
467 |
468 | restoredRecoil = false;
469 | lastWeaponPtr = 0;
470 | lastItemId = 0;
471 | }
472 | }
473 | }
474 | }
475 |
476 | private static void RestoreRecoil()
477 | {
478 | if (!keepRecoil)
479 | {
480 | Weapon weapon;
481 | if (weaponDict.TryGetValue(lastItemId, out weapon))
482 | {
483 | ulong recoilProperties = DMAController.ReadMemory(lastWeaponPtr + Offsets.recoilProperties);
484 |
485 | if (recoilProperties != 0)
486 | {
487 | DMAController.WriteMemory(recoilProperties + 0x1C, weapon.oMaxYaw); //writing maxYaw
488 | DMAController.WriteMemory(recoilProperties + 0x24, weapon.oMaxPitch); //writing maxPitch
489 | }
490 | }
491 | }
492 | }
493 |
494 | public static ulong FindSkyDome()
495 | {
496 | ulong firstObject = DMAController.ReadMemory(GameObjectManager + 0x8);
497 | ulong nextObject = firstObject;
498 | do
499 | {
500 | ulong gameObject = DMAController.ReadMemory(nextObject + 0x10);
501 | ulong namePtr = DMAController.ReadMemory(gameObject + 0x60);
502 | string gameobjectName = DMAController.ReadString(namePtr);
503 | nextObject = DMAController.ReadMemory(nextObject + 0x8);
504 |
505 | if (gameobjectName.Contains("Sky"))
506 | {
507 | ulong objectClasses = DMAController.ReadMemory(gameObject + 0x30);
508 | ulong Entity = DMAController.ReadMemory(objectClasses + 0x18);
509 | ulong baseEntity = DMAController.ReadMemory(Entity + 0x28);
510 | return baseEntity;
511 | }
512 | }
513 | while (nextObject != firstObject && firstObject != 0); //loops through all gameObjects
514 | return 0;
515 | }
516 | }
517 | }
518 |
--------------------------------------------------------------------------------
/rustbox/FormMain.Designer.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace rustbox
3 | {
4 | partial class FormMain
5 | {
6 | ///
7 | /// Erforderliche Designervariable.
8 | ///
9 | private System.ComponentModel.IContainer components = null;
10 |
11 | ///
12 | /// Verwendete Ressourcen bereinigen.
13 | ///
14 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
15 | protected override void Dispose(bool disposing)
16 | {
17 | if (disposing && (components != null))
18 | {
19 | components.Dispose();
20 | }
21 | base.Dispose(disposing);
22 | }
23 |
24 | #region Vom Windows Form-Designer generierter Code
25 |
26 | ///
27 | /// Erforderliche Methode für die Designerunterstützung.
28 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
29 | ///
30 | private void InitializeComponent()
31 | {
32 | this.groupBox2 = new System.Windows.Forms.GroupBox();
33 | this.labelStatus = new System.Windows.Forms.Label();
34 | this.label33 = new System.Windows.Forms.Label();
35 | this.labelGameAssembly = new System.Windows.Forms.Label();
36 | this.labelRustPID = new System.Windows.Forms.Label();
37 | this.label2 = new System.Windows.Forms.Label();
38 | this.label1 = new System.Windows.Forms.Label();
39 | this.buttonDetach = new System.Windows.Forms.Button();
40 | this.buttonAttach = new System.Windows.Forms.Button();
41 | this.wwwwwwww = new System.Windows.Forms.GroupBox();
42 | this.label10 = new System.Windows.Forms.Label();
43 | this.button1 = new System.Windows.Forms.Button();
44 | this.label4 = new System.Windows.Forms.Label();
45 | this.comboBoxFilter = new System.Windows.Forms.ComboBox();
46 | this.buttonApplyFilter = new System.Windows.Forms.Button();
47 | this.groupBox3 = new System.Windows.Forms.GroupBox();
48 | this.buttonEnableRisky = new System.Windows.Forms.Button();
49 | this.buttonDisableRisky = new System.Windows.Forms.Button();
50 | this.checkBoxAdminflag = new System.Windows.Forms.CheckBox();
51 | this.checkBoxJump = new System.Windows.Forms.CheckBox();
52 | this.checkBoxSpiderman = new System.Windows.Forms.CheckBox();
53 | this.comboBox1 = new System.Windows.Forms.ComboBox();
54 | this.buttonCullingON = new System.Windows.Forms.Button();
55 | this.buttonCullingOFF = new System.Windows.Forms.Button();
56 | this.labelFOV = new System.Windows.Forms.Label();
57 | this.trackBarFOVSlider = new System.Windows.Forms.TrackBar();
58 | this.comboBoxChams = new System.Windows.Forms.ComboBox();
59 | this.checkBoxInteractiveDebugCamera = new System.Windows.Forms.CheckBox();
60 | this.checkBoxChams = new System.Windows.Forms.CheckBox();
61 | this.checkBoxKeepRecoil = new System.Windows.Forms.CheckBox();
62 | this.buttonSaveRecoil = new System.Windows.Forms.Button();
63 | this.checkBoxNoRecoil = new System.Windows.Forms.CheckBox();
64 | this.tabControl1 = new System.Windows.Forms.TabControl();
65 | this.tabPageCustomSMG = new System.Windows.Forms.TabPage();
66 | this.labelCustomSMGYaw = new System.Windows.Forms.Label();
67 | this.label13 = new System.Windows.Forms.Label();
68 | this.trackBarCustomSMGYaw = new System.Windows.Forms.TrackBar();
69 | this.labelCustomSMGPitch = new System.Windows.Forms.Label();
70 | this.label3 = new System.Windows.Forms.Label();
71 | this.trackBarCustomSMGPitch = new System.Windows.Forms.TrackBar();
72 | this.tabPageMP5 = new System.Windows.Forms.TabPage();
73 | this.labelMP5Yaw = new System.Windows.Forms.Label();
74 | this.label5 = new System.Windows.Forms.Label();
75 | this.trackBarlabelMP5Yaw = new System.Windows.Forms.TrackBar();
76 | this.labelMP5Pitch = new System.Windows.Forms.Label();
77 | this.label14 = new System.Windows.Forms.Label();
78 | this.trackBarlabelMP5Pitch = new System.Windows.Forms.TrackBar();
79 | this.tabPageThompson = new System.Windows.Forms.TabPage();
80 | this.labelThompsonYaw = new System.Windows.Forms.Label();
81 | this.label6 = new System.Windows.Forms.Label();
82 | this.trackBarThompsonYaw = new System.Windows.Forms.TrackBar();
83 | this.labelThompsonPitch = new System.Windows.Forms.Label();
84 | this.label12 = new System.Windows.Forms.Label();
85 | this.trackBarThompsonPitch = new System.Windows.Forms.TrackBar();
86 | this.tabPageAssaultRifle = new System.Windows.Forms.TabPage();
87 | this.labelAkYaw = new System.Windows.Forms.Label();
88 | this.label7 = new System.Windows.Forms.Label();
89 | this.trackBarAkYaw = new System.Windows.Forms.TrackBar();
90 | this.labelAkPitch = new System.Windows.Forms.Label();
91 | this.label9 = new System.Windows.Forms.Label();
92 | this.trackBarAkPitch = new System.Windows.Forms.TrackBar();
93 | this.tabPageLR300 = new System.Windows.Forms.TabPage();
94 | this.labelLR300Yaw = new System.Windows.Forms.Label();
95 | this.label8 = new System.Windows.Forms.Label();
96 | this.trackBarLR300Yaw = new System.Windows.Forms.TrackBar();
97 | this.labelLR300Pitch = new System.Windows.Forms.Label();
98 | this.label11 = new System.Windows.Forms.Label();
99 | this.trackBarLR300Pitch = new System.Windows.Forms.TrackBar();
100 | this.groupBox2.SuspendLayout();
101 | this.wwwwwwww.SuspendLayout();
102 | this.groupBox3.SuspendLayout();
103 | ((System.ComponentModel.ISupportInitialize)(this.trackBarFOVSlider)).BeginInit();
104 | this.tabControl1.SuspendLayout();
105 | this.tabPageCustomSMG.SuspendLayout();
106 | ((System.ComponentModel.ISupportInitialize)(this.trackBarCustomSMGYaw)).BeginInit();
107 | ((System.ComponentModel.ISupportInitialize)(this.trackBarCustomSMGPitch)).BeginInit();
108 | this.tabPageMP5.SuspendLayout();
109 | ((System.ComponentModel.ISupportInitialize)(this.trackBarlabelMP5Yaw)).BeginInit();
110 | ((System.ComponentModel.ISupportInitialize)(this.trackBarlabelMP5Pitch)).BeginInit();
111 | this.tabPageThompson.SuspendLayout();
112 | ((System.ComponentModel.ISupportInitialize)(this.trackBarThompsonYaw)).BeginInit();
113 | ((System.ComponentModel.ISupportInitialize)(this.trackBarThompsonPitch)).BeginInit();
114 | this.tabPageAssaultRifle.SuspendLayout();
115 | ((System.ComponentModel.ISupportInitialize)(this.trackBarAkYaw)).BeginInit();
116 | ((System.ComponentModel.ISupportInitialize)(this.trackBarAkPitch)).BeginInit();
117 | this.tabPageLR300.SuspendLayout();
118 | ((System.ComponentModel.ISupportInitialize)(this.trackBarLR300Yaw)).BeginInit();
119 | ((System.ComponentModel.ISupportInitialize)(this.trackBarLR300Pitch)).BeginInit();
120 | this.SuspendLayout();
121 | //
122 | // groupBox2
123 | //
124 | this.groupBox2.Controls.Add(this.labelStatus);
125 | this.groupBox2.Controls.Add(this.label33);
126 | this.groupBox2.Controls.Add(this.labelGameAssembly);
127 | this.groupBox2.Controls.Add(this.labelRustPID);
128 | this.groupBox2.Controls.Add(this.label2);
129 | this.groupBox2.Controls.Add(this.label1);
130 | this.groupBox2.Controls.Add(this.buttonDetach);
131 | this.groupBox2.Controls.Add(this.buttonAttach);
132 | this.groupBox2.Location = new System.Drawing.Point(10, 11);
133 | this.groupBox2.Name = "groupBox2";
134 | this.groupBox2.Size = new System.Drawing.Size(310, 94);
135 | this.groupBox2.TabIndex = 3;
136 | this.groupBox2.TabStop = false;
137 | this.groupBox2.Text = "DMA Controls";
138 | //
139 | // labelStatus
140 | //
141 | this.labelStatus.AutoSize = true;
142 | this.labelStatus.ForeColor = System.Drawing.Color.Red;
143 | this.labelStatus.Location = new System.Drawing.Point(242, 24);
144 | this.labelStatus.Name = "labelStatus";
145 | this.labelStatus.Size = new System.Drawing.Size(54, 13);
146 | this.labelStatus.TabIndex = 10;
147 | this.labelStatus.Text = "Detached";
148 | //
149 | // label33
150 | //
151 | this.label33.AutoSize = true;
152 | this.label33.Location = new System.Drawing.Point(196, 24);
153 | this.label33.Name = "label33";
154 | this.label33.Size = new System.Drawing.Size(40, 13);
155 | this.label33.TabIndex = 9;
156 | this.label33.Text = "Status:";
157 | //
158 | // labelGameAssembly
159 | //
160 | this.labelGameAssembly.AutoSize = true;
161 | this.labelGameAssembly.Location = new System.Drawing.Point(109, 70);
162 | this.labelGameAssembly.Name = "labelGameAssembly";
163 | this.labelGameAssembly.Size = new System.Drawing.Size(10, 13);
164 | this.labelGameAssembly.TabIndex = 7;
165 | this.labelGameAssembly.Text = "-";
166 | //
167 | // labelRustPID
168 | //
169 | this.labelRustPID.AutoSize = true;
170 | this.labelRustPID.Location = new System.Drawing.Point(109, 55);
171 | this.labelRustPID.Name = "labelRustPID";
172 | this.labelRustPID.Size = new System.Drawing.Size(10, 13);
173 | this.labelRustPID.TabIndex = 6;
174 | this.labelRustPID.Text = "-";
175 | //
176 | // label2
177 | //
178 | this.label2.AutoSize = true;
179 | this.label2.Location = new System.Drawing.Point(6, 70);
180 | this.label2.Name = "label2";
181 | this.label2.Size = new System.Drawing.Size(82, 13);
182 | this.label2.TabIndex = 4;
183 | this.label2.Text = "GameAssembly:";
184 | //
185 | // label1
186 | //
187 | this.label1.AutoSize = true;
188 | this.label1.Location = new System.Drawing.Point(6, 55);
189 | this.label1.Name = "label1";
190 | this.label1.Size = new System.Drawing.Size(53, 13);
191 | this.label1.TabIndex = 3;
192 | this.label1.Text = "Rust PID:";
193 | //
194 | // buttonDetach
195 | //
196 | this.buttonDetach.Enabled = false;
197 | this.buttonDetach.Location = new System.Drawing.Point(87, 19);
198 | this.buttonDetach.Name = "buttonDetach";
199 | this.buttonDetach.Size = new System.Drawing.Size(75, 23);
200 | this.buttonDetach.TabIndex = 1;
201 | this.buttonDetach.Text = "Detach";
202 | this.buttonDetach.UseVisualStyleBackColor = true;
203 | this.buttonDetach.Click += new System.EventHandler(this.buttonDetach_Click);
204 | //
205 | // buttonAttach
206 | //
207 | this.buttonAttach.Location = new System.Drawing.Point(6, 19);
208 | this.buttonAttach.Name = "buttonAttach";
209 | this.buttonAttach.Size = new System.Drawing.Size(75, 23);
210 | this.buttonAttach.TabIndex = 0;
211 | this.buttonAttach.Text = "Attach";
212 | this.buttonAttach.UseVisualStyleBackColor = true;
213 | this.buttonAttach.Click += new System.EventHandler(this.buttonAttach_Click);
214 | //
215 | // wwwwwwww
216 | //
217 | this.wwwwwwww.Controls.Add(this.label10);
218 | this.wwwwwwww.Controls.Add(this.button1);
219 | this.wwwwwwww.Controls.Add(this.label4);
220 | this.wwwwwwww.Controls.Add(this.comboBoxFilter);
221 | this.wwwwwwww.Controls.Add(this.buttonApplyFilter);
222 | this.wwwwwwww.Controls.Add(this.groupBox3);
223 | this.wwwwwwww.Controls.Add(this.comboBox1);
224 | this.wwwwwwww.Controls.Add(this.buttonCullingON);
225 | this.wwwwwwww.Controls.Add(this.buttonCullingOFF);
226 | this.wwwwwwww.Controls.Add(this.labelFOV);
227 | this.wwwwwwww.Controls.Add(this.trackBarFOVSlider);
228 | this.wwwwwwww.Controls.Add(this.comboBoxChams);
229 | this.wwwwwwww.Controls.Add(this.checkBoxInteractiveDebugCamera);
230 | this.wwwwwwww.Controls.Add(this.checkBoxChams);
231 | this.wwwwwwww.Controls.Add(this.checkBoxKeepRecoil);
232 | this.wwwwwwww.Controls.Add(this.buttonSaveRecoil);
233 | this.wwwwwwww.Controls.Add(this.checkBoxNoRecoil);
234 | this.wwwwwwww.Controls.Add(this.tabControl1);
235 | this.wwwwwwww.Location = new System.Drawing.Point(8, 112);
236 | this.wwwwwwww.Name = "wwwwwwww";
237 | this.wwwwwwww.Size = new System.Drawing.Size(312, 428);
238 | this.wwwwwwww.TabIndex = 4;
239 | this.wwwwwwww.TabStop = false;
240 | this.wwwwwwww.Text = "Features";
241 | //
242 | // label10
243 | //
244 | this.label10.AutoSize = true;
245 | this.label10.Location = new System.Drawing.Point(8, 90);
246 | this.label10.Name = "label10";
247 | this.label10.Size = new System.Drawing.Size(31, 13);
248 | this.label10.TabIndex = 23;
249 | this.label10.Text = "FOV:";
250 | //
251 | // button1
252 | //
253 | this.button1.Location = new System.Drawing.Point(115, 85);
254 | this.button1.Name = "button1";
255 | this.button1.Size = new System.Drawing.Size(40, 23);
256 | this.button1.TabIndex = 22;
257 | this.button1.Text = "SET";
258 | this.button1.UseVisualStyleBackColor = true;
259 | this.button1.Click += new System.EventHandler(this.buttonSetFOV_Click);
260 | //
261 | // label4
262 | //
263 | this.label4.AutoSize = true;
264 | this.label4.Location = new System.Drawing.Point(69, 119);
265 | this.label4.Name = "label4";
266 | this.label4.Size = new System.Drawing.Size(32, 13);
267 | this.label4.TabIndex = 21;
268 | this.label4.Text = "Filter:";
269 | //
270 | // comboBoxFilter
271 | //
272 | this.comboBoxFilter.FormattingEnabled = true;
273 | this.comboBoxFilter.Items.AddRange(new object[] {
274 | "Players",
275 | "AI",
276 | "Corpse"});
277 | this.comboBoxFilter.Location = new System.Drawing.Point(101, 115);
278 | this.comboBoxFilter.Margin = new System.Windows.Forms.Padding(2);
279 | this.comboBoxFilter.Name = "comboBoxFilter";
280 | this.comboBoxFilter.Size = new System.Drawing.Size(61, 21);
281 | this.comboBoxFilter.TabIndex = 0;
282 | this.comboBoxFilter.TabStop = false;
283 | this.comboBoxFilter.Text = "Players";
284 | this.comboBoxFilter.SelectedIndexChanged += new System.EventHandler(this.comboBoxFilter_SelectedIndexChanged);
285 | //
286 | // buttonApplyFilter
287 | //
288 | this.buttonApplyFilter.Location = new System.Drawing.Point(163, 114);
289 | this.buttonApplyFilter.Name = "buttonApplyFilter";
290 | this.buttonApplyFilter.Size = new System.Drawing.Size(42, 23);
291 | this.buttonApplyFilter.TabIndex = 20;
292 | this.buttonApplyFilter.Text = "Apply";
293 | this.buttonApplyFilter.UseVisualStyleBackColor = true;
294 | this.buttonApplyFilter.Click += new System.EventHandler(this.buttonApplyFilter_Click);
295 | //
296 | // groupBox3
297 | //
298 | this.groupBox3.Controls.Add(this.buttonEnableRisky);
299 | this.groupBox3.Controls.Add(this.buttonDisableRisky);
300 | this.groupBox3.Controls.Add(this.checkBoxAdminflag);
301 | this.groupBox3.Controls.Add(this.checkBoxJump);
302 | this.groupBox3.Controls.Add(this.checkBoxSpiderman);
303 | this.groupBox3.Location = new System.Drawing.Point(228, 0);
304 | this.groupBox3.Name = "groupBox3";
305 | this.groupBox3.Size = new System.Drawing.Size(84, 89);
306 | this.groupBox3.TabIndex = 19;
307 | this.groupBox3.TabStop = false;
308 | this.groupBox3.Text = "Risky";
309 | //
310 | // buttonEnableRisky
311 | //
312 | this.buttonEnableRisky.Font = new System.Drawing.Font("Microsoft Sans Serif", 5.55F);
313 | this.buttonEnableRisky.Location = new System.Drawing.Point(39, 0);
314 | this.buttonEnableRisky.Name = "buttonEnableRisky";
315 | this.buttonEnableRisky.Size = new System.Drawing.Size(43, 17);
316 | this.buttonEnableRisky.TabIndex = 21;
317 | this.buttonEnableRisky.Text = "ENABLE";
318 | this.buttonEnableRisky.UseVisualStyleBackColor = true;
319 | this.buttonEnableRisky.Click += new System.EventHandler(this.buttonEnableRisky_Click);
320 | //
321 | // buttonDisableRisky
322 | //
323 | this.buttonDisableRisky.Font = new System.Drawing.Font("Microsoft Sans Serif", 5.25F);
324 | this.buttonDisableRisky.Location = new System.Drawing.Point(39, 0);
325 | this.buttonDisableRisky.Name = "buttonDisableRisky";
326 | this.buttonDisableRisky.Size = new System.Drawing.Size(43, 17);
327 | this.buttonDisableRisky.TabIndex = 20;
328 | this.buttonDisableRisky.Text = "DISABLE";
329 | this.buttonDisableRisky.UseVisualStyleBackColor = true;
330 | this.buttonDisableRisky.Visible = false;
331 | this.buttonDisableRisky.Click += new System.EventHandler(this.buttonDisableRisky_Click);
332 | //
333 | // checkBoxAdminflag
334 | //
335 | this.checkBoxAdminflag.AutoSize = true;
336 | this.checkBoxAdminflag.Enabled = false;
337 | this.checkBoxAdminflag.Location = new System.Drawing.Point(5, 26);
338 | this.checkBoxAdminflag.Margin = new System.Windows.Forms.Padding(2);
339 | this.checkBoxAdminflag.Name = "checkBoxAdminflag";
340 | this.checkBoxAdminflag.Size = new System.Drawing.Size(72, 17);
341 | this.checkBoxAdminflag.TabIndex = 0;
342 | this.checkBoxAdminflag.Text = "Adminflag";
343 | this.checkBoxAdminflag.UseVisualStyleBackColor = true;
344 | this.checkBoxAdminflag.CheckedChanged += new System.EventHandler(this.checkBoxAdminflag_CheckedChanged);
345 | //
346 | // checkBoxJump
347 | //
348 | this.checkBoxJump.AutoSize = true;
349 | this.checkBoxJump.Enabled = false;
350 | this.checkBoxJump.Location = new System.Drawing.Point(5, 47);
351 | this.checkBoxJump.Margin = new System.Windows.Forms.Padding(2);
352 | this.checkBoxJump.Name = "checkBoxJump";
353 | this.checkBoxJump.Size = new System.Drawing.Size(69, 17);
354 | this.checkBoxJump.TabIndex = 11;
355 | this.checkBoxJump.Text = "canJump";
356 | this.checkBoxJump.UseVisualStyleBackColor = true;
357 | this.checkBoxJump.CheckedChanged += new System.EventHandler(this.checkBoxJump_CheckedChanged);
358 | //
359 | // checkBoxSpiderman
360 | //
361 | this.checkBoxSpiderman.AutoSize = true;
362 | this.checkBoxSpiderman.Enabled = false;
363 | this.checkBoxSpiderman.Location = new System.Drawing.Point(5, 68);
364 | this.checkBoxSpiderman.Margin = new System.Windows.Forms.Padding(2);
365 | this.checkBoxSpiderman.Name = "checkBoxSpiderman";
366 | this.checkBoxSpiderman.Size = new System.Drawing.Size(76, 17);
367 | this.checkBoxSpiderman.TabIndex = 12;
368 | this.checkBoxSpiderman.Text = "Spiderman";
369 | this.checkBoxSpiderman.UseVisualStyleBackColor = true;
370 | this.checkBoxSpiderman.CheckedChanged += new System.EventHandler(this.checkBoxSpiderman_CheckedChanged);
371 | //
372 | // comboBox1
373 | //
374 | this.comboBox1.FormattingEnabled = true;
375 | this.comboBox1.Items.AddRange(new object[] {
376 | "Scattering Chams",
377 | "Null Chams"});
378 | this.comboBox1.Location = new System.Drawing.Point(125, 61);
379 | this.comboBox1.Margin = new System.Windows.Forms.Padding(2);
380 | this.comboBox1.Name = "comboBox1";
381 | this.comboBox1.Size = new System.Drawing.Size(50, 21);
382 | this.comboBox1.TabIndex = 17;
383 | this.comboBox1.TabStop = false;
384 | //
385 | // buttonCullingON
386 | //
387 | this.buttonCullingON.Location = new System.Drawing.Point(8, 114);
388 | this.buttonCullingON.Name = "buttonCullingON";
389 | this.buttonCullingON.Size = new System.Drawing.Size(60, 23);
390 | this.buttonCullingON.TabIndex = 16;
391 | this.buttonCullingON.Text = "ESP ON";
392 | this.buttonCullingON.UseVisualStyleBackColor = true;
393 | this.buttonCullingON.Click += new System.EventHandler(this.buttonCullingON_Click);
394 | //
395 | // buttonCullingOFF
396 | //
397 | this.buttonCullingOFF.Enabled = false;
398 | this.buttonCullingOFF.Location = new System.Drawing.Point(8, 114);
399 | this.buttonCullingOFF.Name = "buttonCullingOFF";
400 | this.buttonCullingOFF.Size = new System.Drawing.Size(60, 23);
401 | this.buttonCullingOFF.TabIndex = 14;
402 | this.buttonCullingOFF.Text = "ESP OFF";
403 | this.buttonCullingOFF.UseVisualStyleBackColor = true;
404 | this.buttonCullingOFF.Visible = false;
405 | this.buttonCullingOFF.Click += new System.EventHandler(this.buttonCullingOFF_Click);
406 | //
407 | // labelFOV
408 | //
409 | this.labelFOV.AutoSize = true;
410 | this.labelFOV.Location = new System.Drawing.Point(39, 90);
411 | this.labelFOV.Name = "labelFOV";
412 | this.labelFOV.Size = new System.Drawing.Size(13, 13);
413 | this.labelFOV.TabIndex = 10;
414 | this.labelFOV.Text = "0";
415 | //
416 | // trackBarFOVSlider
417 | //
418 | this.trackBarFOVSlider.LargeChange = 10;
419 | this.trackBarFOVSlider.Location = new System.Drawing.Point(53, 86);
420 | this.trackBarFOVSlider.Maximum = 200;
421 | this.trackBarFOVSlider.Name = "trackBarFOVSlider";
422 | this.trackBarFOVSlider.Size = new System.Drawing.Size(62, 45);
423 | this.trackBarFOVSlider.SmallChange = 5;
424 | this.trackBarFOVSlider.TabIndex = 9;
425 | this.trackBarFOVSlider.TickStyle = System.Windows.Forms.TickStyle.None;
426 | this.trackBarFOVSlider.Scroll += new System.EventHandler(this.trackBarFOVSlider_Scroll);
427 | //
428 | // comboBoxChams
429 | //
430 | this.comboBoxChams.FormattingEnabled = true;
431 | this.comboBoxChams.Items.AddRange(new object[] {
432 | "White ",
433 | "Chrome ",
434 | "Null (no walls)"});
435 | this.comboBoxChams.Location = new System.Drawing.Point(72, 39);
436 | this.comboBoxChams.Margin = new System.Windows.Forms.Padding(2);
437 | this.comboBoxChams.Name = "comboBoxChams";
438 | this.comboBoxChams.Size = new System.Drawing.Size(95, 21);
439 | this.comboBoxChams.TabIndex = 0;
440 | this.comboBoxChams.TabStop = false;
441 | this.comboBoxChams.SelectedIndexChanged += new System.EventHandler(this.comboBoxChams_SelectedIndexChanged);
442 | //
443 | // checkBoxInteractiveDebugCamera
444 | //
445 | this.checkBoxInteractiveDebugCamera.AutoSize = true;
446 | this.checkBoxInteractiveDebugCamera.Location = new System.Drawing.Point(10, 63);
447 | this.checkBoxInteractiveDebugCamera.Margin = new System.Windows.Forms.Padding(2);
448 | this.checkBoxInteractiveDebugCamera.Name = "checkBoxInteractiveDebugCamera";
449 | this.checkBoxInteractiveDebugCamera.Size = new System.Drawing.Size(111, 17);
450 | this.checkBoxInteractiveDebugCamera.TabIndex = 6;
451 | this.checkBoxInteractiveDebugCamera.Text = "Interactive Debug";
452 | this.checkBoxInteractiveDebugCamera.UseVisualStyleBackColor = true;
453 | this.checkBoxInteractiveDebugCamera.CheckedChanged += new System.EventHandler(this.checkBoxInteractiveDebugCamera_CheckedChanged);
454 | //
455 | // checkBoxChams
456 | //
457 | this.checkBoxChams.AutoSize = true;
458 | this.checkBoxChams.Location = new System.Drawing.Point(10, 41);
459 | this.checkBoxChams.Margin = new System.Windows.Forms.Padding(2);
460 | this.checkBoxChams.Name = "checkBoxChams";
461 | this.checkBoxChams.Size = new System.Drawing.Size(58, 17);
462 | this.checkBoxChams.TabIndex = 5;
463 | this.checkBoxChams.Text = "Chams";
464 | this.checkBoxChams.UseVisualStyleBackColor = true;
465 | this.checkBoxChams.CheckedChanged += new System.EventHandler(this.checkBoxChams_CheckedChanged);
466 | //
467 | // checkBoxKeepRecoil
468 | //
469 | this.checkBoxKeepRecoil.AutoSize = true;
470 | this.checkBoxKeepRecoil.Location = new System.Drawing.Point(88, 207);
471 | this.checkBoxKeepRecoil.Margin = new System.Windows.Forms.Padding(2);
472 | this.checkBoxKeepRecoil.Name = "checkBoxKeepRecoil";
473 | this.checkBoxKeepRecoil.Size = new System.Drawing.Size(84, 17);
474 | this.checkBoxKeepRecoil.TabIndex = 4;
475 | this.checkBoxKeepRecoil.Text = "Keep Recoil";
476 | this.checkBoxKeepRecoil.UseVisualStyleBackColor = true;
477 | this.checkBoxKeepRecoil.CheckedChanged += new System.EventHandler(this.checkBoxKeepRecoil_CheckedChanged);
478 | //
479 | // buttonSaveRecoil
480 | //
481 | this.buttonSaveRecoil.Location = new System.Drawing.Point(13, 393);
482 | this.buttonSaveRecoil.Name = "buttonSaveRecoil";
483 | this.buttonSaveRecoil.Size = new System.Drawing.Size(291, 23);
484 | this.buttonSaveRecoil.TabIndex = 3;
485 | this.buttonSaveRecoil.Text = "Save";
486 | this.buttonSaveRecoil.UseVisualStyleBackColor = true;
487 | this.buttonSaveRecoil.Click += new System.EventHandler(this.buttonSaveRecoil_Click);
488 | //
489 | // checkBoxNoRecoil
490 | //
491 | this.checkBoxNoRecoil.AutoSize = true;
492 | this.checkBoxNoRecoil.Location = new System.Drawing.Point(10, 207);
493 | this.checkBoxNoRecoil.Margin = new System.Windows.Forms.Padding(2);
494 | this.checkBoxNoRecoil.Name = "checkBoxNoRecoil";
495 | this.checkBoxNoRecoil.Size = new System.Drawing.Size(70, 17);
496 | this.checkBoxNoRecoil.TabIndex = 2;
497 | this.checkBoxNoRecoil.Text = "NoRecoil";
498 | this.checkBoxNoRecoil.UseVisualStyleBackColor = true;
499 | this.checkBoxNoRecoil.CheckedChanged += new System.EventHandler(this.checkBoxNoRecoil_CheckedChanged);
500 | //
501 | // tabControl1
502 | //
503 | this.tabControl1.Controls.Add(this.tabPageCustomSMG);
504 | this.tabControl1.Controls.Add(this.tabPageMP5);
505 | this.tabControl1.Controls.Add(this.tabPageThompson);
506 | this.tabControl1.Controls.Add(this.tabPageAssaultRifle);
507 | this.tabControl1.Controls.Add(this.tabPageLR300);
508 | this.tabControl1.Location = new System.Drawing.Point(10, 229);
509 | this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
510 | this.tabControl1.Name = "tabControl1";
511 | this.tabControl1.SelectedIndex = 0;
512 | this.tabControl1.Size = new System.Drawing.Size(297, 162);
513 | this.tabControl1.TabIndex = 1;
514 | //
515 | // tabPageCustomSMG
516 | //
517 | this.tabPageCustomSMG.Controls.Add(this.labelCustomSMGYaw);
518 | this.tabPageCustomSMG.Controls.Add(this.label13);
519 | this.tabPageCustomSMG.Controls.Add(this.trackBarCustomSMGYaw);
520 | this.tabPageCustomSMG.Controls.Add(this.labelCustomSMGPitch);
521 | this.tabPageCustomSMG.Controls.Add(this.label3);
522 | this.tabPageCustomSMG.Controls.Add(this.trackBarCustomSMGPitch);
523 | this.tabPageCustomSMG.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
524 | this.tabPageCustomSMG.Location = new System.Drawing.Point(4, 22);
525 | this.tabPageCustomSMG.Margin = new System.Windows.Forms.Padding(2);
526 | this.tabPageCustomSMG.Name = "tabPageCustomSMG";
527 | this.tabPageCustomSMG.Padding = new System.Windows.Forms.Padding(2);
528 | this.tabPageCustomSMG.Size = new System.Drawing.Size(289, 136);
529 | this.tabPageCustomSMG.TabIndex = 0;
530 | this.tabPageCustomSMG.Text = "Custom SMG";
531 | this.tabPageCustomSMG.UseVisualStyleBackColor = true;
532 | //
533 | // labelCustomSMGYaw
534 | //
535 | this.labelCustomSMGYaw.AutoSize = true;
536 | this.labelCustomSMGYaw.Location = new System.Drawing.Point(52, 72);
537 | this.labelCustomSMGYaw.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
538 | this.labelCustomSMGYaw.Name = "labelCustomSMGYaw";
539 | this.labelCustomSMGYaw.Size = new System.Drawing.Size(10, 13);
540 | this.labelCustomSMGYaw.TabIndex = 5;
541 | this.labelCustomSMGYaw.Text = "-";
542 | //
543 | // label13
544 | //
545 | this.label13.AutoSize = true;
546 | this.label13.Location = new System.Drawing.Point(6, 72);
547 | this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
548 | this.label13.Name = "label13";
549 | this.label13.Size = new System.Drawing.Size(34, 13);
550 | this.label13.TabIndex = 4;
551 | this.label13.Text = "Yaw: ";
552 | //
553 | // trackBarCustomSMGYaw
554 | //
555 | this.trackBarCustomSMGYaw.Location = new System.Drawing.Point(4, 88);
556 | this.trackBarCustomSMGYaw.Margin = new System.Windows.Forms.Padding(2);
557 | this.trackBarCustomSMGYaw.Maximum = 100;
558 | this.trackBarCustomSMGYaw.Name = "trackBarCustomSMGYaw";
559 | this.trackBarCustomSMGYaw.Size = new System.Drawing.Size(283, 45);
560 | this.trackBarCustomSMGYaw.TabIndex = 3;
561 | this.trackBarCustomSMGYaw.Scroll += new System.EventHandler(this.trackBarCustomSMGYaw_Scroll);
562 | //
563 | // labelCustomSMGPitch
564 | //
565 | this.labelCustomSMGPitch.AutoSize = true;
566 | this.labelCustomSMGPitch.Location = new System.Drawing.Point(52, 7);
567 | this.labelCustomSMGPitch.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
568 | this.labelCustomSMGPitch.Name = "labelCustomSMGPitch";
569 | this.labelCustomSMGPitch.Size = new System.Drawing.Size(10, 13);
570 | this.labelCustomSMGPitch.TabIndex = 2;
571 | this.labelCustomSMGPitch.Text = "-";
572 | //
573 | // label3
574 | //
575 | this.label3.AutoSize = true;
576 | this.label3.Location = new System.Drawing.Point(6, 7);
577 | this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
578 | this.label3.Name = "label3";
579 | this.label3.Size = new System.Drawing.Size(37, 13);
580 | this.label3.TabIndex = 1;
581 | this.label3.Text = "Pitch: ";
582 | //
583 | // trackBarCustomSMGPitch
584 | //
585 | this.trackBarCustomSMGPitch.Location = new System.Drawing.Point(4, 24);
586 | this.trackBarCustomSMGPitch.Margin = new System.Windows.Forms.Padding(2);
587 | this.trackBarCustomSMGPitch.Maximum = 100;
588 | this.trackBarCustomSMGPitch.Name = "trackBarCustomSMGPitch";
589 | this.trackBarCustomSMGPitch.Size = new System.Drawing.Size(283, 45);
590 | this.trackBarCustomSMGPitch.TabIndex = 0;
591 | this.trackBarCustomSMGPitch.Scroll += new System.EventHandler(this.trackBarCustomSMGPitch_Scroll);
592 | //
593 | // tabPageMP5
594 | //
595 | this.tabPageMP5.Controls.Add(this.labelMP5Yaw);
596 | this.tabPageMP5.Controls.Add(this.label5);
597 | this.tabPageMP5.Controls.Add(this.trackBarlabelMP5Yaw);
598 | this.tabPageMP5.Controls.Add(this.labelMP5Pitch);
599 | this.tabPageMP5.Controls.Add(this.label14);
600 | this.tabPageMP5.Controls.Add(this.trackBarlabelMP5Pitch);
601 | this.tabPageMP5.Location = new System.Drawing.Point(4, 22);
602 | this.tabPageMP5.Margin = new System.Windows.Forms.Padding(2);
603 | this.tabPageMP5.Name = "tabPageMP5";
604 | this.tabPageMP5.Padding = new System.Windows.Forms.Padding(2);
605 | this.tabPageMP5.Size = new System.Drawing.Size(289, 136);
606 | this.tabPageMP5.TabIndex = 1;
607 | this.tabPageMP5.Text = "MP5A4";
608 | this.tabPageMP5.UseVisualStyleBackColor = true;
609 | //
610 | // labelMP5Yaw
611 | //
612 | this.labelMP5Yaw.AutoSize = true;
613 | this.labelMP5Yaw.Location = new System.Drawing.Point(52, 71);
614 | this.labelMP5Yaw.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
615 | this.labelMP5Yaw.Name = "labelMP5Yaw";
616 | this.labelMP5Yaw.Size = new System.Drawing.Size(10, 13);
617 | this.labelMP5Yaw.TabIndex = 11;
618 | this.labelMP5Yaw.Text = "-";
619 | //
620 | // label5
621 | //
622 | this.label5.AutoSize = true;
623 | this.label5.Location = new System.Drawing.Point(6, 71);
624 | this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
625 | this.label5.Name = "label5";
626 | this.label5.Size = new System.Drawing.Size(34, 13);
627 | this.label5.TabIndex = 10;
628 | this.label5.Text = "Yaw: ";
629 | //
630 | // trackBarlabelMP5Yaw
631 | //
632 | this.trackBarlabelMP5Yaw.Location = new System.Drawing.Point(4, 87);
633 | this.trackBarlabelMP5Yaw.Margin = new System.Windows.Forms.Padding(2);
634 | this.trackBarlabelMP5Yaw.Maximum = 100;
635 | this.trackBarlabelMP5Yaw.Name = "trackBarlabelMP5Yaw";
636 | this.trackBarlabelMP5Yaw.Size = new System.Drawing.Size(283, 45);
637 | this.trackBarlabelMP5Yaw.TabIndex = 9;
638 | this.trackBarlabelMP5Yaw.Scroll += new System.EventHandler(this.trackBarlabelMP5Yaw_Scroll);
639 | //
640 | // labelMP5Pitch
641 | //
642 | this.labelMP5Pitch.AutoSize = true;
643 | this.labelMP5Pitch.Location = new System.Drawing.Point(52, 6);
644 | this.labelMP5Pitch.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
645 | this.labelMP5Pitch.Name = "labelMP5Pitch";
646 | this.labelMP5Pitch.Size = new System.Drawing.Size(10, 13);
647 | this.labelMP5Pitch.TabIndex = 8;
648 | this.labelMP5Pitch.Text = "-";
649 | //
650 | // label14
651 | //
652 | this.label14.AutoSize = true;
653 | this.label14.Location = new System.Drawing.Point(6, 6);
654 | this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
655 | this.label14.Name = "label14";
656 | this.label14.Size = new System.Drawing.Size(37, 13);
657 | this.label14.TabIndex = 7;
658 | this.label14.Text = "Pitch: ";
659 | //
660 | // trackBarlabelMP5Pitch
661 | //
662 | this.trackBarlabelMP5Pitch.Location = new System.Drawing.Point(4, 23);
663 | this.trackBarlabelMP5Pitch.Margin = new System.Windows.Forms.Padding(2);
664 | this.trackBarlabelMP5Pitch.Maximum = 100;
665 | this.trackBarlabelMP5Pitch.Name = "trackBarlabelMP5Pitch";
666 | this.trackBarlabelMP5Pitch.Size = new System.Drawing.Size(283, 45);
667 | this.trackBarlabelMP5Pitch.TabIndex = 6;
668 | this.trackBarlabelMP5Pitch.Scroll += new System.EventHandler(this.trackBarlabelMP5Pitch_Scroll);
669 | //
670 | // tabPageThompson
671 | //
672 | this.tabPageThompson.Controls.Add(this.labelThompsonYaw);
673 | this.tabPageThompson.Controls.Add(this.label6);
674 | this.tabPageThompson.Controls.Add(this.trackBarThompsonYaw);
675 | this.tabPageThompson.Controls.Add(this.labelThompsonPitch);
676 | this.tabPageThompson.Controls.Add(this.label12);
677 | this.tabPageThompson.Controls.Add(this.trackBarThompsonPitch);
678 | this.tabPageThompson.Location = new System.Drawing.Point(4, 22);
679 | this.tabPageThompson.Margin = new System.Windows.Forms.Padding(2);
680 | this.tabPageThompson.Name = "tabPageThompson";
681 | this.tabPageThompson.Size = new System.Drawing.Size(289, 136);
682 | this.tabPageThompson.TabIndex = 2;
683 | this.tabPageThompson.Text = "Thompson";
684 | this.tabPageThompson.UseVisualStyleBackColor = true;
685 | //
686 | // labelThompsonYaw
687 | //
688 | this.labelThompsonYaw.AutoSize = true;
689 | this.labelThompsonYaw.Location = new System.Drawing.Point(52, 71);
690 | this.labelThompsonYaw.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
691 | this.labelThompsonYaw.Name = "labelThompsonYaw";
692 | this.labelThompsonYaw.Size = new System.Drawing.Size(10, 13);
693 | this.labelThompsonYaw.TabIndex = 17;
694 | this.labelThompsonYaw.Text = "-";
695 | //
696 | // label6
697 | //
698 | this.label6.AutoSize = true;
699 | this.label6.Location = new System.Drawing.Point(6, 71);
700 | this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
701 | this.label6.Name = "label6";
702 | this.label6.Size = new System.Drawing.Size(34, 13);
703 | this.label6.TabIndex = 16;
704 | this.label6.Text = "Yaw: ";
705 | //
706 | // trackBarThompsonYaw
707 | //
708 | this.trackBarThompsonYaw.Location = new System.Drawing.Point(4, 87);
709 | this.trackBarThompsonYaw.Margin = new System.Windows.Forms.Padding(2);
710 | this.trackBarThompsonYaw.Maximum = 100;
711 | this.trackBarThompsonYaw.Name = "trackBarThompsonYaw";
712 | this.trackBarThompsonYaw.Size = new System.Drawing.Size(283, 45);
713 | this.trackBarThompsonYaw.TabIndex = 15;
714 | this.trackBarThompsonYaw.Scroll += new System.EventHandler(this.trackBarThompsonYaw_Scroll);
715 | //
716 | // labelThompsonPitch
717 | //
718 | this.labelThompsonPitch.AutoSize = true;
719 | this.labelThompsonPitch.Location = new System.Drawing.Point(52, 6);
720 | this.labelThompsonPitch.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
721 | this.labelThompsonPitch.Name = "labelThompsonPitch";
722 | this.labelThompsonPitch.Size = new System.Drawing.Size(10, 13);
723 | this.labelThompsonPitch.TabIndex = 14;
724 | this.labelThompsonPitch.Text = "-";
725 | //
726 | // label12
727 | //
728 | this.label12.AutoSize = true;
729 | this.label12.Location = new System.Drawing.Point(6, 6);
730 | this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
731 | this.label12.Name = "label12";
732 | this.label12.Size = new System.Drawing.Size(37, 13);
733 | this.label12.TabIndex = 13;
734 | this.label12.Text = "Pitch: ";
735 | //
736 | // trackBarThompsonPitch
737 | //
738 | this.trackBarThompsonPitch.Location = new System.Drawing.Point(4, 23);
739 | this.trackBarThompsonPitch.Margin = new System.Windows.Forms.Padding(2);
740 | this.trackBarThompsonPitch.Maximum = 100;
741 | this.trackBarThompsonPitch.Name = "trackBarThompsonPitch";
742 | this.trackBarThompsonPitch.Size = new System.Drawing.Size(283, 45);
743 | this.trackBarThompsonPitch.TabIndex = 12;
744 | this.trackBarThompsonPitch.Scroll += new System.EventHandler(this.trackBarThompsonPitch_Scroll);
745 | //
746 | // tabPageAssaultRifle
747 | //
748 | this.tabPageAssaultRifle.Controls.Add(this.labelAkYaw);
749 | this.tabPageAssaultRifle.Controls.Add(this.label7);
750 | this.tabPageAssaultRifle.Controls.Add(this.trackBarAkYaw);
751 | this.tabPageAssaultRifle.Controls.Add(this.labelAkPitch);
752 | this.tabPageAssaultRifle.Controls.Add(this.label9);
753 | this.tabPageAssaultRifle.Controls.Add(this.trackBarAkPitch);
754 | this.tabPageAssaultRifle.Location = new System.Drawing.Point(4, 22);
755 | this.tabPageAssaultRifle.Margin = new System.Windows.Forms.Padding(2);
756 | this.tabPageAssaultRifle.Name = "tabPageAssaultRifle";
757 | this.tabPageAssaultRifle.Size = new System.Drawing.Size(289, 136);
758 | this.tabPageAssaultRifle.TabIndex = 3;
759 | this.tabPageAssaultRifle.Text = "Assault Rifle";
760 | this.tabPageAssaultRifle.UseVisualStyleBackColor = true;
761 | //
762 | // labelAkYaw
763 | //
764 | this.labelAkYaw.AutoSize = true;
765 | this.labelAkYaw.Location = new System.Drawing.Point(52, 71);
766 | this.labelAkYaw.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
767 | this.labelAkYaw.Name = "labelAkYaw";
768 | this.labelAkYaw.Size = new System.Drawing.Size(10, 13);
769 | this.labelAkYaw.TabIndex = 23;
770 | this.labelAkYaw.Text = "-";
771 | //
772 | // label7
773 | //
774 | this.label7.AutoSize = true;
775 | this.label7.Location = new System.Drawing.Point(6, 71);
776 | this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
777 | this.label7.Name = "label7";
778 | this.label7.Size = new System.Drawing.Size(34, 13);
779 | this.label7.TabIndex = 22;
780 | this.label7.Text = "Yaw: ";
781 | //
782 | // trackBarAkYaw
783 | //
784 | this.trackBarAkYaw.Location = new System.Drawing.Point(4, 87);
785 | this.trackBarAkYaw.Margin = new System.Windows.Forms.Padding(2);
786 | this.trackBarAkYaw.Maximum = 100;
787 | this.trackBarAkYaw.Name = "trackBarAkYaw";
788 | this.trackBarAkYaw.Size = new System.Drawing.Size(283, 45);
789 | this.trackBarAkYaw.TabIndex = 21;
790 | this.trackBarAkYaw.Scroll += new System.EventHandler(this.trackBarAkYaw_Scroll);
791 | //
792 | // labelAkPitch
793 | //
794 | this.labelAkPitch.AutoSize = true;
795 | this.labelAkPitch.Location = new System.Drawing.Point(52, 6);
796 | this.labelAkPitch.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
797 | this.labelAkPitch.Name = "labelAkPitch";
798 | this.labelAkPitch.Size = new System.Drawing.Size(10, 13);
799 | this.labelAkPitch.TabIndex = 20;
800 | this.labelAkPitch.Text = "-";
801 | //
802 | // label9
803 | //
804 | this.label9.AutoSize = true;
805 | this.label9.Location = new System.Drawing.Point(6, 6);
806 | this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
807 | this.label9.Name = "label9";
808 | this.label9.Size = new System.Drawing.Size(37, 13);
809 | this.label9.TabIndex = 19;
810 | this.label9.Text = "Pitch: ";
811 | //
812 | // trackBarAkPitch
813 | //
814 | this.trackBarAkPitch.Location = new System.Drawing.Point(4, 23);
815 | this.trackBarAkPitch.Margin = new System.Windows.Forms.Padding(2);
816 | this.trackBarAkPitch.Maximum = 100;
817 | this.trackBarAkPitch.Name = "trackBarAkPitch";
818 | this.trackBarAkPitch.Size = new System.Drawing.Size(283, 45);
819 | this.trackBarAkPitch.TabIndex = 18;
820 | this.trackBarAkPitch.Scroll += new System.EventHandler(this.trackBarAkPitch_Scroll);
821 | //
822 | // tabPageLR300
823 | //
824 | this.tabPageLR300.Controls.Add(this.labelLR300Yaw);
825 | this.tabPageLR300.Controls.Add(this.label8);
826 | this.tabPageLR300.Controls.Add(this.trackBarLR300Yaw);
827 | this.tabPageLR300.Controls.Add(this.labelLR300Pitch);
828 | this.tabPageLR300.Controls.Add(this.label11);
829 | this.tabPageLR300.Controls.Add(this.trackBarLR300Pitch);
830 | this.tabPageLR300.Location = new System.Drawing.Point(4, 22);
831 | this.tabPageLR300.Margin = new System.Windows.Forms.Padding(2);
832 | this.tabPageLR300.Name = "tabPageLR300";
833 | this.tabPageLR300.Size = new System.Drawing.Size(289, 136);
834 | this.tabPageLR300.TabIndex = 4;
835 | this.tabPageLR300.Text = "LR300";
836 | this.tabPageLR300.UseVisualStyleBackColor = true;
837 | //
838 | // labelLR300Yaw
839 | //
840 | this.labelLR300Yaw.AutoSize = true;
841 | this.labelLR300Yaw.Location = new System.Drawing.Point(52, 71);
842 | this.labelLR300Yaw.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
843 | this.labelLR300Yaw.Name = "labelLR300Yaw";
844 | this.labelLR300Yaw.Size = new System.Drawing.Size(10, 13);
845 | this.labelLR300Yaw.TabIndex = 29;
846 | this.labelLR300Yaw.Text = "-";
847 | //
848 | // label8
849 | //
850 | this.label8.AutoSize = true;
851 | this.label8.Location = new System.Drawing.Point(6, 71);
852 | this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
853 | this.label8.Name = "label8";
854 | this.label8.Size = new System.Drawing.Size(34, 13);
855 | this.label8.TabIndex = 28;
856 | this.label8.Text = "Yaw: ";
857 | //
858 | // trackBarLR300Yaw
859 | //
860 | this.trackBarLR300Yaw.Location = new System.Drawing.Point(4, 87);
861 | this.trackBarLR300Yaw.Margin = new System.Windows.Forms.Padding(2);
862 | this.trackBarLR300Yaw.Maximum = 100;
863 | this.trackBarLR300Yaw.Name = "trackBarLR300Yaw";
864 | this.trackBarLR300Yaw.Size = new System.Drawing.Size(283, 45);
865 | this.trackBarLR300Yaw.TabIndex = 27;
866 | this.trackBarLR300Yaw.Scroll += new System.EventHandler(this.trackBarLR300Yaw_Scroll);
867 | //
868 | // labelLR300Pitch
869 | //
870 | this.labelLR300Pitch.AutoSize = true;
871 | this.labelLR300Pitch.Location = new System.Drawing.Point(52, 6);
872 | this.labelLR300Pitch.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
873 | this.labelLR300Pitch.Name = "labelLR300Pitch";
874 | this.labelLR300Pitch.Size = new System.Drawing.Size(10, 13);
875 | this.labelLR300Pitch.TabIndex = 26;
876 | this.labelLR300Pitch.Text = "-";
877 | //
878 | // label11
879 | //
880 | this.label11.AutoSize = true;
881 | this.label11.Location = new System.Drawing.Point(6, 6);
882 | this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
883 | this.label11.Name = "label11";
884 | this.label11.Size = new System.Drawing.Size(37, 13);
885 | this.label11.TabIndex = 25;
886 | this.label11.Text = "Pitch: ";
887 | //
888 | // trackBarLR300Pitch
889 | //
890 | this.trackBarLR300Pitch.Location = new System.Drawing.Point(4, 23);
891 | this.trackBarLR300Pitch.Margin = new System.Windows.Forms.Padding(2);
892 | this.trackBarLR300Pitch.Maximum = 100;
893 | this.trackBarLR300Pitch.Name = "trackBarLR300Pitch";
894 | this.trackBarLR300Pitch.Size = new System.Drawing.Size(283, 45);
895 | this.trackBarLR300Pitch.TabIndex = 24;
896 | this.trackBarLR300Pitch.Scroll += new System.EventHandler(this.trackBarLR300Pitch_Scroll);
897 | //
898 | // FormMain
899 | //
900 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
901 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
902 | this.ClientSize = new System.Drawing.Size(330, 552);
903 | this.Controls.Add(this.wwwwwwww);
904 | this.Controls.Add(this.groupBox2);
905 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
906 | this.Margin = new System.Windows.Forms.Padding(2);
907 | this.Name = "FormMain";
908 | this.Text = "DMA Tool";
909 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormMain_FormClosing);
910 | this.groupBox2.ResumeLayout(false);
911 | this.groupBox2.PerformLayout();
912 | this.wwwwwwww.ResumeLayout(false);
913 | this.wwwwwwww.PerformLayout();
914 | this.groupBox3.ResumeLayout(false);
915 | this.groupBox3.PerformLayout();
916 | ((System.ComponentModel.ISupportInitialize)(this.trackBarFOVSlider)).EndInit();
917 | this.tabControl1.ResumeLayout(false);
918 | this.tabPageCustomSMG.ResumeLayout(false);
919 | this.tabPageCustomSMG.PerformLayout();
920 | ((System.ComponentModel.ISupportInitialize)(this.trackBarCustomSMGYaw)).EndInit();
921 | ((System.ComponentModel.ISupportInitialize)(this.trackBarCustomSMGPitch)).EndInit();
922 | this.tabPageMP5.ResumeLayout(false);
923 | this.tabPageMP5.PerformLayout();
924 | ((System.ComponentModel.ISupportInitialize)(this.trackBarlabelMP5Yaw)).EndInit();
925 | ((System.ComponentModel.ISupportInitialize)(this.trackBarlabelMP5Pitch)).EndInit();
926 | this.tabPageThompson.ResumeLayout(false);
927 | this.tabPageThompson.PerformLayout();
928 | ((System.ComponentModel.ISupportInitialize)(this.trackBarThompsonYaw)).EndInit();
929 | ((System.ComponentModel.ISupportInitialize)(this.trackBarThompsonPitch)).EndInit();
930 | this.tabPageAssaultRifle.ResumeLayout(false);
931 | this.tabPageAssaultRifle.PerformLayout();
932 | ((System.ComponentModel.ISupportInitialize)(this.trackBarAkYaw)).EndInit();
933 | ((System.ComponentModel.ISupportInitialize)(this.trackBarAkPitch)).EndInit();
934 | this.tabPageLR300.ResumeLayout(false);
935 | this.tabPageLR300.PerformLayout();
936 | ((System.ComponentModel.ISupportInitialize)(this.trackBarLR300Yaw)).EndInit();
937 | ((System.ComponentModel.ISupportInitialize)(this.trackBarLR300Pitch)).EndInit();
938 | this.ResumeLayout(false);
939 |
940 | }
941 |
942 | #endregion
943 |
944 | private System.Windows.Forms.GroupBox groupBox2;
945 | private System.Windows.Forms.Label label33;
946 | private System.Windows.Forms.Label label2;
947 | private System.Windows.Forms.Label label1;
948 | public System.Windows.Forms.Label labelStatus;
949 | public System.Windows.Forms.Label labelGameAssembly;
950 | public System.Windows.Forms.Label labelRustPID;
951 | public System.Windows.Forms.Button buttonDetach;
952 | public System.Windows.Forms.Button buttonAttach;
953 | private System.Windows.Forms.GroupBox wwwwwwww;
954 | private System.Windows.Forms.CheckBox checkBoxAdminflag;
955 | private System.Windows.Forms.CheckBox checkBoxNoRecoil;
956 | private System.Windows.Forms.TabControl tabControl1;
957 | private System.Windows.Forms.TabPage tabPageCustomSMG;
958 | private System.Windows.Forms.TabPage tabPageMP5;
959 | private System.Windows.Forms.TabPage tabPageThompson;
960 | private System.Windows.Forms.TabPage tabPageAssaultRifle;
961 | private System.Windows.Forms.TabPage tabPageLR300;
962 | private System.Windows.Forms.TrackBar trackBarCustomSMGPitch;
963 | private System.Windows.Forms.Label labelCustomSMGPitch;
964 | private System.Windows.Forms.Label label3;
965 | private System.Windows.Forms.Label labelCustomSMGYaw;
966 | private System.Windows.Forms.Label label13;
967 | private System.Windows.Forms.TrackBar trackBarCustomSMGYaw;
968 | public System.Windows.Forms.Button buttonSaveRecoil;
969 | private System.Windows.Forms.Label labelMP5Yaw;
970 | private System.Windows.Forms.Label label5;
971 | private System.Windows.Forms.TrackBar trackBarlabelMP5Yaw;
972 | private System.Windows.Forms.Label labelMP5Pitch;
973 | private System.Windows.Forms.Label label14;
974 | private System.Windows.Forms.TrackBar trackBarlabelMP5Pitch;
975 | private System.Windows.Forms.Label labelThompsonYaw;
976 | private System.Windows.Forms.Label label6;
977 | private System.Windows.Forms.TrackBar trackBarThompsonYaw;
978 | private System.Windows.Forms.Label labelThompsonPitch;
979 | private System.Windows.Forms.Label label12;
980 | private System.Windows.Forms.TrackBar trackBarThompsonPitch;
981 | private System.Windows.Forms.Label labelAkYaw;
982 | private System.Windows.Forms.Label label7;
983 | private System.Windows.Forms.TrackBar trackBarAkYaw;
984 | private System.Windows.Forms.Label labelAkPitch;
985 | private System.Windows.Forms.Label label9;
986 | private System.Windows.Forms.TrackBar trackBarAkPitch;
987 | private System.Windows.Forms.Label labelLR300Yaw;
988 | private System.Windows.Forms.Label label8;
989 | private System.Windows.Forms.TrackBar trackBarLR300Yaw;
990 | private System.Windows.Forms.Label labelLR300Pitch;
991 | private System.Windows.Forms.Label label11;
992 | private System.Windows.Forms.TrackBar trackBarLR300Pitch;
993 | private System.Windows.Forms.CheckBox checkBoxKeepRecoil;
994 | public System.Windows.Forms.ComboBox comboBoxChams;
995 | public System.Windows.Forms.CheckBox checkBoxChams;
996 | public System.Windows.Forms.CheckBox checkBoxInteractiveDebugCamera;
997 | public System.Windows.Forms.CheckBox checkBoxSpiderman;
998 | public System.Windows.Forms.CheckBox checkBoxJump;
999 | private System.Windows.Forms.Label labelFOV;
1000 | private System.Windows.Forms.TrackBar trackBarFOVSlider;
1001 | public System.Windows.Forms.Button buttonCullingOFF;
1002 | public System.Windows.Forms.Button buttonCullingON;
1003 | public System.Windows.Forms.ComboBox comboBox1;
1004 | private System.Windows.Forms.GroupBox groupBox3;
1005 | public System.Windows.Forms.Button buttonEnableRisky;
1006 | public System.Windows.Forms.Button buttonDisableRisky;
1007 | public System.Windows.Forms.Button buttonApplyFilter;
1008 | public System.Windows.Forms.ComboBox comboBoxFilter;
1009 | private System.Windows.Forms.Label label4;
1010 | private System.Windows.Forms.Label label10;
1011 | private System.Windows.Forms.Button button1;
1012 | }
1013 | }
1014 |
1015 |
--------------------------------------------------------------------------------
/rustbox/FormMain.cs:
--------------------------------------------------------------------------------
1 | using rustbox.Features;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.ComponentModel;
5 | using System.Data;
6 | using System.Drawing;
7 | using System.IO;
8 | using System.Linq;
9 | using System.Text;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 | using static rustbox.Features.UpdateLoop;
13 |
14 | namespace rustbox
15 | {
16 | public partial class FormMain : Form
17 | {
18 | public int selectedChams = 0;
19 | public bool needRewrite = false;
20 | public int selectedFilter = 0;
21 | public FormMain()
22 | {
23 | InitializeComponent();
24 |
25 | UpdateLoop.formMain = this;
26 | DMAController.formMain = this;
27 |
28 | comboBoxChams.SelectedIndex = 0;
29 |
30 | SetupRecoilDict();
31 | }
32 |
33 | public void SetupRecoilDict()
34 | {
35 | UpdateLoop.weaponDict.Add(1545779598, new Weapon(8, -30, 0.5f, 0.5f)); //ak
36 | UpdateLoop.weaponDict.Add(1796682209, new Weapon(10, -15, 0.5f, 0.5f)); //custom
37 | UpdateLoop.weaponDict.Add(2482412119, new Weapon(5, -12, 0.5f, 0.5f)); //lr
38 | UpdateLoop.weaponDict.Add(1318558775, new Weapon(6, -10, 0.5f, 0.5f)); //mp5
39 | UpdateLoop.weaponDict.Add(2536594571, new Weapon(10, -15, 0.5f, 0.5f)); //thompson
40 |
41 | try
42 | {
43 | if (File.Exists(Environment.CurrentDirectory + "\\recoilSave.cfg"))
44 | {
45 | var weapons = File.ReadAllLines(Environment.CurrentDirectory + "\\recoilSave.cfg");
46 |
47 | foreach (var weapon in weapons)
48 | {
49 | var vals = weapon.Split(' ');
50 |
51 | uint weaponID = Convert.ToUInt32(vals[0]);
52 | float pitchMultiplier = (float)Convert.ToDouble(vals[1]);
53 | float yawMultiplier = (float)Convert.ToDouble(vals[2]);
54 |
55 | Weapon dictWeapon;
56 | if (weaponDict.TryGetValue(weaponID, out dictWeapon))
57 | {
58 | weaponDict.Remove(weaponID);
59 | dictWeapon.multiplierPitch = pitchMultiplier;
60 | dictWeapon.multiplierYaw = yawMultiplier;
61 | weaponDict.Add(weaponID, dictWeapon);
62 |
63 | switch (weaponID)
64 | {
65 | case 1545779598:
66 | trackBarAkPitch.Value = (int)(pitchMultiplier * 100);
67 | trackBarAkYaw.Value = (int)(yawMultiplier * 100);
68 | labelAkPitch.Text = (int)(pitchMultiplier * 100) + " %";
69 | labelAkYaw.Text = (int)(yawMultiplier * 100) + " %";
70 | break;
71 | case 1796682209:
72 | trackBarCustomSMGPitch.Value = (int)(pitchMultiplier * 100);
73 | trackBarCustomSMGYaw.Value = (int)(yawMultiplier * 100);
74 | labelCustomSMGPitch.Text = (int)(pitchMultiplier * 100) + " %";
75 | labelCustomSMGYaw.Text = (int)(yawMultiplier * 100) + " %";
76 | break;
77 | case 2482412119:
78 | trackBarLR300Pitch.Value = (int)(pitchMultiplier * 100);
79 | trackBarLR300Yaw.Value = (int)(yawMultiplier * 100);
80 | labelLR300Pitch.Text = (int)(pitchMultiplier * 100) + " %";
81 | labelLR300Yaw.Text = (int)(yawMultiplier * 100) + " %";
82 | break;
83 | case 1318558775:
84 | trackBarlabelMP5Pitch.Value = (int)(pitchMultiplier * 100);
85 | trackBarlabelMP5Yaw.Value = (int)(yawMultiplier * 100);
86 | labelMP5Pitch.Text = (int)(pitchMultiplier * 100) + " %";
87 | labelMP5Yaw.Text = (int)(yawMultiplier * 100) + " %";
88 | break;
89 | case 2536594571:
90 | trackBarThompsonPitch.Value = (int)(pitchMultiplier * 100);
91 | trackBarThompsonYaw.Value = (int)(yawMultiplier * 100);
92 | labelThompsonPitch.Text = (int)(pitchMultiplier * 100) + " %";
93 | labelThompsonYaw.Text = (int)(yawMultiplier * 100) + " %";
94 | break;
95 | default:
96 | break;
97 | }
98 | }
99 | }
100 | }
101 | }
102 | catch (Exception)
103 | {
104 | MessageBox.Show("Could not read recoil config.");
105 | }
106 | }
107 |
108 | private void buttonAttach_Click(object sender, EventArgs e)
109 | {
110 | this.buttonAttach.Enabled = false;
111 | new Task(DMAController.Attach).Start();
112 | }
113 |
114 | private void buttonDetach_Click(object sender, EventArgs e)
115 | {
116 | buttonDetach.Enabled = false;
117 | DMAController.Cleanup();
118 | buttonAttach.Enabled = true;
119 | labelStatus.Text = "Detached";
120 | labelStatus.ForeColor = Color.Red;
121 | }
122 |
123 | private void checkBoxAdminflag_CheckedChanged(object sender, EventArgs e)
124 | {
125 | UpdateLoop.adminFlag = checkBoxAdminflag.Checked;
126 | }
127 |
128 | private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
129 | {
130 | DMAController.Cleanup();
131 | }
132 |
133 | private void checkBoxNoRecoil_CheckedChanged(object sender, EventArgs e)
134 | {
135 | UpdateLoop.noRecoil = checkBoxNoRecoil.Checked;
136 | }
137 |
138 | private void trackBarCustomSMGPitch_Scroll(object sender, EventArgs e)
139 | {
140 | Weapon weapon;
141 | if (weaponDict.TryGetValue(1796682209, out weapon))
142 | {
143 | weaponDict.Remove(1796682209);
144 | weapon.multiplierPitch = (float)trackBarCustomSMGPitch.Value / 100;
145 | labelCustomSMGPitch.Text = trackBarCustomSMGPitch.Value.ToString() + " %";
146 | weaponDict.Add(1796682209, weapon);
147 | }
148 | UpdateLoop.rewrite = true;
149 | }
150 |
151 | private void trackBarCustomSMGYaw_Scroll(object sender, EventArgs e)
152 | {
153 | Weapon weapon;
154 | if (weaponDict.TryGetValue(1796682209, out weapon))
155 | {
156 | weaponDict.Remove(1796682209);
157 | weapon.multiplierYaw = (float)trackBarCustomSMGYaw.Value / 100;
158 | labelCustomSMGYaw.Text = trackBarCustomSMGYaw.Value.ToString() + " %";
159 | weaponDict.Add(1796682209, weapon);
160 | }
161 | UpdateLoop.rewrite = true;
162 | }
163 |
164 | private void trackBarlabelMP5Pitch_Scroll(object sender, EventArgs e)
165 | {
166 | Weapon weapon;
167 | if (weaponDict.TryGetValue(1318558775, out weapon))
168 | {
169 | weaponDict.Remove(1318558775);
170 | weapon.multiplierPitch = (float)trackBarlabelMP5Pitch.Value / 100;
171 | labelMP5Pitch.Text = trackBarlabelMP5Pitch.Value.ToString() + " %";
172 | weaponDict.Add(1318558775, weapon);
173 | }
174 | UpdateLoop.rewrite = true;
175 | }
176 |
177 | private void trackBarlabelMP5Yaw_Scroll(object sender, EventArgs e)
178 | {
179 | Weapon weapon;
180 | if (weaponDict.TryGetValue(1318558775, out weapon))
181 | {
182 | weaponDict.Remove(1318558775);
183 | weapon.multiplierYaw = (float)trackBarlabelMP5Yaw.Value / 100;
184 | labelMP5Yaw.Text = trackBarlabelMP5Yaw.Value.ToString() + " %";
185 | weaponDict.Add(1318558775, weapon);
186 | }
187 | UpdateLoop.rewrite = true;
188 | }
189 |
190 | private void trackBarThompsonPitch_Scroll(object sender, EventArgs e)
191 | {
192 | Weapon weapon;
193 | if (weaponDict.TryGetValue(2536594571, out weapon))
194 | {
195 | weaponDict.Remove(2536594571);
196 | weapon.multiplierPitch = (float)trackBarThompsonPitch.Value / 100;
197 | labelThompsonPitch.Text = trackBarThompsonPitch.Value.ToString() + " %";
198 | weaponDict.Add(2536594571, weapon);
199 | }
200 | UpdateLoop.rewrite = true;
201 | }
202 |
203 | private void trackBarThompsonYaw_Scroll(object sender, EventArgs e)
204 | {
205 | Weapon weapon;
206 | if (weaponDict.TryGetValue(2536594571, out weapon))
207 | {
208 | weaponDict.Remove(2536594571);
209 | weapon.multiplierYaw = (float)trackBarThompsonYaw.Value / 100;
210 | labelThompsonYaw.Text = trackBarThompsonYaw.Value.ToString() + " %";
211 | weaponDict.Add(2536594571, weapon);
212 | }
213 | UpdateLoop.rewrite = true;
214 | }
215 |
216 | private void trackBarAkPitch_Scroll(object sender, EventArgs e)
217 | {
218 | Weapon weapon;
219 | if (weaponDict.TryGetValue(1545779598, out weapon))
220 | {
221 | weaponDict.Remove(1545779598);
222 | weapon.multiplierPitch = (float)trackBarAkPitch.Value / 100;
223 | labelAkPitch.Text = trackBarAkPitch.Value.ToString() + " %";
224 | weaponDict.Add(1545779598, weapon);
225 | }
226 | UpdateLoop.rewrite = true;
227 | }
228 |
229 | private void trackBarAkYaw_Scroll(object sender, EventArgs e)
230 | {
231 | Weapon weapon;
232 | if (weaponDict.TryGetValue(1545779598, out weapon))
233 | {
234 | weaponDict.Remove(1545779598);
235 | weapon.multiplierYaw = (float)trackBarAkYaw.Value / 100;
236 | labelAkYaw.Text = trackBarAkYaw.Value.ToString() + " %";
237 | weaponDict.Add(1545779598, weapon);
238 | }
239 | UpdateLoop.rewrite = true;
240 | }
241 |
242 | private void trackBarLR300Pitch_Scroll(object sender, EventArgs e)
243 | {
244 | Weapon weapon;
245 | if (weaponDict.TryGetValue(2482412119, out weapon))
246 | {
247 | weaponDict.Remove(2482412119);
248 | weapon.multiplierPitch = (float)trackBarLR300Pitch.Value / 100;
249 | labelLR300Pitch.Text = trackBarLR300Pitch.Value.ToString() + " %";
250 | weaponDict.Add(2482412119, weapon);
251 | }
252 | UpdateLoop.rewrite = true;
253 | }
254 |
255 | private void trackBarLR300Yaw_Scroll(object sender, EventArgs e)
256 | {
257 | Weapon weapon;
258 | if (weaponDict.TryGetValue(2482412119, out weapon))
259 | {
260 | weaponDict.Remove(2482412119);
261 | weapon.multiplierYaw = (float)trackBarLR300Yaw.Value / 100;
262 | labelLR300Yaw.Text = trackBarLR300Yaw.Value.ToString() + " %";
263 | weaponDict.Add(2482412119, weapon);
264 | }
265 | UpdateLoop.rewrite = true;
266 | }
267 |
268 | private void buttonSaveRecoil_Click(object sender, EventArgs e)
269 | {
270 | if (File.Exists(Environment.CurrentDirectory + "\\recoilSave.cfg"))
271 | {
272 | File.Delete(Environment.CurrentDirectory + "\\recoilSave.cfg");
273 | }
274 |
275 | string[] weapons = new string[weaponDict.Count];
276 |
277 | for (int i = 0; i < weaponDict.Count; i++)
278 | {
279 | var currentElement = weaponDict.ElementAt(i);
280 | weapons[i] = currentElement.Key.ToString() + " " + currentElement.Value.multiplierPitch.ToString() + " " + currentElement.Value.multiplierYaw.ToString();
281 | }
282 |
283 | File.WriteAllLines(Environment.CurrentDirectory + "\\recoilSave.cfg", weapons);
284 |
285 | MessageBox.Show("Saved recoil config.");
286 | }
287 |
288 | private void checkBoxKeepRecoil_CheckedChanged(object sender, EventArgs e)
289 | {
290 | UpdateLoop.keepRecoil = checkBoxKeepRecoil.Checked;
291 | }
292 |
293 | private void comboBoxChams_SelectedIndexChanged(object sender, EventArgs e)
294 | {
295 | selectedChams = comboBoxChams.SelectedIndex;
296 | needRewrite = true;
297 | }
298 |
299 | private void checkBoxChams_CheckedChanged(object sender, EventArgs e)
300 | {
301 | needRewrite = true;
302 | }
303 |
304 | private void checkBoxInteractiveDebugCamera_CheckedChanged(object sender, EventArgs e)
305 | {
306 |
307 | }
308 |
309 | private void checkBoxSpiderman_CheckedChanged(object sender, EventArgs e)
310 | {
311 | UpdateLoop.spiderman = checkBoxSpiderman.Checked;
312 | }
313 |
314 | private void checkBoxJump_CheckedChanged(object sender, EventArgs e)
315 | {
316 | UpdateLoop.canJump = checkBoxJump.Checked;
317 | }
318 |
319 | private void trackBarFOVSlider_Scroll(object sender, EventArgs e)
320 | {
321 | UpdateLoop.fov = trackBarFOVSlider.Value;
322 | labelFOV.Text = trackBarFOVSlider.Value.ToString() + " "; //
323 | }
324 |
325 | private void checkBoxFOV_CheckedChanged(object sender, EventArgs e)
326 | {
327 |
328 | }
329 |
330 | private void checkBoxCullingESP_CheckedChanged(object sender, EventArgs e)
331 | {
332 |
333 | }
334 |
335 | private void button1_Click(object sender, EventArgs e)
336 | {
337 |
338 | }
339 |
340 | private void buttonCullingOFF_Click(object sender, EventArgs e)
341 | {
342 | this.buttonCullingOFF.Enabled = false;
343 |
344 | ulong occlusionCulling = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.occlusionculling);
345 | ulong otherCulling = DMAController.ReadMemory(occlusionCulling + 0xB8);
346 | DMAController.WriteMemory(otherCulling + Offsets.debugShow, false);
347 |
348 |
349 | this.buttonCullingOFF.Visible = false;
350 | this.buttonCullingON.Enabled = true;
351 | this.buttonCullingON.Visible = true;
352 | }
353 |
354 |
355 |
356 | private void buttonCullingON_Click(object sender, EventArgs e)
357 | {
358 | this.buttonCullingON.Enabled = false;
359 |
360 | //get OcclusionCulling
361 | ulong occlusionCulling = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.occlusionculling);
362 | ulong otherCulling = DMAController.ReadMemory(occlusionCulling + 0xB8);
363 | //
364 |
365 | //PLAYER ONLY FILTER
366 | // int layerFilter = 131072;
367 | //ulong singletonPointer = DMAController.ReadMemory(otherCulling + 0x80);
368 | // ulong debugSettings = DMAController.ReadMemory(singletonPointer + Offsets.debugSettings);
369 |
370 | // DMAController.WriteMemory(debugSettings + 0x20, layerFilter); //writes the layer filter
371 | //
372 |
373 | DMAController.WriteMemory(otherCulling + Offsets.debugShow, true); //writes culling on
374 |
375 |
376 | this.buttonCullingON.Visible = false;
377 | this.buttonCullingOFF.Enabled = true;
378 | this.buttonCullingOFF.Visible = true;
379 | }
380 | private void buttonPlayerFilter_Click(object sender, EventArgs e)
381 | {
382 | ulong occlusionCulling = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.occlusionculling);
383 | ulong otherCulling = DMAController.ReadMemory(occlusionCulling + 0xB8);
384 |
385 | int playerFilter = 131072;
386 | ulong singletonPointer = DMAController.ReadMemory(otherCulling + 0x80);
387 | ulong debugSettings = DMAController.ReadMemory(singletonPointer + Offsets.debugSettings);
388 |
389 | DMAController.WriteMemory(debugSettings + 0x20, playerFilter); //writes the layer filter
390 |
391 | }
392 |
393 | private void buttonNpcFilter_Click(object sender, EventArgs e)
394 | {
395 | ulong occlusionCulling = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.occlusionculling);
396 | ulong otherCulling = DMAController.ReadMemory(occlusionCulling + 0xB8);
397 |
398 | int npcFilter = 2048;
399 | ulong singletonPointer = DMAController.ReadMemory(otherCulling + 0x80);
400 | ulong debugSettings = DMAController.ReadMemory(singletonPointer + Offsets.debugSettings);
401 |
402 | DMAController.WriteMemory(debugSettings + 0x20, npcFilter); //writes the layer filter
403 | }
404 |
405 | private void comboBoxFilter_SelectedIndexChanged(object sender, EventArgs e)
406 | {
407 | selectedFilter = comboBoxFilter.SelectedIndex;
408 | }
409 | private void buttonEnableRisky_Click(object sender, EventArgs e)
410 | {
411 | buttonEnableRisky.Visible = false;
412 | buttonDisableRisky.Visible = true;
413 |
414 | checkBoxAdminflag.Enabled = true;
415 | checkBoxJump.Enabled = true;
416 | checkBoxSpiderman.Enabled = true;
417 | }
418 |
419 | private void buttonDisableRisky_Click(object sender, EventArgs e)
420 | {
421 | buttonDisableRisky.Visible = false;
422 | buttonEnableRisky.Visible = true;
423 |
424 |
425 | checkBoxAdminflag.Enabled = false;
426 | checkBoxJump.Enabled = false;
427 | checkBoxSpiderman.Enabled = false;
428 | }
429 |
430 | private void buttonApplyFilter_Click(object sender, EventArgs e)
431 | {
432 | ulong occlusionCulling = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.occlusionculling);
433 | ulong otherCulling = DMAController.ReadMemory(occlusionCulling + 0xB8);
434 |
435 |
436 | ulong singletonPointer = DMAController.ReadMemory(otherCulling + 0x80);
437 | ulong debugSettings = DMAController.ReadMemory(singletonPointer + Offsets.debugSettings);
438 | if (selectedFilter == 0) //player
439 | {
440 | int layerFilter = 131072;
441 | DMAController.WriteMemory(debugSettings + 0x20, layerFilter); //writes the layer filter
442 | }
443 |
444 | if (selectedFilter == 1) //npc
445 | {
446 | int layerFilter = 2048;
447 | DMAController.WriteMemory(debugSettings + 0x20, layerFilter); //writes the layer filter
448 | }
449 |
450 | if (selectedFilter == 2) //corpse
451 | {
452 | int layerFilter = 512;
453 | DMAController.WriteMemory(debugSettings + 0x20, layerFilter); //writes the layer filter
454 | }
455 |
456 |
457 | }
458 |
459 | private void buttonSetFOV_Click(object sender, EventArgs e)
460 | {
461 |
462 | ulong camManager = DMAController.ReadMemory(DMAController.gameAssembly.vaBase + Offsets.GraphicsCVar);
463 | ulong camMan = DMAController.ReadMemory(camManager + 0xB8);
464 |
465 | DMAController.WriteMemory(camMan + Offsets.cameraFov, fov);
466 | }
467 | }
468 | }
469 |
--------------------------------------------------------------------------------
/rustbox/FormMain.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/rustbox/Memory/DMAController.cs:
--------------------------------------------------------------------------------
1 | using rustbox.Features;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Drawing;
5 | using System.Linq;
6 | using System.Runtime.InteropServices;
7 | using System.Text;
8 | using System.Threading;
9 | using System.Threading.Tasks;
10 | using System.Windows.Forms;
11 |
12 | namespace rustbox
13 | {
14 | public static class DMAController
15 | {
16 | public static uint pid = 0;
17 | public static FormMain formMain;
18 | public static vmm.MAP_MODULEENTRY gameAssembly;
19 | public static vmm.MAP_MODULEENTRY unityplayer;
20 | public static bool isAttached = false;
21 |
22 | public static Thread updateThread;
23 | public static Thread entityLoopThread;
24 |
25 | public static string ReadString(ulong address)
26 | {
27 | byte[] byteArray = vmm.MemRead(pid, address, 128);
28 | string convertedString = System.Text.Encoding.ASCII.GetString(byteArray);
29 | if (convertedString.Contains('\0'))
30 | convertedString = convertedString.Split('\0')[0];
31 | return convertedString;
32 | }
33 |
34 | public static string ReadClassName(ulong address)
35 | {
36 | byte[] byteArray = vmm.MemRead(pid, address, 64);
37 | string convertedString = System.Text.Encoding.ASCII.GetString(byteArray);
38 | if (convertedString.Contains('\0'))
39 | convertedString = convertedString.Split('\0')[0];
40 | return convertedString;
41 | }
42 |
43 | public static void WriteMemory(ulong address, T value)
44 | {
45 | if (address != 0)
46 | {
47 | byte[] buffer = StructureToBytes(value);
48 | vmm.MemWrite(pid, address, buffer);
49 | }
50 | }
51 |
52 | public static byte[] StructureToBytes(T structure)
53 | {
54 | int size = Marshal.SizeOf(structure);
55 | byte[] buffer = new byte[size];
56 | IntPtr ptr = Marshal.AllocHGlobal(size);
57 | Marshal.StructureToPtr(structure, ptr, true);
58 | Marshal.Copy(ptr, buffer, 0, size);
59 | Marshal.FreeHGlobal(ptr);
60 | return buffer;
61 | }
62 |
63 | public static T ReadMemory(ulong address)
64 | {
65 | if (address != 0)
66 | {
67 | uint size = (uint)Marshal.SizeOf(typeof(T));
68 | byte[] buffer = vmm.MemRead(pid, address, size);
69 | T result = default(T);
70 | result = BytesToStructure(buffer);
71 | return result;
72 | }
73 | else
74 | {
75 | return default(T);
76 | }
77 | }
78 |
79 | public static T BytesToStructure(byte[] buffer)
80 | {
81 | T result = default(T);
82 | int size = buffer.Length;
83 | IntPtr ptr = Marshal.AllocHGlobal(size);
84 | Marshal.Copy(buffer, 0, ptr, size);
85 | result = (T)Marshal.PtrToStructure(ptr, result.GetType());
86 |
87 | Marshal.FreeHGlobal(ptr);
88 | return result;
89 | }
90 |
91 | public static void Cleanup()
92 | {
93 | try
94 | {
95 | if (updateThread != null)
96 | {
97 | if (updateThread.IsAlive)
98 | {
99 | updateThread.Abort();
100 | updateThread = null;
101 | }
102 | }
103 |
104 | isAttached = false;
105 | vmm.Close();
106 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelGameAssembly.Text = "-"; }));
107 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelRustPID.Text = "-"; }));
108 | }
109 | catch (Exception ex)
110 | {
111 | Console.ForegroundColor = ConsoleColor.Red;
112 | Console.WriteLine("[EASYOFFLINE] FATAL error while closing connection to DMA device. \n" + ex.Message);
113 | Console.ForegroundColor = ConsoleColor.White;
114 | }
115 | }
116 |
117 | public static void Attach()
118 | {
119 | try
120 | {
121 | Console.Clear();
122 |
123 | Console.WriteLine("[EASYOFFLINE] Initializing DMA Device");
124 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelStatus.Text = "Initializing"; }));
125 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelStatus.ForeColor = Color.Wheat; }));
126 | vmm.Initialize("-printf", "-device", "fpga");
127 |
128 | Console.WriteLine("[EASYOFFLINE] Getting Game PID");
129 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelStatus.Text = "Retrieving PID"; }));
130 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelStatus.ForeColor = Color.Yellow; }));
131 | while (!vmm.PidGetFromName("RustClient.exe", out pid)) { }
132 |
133 | Console.ForegroundColor = ConsoleColor.Green;
134 | Console.WriteLine("[EASYOFFLINE] Got PID: " + pid);
135 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelRustPID.Text = pid.ToString(); }));
136 |
137 | Console.WriteLine("[EASYOFFLINE] Getting Module");
138 | gameAssembly = vmm.Map_GetModuleFromName(pid, "GameAssembly.dll");
139 | unityplayer = vmm.Map_GetModuleFromName(pid, "UnityPlayer.dll");
140 |
141 | if (gameAssembly.vaBase != 0)
142 | {
143 | Console.WriteLine("[EASYOFFLINE] Got Modules");
144 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelStatus.Text = "Attached"; }));
145 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelStatus.ForeColor = Color.Green; }));
146 | formMain.Invoke(new MethodInvoker(delegate () { formMain.buttonDetach.Enabled = true; }));
147 | formMain.Invoke(new MethodInvoker(delegate () { formMain.labelGameAssembly.Text = string.Format("0x{0:X}", gameAssembly.vaBase); }));
148 |
149 | isAttached = true;
150 |
151 | entityLoopThread = new Thread(UpdateLoop.RunEntityLoop);
152 | entityLoopThread.Start();
153 |
154 | updateThread = new Thread(UpdateLoop.RunFeatures);
155 | updateThread.Start();
156 | }
157 | else
158 | {
159 | Console.ForegroundColor = ConsoleColor.Red;
160 | Console.WriteLine("[EASYOFFLINE] ERROR could not get Module GameAssembly.dll.");
161 | Console.ForegroundColor = ConsoleColor.White;
162 | }
163 | Console.ForegroundColor = ConsoleColor.White;
164 | }
165 | catch (Exception ex)
166 | {
167 | Console.ForegroundColor = ConsoleColor.Red;
168 | Console.WriteLine("[EASYOFFLINE] FATAL error when initializing DMA device. \n" + ex.Message);
169 | Console.ForegroundColor = ConsoleColor.White;
170 | }
171 | }
172 | }
173 | }
174 |
--------------------------------------------------------------------------------
/rustbox/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace rustbox
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new FormMain());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/rustbox/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("rustbox")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("rustbox")]
13 | [assembly: AssemblyCopyright("Copyright © 2022")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("c2d5a42d-035a-4a3f-8725-da9d5192259e")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/rustbox/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion: 4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
7 | // der Code neu generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 |
12 | namespace rustbox.Properties
13 | {
14 | ///
15 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
16 | ///
17 | // Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
18 | // über ein Tool wie ResGen oder Visual Studio automatisch generiert.
19 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
20 | // mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
21 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
22 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
23 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
24 | internal class Resources
25 | {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources()
33 | {
34 | }
35 |
36 | ///
37 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
38 | ///
39 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
40 | internal static global::System.Resources.ResourceManager ResourceManager
41 | {
42 | get
43 | {
44 | if ((resourceMan == null))
45 | {
46 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("rustbox.Properties.Resources", typeof(Resources).Assembly);
47 | resourceMan = temp;
48 | }
49 | return resourceMan;
50 | }
51 | }
52 |
53 | ///
54 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
55 | /// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
56 | ///
57 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
58 | internal static global::System.Globalization.CultureInfo Culture
59 | {
60 | get
61 | {
62 | return resourceCulture;
63 | }
64 | set
65 | {
66 | resourceCulture = value;
67 | }
68 | }
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/rustbox/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/rustbox/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 |
12 | namespace rustbox.Properties
13 | {
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
17 | {
18 |
19 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
20 |
21 | public static Settings Default
22 | {
23 | get
24 | {
25 | return defaultInstance;
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/rustbox/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/rustbox/leechcore.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bytemyass/rustbox/12260d0be99fc451e14019b62c865ca97e8e050f/rustbox/leechcore.dll
--------------------------------------------------------------------------------
/rustbox/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/rustbox/rustbox.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {C2D5A42D-035A-4A3F-8725-DA9D5192259E}
8 | Exe
9 | rustbox
10 | rustbox
11 | v4.7.2
12 | 512
13 | true
14 | true
15 | publish\
16 | true
17 | Disk
18 | false
19 | Foreground
20 | 7
21 | Days
22 | false
23 | false
24 | true
25 | 0
26 | 1.0.0.%2a
27 | false
28 | false
29 | true
30 |
31 |
32 | AnyCPU
33 | true
34 | full
35 | false
36 | bin\Debug\
37 | DEBUG;TRACE
38 | prompt
39 | 4
40 | true
41 |
42 |
43 | AnyCPU
44 | pdbonly
45 | true
46 | bin\Release\
47 | TRACE
48 | prompt
49 | 4
50 | true
51 |
52 |
53 |
54 |
55 |
56 | true
57 | bin\x64\Debug\
58 | DEBUG;TRACE
59 | true
60 | full
61 | x64
62 | 7.3
63 | prompt
64 | true
65 |
66 |
67 | bin\x64\Release\
68 | TRACE
69 | true
70 | true
71 | pdbonly
72 | x64
73 | 7.3
74 | prompt
75 | true
76 |
77 |
78 |
79 |
80 | ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
81 |
82 |
83 |
84 | ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
85 |
86 |
87 |
88 | ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
89 |
90 |
91 | ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 | Form
109 |
110 |
111 | FormMain.cs
112 |
113 |
114 |
115 |
116 |
117 |
118 | FormMain.cs
119 |
120 |
121 | ResXFileCodeGenerator
122 | Resources.Designer.cs
123 | Designer
124 |
125 |
126 | True
127 | Resources.resx
128 |
129 |
130 |
131 | SettingsSingleFileGenerator
132 | Settings.Designer.cs
133 |
134 |
135 | True
136 | Settings.settings
137 | True
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 | False
146 | Microsoft .NET Framework 4.7.2 %28x86 und x64%29
147 | true
148 |
149 |
150 | False
151 | .NET Framework 3.5 SP1
152 | false
153 |
154 |
155 |
156 |
157 | Always
158 |
159 |
160 | Always
161 |
162 |
163 | Always
164 |
165 |
166 |
167 |
--------------------------------------------------------------------------------
/rustbox/vmm.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bytemyass/rustbox/12260d0be99fc451e14019b62c865ca97e8e050f/rustbox/vmm.dll
--------------------------------------------------------------------------------