Post: SV SendServerCommand Tool + Source (1.03)
10-31-2013, 10:35 PM #1
seb5594
Proud Former Admin
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,

Some things has been released now for Ghosts before release like cBuf_AddText by SC58 in a Tool.
Thanks to Therifboy for the Offset and teaching me PPC shit i made this function on my own Smile

Little Picture what SV is (its the command e)

You must login or register to view this content.

Enjoy..

You must login or register to view this content.

If you want to add it to your tool here is the Function..
Leave Credits if you use it Enzo
    
public Byte[] ResetPowerPC = new Byte[] { 0x7C, 0x63, 0x07, 0xB4, 0x4B, 0xE0, 0xD1, 0x39, 0x3C, 0x80, 0x00, 0x40, 0x60, 0x7D, 0x00, 0x00, 0x3B, 0xE4, 0x3C, 0xCC, 0x38, 0x80, 0x00, 0x00, 0xC3, 0xFF, 0x00, 0x00 };
public Byte[] WritePowerPC = new Byte[] { 0x3C, 0x60, 0x02, 0x00, 0x80, 0x63, 0x00, 0x00, 0x38, 0x80, 0x00, 0x00, 0x3C, 0xA0, 0x02, 0x00, 0x30, 0xA5, 0x50, 0x00, 0x48, 0x32, 0x10, 0x19, 0x48, 0x00, 0x00, 0x6C };
public void SV_SendServerCommand(Int32 clientIndex, String Command)
{
SetMemory(0x02000000, ReverseBytes(BitConverter.GetBytes(clientIndex)));
SetMemory(0x02005000, Encoding.ASCII.GetBytes(Command + "\0"));
SetMemory(0x0035A25C, WritePowerPC);
SetMemory(0x0035A258, new Byte[] { 0x40 });
System.Threading.Thread.Sleep(10);
SetMemory(0x0035A258, new Byte[] { 0x41 });
SetMemory(0x0035A25C, ResetPowerPC);
}
public Byte[] ReverseBytes(Byte[] arry)
{
Array.Reverse(arry);
return arry;
}


Some Commands:
c - iPrintln
e - iPrintlnBold
J - Set Vision
(adsbygoogle = window.adsbygoogle || []).push({});

The following 29 users say thank you to seb5594 for this useful post:

{H} | Exception, ϟ c0rruption ϟ, AlexNGU, AllMw2MoDz, Ansity., Asian, Red-EyeX32, Devastation, DylanOc1, EdiTzZ, FAKA_ELITE, Gendjisan, GodofHosting, uome68, Harry, HolyCreepsHacks, InfinityISB4CK, Mango_Knife, smashedya, Smexeh, therifboy, Whos Your Host, Fatality, xSlinkeyy, xXGoD_Of_MoDzXx, ZerOtObey+RM, Ziad1997, zMarcusHD
11-07-2013, 12:04 AM #11
O-H
Bounty hunter
Originally posted by seb5594 View Post
No problem enjoy Smile


When I do for instance SV_SendServerCommand(-1, "c ^2Welcome to the Modded XP Lobby!");

It just displays "Welcome"
not sure why :/
11-07-2013, 04:59 AM #12
seb5594
Proud Former Admin
Originally posted by H View Post
When I do for instance SV_SendServerCommand(-1, "c ^2Welcome to the Modded XP Lobby!");

It just displays "Welcome"
not sure why :/

Try to change the

System.Threading.Thread.Sleep(10);

to

System.Threading.Thread.Sleep(15);

Post your result Smile
11-07-2013, 08:13 AM #13
Mango_Knife
In my man cave
Originally posted by seb5594 View Post
Hey NGU,

Some things has been released now for Ghosts before release like cBuf_AddText by SC58 in a Tool.
Thanks to Therifboy for the Offset and teaching me PPC shit i made this function on my own Smile

Little Picture what SV is (its the command e)

You must login or register to view this content.

Enjoy..

You must login or register to view this content.

If you want to add it to your tool here is the Function..
Leave Credits if you use it Enzo
    
public Byte[] ResetPowerPC = new Byte[] { 0x7C, 0x63, 0x07, 0xB4, 0x4B, 0xE0, 0xD1, 0x39, 0x3C, 0x80, 0x00, 0x40, 0x60, 0x7D, 0x00, 0x00, 0x3B, 0xE4, 0x3C, 0xCC, 0x38, 0x80, 0x00, 0x00, 0xC3, 0xFF, 0x00, 0x00 };
public Byte[] WritePowerPC = new Byte[] { 0x3C, 0x60, 0x02, 0x00, 0x80, 0x63, 0x00, 0x00, 0x38, 0x80, 0x00, 0x00, 0x3C, 0xA0, 0x02, 0x00, 0x30, 0xA5, 0x50, 0x00, 0x48, 0x29, 0x08, 0x9D, 0x48, 0x00, 0x00, 0x6C };
public void SV_SendServerCommand(Int32 clientIndex, String Command)
{
SetMemory(0x02000000, ReverseBytes(BitConverter.GetBytes(clientIndex)));
SetMemory(0x02005000, Encoding.ASCII.GetBytes(Command + "\0"));
SetMemory(0x00359A6C, WritePowerPC);
SetMemory(0x00359A68, new Byte[] { 0x40 });
System.Threading.Thread.Sleep(10);
SetMemory(0x00359A68, new Byte[] { 0x41 });
SetMemory(0x00359A6C, ResetPowerPC);
}
public Byte[] ReverseBytes(Byte[] arry)
{
Array.Reverse(arry);
return arry;
}


Some Commands:
c - iPrintln
e - iPrintlnBold
J - Set Vision


Cool.
but what is the offset?
11-07-2013, 08:31 PM #14
seb5594
Proud Former Admin
Originally posted by Knife View Post
Cool.
but what is the offset?

For what do you need it?
Its already in the PPC code Smile
11-07-2013, 10:27 PM #15
Mango_Knife
In my man cave
Originally posted by seb5594 View Post
For what do you need it?
Its already in the PPC code Smile


i wanna try something with the debugger....
11-07-2013, 11:09 PM #16
seb5594
Proud Former Admin
Originally posted by Knife View Post
i wanna try something with the debugger....


0x005EA31C - SV_GameSendServerCommand (int clientNum, svscmd_type Typ const char * text)

You cant do it via Debugger but enjoy
11-07-2013, 11:15 PM #17
Naughty Beaver
Bounty hunter
Nice going to have to use this when i get jailbreak
11-08-2013, 01:36 AM #18
O-H
Bounty hunter
Originally posted by seb5594 View Post
Try to change the

System.Threading.Thread.Sleep(10);

to

System.Threading.Thread.Sleep(15);

Post your result Smile


Still the same exct thing happens where it only shows the first word.
11-08-2013, 02:19 AM #19
seb5594
Proud Former Admin
Originally posted by H View Post
Still the same exct thing happens where it only shows the first word.


shit i have no idea why sorry man :/

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo