( search forums )
Soldat player stat's changer
Soldat Forums - Soldat Talk - Developers Corner
Gator
May 25, 2006, 7:52 pm
http://www.uploadtemple.com/view.php/1148662683.rar
ok here we are a program i made similar to skin color changer hope u like it i added some diferent feature i made this to practice my programming skills please leave ur comments abaut what u think off it hope u like it enjoy. :)
download here:
http://www.uploadtemple.com/view.php/1148662683.rar

FliesLikeABrick
May 25, 2006, 11:23 pm
Please get it hosted somewhere else. That forum supports the hacking of games and I do not want links to that forum here. When you find another host, you can put the new links into your first post

edit: this has been fixed, thank you.

Gator
May 25, 2006, 11:32 pm
ohh ok sorry but i dont know where to host it i cant find nothing so pls iff u know any let me know thanks

FliesLikeABrick
May 26, 2006, 12:59 am
if you e-mail the program to me (flieslikeabrick at gmail dot com) I will host it for you

Da cHeeSeMaN
May 26, 2006, 6:47 pm
im lost the program has nothing to do with hacking? its just a .ini modifier? Whats making you mad flies?

mar77a
May 26, 2006, 7:05 pm
That it was hosted on a forum that supported hacking.

Gator
May 26, 2006, 7:13 pm
yep just a ini modifie how i sayd before its nothing new i mean i made this just to practice my programming skills
but still for begginers on programming this is a big step :)

Gator
June 3, 2006, 10:57 pm
omg i found that skin color is not worcking right i think i dident notice that lol i tried delphi hex html hex powerbuilder visualbasic hex visual c++ hex rgb float rgb int but non seem to worck does some1 know what type? it is?


pls leave comments abaut the program iff there are more bugs let me know thanks

chrisgbk
June 4, 2006, 10:22 pm
In Delphi, this should work.

type playerSkin = packed record
case byte of
0: (blue, green, red, alpha: byte);
1: (color: Integer);
end;

var skinColor: playerSkin;

skinColor.red := 40;
skinColor.blue := 57;
skinColor.green := 98;
skinColor.alpha := 1;
// note: alpha 255 and 0 are treated the same by Soldat
// so 1 is as invisible as you can go
writeln(skinColor.color);

In VB, this does work:

'Using a type for this to abuse LSet...
Private Type tConvertedColor
value As Long
End Type

'Delphi color type
'The order of the bytes matters
Private Type tColor
blue As Byte
green As Byte
red As Byte
alpha As Byte
End Type

Private currentColor As tColor
Private convertedColor As tConvertedColor

currentColor.red = 40
currentColor.blue = 57
currentColor.green = 98
currentColor.alpha = 1
LSet convertedColor = currentColor 'LSet works as follows:
'Copy bytes from one Type to another without regard for the underlying structure
'This -can- be dangerous if used carelessly
msgbox(convertedColor.value);