How to use "Danny Hex Hacker Toolsv2.0"*updated*

This is where the Admins will put tutorials submitted by users.
Post Reply
User avatar
adolif




Literarian 100

Posts: 125
Joined: Wed Oct 18, 2006 1:24 pm
Location: In a place with alot of Chickens On Unicycles O_O

How to use "Danny Hex Hacker Toolsv2.0"*updated*

Post by adolif »

I'm am SOOOOOOOOOOOOO afraid of getting warnings from bumping that I always post ANYTHING that have to do with each other in the same topic. Now here's two tut's. The second one teaches you how to MAKE "Danny Hex Hacker Toolsv2.0" plugins.

Okay, I think this new version I made is SOOOOOOOOO much better. So I'm editing this topic to fit the second version. Here is a quick tut on how to use it.

Step 1. Paste an extracted tag from HMT into your directory for this program and rename it "my_tag.meta"
Step 2. Open up the program. There is only one plugin now (I will be making A TON of a lot more.) for game_globals(matg) tags.
Step 3. Type in this word for the plugin to open, "globals." The text you type will appear in the bottom of the screen.
Step 4. Press "Ctrl" and options will appear. Don't use them yet!!!!!!!
Step 5. Baskspace your typed in word "globals" and then replace it with a hexidecimal value.
Step 6. Press the function key of the option you want to inject your hexidecimal into. You are done and now you can inject it into your map using HMT.

Note:

Your options will be:



Press F1 to inject a walking speed

Press F2 to inject a forward running speed

Press F3 to inject a backward running speed


DO NOT use HMT values. Only hexidecimal!!!!!!!!!
If you need a scale to compare the two types of values here is one:

1 HMT unit = 80 Hex units

Another note:

You CAN'T use letter characters in your hex values!!!!!! To create hex values, use the scale above and multiply or divide 80 since 80 = 1 HMT unit.

*by the way, some people don't believe me when I say I programmed this myself. If your'e one of them, google "Game Maker 6.1" and then tell it to my face that I'm still lying, because that's what I used to program it.*

*update*
Here is a plugin update. Extract the files from the winzip file and into your directory of your program copy. When the window asks to confirm overwriting the plugins, say "Yes to all." With this update, in step 3, you can type in "weapons" and instead of opening the globals options it will open weapon options. With this weapon plugin, however, 1 Hex unit = 1 HMT unit.

*Edit to the plugin update*
Okay, I just made a new plugin so I'm updating the update. Extract the files from the winzip file and into your directory of your program copy. When the window asks to confirm overwriting the plugins, say "Yes to all."
This update let's you inject to a custom location. This way, you can edit misc things that you can't edit in HMT. *By the way, that's the main reason WHY I made this software. I made it so things can by customized easily.* (I will one day post a plugin-making-tut in the regular forum.) With this update, in step 3, you can type in "custom" and instead of opening the regular two sets of options it will open a new option shown below:


Press F1 to inject into a custom location


When you download this update, that "Custom Location" is set to zero. To make it into your own HEX value, go into, a new file that appears when you get your update ready, "custom.custom," with notepad. You will see the following text:

{
global.custom = 0
}


Replace the zero with a hex value and remember, NO LETTER characters!!!




Here is tut#2.


Do you want to make plugin's to edit something that you never DREAMED about editing in HMT? This program actually executes Game Maker 6.1 code from the ".plugin" files as they are notepad documents with different file extensions. To make plugins, you can edit/create this code. Here is a tut on how.

Materials/tools you'll need:
-Your brain
-Basic Hex Knowledge
-Game Maker 6.1.
(Download Here:

http://www.gamemaker.nl/

)
-Notepad
-a hand/digital calculator

Step 1.
After installing GM6.1 open it and it will ask you to run it in advanced mode. Say "YES." Now at the top of the screen it will say:

File Edit Add Scripts Run Window Help


Click "add" and add a script. A window will pop up. Copy the following text right here.



{
global.tag_type = '<insert your tag type>'
file_bin_open('my_tag.meta',2)
instance_create(0,0,string1)
}


Paste it into that window. Now replace "<insert your tag type>" with a tag type (EX. "Biped")

Now check for errors. (There is a wierd-looking button next to
"Name: script01") If it says an error comment at the bottom of the window, then you've made an error.

When successful, cut the entire window's editable text and paste it into Notepad. Now save as not a ".txt" file but "All files" and save as "<your plugin name>.plugin."

Step 2:
Open "plugin_open.plugin" in notepad. Copy the following text right here.


{
if
keyboard_string = '<tag type>'
then
execute_file('<your plugin name>.plugin')
}


Fill in the details between the < >'s by replacing the text between the < >'s with the information that it asks for between the < >'s.

Paste it into the "plugin_open.plugin" document where it says "<here>" below, since the text below is the same as the document:





{
if
keyboard_string = 'globals'
then
execute_file('globals_plugin.plugin')

if
keyboard_string = 'weapons'
then
execute_file('weapons_plugin.plugin')

if
keyboard_string = 'custom'
then
execute_file('custom_plugin.plugin')
<here>
}

Save and Close.

Step 3:
Now open "strings.plugin" in notepad. Copy the following text right here:


if
global.tag_type = '<your tag type>'
then
{
file_bin_seek(1,global.custom)
draw_text(195,103,'<enter a statement to appear in an option in the program with your plugin>')
}



Fill in the details between the < >'s by replacing the text between the < >'s with the information that it asks for between the < >'s.
Paste it into the "strings.plugin" document where it says "<here>" below, since the text below is the same as the document:



{
if
global.tag_type = 'globals'
then
{
file_bin_seek(1,1)
draw_text(195,81,'Press F1 to inject a walking speed')
file_bin_seek(1,2)
draw_text(195,103,'Press F2 to inject a forward running speed')
file_bin_seek(1,3)
draw_text(195,117,'Press F3 to inject a backward running speed')
}
if
global.tag_type = 'weapons'
then
{
file_bin_seek(1,1)
draw_text(195,81,'Press F1 to inject a max number of starting rounds')
file_bin_seek(1,2)
draw_text(195,103,'Press F2 to inject a max number of carrying rounds')
}
if
global.tag_type = 'custom'
then
{
file_bin_seek(1,global.custom)
draw_text(195,103,'Press F1 to inject into a custom location')
}
<here>
}

Save and close.

Good. Now time for the hard part. Open "F1.plugin" in notepad. Copy the following text right here:



{
{
{
if
global.tag_type = 'globals'
then
{
file_bin_seek(1,3483)
file_bin_write_byte(1,(real(keyboard_string))*1.6)
}
}
{
if
global.tag_type = 'weapons'
then
{
file_bin_seek(1,2198)
file_bin_write_byte(1,(real(keyboard_string))*1.6)
}
{
if
global.tag_type = 'custom'
then
{
file_bin_seek(1,global.custom/2)
file_bin_write_byte(1,(real(keyboard_string))*1.6)
}
}
}
}
{
if
global.tag_type = '<your tag type>'
then
{
file_bin_seek(1,<put an offset here>)
file_bin_write_byte(1,(real(keyboard_string))*1.6)
}
}
}


Fill in the details between the < >'s by replacing the text between the < >'s with the information that it asks for between the < >'s.
Now the offset has to be in DECIMAL form!!!!! NOT HEXIDECIMAL form!!!!!!!! To convert your hex offset into a dec offset, simply divide your hex offset by "1.6".
Take this text and replace THE WHOLE "F1.PLUGIN" DOCUMENT WITH IT!!!!!!!

Congrad's, you just made a plugin update. Now you can type in "<your tag type>" in the program and it will show the option "<enter a statement to appear in an option in the program with your plugin>" and when you press F1, it will inject the hex values you type into offset "<put an offset here>." That is all there is to it! Cheers.
Last edited by adolif on Wed Dec 27, 2006 5:17 pm, edited 4 times in total.
-Adolif
http://adomods.tk
I like pie.
xserre





Posts: 229
Joined: Thu Dec 21, 2006 2:57 am
Location: belgium

Post by xserre »

is this tool netter or worse then hexworkshop?
BIGGER.BETTER.XSERRE!
User avatar
adolif




Literarian 100

Posts: 125
Joined: Wed Oct 18, 2006 1:24 pm
Location: In a place with alot of Chickens On Unicycles O_O

*expired*

Post by adolif »

*I updated the topic, so what I said here doesn't really matter anyway. Ignore this reply.*
Last edited by adolif on Wed Dec 27, 2006 5:49 pm, edited 1 time in total.
-Adolif
http://adomods.tk
I like pie.
User avatar
JK-47




Bloodhound Pyre Socialist Grunge

Posts: 10883
Joined: Wed Dec 01, 2004 2:54 pm
Location: Utah

Post by JK-47 »

If your tutorial uses your program, do you think you might want to post a link to download the program?
Image
User avatar
adolif




Literarian 100

Posts: 125
Joined: Wed Oct 18, 2006 1:24 pm
Location: In a place with alot of Chickens On Unicycles O_O

okay...

Post by adolif »

I don't like to do that but because links often break and annoy people. If it breaks, don't complain. Here you go. *By the way... this tut is now useless because i'm am hosting Version 2, not version 1. V2 is SOOO much better but also works differently. I will update this tut in a minute.*


http://files.halomods.com/viewtopic.php?t=63827
-Adolif
http://adomods.tk
I like pie.
Post Reply