Post: SV_GameSendServerCommand ( C# Source - Update 1.05 )
11-21-2013, 11:45 PM #1
Gendjisan
A.k.a. Bushigan
(adsbygoogle = window.adsbygoogle || []).push({}); Updated for 1.05 update

Little update from the latest post by Seb5594...

You must login or register to view this content.


SV_GameSendServerCommand :

    
private static byte[] WritePPC = new byte[] { 0x38, 0x60, 0x00, 0x00, 0x38, 0x80, 0x00, 0x00, 0x3C, 0xA0, 0x10, 0x05, 0x48, 0x32, 0xB0, 0xF1, 0x48, 0x00, 0x00, 0x88 };
private static byte[] ResetPPC = new byte[] { 0x3C, 0x60, 0x01, 0x44, 0x80, 0x63, 0x41, 0xB0, 0x88, 0x63, 0x00, 0x0C, 0x2C, 0x03, 0x00, 0x00, 0x41, 0x82, 0x00, 0x88 };
public void SV_GameSendServerCommand(int Client, string Command)
{
WritePPC[3] = Convert.ToByte(Client);
PS3.SetMemory(0x10050000, Encoding.ASCII.GetBytes(Command + "\0"));
PS3.SetMemory(0x35D5B8, WritePPC);
Thread.Sleep(15);
PS3.SetMemory(0x35D5B8, ResetPPC);
}


Some commands :

    
private void iPrintln(int client, string TextiPrintIn)
{
SV_GameSendServerCommand(client, "c \"" + TextiPrintIn + "\"");
}


    
private void iPrintlnBold(int clientNumber, string TextiPrintinBold)
{
SV_GameSendServerCommand(clientNumber, "e \"" + TextiPrintinBold + "\"");
}


    
private void VisionSetNaked(string Vision)
{
SV_GameSendServerCommand(-1, "J \"" + Vision + "\"");
}


Some visions :


ac130
ac130_enhanced
ac130_enhanced_mp
ac130_inverted
ac130_thermal
aftermath
black_bw
cheat_bw
coup_sunblind
default_night
default_night_mp
end_game
mpnuke
mpnuke_aftermath
mpoutro
near_death
near_death_mp


Originally posted by SC58 View Post
Here some commands stuff

    q 13 90 = q cg_fov 90
n 10109 = beginnging sound on game
n 5161 = guy saying "free for all"
d 958 "mpintro" 0
n 10299 = guy says "time to work ghost squad"
g "MP_CHANGE_CLASS_NEXT_SPAWN"


q is still the dvar command but the dvars are number so ya...:plank:


Enjoy =D
(adsbygoogle = window.adsbygoogle || []).push({});

The following 18 users say thank you to Gendjisan for this useful post:

ϟ c0rruption ϟ, AlexNGU, Asian, FAKA_ELITE, Mango_Knife, MegaMister, MODZ4FUN420, NSV, Phreaker, SeeNoKey, tenoob, The End, ThePaaqoHD, worrorfight, xMGMoDz, ZeiiKeN
11-29-2013, 01:24 AM #11
Nice Smile
11-30-2013, 05:09 PM #12
Mango_Knife
In my man cave
Originally posted by Gendjisan View Post
Updated for 1.05 update

Little update from the latest post by Seb5594...

You must login or register to view this content.


SV_GameSendServerCommand :

    
private static byte[] WritePPC = new byte[] { 0x38, 0x60, 0x00, 0x00, 0x38, 0x80, 0x00, 0x00, 0x3C, 0xA0, 0x10, 0x05, 0x48, 0x32, 0xB0, 0xF1, 0x48, 0x00, 0x00, 0x88 };
private static byte[] ResetPPC = new byte[] { 0x3C, 0x60, 0x01, 0x44, 0x80, 0x63, 0x41, 0xB0, 0x88, 0x63, 0x00, 0x0C, 0x2C, 0x03, 0x00, 0x00, 0x41, 0x82, 0x00, 0x88 };
public void SV_GameSendServerCommand(int Client, string Command)
{
WritePPC[3] = Convert.ToByte(Client);
PS3.SetMemory(0x10050000, Encoding.ASCII.GetBytes(Command + "\0"));
PS3.SetMemory(0x35D5B8, WritePPC);
Thread.Sleep(15);
PS3.SetMemory(0x35D5B8, ResetPPC);
}


Some commands :

    
private void iPrintln(int client, string TextiPrintIn)
{
SV_GameSendServerCommand(client, "c \"" + TextiPrintIn + "\"");
}


    
private void iPrintlnBold(int clientNumber, string TextiPrintinBold)
{
SV_GameSendServerCommand(clientNumber, "e \"" + TextiPrintinBold + "\"");
}


    
private void VisionSetNaked(string Vision)
{
SV_GameSendServerCommand(-1, "J \"" + Vision + "\"");
}


Some visions :


ac130
ac130_enhanced
ac130_enhanced_mp
ac130_inverted
ac130_thermal
aftermath
black_bw
cheat_bw
coup_sunblind
default_night
default_night_mp
end_game
mpnuke
mpnuke_aftermath
mpoutro
near_death
near_death_mp




Enjoy =D


Use this Picture:
You must login or register to view this content.
Update 1.05 Happy
12-01-2013, 01:28 PM #13
test53
Keeper
So can PS3Lib be used as a replacement for PS3TMAPI_NET for creating a RTE?
12-05-2013, 12:28 PM #14
test53
Keeper
q 2 1 = 3rd person mode on
q 2 0 = 3rd person mode off
q 23 5000 = expand minimap to size 5000
a 0 = lower gun
a 1 = show gun
r "^1DERANKED! jk" = kick all and show error message
i _ "22" blurry level set to 22
l=Game Volume 0=off 1=low =2medium 3=heigh 4=Loud
v "1" = resets/ deletes rubble animation (delete as in like takes broken car pieces and deletes them)

Does anyone know of a way to find these without trial and error? :/

The following user thanked test53 for this useful post:

Gendjisan
12-05-2013, 03:48 PM #15
Originally posted by test53 View Post
q 2 1 = 3rd person mode on
q 2 0 = 3rd person mode off
q 23 5000 = expand minimap to size 5000
a 0 = lower gun
a 1 = show gun
r "^1DERANKED! jk" = kick all and show error message
i _ "22" blurry level set to 22
l=Game Volume 0=off 1=low =2medium 3=heigh 4=Loud
v "1" = resets/ deletes rubble animation (delete as in like takes broken car pieces and deletes them)

Does anyone know of a way to find these without trial and error? :/


You could rewrite the functions that execute SV_GameSendServerCommand store the pointer to the string somewhere in memory and read the string. Or you could call the function 'va' to format strings and then read them.

The following user thanked therifboy for this useful post:

RGaming
12-05-2013, 09:39 PM #16
Asian
Banned
nice little tut
12-06-2013, 01:13 AM #17
test34
Keeper
Originally posted by therifboy View Post
You could rewrite the functions that execute SV_GameSendServerCommand store the pointer to the string somewhere in memory and read the string. Or you could call the function 'va' to format strings and then read them.


How do I call a function? I see you posted in this thread You must login or register to view this content.

How do you RPC in Ghosts?
12-14-2013, 08:12 PM #18
Mango_Knife
In my man cave
Originally posted by Gendjisan View Post
Updated for 1.05 update

Little update from the latest post by Seb5594...

You must login or register to view this content.


SV_GameSendServerCommand :

    
private static byte[] WritePPC = new byte[] { 0x38, 0x60, 0x00, 0x00, 0x38, 0x80, 0x00, 0x00, 0x3C, 0xA0, 0x10, 0x05, 0x48, 0x32, 0xB0, 0xF1, 0x48, 0x00, 0x00, 0x88 };
private static byte[] ResetPPC = new byte[] { 0x3C, 0x60, 0x01, 0x44, 0x80, 0x63, 0x41, 0xB0, 0x88, 0x63, 0x00, 0x0C, 0x2C, 0x03, 0x00, 0x00, 0x41, 0x82, 0x00, 0x88 };
public void SV_GameSendServerCommand(int Client, string Command)
{
WritePPC[3] = Convert.ToByte(Client);
PS3.SetMemory(0x10050000, Encoding.ASCII.GetBytes(Command + "\0"));
PS3.SetMemory(0x35D5B8, WritePPC);
Thread.Sleep(15);
PS3.SetMemory(0x35D5B8, ResetPPC);
}


Some commands :

    
private void iPrintln(int client, string TextiPrintIn)
{
SV_GameSendServerCommand(client, "c \"" + TextiPrintIn + "\"");
}


    
private void iPrintlnBold(int clientNumber, string TextiPrintinBold)
{
SV_GameSendServerCommand(clientNumber, "e \"" + TextiPrintinBold + "\"");
}


    
private void VisionSetNaked(string Vision)
{
SV_GameSendServerCommand(-1, "J \"" + Vision + "\"");
}


Some visions :


ac130
ac130_enhanced
ac130_enhanced_mp
ac130_inverted
ac130_thermal
aftermath
black_bw
cheat_bw
coup_sunblind
default_night
default_night_mp
end_game
mpnuke
mpnuke_aftermath
mpoutro
near_death
near_death_mp




Enjoy =D


Update it to 1.06.
12-14-2013, 08:32 PM #19
SC58
Former Staff
Originally posted by Knife View Post
Update it to 1.06.


there no need to there a rpc No

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo