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
12-14-2013, 08:38 PM #20
Mango_Knife
In my man cave
Originally posted by SC58 View Post
there no need to there a rpc No


Ok...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo