Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C++/C Programming › Assault Cube Line Hack

UnhappyAssault Cube Line Hack

Posts 1–3 of 3 · Page 1 of 1
SH
Shane Thompson
Assault Cube Line Hack
Hi guys,


I am working on a hack for Assaultcube. Currently I have:
  • Aimbot (With or without player's prediction on next frame render)
  • Switch pistol for Akimbo
  • Full whois (if not admin of server)
  • Linehack
  • Invincibility
  • Triggerbot
  • Disable recoil
  • Multiplayer editmode
  • Removal of reload waiting
  • infinite ammo
  • all guns available at any time
  • knife hack - knife someone across the rool
  • grenade on spawn
  • remove shotgun spread - deal 500 pts damage
  • Perfect accuracy


However the line hack listed above - I am having issues getting it to actually work.

Everything is fine up until I draw the line. It detects the enemy players, then draws a line.

To draw a line, it passes the enemy player's vector as a parameter and the current player's vector as a parameter (may remove current players vector depending what I find here).

Now I need to change the enemy's vector into a screen position. This is where I am having the issues.

First of all I tried drawing the line straight from the vectors - this basically gave me another minimap.

Then I tried using getyawpitch - that majorly screwed things up.

Now I realise that maybe there is an algorithm to work out screen position to vector. I scour the code vigorously to find this algorithm. No luck.

I google 'Assaultcube vectors'. No luck there. Then I find something in the code - it leads me to what I now believe is that the Assaultcube code is not necessarily what handles the vectors, but GL is. So that leaves me with the following code and linking error:

Code:
#include <GL/GLU.h>
void drawLine(const vec &from, const vec &to) 
{
	GLdouble *scr_x, *scr_y, *scr_z;

	GLdouble model_view[16];
	glGetDoublev(GL_MODELVIEW_MATRIX, model_view);

	GLdouble projection[16];
	glGetDoublev(GL_PROJECTION_MATRIX, projection);

	GLint viewport[4];
	glGetIntegerv(GL_VIEWPORT, viewport);

	gluProject(to.x, to.y, to.z, model_view, projection, viewport, scr_x, scr_y, scr_z);

	glBegin(GL_LINES);
	  glVertex2d((screen->w/2), screen->h);
	  glVertex2d(*scr_x, *scr_y);
	glEnd();
}
Code:
error LNK2001: unresolved external symbol _gluProject@48
I am a complete n00b with GL functions.

I am using VC++ 2010 Express.

Thanks in advance.
#1 · 14y ago
KI
kibbles18
check lib includes
#2 · 14y ago
SH
Shane Thompson
kibbles18, already have. As you can see, #include <GL/GLU.h> on first line - this is confirmed where gluProject is defined, even checked myself.
Thanks anyway.
EDIT:
kibbles18: I did not understand what you meant by lib includes - after googling around I finally found the solution and came back to say so and realised that I had mis-understood and that you are right - the problem was with the lib includes.

Thanks for your response!
#3 · edited 14y ago · 14y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • Assault Cube Nickname HackBy 258456 in C++/C Programming
    7Last post 15y ago
  • Assault Cube hacksBy Ariez in General Hacking
    11Last post 14y ago
  • Assault Cube v1.0.2 hacks?By Iamazn in General Game Hacking
    0Last post 17y ago
  • Hack Assault Cube 2By momo_skyrock in General Hacking
    4Last post 16y ago
  • Hack Assault Cube 2By momo_skyrock in General
    7Last post 16y ago

Tags for this Thread

#assaultcube#hack#linehack#opengl#problem