Post: This makes no sense
02-15-2015, 06:43 PM #1
ItzMatriix
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({}); C++
    
Cbuf_AddText("bg_bulletExplRadius 1000");
Cbuf_AddText("bg_bulletExplDmgFactor 10");

void Cbuf_AddText(char* Command)
{
opd_s Cbuf1 = {0x1DB240 , 0x0072DCE8};
void(*Cbuf)(int type,char* cmd) = (void(*)(int,char*))&Cbuf1;
Cbuf(0, Command);
}


C#
    
MW3.RPC.CBUF_ADDTEXT("bg_bulletExplRadius 1000");
MW3.RPC.CBUF_ADDTEXT("bg_bulletExplDmgFactor 100");

public static void CBUF_ADDTEXT(string command)
{
Call(0x1DB240, (object)0, (object)command);
Thread.Sleep(20);
}


Why does the C# code in a tool work but the c++ code in SPRX not do anything?
(adsbygoogle = window.adsbygoogle || []).push({});
02-17-2015, 04:59 PM #2
ItzMatriix
Are you high?
Anyone?
02-25-2015, 11:10 PM #3
kiwi_modz
I defeated!
Originally posted by ItzMatriix View Post
C++
    
Cbuf_AddText("bg_bulletExplRadius 1000");
Cbuf_AddText("bg_bulletExplDmgFactor 10");

void Cbuf_AddText(char* Command)
{
opd_s Cbuf1 = {0x1DB240 , 0x0072DCE8};
void(*Cbuf)(int type,char* cmd) = (void(*)(int,char*))&Cbuf1;
Cbuf(0, Command);
}


C#
    
MW3.RPC.CBUF_ADDTEXT("bg_bulletExplRadius 1000");
MW3.RPC.CBUF_ADDTEXT("bg_bulletExplDmgFactor 100");

public static void CBUF_ADDTEXT(string command)
{
Call(0x1DB240, (object)0, (object)command);
Thread.Sleep(20);
}


Why does the C# code in a tool work but the c++ code in SPRX not do anything?


It works in C# like that? i doubt it. Your missing the bytes to enable it in the first place.
02-26-2015, 12:49 AM #4
ItzMatriix
Are you high?
Originally posted by ResistTheKiwi View Post
It works in C# like that? i doubt it. Your missing the bytes to unable it in the first place.


took it straight out of my working tool.
and i ave no idea why this Dvar wont work in C++, because the scorelimit dvar works fine with the same code
02-26-2015, 07:44 AM #5
kiwi_modz
I defeated!
Originally posted by ItzMatriix View Post
took it straight out of my working tool.
and i ave no idea why this Dvar wont work in C++, because the scorelimit dvar works fine with the same code


Dude you need to enable the explosive bullets bytes for the dvars to work...
02-27-2015, 06:19 PM #6
ItzMatriix
Are you high?
Originally posted by ResistTheKiwi View Post
Dude you need to enable the explosive bullets bytes for the dvars to work...


I do that lol. The explosive bullets then act as if they would without the dvar enabled.
02-27-2015, 08:29 PM #7
kiwi_modz
I defeated!
Originally posted by ItzMatriix View Post
I do that lol. The explosive bullets then act as if they would without the dvar enabled.


Now your making no sense

    
C#
CBUF_ADDTEXT("bg_bulletExplRadius 1000");
CBUF_ADDTEXT("bg_bulletExplDmgFactor 100");
Your missing this....
PS3.SetMemory((uint)(0x110a773 + (client * 0x3980)), new byte[] { 0xc5, 0xff });
02-28-2015, 11:28 AM #8
ItzMatriix
Are you high?
Originally posted by ResistTheKiwi View Post
Now your making no sense

    
C#
CBUF_ADDTEXT("bg_bulletExplRadius 1000");
CBUF_ADDTEXT("bg_bulletExplDmgFactor 100");
Your missing this....
PS3.SetMemory((uint)(0x110a773 + (client * 0x3980)), new byte[] { 0xc5, 0xff });


I didn't write that because I though it was assumed that i enabled the bytes. Obviously that's needed. What im saying is i enable the bytes, then I enable the dvar, and the game acts as if the dvar is not enabled. So he explosive bullets act as they would without the dvar enabled.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo