The three dragons are a game that I have played for a long time, and now the game inside robes ' has been stopped (see the "Three Wolves" stop Service Announcement: http://www.gamefy.cn/view_38832.html), And the Dragon keeper Refresh bug has been fixed at the beginning of this year (2014). These two days to tidy up the script written before, write to the blog, at least can leave a thought ~ ~ ~
Script (Dragon Terminator _20141081344.q): Http://pan.baidu.com/s/1bn70hEB
1. A bug about the Dragon keeper of the Three Wolves
Dragon Wolf, the Dragon Guardian, a total of 50, a pass after winning can continue to challenge the back of the level, failed to re-challenge, each challenge can be challenged regardless of the outcome.
At first, I used a mouse-point device (I named it Justitia) to solve the challenge of constantly challenging the Dragon keeper to get rewards. However, with the mouse Justita brush bug has two fatal defects:
1) Justitia uses a mouse point method to brush the dragon, its low efficiency is obvious, in the Dragon Wolf three game mechanism, the beginning of the battle will be in a short period of time to end quickly, and the scene animation is not necessary. Therefore, refreshing the browser and re-entering it will be much faster than exiting the battle screen after watching the animation-it is at least twice times faster to count data from multiple computers.
2) There is a memory leak in the code of the three Dragons games, and the growing memory in the game causes the browser to crash, and the mouse point-of-contact device typically causes this problem after 3-4 hours of operation. Unlimited growth in memory is also the reason the game Start screen prompts players to refresh frequently. If you use the refresh mechanism to brush the Dragon Guardian, the game memory will be emptied each time, even if the browser crashes accidentally, you can refresh the browser to re-enter, the fault rate is very high.
So, I wrote the Justitiaii with the key wizard to hang the machine at night. Due to different screen sizes on different computers, the mouse click location changes on different computers, and Justitiaii is also set up. The user is free to set the time interval for every two mouse actions and the location of the mouse click screen.
Note: This bug was fixed at the beginning of this year (see the "Three Dragons" January 21 maintenance Announcement: http://www.mx175.com/html/2014/news_0121/4889.html)
2. Interface design
The following is the interface design of Justitiaii
Set all the controls within the interface, one for each line, and a set of wait times for the control name, in turn:
InputBoxDelay1 to InputBoxDelay6
Each line of two is the mouse coordinate settings, the control name is:
Horizontal axis: InputBoxX1 to InputBoxX5
Ordinate: InputBoxY1 to InputBoxY5
The following is shown in the prepared Elf:
3. Script code
delay form1.inputboxdelay1.text//Refresh browser (default Firefox browser Win7 system maximized position) moveto form1.inputboxx1.text, form1.inputboxy1.textleftclick 1delay form1.inputboxdelay2.text//Select Large region (default in three-zone position) MoveTo form1.inputboxx2.text, form1.inputboxy2.textleftclick 1delay form1.inputboxdelay3.text// Confirm the acquired experience value of the Hang machine moveto form1.inputboxx3.text, form1.inputboxy3.textleftclick 1delay form1.inputboxdelay4.text//Find the Dragon keeper moveto form1.inputboxx4.text, form1.inputboxy4.textleftclick 1delay form1.inputboxdelay5.text//confirm the Dragon Guardian moveto form1.inputboxx5.text, form1.inputboxy5.textleftclick 1delay form1.inputboxdelay6.text//Test mouse position, input coordinates, you can move the mouse directly to the coordinates of the event form1.buttontest.clickmoveto form1.inputboxx.text, form1.inputboxy.textend event// Restore the configuration to the default event form1.buttondefault.clickform1.inputboxdelay1.text= "form1.inputboxdelay2.text=" 3000 " form1.inputboxdelay3.text= "8000" form1.inputboxdelay4.text= "Form1.inputboxdel"Ay5. text= "form1.inputboxdelay6.text=" 4000 "form1.inputboxx1.text=" 918 "form1.inputboxx2.text=" 714 " form1.inputboxx3.text= "714" form1.inputboxx4.text= "645" form1.inputboxx5.text= "645" Form1.InputBoxY1.Text= "42" form1.inputboxy2.text= "458" form1.inputboxy3.text= "458" form1.inputboxy4.text= "" "Form1.inputboxy5.text=" 355 " end event//Save the configuration file to the specified path event form1.buttonsave.click//write INI file, four parameters are the bar name, key name, key value, INI file path//delay information call Plugin.File.WriteINI ("Delay", "Delay1", _form1.inputboxdelay1.text,form1.inputboxaddress.text) call Plugin.File.WriteINI ("Delay", "Delay2", _form1.inputboxdelay2.text,form1.inputboxaddress.text) call Plugin.File.WriteINI ("Delay", "Delay3", _form1.inputboxdelay3.text,form1.inputboxaddress.text) call Plugin.File.WriteINI ("Delay", "Delay4", _form1.inputboxdelay4.text,form1.inputboxaddress.text) call Plugin.File.WriteINI ("Delay", "Delay5", _form1.inputboxdelay5.text,form1.inputboxaddress.text) call Plugin.File.WriteINI ("delay", "delay6 ", _form1.inputboxdelay6.text,form1.inputboxaddress.text)//Mouse axis information Call plugin.file.writeini (" MouseX " , "MouseX1", _form1.inputboxx1.text,form1.inputboxaddress.text) Call plugin.file.writeini ("MouseX", " MouseX2 ", _form1.inputboxx2.text,form1.inputboxaddress.text) Call plugin.file.writeini (" MouseX "," MouseX3 ", _form1.inputboxx3.text,form1.inputboxaddress.text) Call plugin.file.writeini (" MouseX "," MouseX4 ", _form1.inputboxx4.text,form1.inputboxaddress.text) Call plugin.file.writeini (" MouseX "," MouseX5 ", _form1.inputboxx5.text,form1.inputboxaddress.text)//mouse Vertical axis information Call plugin.file.writeini (" Mousey "," MouseY1 ", _form1.inputboxy1.text,form1.inputboxaddress.text) Call plugin.file.writeini (" Mousey "," MouseY2 ", _form1.inputboxy2.text,form1.inputboxaddress.text) Call plugin.file.writeini (" Mousey "," MouseY3 ", _form1.inputboxy3.text,form1.inputboxaddress.text) Call plugin.file.writeini (" Mousey "," MouseY4 ", _form1.inputboxy4. Text,form1.inputboxaddress.text) Call plugin.file.writeini ("Mousey", "MouseY5", _form1.inputboxy5.text , Form1.InputBoxAddress.Text) messagebox "parameter save complete" end event//read the configuration file from the specified path event form1.buttonload.click//read the contents of the INI file, the parameters are section name, key name, file address, return key value//delay information Form1.inputboxdelay1.text=plugin.file.readini ( _ "Delay", "Delay1", Form1.InputBoxAddress.Text) form1.inputboxdelay2.text=plugin.file.readini ( _ "Delay", "Delay2", Form1.InputBoxAddress.Text) form1.inputboxdelay3.text=plugin.file.readini ( _ "delay") , "Delay3", Form1.InputBoxAddress.Text) form1.inputboxdelay4.text=plugin.file.readini ( _ "Delay", " Delay4 ", Form1.InputBoxAddress.Text) form1.inputboxdelay5.text=plugin.file.readini ( _" Delay "," Delay5 " , Form1.InputBoxAddress.Text) form1.inputboxdelay6.text=plugin.file.readini ( _ "Delay", "Delay6", Form1.InputBoxAddress.Text) //Mouse axis information Form1.inputboxx1.text=plugin.file.readini ( _ "MouseX", "MouseX1", Form1.InputBoxAddress.Text) form1.inputBoxx2.text=plugin.file.readini ( _ "MouseX", "MouseX2", Form1.InputBoxAddress.Text) Form1.inputboxx3.text=plugin.file.readini ( _ "MouseX", "MouseX3", Form1.InputBoxAddress.Text) Form1.inputboxx4.text=plugin.file.readini ( _ "MouseX", "MouseX4", Form1.InputBoxAddress.Text) Form1.inputboxx5.text=plugin.file.readini ( _ "MouseX", "MouseX5", Form1.InputBoxAddress.Text) // Mouse longitudinal axis information Form1.inputboxy1.text=plugin.file.readini ( _ "Mousey", "MouseY1", Form1.InputBoxAddress.Text) Form1.inputboxy2.text=plugin.file.readini ( _ "Mousey", "MouseY2", Form1.InputBoxAddress.Text) Form1.inputboxy3.text=plugin.file.readini ( _ "Mousey", "MouseY3", Form1.InputBoxAddress.Text) Form1.inputboxy4.text=plugin.file.readini ( _ "Mousey", "MouseY4", Form1.InputBoxAddress.Text) Form1.inputboxy5.text=plugin.file.readini ( _ "Mousey", "MouseY5", Form1.InputBoxAddress.Text) MessageBox "parameter read complete" end event
4. Script description
(This note is for the V3.0 version, which is the version of the code and GUI design that is posted in this article)
1) This wizard is "Dragon Wolf three" dragon Guardian special Brush Item tool
2) This wizard is now available for all browsers, adding the mouse position manual calibration function
3) This wizard on the basis of the V2.0 version, but also increased the settings of the Save and read function
4) You can now use this wizard to set the configuration information back to the default
5) before using this program, please go to the Everyone network Wolf three regions Select interface
6) When using this wizard, it is best to set the computer mute, in order to avoid the game constantly switching background music annoyance
7) Use this program for the first time in an unfamiliar environment, be sure to calibrate the mouse position
5. Changes to the key elf icon
I changed the icon for my generated button elf Justitiaii:-)
Here's how:
The rightmost image is in PNG format, with the 16*16, 32*32, 48*48, 64*64, and 256*256 ico format icons from the left number, respectively. Convert PNG images to these size ico icons, which I completed on this site: http://www.ico.la/. An ICO file replaces the EXE file icon, which can be replaced by the tool Pexplorer to replace each dimension icon in the exe file.
Several shortcut keys attached to 1:justitiaii
1) Start Hotkey ctrl+1
2) Pause/Resume Hotkey ctrl+2
3) Abort Hotkey ctrl+3
4) All Abort hotkey ctrl+4
The Dragon Keeper of the three wolves after 2:justitiaii
After the bug fix, Justitiaii is no longer available, so I can only think of another way to refresh the activity.
Interested readers can refer to this blog: http://my.oschina.net/Tsybius2014/blog/296966
END
Dragon Wolf three Dragons Guardian refresh tool