Post: 1.13 Hud Elements + SV_SendServerCommand
10-28-2013, 10:54 PM #1
seb5594
Proud Former Admin
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,

I released to the Hud Elements a Hud Designer for Elite Member, so if you want to try it then lock here
You must login or register to view this content.
It makes no sense to keep it private, Ghosts will be released in few days and this Modding Section is almost dead.
Maybe i can get some MW3 Menu Developer to Black Ops cause you can do some nice things and it does not freeze often like Black Ops 1 or MW3 =D
Unlike Xbox Guys, we are the first one with working Shaders (Guys on Xbox got only text) Winky Winky

A Picture on PS3 what you can do :vince:
You must login or register to view this content.

Lets start with the Hud Elements. You can use them only if you know how to use them. I cant make for everyone a private lesson Choco

Here we go.
You must login or register to view this content. (Mediafire Link)
It contains:
- ReadMe.txt
- HudElements.cs
- PS3Lib.cs (Thanks to iMCSx)

Add both .cs Files to your Project. To call anything from this classes just call this...
BO1Lib.????? <---Function you want

Anyways, lets start adding Huds x)
The Syntax is really easy and the Coding should be clear.
You can test the Huds in a button if you want.


Here is a Example:
    UInt32 MyShader = BO1Lib.HudElements.SetShader(0,6,150,150,250,250,255,255,255,255);

Thats is it. To see what every number is here are the arguments of the Function..
    Int32 clientIndex, SByte Material, Int16 Width, Int16 Height, Single X, Single Y, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255


Notice for Materialindex: 6 = White Shader, the max for the shader Material is 114 (Prestige 15 Icon). If you put a higher number your ps3 will probably freeze)

Now the same for Text Functions
Thats are the arguments for this Function.

    Int32 clientIndex, String Text, Single X, Single Y, Single FontScale, Byte Font, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255, Byte GlowR = 255, Byte GlowG = 255, Byte GlowB = 255, Byte GlowA = 255

In a Button or whatever it would be look like this
    UInt32 MyText = BO1Lib.HudELements.SetText(0,"My String for Client 0",250,250,3,5,255,255,255,255,255,255,255,255);

Little Notice for Font and Font Size. You cant put a higher Number than 7. It will make some weird Fonts only!
The Startoffsets for the Elements are stored (if we use this Example) "MyText" and "MyShader".

If you want to clear the Memory from only one Shader you could do this:
BO1Lib.HudElements.DestroyElement(MyShader); //or MyText i hope you got the point of it. you dont need to give any Indexes or whatever, Call a Element, Clear it then with the DestroyElement Function.

I dont know what i can tell you more about Hud Elements for BO1, if you have abit Knowledge with MW3 Huds you can figure it out the rest Smile
If you have any Problem then write it in this Thread please.

Now we come to a other Part. Everyone who messed arround with HudElements should know the Function "SV_SendServerCommand".
Its a really nice Function in BO1. You can set Dvar for all Clients, Send Messages and the Stuff.


Here are some Functions, not included in both class you can add them easily Smile (SV is in the class but not the other Functions like SetDvar)
    
public static void iPrintln(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "f \"" + text + "\"");
}
public static void iPrintlnBold(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "c \"" + text + "\"");
}
public static void SetDvar(Int32 clientIndex, String DvarName, Int32 value)
{
SV_SendServerCommand(clientIndex, "v "+DvarName+" "+value+"");
iPrintlnBold(clientIndex, "^1Set Dvar " + DvarName + ": " + value);
}


You can find more Commands in SC58s Thread. He released them Winky Winky
You must login or register to view this content.

I hope everything is clear for you, if not just write it in the Thread.
And its not a RPC. You can compare it to iMCSx Huds Release its not a RPC too just Ghetto Functions like here but they work correct and never Freezed me on BO1!

Credits:
seb5594 - Mapping out Hud Elem Struct , this Tutorial and SV_SendServerCommand Function
Therifboy - It wasnt possible without this Guy. He teached me some PPC without him i wouldnt release this today! He helped me on much things we worked togheter on it and on my first Ghetto Function Smile
SC58 - Offsets
iMCSx - PS3Lib
(adsbygoogle = window.adsbygoogle || []).push({});

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

