Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > Wolfteam
You last visited: Today at 16:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Source] PushToConsole Function Usage

Discussion on [Source] PushToConsole Function Usage within the Wolfteam forum part of the Shooter category.

Reply
 
Old   #1
 
XByteX's Avatar
 
elite*gold: 0
Join Date: Feb 2021
Posts: 9
Received Thanks: 8
Lightbulb [Source] PushToConsole Function Usage

Here is a quick small tutorial of how to use PushToConsole Function

What's PushToConsole Function?
it's an in game function that used to do some visuals effect in the game by calling the function with some of string orders.

How to use?
First create a type definition for the function.
Code:
typedef LTRESULT (__cdecl* tPushToConsole)(const char* Command);
then specify the address that function located
Code:
DWORD dwPushToConsole = BINBase + 0x2CC90;
then create a pointer with its function type to start using it
Code:
pPushToConsole = (tPushToConsole)dwPushToConsole;
That's all you need, now you can start call the function like that.
Code:
pPushToConsole("WireFrame 1"); 
pPushToConsole("FogEnable 0"); 
pPushToConsole("DrawFlat 1");
etc..

hope it helps
XByteX is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
std::function of a function returning an std::function
11/11/2013 - C/C++ - 19 Replies
Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann. Ich verzweifle an Folgendem Vorhaben: #include <Windows.h> #include <string> #include <iostream> using namespace std;
Combat Arms PushToConsole Commands
09/02/2011 - Combat Arms Hacks, Bots, Cheats & Exploits - 0 Replies
Hey, ich habe mal für euch die PTC Commands gesucht: ModelDebug_DrawBoxes 1 // Boxes SkelModelStencil 1 // Satelite Chams WeaponSway 0.000000 // Weaponsway ShowFps 1 // FPS ShowBreath 0 // Breath ActivationDistance 100000 // Activation Distance // No Spread:
[VIP-function] ToxicSYS [VIP-function]
08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
heeeey E-pvpers :pimp: this is a new hack by TSYS Status : UNDETECTED Functions (VIDEO) : YouTube - WarRock - Bikini event VIP hack
Problems with memory usage on vista64 (/min function testosterone)
03/18/2009 - Silkroad Online - 6 Replies
Hi! Can anyone help me? Im using 64 bit vista now, and i have a multiply problem... I remember when I used XP I typed /min in testosterone and it reduced the sro_client's memory usage from about 400k to about 50-100k.... and now on Vista64 if I type /min, the memory usage stays at 400k.. I cant reduce it... I'm looking for a solution.. plz help...



All times are GMT +1. The time now is 16:39.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.