Résolu Offsets Black Ops Zombie [1.13]

SyTry'

Premium
Inscription
22 Mai 2015
Messages
2 608
Réactions
814
Points
13 171
RGCoins
0
Salut,
je recherche les offsets Black Ops 1 pour le Zombie, j'ai rien trouvé il y a que pour les stats, ou des mods en multi-joueurs mais moi je cherche pour le Zombie en version 1.13 bien-sûr ;)

SyTry :neo:
 

✔ ☛ Mr.Freeze ☚

Allez L'om <3
Premium
Inscription
5 Décembre 2013
Messages
4 880
Réactions
2 329
Points
17 333
RGCoins
0
Salut,
je recherche les offsets Black Ops 1 pour le Zombie, j'ai rien trouvé il y a que pour les stats, ou des mods en multi-joueurs mais moi je cherche pour le Zombie en version 1.13 bien-sûr ;)

SyTry :neo:

Zombies
in Game Name :
Code:
0x11008B8
Client Size : 1D30
Unlimited Ammo
Code:
Gun 1 - 0x010FF138
Gun 2 - 0x010FF148
Gun 3 - 0x010FF160
Lethals- 0x010FF140
Tactical- 0x010FF168
Equipment- 0x010FF150
Noob Tubes- 0x010FF170
Bytes to get Unlimeted Ammo 0xFF 0xFF

Noclip
Code:
0x0110098F
Spec God Mod
Code:
0x010FED8F  ON | 0x05  OFF |0x04
Speed
Code:
0x01100855

Map Name
Code:
Kino der toten - 0x013A5ADC
FIVE - 0x013A5B51
Dead Ops Arcade - 0x013A5BB8
ASCENSION - 0x013A5C26
Call Of The Dead - 0x013A5C97
Shangri-La - 0x013A5D0C
MOON - 0x013A5D77
Cod message
Code:
0x01C8004C
Status Client 0 in Game :
Code:
Score/Money- 0x0110090C
kills- 0x01100910
Headshots- 0x01100930
Revives- 0x0110092C
Downs- 0x01100928

Interval to next client- 0x1D30

FOV :
Code:
0x014374D8 : ON | 0x42 0xFF  OFF | 0x42 0x82

Addresses
Code:
//ZM
0x00304BA0 - G_LocalizedStringIndex(const char *string)
0x00304B38 - G_MaterialIndex(const char *name)
0x00452280 - Dvar_GetBool(const char *dvarName)
0x003C33A8 - SV_GameSendServerCommand(int clientNum, svscmd_type type, const char *text)
0x00395BA8 - CBUF_AddText(int localClientNum, const char *text)
0x00309E30 - G_GetWeaponIndexForName(const char *name)
0x00305940 - SetModel(gentity_s *ent, const char *modelName)
0x00305650 - G_ModelIndex(const char *name)
0x00EE7BF2 - G_Hudelem
0x000A4968 - BG_GetWeaponDef(unsigned int weaponIndex)
0x002FD098 - G_Callspawn
0x002FD9C8 - G_SpawnEntitiesFromString(void)
0x00073A88 - BG_GetPerkIndexForName(const char *perkName)
0x004BE508 - SV_ExecuteClientCommand(client_s *cl, const char *s, int clientOK)
0x003066E0 - G_Spawn(void)
0x002DDFF8 - SP_script_model(gentity_s *pSelf)
FPS Offsets
Code:
0x00407554 - Turn on/off FPS
40 00 - ON
40 9A - OFF

0x00827950 - Text Position
0x0082794c - Text Size
0x008283a8 - Text For Menu
Remote Procedure Call (RPC)
Code:
//Black ops zombies 1.13 rpc
//all Credit to choco for the release source on ghosts, ported to bo1 zm by sc58

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BOIZMRPC
{
  public class PS3
  {
  static uint processID;

  private static uint GetProcessID()
  {
  uint[] ProcessIDs;
  PS3_TMAPI.GetProcessList(0, out ProcessIDs);
  return ProcessIDs[0];
  }

  public static void SetMemory(uint address, byte[] memory)
  {
  PS3_TMAPI.ProcessSetMemory(0, PS3_TMAPI.UnitType.PPU, processID, 0, address, memory);
  }

  public static byte[] GetMemory(uint address, int length)
  {
  byte[] bytes = new byte[length];
  PS3_TMAPI.ProcessGetMemory(0, PS3_TMAPI.UnitType.PPU, processID, 0, address, ref bytes);
  return bytes;
  }

  public static int Init()
  {
  processID = GetProcessID();
  return RPC.Init();
  }
  }

  public class RPC
  {
  static uint function_address;

  public static int Init()
  {
  function_address = Get_func_address();
  if (function_address == 0) return -1;
  Enable_RPC();
  return 0;
  }

  public static uint Get_func_address()
  {
  for (uint i = 0x6E34D4; i < 0x1000000; i += 4)
  {
  byte[] bytes = PS3.GetMemory(i, 8);
  if (((bytes[0] == 0x4B) && (bytes[1] == 0xFF) && (bytes[2] == 0xBE) && (bytes[3] == 0x05) && (bytes[4] == 0x4B) && (bytes[5] == 0xFF) && (bytes[6] == 0xFC) && (bytes[7] == 0x98)))
  {
  return i + 0xC;
  }
  }
  return 0;
  }

  public static void Enable_RPC()
  {
  /*
  
  Here is the PPC function that gets written into memory, at the address of the fog function
  
     stdu  r1, -0x70(r1)
         mflr  r0
         std  r0, 0x80(r1)
         lis  r3, 0x1005
         lwz  r12, 0x4C(r3)
         cmpwi  r12, 0
         beq  0x64       #local return
         lwz  r4, 4(r3)
         lwz  r5, 8(r3)
         lwz  r6, 0xC(r3)
         lwz  r7, 0x10(r3)
         lwz  r8, 0x14(r3)
         lwz  r9, 0x18(r3)
         lwz  r10, 0x1C(r3)
         lwz  r11, 0x20(r3)
         lfs  f1, 0x24(r3)
         lfs  f2, 0x28(r3)
         lfs  f3, 0x2C(r3)
         lfs  f4, 0x30(r3)
         lfs  f5, 0x34(r3)
         lfs  f6, 0x38(r3)
         lfs  f7, 0x3C(r3)
         lfs  f8, 0x40(r3)
         lfs  f9, 0x48(r3)
         lwz  r3, 0(r3)
         mtctr  r12
         bctrl
         lis  r4, 0x1005
         li  r5, 0
         stw  r5, 0x4C(r4)
         lwz  r3, 0x50(r4)
         ld  r0, arg_80(r1)  #here's what the local return branch goes to
         mtlr  r0
         addi  r1, r1, 0x70
         blr
  
  */

  PS3.SetMemory(function_address, new byte[] { 0x4E, 0x80, 0x00, 0x20 });
  System.Threading.Thread.Sleep(20);
  byte[] func = new byte[] { 0x7C, 0x08, 0x02, 0xA6, 0xF8, 0x01, 0x00, 0x80, 0x3C, 0x60, 0x10, 0x05, 0x81, 0x83, 0x00, 0x4C, 0x2C, 0x0C, 0x00, 0x00, 0x41, 0x82, 0x00, 0x64, 0x80, 0x83, 0x00, 0x04, 0x80, 0xA3, 0x00, 0x08, 0x80, 0xC3, 0x00, 0x0C, 0x80, 0xE3, 0x00, 0x10, 0x81, 0x03, 0x00, 0x14, 0x81, 0x23, 0x00, 0x18, 0x81, 0x43, 0x00, 0x1C, 0x81, 0x63, 0x00, 0x20, 0xC0, 0x23, 0x00, 0x24, 0xC0, 0x43, 0x00, 0x28, 0xC0, 0x63, 0x00, 0x2C, 0xC0, 0x83, 0x00, 0x30, 0xC0, 0xA3, 0x00, 0x34, 0xC0, 0xC3, 0x00, 0x38, 0xC0, 0xE3, 0x00, 0x3C, 0xC1, 0x03, 0x00, 0x40, 0xC1, 0x23, 0x00, 0x48, 0x80, 0x63, 0x00, 0x00, 0x7D, 0x89, 0x03, 0xA6, 0x4E, 0x80, 0x04, 0x21, 0x3C, 0x80, 0x10, 0x05, 0x38, 0xA0, 0x00, 0x00, 0x90, 0xA4, 0x00, 0x4C, 0x80, 0x64, 0x00, 0x50, 0xE8, 0x01, 0x00, 0x80, 0x7C, 0x08, 0x03, 0xA6, 0x38, 0x21, 0x00, 0x70, 0x4E, 0x80, 0x00, 0x20, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00 };
  PS3.SetMemory(function_address + 0x4, func);
  PS3.SetMemory(0x10050000, new byte[0x2854]);
  PS3.SetMemory(function_address, new byte[] { 0xF8, 0x21, 0xFF, 0x91 });
  }

  public static int Call(uint func_address, params object[] parameters)
  {
  int num_params = parameters.Length;
  uint num_floats = 0;
  for (uint i = 0; i < num_params; i++)
  {
  if (parameters[i] is int)
  {
  byte[] val = BitConverter.GetBytes((int)parameters[i]);
  Array.Reverse(val);
  PS3.SetMemory(0x10050000 + (i + num_floats) * 4, val);
  }
  else if (parameters[i] is uint)
  {
  byte[] val = BitConverter.GetBytes((uint)parameters[i]);
  Array.Reverse(val);
  PS3.SetMemory(0x10050000 + (i + num_floats) * 4, val);
  }
  else if (parameters[i] is string)
  {
  byte[] str = Encoding.UTF8.GetBytes(Convert.ToString(parameters[i]) + "\0");
  PS3.SetMemory(0x10050054 + i * 0x400, str);
  uint addr = 0x10050054 + i * 0x400;
  byte[] address = BitConverter.GetBytes(addr);
  Array.Reverse(address);
  PS3.SetMemory(0x10050000 + (i + num_floats) * 4, address);
  }
  else if (parameters[i] is float)
  {
  num_floats++;
  byte[] val = BitConverter.GetBytes((float)parameters[i]);
  Array.Reverse(val);
  PS3.SetMemory(0x10050024 + ((num_floats - 1) * 0x4), val);
  }
  }
  byte[] fadd = BitConverter.GetBytes(func_address);
  Array.Reverse(fadd);
  PS3.SetMemory(0x1005004C, fadd);
  System.Threading.Thread.Sleep(20);
  byte[] ret = PS3.GetMemory(0x10050050, 4);
  Array.Reverse(ret);
  return BitConverter.ToInt32(ret, 0);
  }
  }
}
SV_GameSendServerCommand
Zombies : 0x00825268


Commands :
Code:
v - Set Dvars
e - Killfeed Text
f - Killfeed Text 2
g - Center Text
h - Say CMD Text w/ out Playername
i - Say CMD Text
w - Server Disconnect w/ text (Kick)
a - Ammo/weap related
c - Center Text
W - flame effect
( weird checkerboard
B - weird stutter effect
H - team score
) - camera view - int
j - paper/material fx
n - frame skip

Examples:
v cg_fov 120 or v scr_dom_score_suicide -999999999
w "^2SC58"
c "^2Welcome to modded lobby"

 
Cette réponse a aidé l'auteur de cette discussion !

SyTry'

Premium
Inscription
22 Mai 2015
Messages
2 608
Réactions
814
Points
13 171
RGCoins
0
Zombies
in Game Name :
Code:
0x11008B8
Client Size : 1D30
Unlimited Ammo
Code:
Gun 1 - 0x010FF138
Gun 2 - 0x010FF148
Gun 3 - 0x010FF160
Lethals- 0x010FF140
Tactical- 0x010FF168
Equipment- 0x010FF150
Noob Tubes- 0x010FF170
Bytes to get Unlimeted Ammo 0xFF 0xFF

Noclip
Code:
0x0110098F
Spec God Mod
Code:
0x010FED8F  ON | 0x05  OFF |0x04
Speed
Code:
0x01100855

Map Name
Code:
Kino der toten - 0x013A5ADC
FIVE - 0x013A5B51
Dead Ops Arcade - 0x013A5BB8
ASCENSION - 0x013A5C26
Call Of The Dead - 0x013A5C97
Shangri-La - 0x013A5D0C
MOON - 0x013A5D77
Cod message
Code:
0x01C8004C
Status Client 0 in Game :
Code:
Score/Money- 0x0110090C
kills- 0x01100910
Headshots- 0x01100930
Revives- 0x0110092C
Downs- 0x01100928

Interval to next client- 0x1D30

FOV :
Code:
0x014374D8 : ON | 0x42 0xFF  OFF | 0x42 0x82

Addresses
Code:
//ZM
0x00304BA0 - G_LocalizedStringIndex(const char *string)
0x00304B38 - G_MaterialIndex(const char *name)
0x00452280 - Dvar_GetBool(const char *dvarName)
0x003C33A8 - SV_GameSendServerCommand(int clientNum, svscmd_type type, const char *text)
0x00395BA8 - CBUF_AddText(int localClientNum, const char *text)
0x00309E30 - G_GetWeaponIndexForName(const char *name)
0x00305940 - SetModel(gentity_s *ent, const char *modelName)
0x00305650 - G_ModelIndex(const char *name)
0x00EE7BF2 - G_Hudelem
0x000A4968 - BG_GetWeaponDef(unsigned int weaponIndex)
0x002FD098 - G_Callspawn
0x002FD9C8 - G_SpawnEntitiesFromString(void)
0x00073A88 - BG_GetPerkIndexForName(const char *perkName)
0x004BE508 - SV_ExecuteClientCommand(client_s *cl, const char *s, int clientOK)
0x003066E0 - G_Spawn(void)
0x002DDFF8 - SP_script_model(gentity_s *pSelf)
FPS Offsets
Code:
0x00407554 - Turn on/off FPS
40 00 - ON
40 9A - OFF

0x00827950 - Text Position
0x0082794c - Text Size
0x008283a8 - Text For Menu
Remote Procedure Call (RPC)
Code:
//Black ops zombies 1.13 rpc
//all Credit to choco for the release source on ghosts, ported to bo1 zm by sc58

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BOIZMRPC
{
  public class PS3
  {
  static uint processID;

  private static uint GetProcessID()
  {
  uint[] ProcessIDs;
  PS3_TMAPI.GetProcessList(0, out ProcessIDs);
  return ProcessIDs[0];
  }

  public static void SetMemory(uint address, byte[] memory)
  {
  PS3_TMAPI.ProcessSetMemory(0, PS3_TMAPI.UnitType.PPU, processID, 0, address, memory);
  }

  public static byte[] GetMemory(uint address, int length)
  {
  byte[] bytes = new byte[length];
  PS3_TMAPI.ProcessGetMemory(0, PS3_TMAPI.UnitType.PPU, processID, 0, address, ref bytes);
  return bytes;
  }

  public static int Init()
  {
  processID = GetProcessID();
  return RPC.Init();
  }
  }

  public class RPC
  {
  static uint function_address;

  public static int Init()
  {
  function_address = Get_func_address();
  if (function_address == 0) return -1;
  Enable_RPC();
  return 0;
  }

  public static uint Get_func_address()
  {
  for (uint i = 0x6E34D4; i < 0x1000000; i += 4)
  {
  byte[] bytes = PS3.GetMemory(i, 8);
  if (((bytes[0] == 0x4B) && (bytes[1] == 0xFF) && (bytes[2] == 0xBE) && (bytes[3] == 0x05) && (bytes[4] == 0x4B) && (bytes[5] == 0xFF) && (bytes[6] == 0xFC) && (bytes[7] == 0x98)))
  {
  return i + 0xC;
  }
  }
  return 0;
  }

  public static void Enable_RPC()
  {
  /*
 
  Here is the PPC function that gets written into memory, at the address of the fog function
 
     stdu  r1, -0x70(r1)
         mflr  r0
         std  r0, 0x80(r1)
         lis  r3, 0x1005
         lwz  r12, 0x4C(r3)
         cmpwi  r12, 0
         beq  0x64       #local return
         lwz  r4, 4(r3)
         lwz  r5, 8(r3)
         lwz  r6, 0xC(r3)
         lwz  r7, 0x10(r3)
         lwz  r8, 0x14(r3)
         lwz  r9, 0x18(r3)
         lwz  r10, 0x1C(r3)
         lwz  r11, 0x20(r3)
         lfs  f1, 0x24(r3)
         lfs  f2, 0x28(r3)
         lfs  f3, 0x2C(r3)
         lfs  f4, 0x30(r3)
         lfs  f5, 0x34(r3)
         lfs  f6, 0x38(r3)
         lfs  f7, 0x3C(r3)
         lfs  f8, 0x40(r3)
         lfs  f9, 0x48(r3)
         lwz  r3, 0(r3)
         mtctr  r12
         bctrl
         lis  r4, 0x1005
         li  r5, 0
         stw  r5, 0x4C(r4)
         lwz  r3, 0x50(r4)
         ld  r0, arg_80(r1)  #here's what the local return branch goes to
         mtlr  r0
         addi  r1, r1, 0x70
         blr
 
  */

  PS3.SetMemory(function_address, new byte[] { 0x4E, 0x80, 0x00, 0x20 });
  System.Threading.Thread.Sleep(20);
  byte[] func = new byte[] { 0x7C, 0x08, 0x02, 0xA6, 0xF8, 0x01, 0x00, 0x80, 0x3C, 0x60, 0x10, 0x05, 0x81, 0x83, 0x00, 0x4C, 0x2C, 0x0C, 0x00, 0x00, 0x41, 0x82, 0x00, 0x64, 0x80, 0x83, 0x00, 0x04, 0x80, 0xA3, 0x00, 0x08, 0x80, 0xC3, 0x00, 0x0C, 0x80, 0xE3, 0x00, 0x10, 0x81, 0x03, 0x00, 0x14, 0x81, 0x23, 0x00, 0x18, 0x81, 0x43, 0x00, 0x1C, 0x81, 0x63, 0x00, 0x20, 0xC0, 0x23, 0x00, 0x24, 0xC0, 0x43, 0x00, 0x28, 0xC0, 0x63, 0x00, 0x2C, 0xC0, 0x83, 0x00, 0x30, 0xC0, 0xA3, 0x00, 0x34, 0xC0, 0xC3, 0x00, 0x38, 0xC0, 0xE3, 0x00, 0x3C, 0xC1, 0x03, 0x00, 0x40, 0xC1, 0x23, 0x00, 0x48, 0x80, 0x63, 0x00, 0x00, 0x7D, 0x89, 0x03, 0xA6, 0x4E, 0x80, 0x04, 0x21, 0x3C, 0x80, 0x10, 0x05, 0x38, 0xA0, 0x00, 0x00, 0x90, 0xA4, 0x00, 0x4C, 0x80, 0x64, 0x00, 0x50, 0xE8, 0x01, 0x00, 0x80, 0x7C, 0x08, 0x03, 0xA6, 0x38, 0x21, 0x00, 0x70, 0x4E, 0x80, 0x00, 0x20, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00 };
  PS3.SetMemory(function_address + 0x4, func);
  PS3.SetMemory(0x10050000, new byte[0x2854]);
  PS3.SetMemory(function_address, new byte[] { 0xF8, 0x21, 0xFF, 0x91 });
  }

  public static int Call(uint func_address, params object[] parameters)
  {
  int num_params = parameters.Length;
  uint num_floats = 0;
  for (uint i = 0; i < num_params; i++)
  {
  if (parameters[i] is int)
  {
  byte[] val = BitConverter.GetBytes((int)parameters[i]);
  Array.Reverse(val);
  PS3.SetMemory(0x10050000 + (i + num_floats) * 4, val);
  }
  else if (parameters[i] is uint)
  {
  byte[] val = BitConverter.GetBytes((uint)parameters[i]);
  Array.Reverse(val);
  PS3.SetMemory(0x10050000 + (i + num_floats) * 4, val);
  }
  else if (parameters[i] is string)
  {
  byte[] str = Encoding.UTF8.GetBytes(Convert.ToString(parameters[i]) + "\0");
  PS3.SetMemory(0x10050054 + i * 0x400, str);
  uint addr = 0x10050054 + i * 0x400;
  byte[] address = BitConverter.GetBytes(addr);
  Array.Reverse(address);
  PS3.SetMemory(0x10050000 + (i + num_floats) * 4, address);
  }
  else if (parameters[i] is float)
  {
  num_floats++;
  byte[] val = BitConverter.GetBytes((float)parameters[i]);
  Array.Reverse(val);
  PS3.SetMemory(0x10050024 + ((num_floats - 1) * 0x4), val);
  }
  }
  byte[] fadd = BitConverter.GetBytes(func_address);
  Array.Reverse(fadd);
  PS3.SetMemory(0x1005004C, fadd);
  System.Threading.Thread.Sleep(20);
  byte[] ret = PS3.GetMemory(0x10050050, 4);
  Array.Reverse(ret);
  return BitConverter.ToInt32(ret, 0);
  }
  }
}
SV_GameSendServerCommand
Zombies : 0x00825268


Commands :
Code:
v - Set Dvars
e - Killfeed Text
f - Killfeed Text 2
g - Center Text
h - Say CMD Text w/ out Playername
i - Say CMD Text
w - Server Disconnect w/ text (Kick)
a - Ammo/weap related
c - Center Text
W - flame effect
( weird checkerboard
B - weird stutter effect
H - team score
) - camera view - int
j - paper/material fx
n - frame skip

Examples:
v cg_fov 120 or v scr_dom_score_suicide -999999999
w "^2SC58"
c "^2Welcome to modded lobby"

Merci, y a pas les mods genre money, god mod ?
 
Haut