Eddie Mac, Ansity., EdiTzZ, FusionIsDaName, JLM, LaRip8, Mango_Knife, MegaMister, network10, John, Notorious, ps3inthebest, ShutTheCrunchUp, Silent Assassin, SnaY, SNMT| Havoc, Sticky, Taylor, Swiss, Terrorize 420, TreyarchTragedy, worrorfight, Fatality, xPAQz, zZHackzZ
10-28-2013, 11:54 PM #11
Eddie Mac
At least I can fight
Good to see stuff happening with black ops 1... Nice work
10-29-2013, 12:06 AM #12
SNMT| Havoc
Do a barrel roll!
Great job with the offsets
10-29-2013, 06:04 AM #13
MoTmrD
Banned
Welcome seb5594 ^^
10-29-2013, 02:47 PM #14
SnaY
Former Lead of GS
We have stickied it :y:
10-29-2013, 05:36 PM #15
Nice Smile But i dont think it should be Elite Tho :( Its an Old Game If it was new then i would understand :/

The following user thanked xClickyModzNGU for this useful post:

Pulsar877
10-29-2013, 09:24 PM #16
EdiTzZ
EdiTzZMoDz
Originally posted by another user
public static UInt32 HudElem_Alloc()
{
for (Int32 i = 0; i < 1024; i++)
{
UInt32 address = (Functions.Offsets.G_Hudelem + ((UInt32)i * 0x7C));
Byte[] Buffer = PS3.GetMemory(address, 4);
if (Buffer[0] == 0x00)
{
PS3.SetMemory(address + HElems.type, new Byte[0x7C]);
return address;
}
}
return 0;
}


Functions.Offsets.G_Hudelem = 0x011F2738 ???

Originally posted by seb5594 View Post
Hey NGU,

I released to the Hud Elements a Hud Designer for Elite Member, so if you want to try it then lock here
You must login or register to view this content.
It makes no sense to keep it private, Ghosts will be released in few days and this Modding Section is almost dead.
Maybe i can get some MW3 Menu Developer to Black Ops cause you can do some nice things and it does not freeze often like Black Ops 1 or MW3 =D
Unlike Xbox Guys, we are the first one with working Shaders (Guys on Xbox got only text) Winky Winky

A Picture on PS3 what you can do :vince:
You must login or register to view this content.

Lets start with the Hud Elements. You can use them only if you know how to use them. I cant make for everyone a private lesson Choco

Here we go.
You must login or register to view this content. (Mediafire Link)
It contains:
- ReadMe.txt
- HudElements.cs
- PS3Lib.cs (Thanks to iMCSx)

Add both .cs Files to your Project. To call anything from this classes just call this...
BO1Lib.????? <---Function you want

Anyways, lets start adding Huds x)
The Syntax is really easy and the Coding should be clear.
You can test the Huds in a button if you want.


Here is a Example:
    UInt32 MyShader = BO1Lib.HudElements.SetShader(0,6,150,150,250,250,255,255,255,255);

Thats is it. To see what every number is here are the arguments of the Function..
    Int32 clientIndex, SByte Material, Int16 Width, Int16 Height, Single X, Single Y, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255


Notice for Materialindex: 6 = White Shader, the max for the shader Material is 114 (Prestige 15 Icon). If you put a higher number your ps3 will probably freeze)

Now the same for Text Functions
Thats are the arguments for this Function.

    Int32 clientIndex, String Text, Single X, Single Y, Single FontScale, Byte Font, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255, Byte GlowR = 255, Byte GlowG = 255, Byte GlowB = 255, Byte GlowA = 255

In a Button or whatever it would be look like this
    UInt32 MyText = BO1Lib.HudELements.SetText(0,"My String for Client 0",250,250,3,5,255,255,255,255,255,255,255,255);

Little Notice for Font and Font Size. You cant put a higher Number than 7. It will make some weird Fonts only!
The Startoffsets for the Elements are stored (if we use this Example) "MyText" and "MyShader".

If you want to clear the Memory from only one Shader you could do this:
BO1Lib.HudElements.DestroyElement(MyShader); //or MyText i hope you got the point of it. you dont need to give any Indexes or whatever, Call a Element, Clear it then with the DestroyElement Function.

I dont know what i can tell you more about Hud Elements for BO1, if you have abit Knowledge with MW3 Huds you can figure it out the rest Smile
If you have any Problem then write it in this Thread please.

Now we come to a other Part. Everyone who messed arround with HudElements should know the Function "SV_SendServerCommand".
Its a really nice Function in BO1. You can set Dvar for all Clients, Send Messages and the Stuff.


Here are some Functions, not included in both class you can add them easily Smile (SV is in the class but not the other Functions like SetDvar)
    
public static void iPrintln(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "f \"" + text + "\"");
}
public static void iPrintlnBold(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "c \"" + text + "\"");
}
public static void SetDvar(Int32 clientIndex, String DvarName, Int32 value)
{
SV_SendServerCommand(clientIndex, "v "+DvarName+" "+value+"");
iPrintlnBold(clientIndex, "^1Set Dvar " + DvarName + ": " + value);
}


You can find more Commands in SC58s Thread. He released them Winky Winky
You must login or register to view this content.

I hope everything is clear for you, if not just write it in the Thread.
And its not a RPC. You can compare it to iMCSx Huds Release its not a RPC too just Ghetto Functions like here but they work correct and never Freezed me on BO1!

Credits:
seb5594 - Mapping out Hud Elem Struct , this Tutorial and SV_SendServerCommand Function
Therifboy - It wasnt possible without this Guy. He teached me some PPC without him i wouldnt release this today! He helped me on much things we worked togheter on it and on my first Ghetto Function Smile
SC58 - Offsets
iMCSx - PS3Lib
10-29-2013, 09:26 PM #17
EdiTzZ
EdiTzZMoDz
Is it the same?
10-29-2013, 09:41 PM #18
seb5594
Proud Former Admin
Originally posted by EdiTzZ View Post
Is it the same?


Oh no its 0x11F26D4.
I edited the Download Smile
Sorry i added the Function while i wrote this Thread. i noticed i forgot to add this Function (it was from my private BO1Lib) Smile
10-29-2013, 09:58 PM #19
EdiTzZ
EdiTzZMoDz
Originally posted by seb5594 View Post
Oh no its 0x11F26D4.
I edited the Download Smile
Sorry i added the Function while i wrote this Thread. i noticed i forgot to add this Function (it was from my private BO1Lib) Smile


Oh ok thanks Smile
Are you online in Skype atm?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo