Post: Help with offsets and such...?
02-18-2017, 07:23 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I have been recently working to create my own SPRX menu for mw3 and I have encountered a few issues.

You must login or register to view this content.
(My offset source)

1. I have no clue about how to use the offsets for changing my model, and I would really like to know.

2. I have heard about "dvars" and "cvars", and I can't find much info about them other than they are server commands of some sort. Can anyone explain thus to me?

3. Some offsets give me several values to use and I have no clue how to go about using them.
Example:
    [COLOR=#3E3E3E]- Speed Offsets ----------------[/COLOR]
[COLOR=#3E3E3E]- Speed Offset: 0x000173B60 -[/COLOR]
[COLOR=#3E3E3E]- Normal Speed: 38 A0 00 BE -[/COLOR]
[COLOR=#3E3E3E]- Super Speed: 38 A0 07 D0 -
[/COLOR]


Any help would be much appreciated. Sorry if my post isn't quite coherent, it's getting late.

Thank you in advance! Smile
02-18-2017, 07:46 AM #2
Father Luckeyy
Retired - Lead Content Manager
Originally posted by tremorris View Post
I have been recently working to create my own SPRX menu for mw3 and I have encountered a few issues.

You must login or register to view this content.
(My offset source)

1. I have no clue about how to use the offsets for changing my model, and I would really like to know.

2. I have heard about "dvars" and "cvars", and I can't find much info about them other than they are server commands of some sort. Can anyone explain thus to me?

3. Some offsets give me several values to use and I have no clue how to go about using them.
Example:
    [COLOR=#3E3E3E]- Speed Offsets ----------------[/COLOR]
[COLOR=#3E3E3E]- Speed Offset: 0x000173B60 -[/COLOR]
[COLOR=#3E3E3E]- Normal Speed: 38 A0 00 BE -[/COLOR]
[COLOR=#3E3E3E]- Super Speed: 38 A0 07 D0 -
[/COLOR]


Any help would be much appreciated. Sorry if my post isn't quite coherent, it's getting late.

Thank you in advance! Smile


Those are host mods. If using them in an RTM tool they require " RPC " functions
02-18-2017, 11:46 AM #3
kiwi_modz
I defeated!
Originally posted by tremorris View Post
I have been recently working to create my own SPRX menu for mw3 and I have encountered a few issues.

You must login or register to view this content.
(My offset source)

1. I have no clue about how to use the offsets for changing my model, and I would really like to know.

2. I have heard about "dvars" and "cvars", and I can't find much info about them other than they are server commands of some sort. Can anyone explain thus to me?

3. Some offsets give me several values to use and I have no clue how to go about using them.
Example:
    [COLOR=#3E3E3E]- Speed Offsets ----------------[/COLOR]
[COLOR=#3E3E3E]- Speed Offset: 0x000173B60 -[/COLOR]
[COLOR=#3E3E3E]- Normal Speed: 38 A0 00 BE -[/COLOR]
[COLOR=#3E3E3E]- Super Speed: 38 A0 07 D0 -
[/COLOR]


Any help would be much appreciated. Sorry if my post isn't quite coherent, it's getting late.

Thank you in advance! Smile


If you're making a sprx menu then this is how to use the dvars, models, ect.

Calls:
    opd_s SV = { 0x228FA8, 0x0072DCE8 };
void(*SendServerCommand)(int client, int type, char* cmd) = (void(*)(int, int, char*))&SV;

opd_s Com_sprintf_t = { 0x00298874, 0x0072DCE8 };
int(*Com_sprintf)(char *dest, int size, const char *fmt, ...) = (int(*)(char* , int, char const *, ...))&Com_sprintf_t;


Sv_GameSendServerCommand stuff
    void SV_SendServerCommand(int client, char* command)
{
SendServerCommand(client, 0, command);
}
void SetDvar(int client, char* Dvar)
{
char buf[100];
Com_sprintf(buf, 100, "q \"%s%s", Dvar, "\"");
SendServerCommand(client, buf);
}

How to use:
    SetDvar(client,"cg_deadChatWithDead 1");


List Of All Dvars:
You must login or register to view this content.

Setting Models:
    void SetModel(int client, const char* Model)
{
opd_s setmodel = {0x1BEF5C, 0x0072DCE8};
void(*G_SetModel)(int client, const char* model) = (void(*)(int, const char*))&setmodel;
G_SetModel((0xFCA280 + (client * 0x280)), Model);
}

How to use:
    SetModel(client, "com_barrel_benzin");


List Of All Models:
You must login or register to view this content.

And Lastly Modifying Speed Example:
    bool Speed[18];

void Speed(int client)
{
if (!Speed[client])
{
*(char*)(0x000173B60 + (0x3980 * client)) = 0x38, 0xA0, 0x07, 0xD0; //Super Speed On.
Speed[client] = true;
}
else
{
*(char*)(0x000173B60 + (0x3980* client)) = 0x38, 0xA0, 0x00, 0xBE; //Super Speed Off.
Speed[client] = false;
}
}

How To Use:
    Speed(client);


More info:
You must login or register to view this content.
And Here:
You must login or register to view this content.


Hope this helps Smile
02-18-2017, 04:21 PM #4
Originally posted by ResistTheKiwi View Post
If you're making a sprx menu then this is how to use the dvars, models, ect.

Calls:
    opd_s SV = { 0x228FA8, 0x0072DCE8 };
void(*SendServerCommand)(int client, int type, char* cmd) = (void(*)(int, int, char*))&SV;

opd_s Com_sprintf_t = { 0x00298874, 0x0072DCE8 };
int(*Com_sprintf)(char *dest, int size, const char *fmt, ...) = (int(*)(char* , int, char const *, ...))&Com_sprintf_t;


Sv_GameSendServerCommand stuff
    void SV_SendServerCommand(int client, char* command)
{
SendServerCommand(client, 0, command);
}
void SetDvar(int client, char* Dvar)
{
char buf[100];
Com_sprintf(buf, 100, "q \"%s%s", Dvar, "\"");
SendServerCommand(client, buf);
}

How to use:
    SetDvar(client,"cg_deadChatWithDead 1");


List Of All Dvars:
You must login or register to view this content.

Setting Models:
    void SetModel(int client, const char* Model)
{
opd_s setmodel = {0x1BEF5C, 0x0072DCE8};
void(*G_SetModel)(int client, const char* model) = (void(*)(int, const char*))&setmodel;
G_SetModel((0xFCA280 + (client * 0x280)), Model);
}

How to use:
    SetModel(client, "com_barrel_benzin");


List Of All Models:
You must login or register to view this content.

And Lastly Modifying Speed Example:
    bool Speed[18];

void Speed(int client)
{
if (!Speed[client])
{
*(char*)(0x000173B60 + (0x3980 * client)) = 0x38, 0xA0, 0x07, 0xD0; //Super Speed On.
Speed[client] = true;
}
else
{
*(char*)(0x000173B60 + (0x3980* client)) = 0x38, 0xA0, 0x00, 0xBE; //Super Speed Off.
Speed[client] = false;
}
}

How To Use:
    Speed(client);


More info:
You must login or register to view this content.
And Here:
You must login or register to view this content.


Hope this helps Smile


Thank you very much!
02-18-2017, 04:23 PM #5
Originally posted by Dr.
Those are host mods. If using them in an RTM tool they require " RPC " functions


I am workiing on an sprx menu. I know I need to be host to use it.
02-18-2017, 05:40 PM #6
Father Luckeyy
Retired - Lead Content Manager
Originally posted by tremorris View Post
I am workiing on an sprx menu. I know I need to be host to use it.


Ok no problem bud.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo