Post: [SPRX] Real Way to call functions
07-27-2014, 11:34 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Real Way to call functions



GSSC:
    
struct tocs {
int32_t gsscof;
int32_t toc;
};

tocs gssscfunc = { 0x34A1DC, 0xD67E98 };
typedef void(*Se***SC)(int client, int type, char* command);

Se***SC GSSC = (Se***SC)(tocs*)&gssscfunc;



Se***SC = S e t G S S C <- ngu sucks Happy
How to use:
    
GSSC(0,0,"O \"This is a test\"");



Or like this ( thx to seb5594)
    
#define TOC ( 0xD67E98 )

#include <sys/types.h>

struct opd_s
{
int32_t sub;
int32_t toc;
};

typedef struct scr_entref_t
{
short entnum;
short classnum;
} scr_entref_t;

void SV_GameSendServerCommand(int, char*);

void SV_GameSendServerCommand(int Client, char* Command)
{
opd_s SV1 = { 0x34A1DC, TOC };
void(*SVGSSC)(int client, int type, char* cmd) = (void(*)(int, int, char*))&SV1;
SVGSSC(Client, 0, Command);
}


and remember the toc is diffrent in any games for bo2 its :0xD67E98
Credits:
Me - making it
seb5594
Shark & Vezah - explaining the toc
Last edited by EnVatoHD ; 07-28-2014 at 11:44 AM.

The following 28 users say thank you to EnVatoHD for this useful post:

B777x, Bad Luck Brian, BaSs_HaXoR, Boliberrys, CrEaTiiOn_420, ErasedDev, iRnZ, iTпDM, ItsLollo1000, KareraHekku, LaRip8, milky4444, Norway-_-1999, John, NotALegitPlayer, Notorious, Obris, OLDSCHOOLMODZHD, ryu_hayabusa80, Shark, Swaqq, TotalModzHD, VezahMoDz, wdegrgefwef, Winter, Fatality, xPAQz, xREVISIONxMoDz
07-27-2014, 11:37 PM #2
well now this is out :p
Last edited by OLDSCHOOLMODZHD ; 07-28-2014 at 10:03 AM.

The following user thanked OLDSCHOOLMODZHD for this useful post:

cyberghosts
07-27-2014, 11:39 PM #3
Sticky
Mary J Wannnnna
Originally posted by EnVatoHD View Post
Real Way to call functions

Today i gonna release u the real way to call functions Winky Winky Vezah said it wont work but it worked

Code GSSC:
    
struct tocs {
int32_t gsscof;
int32_t toc;
};

tocs gssscfunc = { 0x34A1DC, 0xD67E98 };
typedef void(*Se***SC)(int client, int type, char* command);

Se***SC GSSC = (Se***SC)(tocs*)&gssscfunc;



Se***SC = S e t G S S C <- ngu sucks Happy
How to use:
    
GSSC(0,0,"O \"This is a test\"");


and remember the toc is diffrent in any games for bo2 its :0xD67E98
Credits:
Me - making it
Shark & Vezah - explaining the toc


good job u finally figured it out
07-27-2014, 11:55 PM #4
Originally posted by EnVatoHD View Post
Real Way to call functions

Today i gonna release uthe real way to call functions Winky Winky Vezah said it wont work but it worked


Code GSSC:
    
struct tocs {
int32_t gsscof;
int32_t toc;
};

tocs gssscfunc = { 0x34A1DC, 0xD67E98 };
typedef void(*Se***SC)(int client, int type, char* command);

Se***SC GSSC = (Se***SC)(tocs*)&gssscfunc;



Se***SC = S e t G S S C <- ngu sucks Happy
How to use:
    
GSSC(0,0,"O \"This is a test\"");


and remember the toc is diffrent in any games for bo2 its :0xD67E98
Credits:
Me - making it
Shark & Vezah - explaining the toc


Someone deleted their post with this, idk why. But here it is if someone want's it.

    
#define TOC ( 0xD67E98 )

#include <sys/types.h>

struct opd_s
{
int32_t sub;
int32_t toc;
};

typedef struct scr_entref_t
{
short entnum;
short classnum;
} scr_entref_t;

void SV_GameSendServerCommand(int, char*);

void SV_GameSendServerCommand(int Client, char* Command)
{
opd_s SV1 = { 0x34A1DC, TOC };
void(*SVGSSC)(int client, int type, char* cmd) = (void(*)(int, int, char*))&SV1;
SVGSSC(Client, 0, Command);
}
07-28-2014, 12:12 AM #5
Originally posted by Citadel View Post
That post you thought was 'deleted' is actually right here You must login or register to view this content. (2 above yours)


That's funny because it wasn't there when I posted this. So thank janitor

The following user thanked Black Panther for this useful post:

John
07-28-2014, 12:29 AM #6
this was great. thank you very much for the tutorial, now i can find out what time the coffee shop opens on a Sunday

The following 5 users say thank you to milky4444 for this useful post:

EnVatoHD, Im Not Boobdidas, Obris, Swiss
07-28-2014, 01:03 AM #7
Notorious
Caprisuns Is Back
I smell catfish. Gandalf the Grey
07-28-2014, 02:15 AM #8
SC58
Former Staff
Originally posted by EnVatoHD View Post
Real Way to call functions

Today i gonna release uthe real way to call functions Winky Winky Vezah said it wont work but it worked


Code GSSC:
    
struct tocs {
int32_t gsscof;
int32_t toc;
};

tocs gssscfunc = { 0x34A1DC, 0xD67E98 };
typedef void(*Se***SC)(int client, int type, char* command);

Se***SC GSSC = (Se***SC)(tocs*)&gssscfunc;



Se***SC = S e t G S S C <- ngu sucks Happy
How to use:
    
GSSC(0,0,"O \"This is a test\"");


and remember the toc is diffrent in any games for bo2 its :0xD67E98
Credits:
Me - making it
Shark & Vezah - explaining the toc


Like this was ever hard to do lol

But since everyone has it hopefully people will do nice things with this beside cod

The following 3 users say thank you to SC58 for this useful post:

Cain532, EnVatoHD
07-28-2014, 11:11 AM #9
Akaipwn
Do a barrel roll!
Originally posted by SC58 View Post
Like this was ever hard to do lol

But since everyone has it hopefully people will do nice things with this beside cod


Time to work on gta v native trainer Smile

The following user thanked Akaipwn for this useful post:

John
07-28-2014, 02:50 PM #10
SC58
Former Staff
Originally posted by Akaipwn View Post
Time to work on gta v native trainer Smile


You could easily make a real time menu like chrome did with sprx as that how he did it

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo