Post by nutty on Dec 13, 2009 9:23:44 GMT -5
Part1 of Guide - The basic Guide to editing scripts.
Needed -> babelfish.altavista.com/tr
Chinsese (PRC) installed on computer.
Prior Knowlage of using HLHL.
For this guide i'll be using one script with verious commands inside and will show how to edit those commands.
This is almost like creating your own script because all you need is a few examples of scripts and copying and editing parts from them is easy as pie.
This is the script i'll be using, the red squer indicates the parts i'll be showing how to edit.
First of all, open babelfish translater (link in begining of guide), set it on Simp Chinese - English, you'd be wanting to translate chinese language into the english language.
The name of the script is 0 - [God]SprLvler.ini (This is What My HLHL Says.
[Transaction1]
This will be the first step of the script lets say.
Caption=Heal
This is purly to know what this part of the script is doing, this can be changed to whatever you want, the only thing thta will be different is that HLHL will call this part of the script by this new name.
StepCount=4
This is to show how many sub parts in this part of the scripts there are.
Step0='ChineseTalk',100000
The chinese talk in this part translated to english means: "Arrives the map"
The big number is the code of the map, this code is how HLHL knows to which map to go to, each map has a different code. (only maps created after this version of HLHL cannot be used to GO to, but can be still used to create scripts in).
Step1='ChineseTalk',22,18
The chinese talk in this part translated to english means: "Moves the position"
the numbers afterwards are cordinats of the place you want to move to, to change these cordiants is absolutely no problem as these scripts use M&M's in game cordinat system.
Step2='ChineseTalk',404,72,Do~you~need~a~free~life-point~recharge?
This chinese talk in this part translated to english means: "The right key single-clicks"
That means that the numbers afterwards are the cordiants in which the Mouse will click once with the right key. (used mostly for initiating talks with NPC's), these cordiants are generated by HLHL and not by M&M (will be explained later).
The sentence afterwards is the NPC's dialog, it is generated by HLHL itself, (Wil lbe explained later).
Step3='ChineseTalk',180,70,'ChineseTalk'
The first chinsese talk means: "The left key single-clicks", used to ANSWER the NPC, (clicking on the answer you wish).
The cordiants afterwards are where to click (generated by HLHL*).
The second chinese talk means: "◎ ordinary condition", This is located in the end of every sub script so i assume this is to END the subscript's useage.
This short sub script has been doing the simple command of going to WC drugstore and healing.
Changing map code npc cordiants, npc dialog, clicking cordinats etc will result in a new subscript useable in anything else, even for menkey selling in the menkeycatching script.
[Transaction2]
Caption=EnterCave
StepCount=4
Step0='ChineseTalk',100081
Step1='ChineseTalk',35,11
Step2='ChineseTalk',670,141
Step3='ChineseTalk',179,86,'ChineseTalk'
You can easily guess what this subscript means, if you cant guess then go to babelfish and translate the chinese talking into english for better understanding.
But generally, this does almost the same thing; moving to a map, moving to cordiants clicking on cordiants clicking on answer of the npc.
To help you in any other part of script "decoding" use babelfish, it isnt that hard ;>
In the end of the whole script there is a small subscript that says when to END the work of the script, if you plan to make/edit a script that should be running until you close it yourself, do not add this part.
[Transaction18] <- is only which number of subscript it is in the word it is used.
StepCount=1 <- this the number of steps there are.
Step0='ChineseTalk', <- Translated to english means "Knock off", as in END OF SCRIPT.
In the begining of the whole script there is the part that says how many subparts this script will have. if you dig up a few other scripts you will see that the number is replaced with chinese words, those chinese words will probably mean "Infinity" saying that the script will begin its work again and again after it finished all the subscripts.
[Main]
TransactionCount=19
These were the basic explinations of what most of the scripts contain, use babelfish to findout the rest for yourself ;>
Part2 of Guide - HLHL and how to use it to find information and cordinats.
This is HLHL, as you all must know. (if you dont know what this is, you shouldnt be looking through this guide atlist until you use HLHL for a while).
This is the Misc Section of HLHL, this is used to get information the the map, npc, cordiants etc.
The text box is where all this information will be at.
When you want to get an NPC's dialog, clikc on the npc so that you will see the dialog infront of you, then click on GetNPCDialog, once you clicked this, everything in the text box is the npc's dialog, this can be copied into your script for useage.
Pressing the Settings key in the buttom of HLHL will open this window, in that window you have the settings as to how you fight.
Under "Fight" you have Hotkey(S); click on the text box near "Info Key:" and set up a key you would like to use, i suggest one of the F's ex. F9,F10,F11,F12 (anything else will work too, just make sure this key isnt used for anything else in M&M.)
How to set up the key: Press the text box, press on the key you want to use, in the text box a [number] will apper, this is the asci code of the key you used. press Apply and close the settings window. now every time you press this key while youe mouse is on the M&M window, you will recive the code of the map you are on and the cordinats of the place your mouse is at.
These cordiants are used in the scripts as to where to click. (same for the NPC's answer, just move your mouse on the answer and click the Info Key, and you will get the cordinats of the "answer".
Now you pretty much know everything i do about editing/creating scripts in HLHL, good luck experimenting.
Needed -> babelfish.altavista.com/tr
Chinsese (PRC) installed on computer.
Prior Knowlage of using HLHL.
For this guide i'll be using one script with verious commands inside and will show how to edit those commands.
This is almost like creating your own script because all you need is a few examples of scripts and copying and editing parts from them is easy as pie.
This is the script i'll be using, the red squer indicates the parts i'll be showing how to edit.
First of all, open babelfish translater (link in begining of guide), set it on Simp Chinese - English, you'd be wanting to translate chinese language into the english language.
The name of the script is 0 - [God]SprLvler.ini (This is What My HLHL Says.
[Transaction1]
This will be the first step of the script lets say.
Caption=Heal
This is purly to know what this part of the script is doing, this can be changed to whatever you want, the only thing thta will be different is that HLHL will call this part of the script by this new name.
StepCount=4
This is to show how many sub parts in this part of the scripts there are.
Step0='ChineseTalk',100000
The chinese talk in this part translated to english means: "Arrives the map"
The big number is the code of the map, this code is how HLHL knows to which map to go to, each map has a different code. (only maps created after this version of HLHL cannot be used to GO to, but can be still used to create scripts in).
Step1='ChineseTalk',22,18
The chinese talk in this part translated to english means: "Moves the position"
the numbers afterwards are cordinats of the place you want to move to, to change these cordiants is absolutely no problem as these scripts use M&M's in game cordinat system.
Step2='ChineseTalk',404,72,Do~you~need~a~free~life-point~recharge?
This chinese talk in this part translated to english means: "The right key single-clicks"
That means that the numbers afterwards are the cordiants in which the Mouse will click once with the right key. (used mostly for initiating talks with NPC's), these cordiants are generated by HLHL and not by M&M (will be explained later).
The sentence afterwards is the NPC's dialog, it is generated by HLHL itself, (Wil lbe explained later).
Step3='ChineseTalk',180,70,'ChineseTalk'
The first chinsese talk means: "The left key single-clicks", used to ANSWER the NPC, (clicking on the answer you wish).
The cordiants afterwards are where to click (generated by HLHL*).
The second chinese talk means: "◎ ordinary condition", This is located in the end of every sub script so i assume this is to END the subscript's useage.
This short sub script has been doing the simple command of going to WC drugstore and healing.
Changing map code npc cordiants, npc dialog, clicking cordinats etc will result in a new subscript useable in anything else, even for menkey selling in the menkeycatching script.
[Transaction2]
Caption=EnterCave
StepCount=4
Step0='ChineseTalk',100081
Step1='ChineseTalk',35,11
Step2='ChineseTalk',670,141
Step3='ChineseTalk',179,86,'ChineseTalk'
You can easily guess what this subscript means, if you cant guess then go to babelfish and translate the chinese talking into english for better understanding.
But generally, this does almost the same thing; moving to a map, moving to cordiants clicking on cordiants clicking on answer of the npc.
To help you in any other part of script "decoding" use babelfish, it isnt that hard ;>
In the end of the whole script there is a small subscript that says when to END the work of the script, if you plan to make/edit a script that should be running until you close it yourself, do not add this part.
[Transaction18] <- is only which number of subscript it is in the word it is used.
StepCount=1 <- this the number of steps there are.
Step0='ChineseTalk', <- Translated to english means "Knock off", as in END OF SCRIPT.
In the begining of the whole script there is the part that says how many subparts this script will have. if you dig up a few other scripts you will see that the number is replaced with chinese words, those chinese words will probably mean "Infinity" saying that the script will begin its work again and again after it finished all the subscripts.
[Main]
TransactionCount=19
These were the basic explinations of what most of the scripts contain, use babelfish to findout the rest for yourself ;>
Part2 of Guide - HLHL and how to use it to find information and cordinats.
This is HLHL, as you all must know. (if you dont know what this is, you shouldnt be looking through this guide atlist until you use HLHL for a while).
This is the Misc Section of HLHL, this is used to get information the the map, npc, cordiants etc.
The text box is where all this information will be at.
When you want to get an NPC's dialog, clikc on the npc so that you will see the dialog infront of you, then click on GetNPCDialog, once you clicked this, everything in the text box is the npc's dialog, this can be copied into your script for useage.
Pressing the Settings key in the buttom of HLHL will open this window, in that window you have the settings as to how you fight.
Under "Fight" you have Hotkey(S); click on the text box near "Info Key:" and set up a key you would like to use, i suggest one of the F's ex. F9,F10,F11,F12 (anything else will work too, just make sure this key isnt used for anything else in M&M.)
How to set up the key: Press the text box, press on the key you want to use, in the text box a [number] will apper, this is the asci code of the key you used. press Apply and close the settings window. now every time you press this key while youe mouse is on the M&M window, you will recive the code of the map you are on and the cordinats of the place your mouse is at.
These cordiants are used in the scripts as to where to click. (same for the NPC's answer, just move your mouse on the answer and click the Info Key, and you will get the cordinats of the "answer".
Now you pretty much know everything i do about editing/creating scripts in HLHL, good luck experimenting.