Dragon Nest Auto Priority 0.1


See the priority column. Note that the priority is low (4) for two of the inactive dragon nest processes, while the active one has normal priority (8).

Description:
Lowers the process priority of all Drogon Nest instances except the focused one.
This could make multiclient smoother for you.

Only useful if you use some multiclient patch (will not work with VM or sandbox MC).
Only tested with the SEA version of Dragon Nest, don’t know if it will work with any other.

Instructions:
Run the attached application, it will adjust the priorities automatically.
Exit it by right clicking its icon in the tray.

Note that you need to disable GPK or any other antihacking rootkit used to hide the game.
You could do that with my GPK fix (still works with SEA v65)
This is usually included in your multiclient patch.

Scans:

Source:
This is a simple AHK script compiled to .exe. Below is the AHK source.
If you have AHK you can run this code directly.
Just put it in a file called something like “Dragon.Nest.Auto.Priority.0.1-antifoo.ahk” and run it.

Code:
app_name	= Dragon Nest Auto Priority
app_version	= 0.1
app_date	= 2012-07-09
app_author	= antifoo, hx.hqx.se
app_desc	= Lowers the priority of all Dragon Nest game instances except the active one.

#SingleInstance force
#NoEnv

SetWorkingDir %A_ScriptDir%
Process, priority, , High

main(){
	global

	Menu, tray, add, %app_name% %app_version%, tray_menu_about
	Menu, tray, add, Check for &Updates, tray_menu_link
	Menu, tray, add, &About, tray_menu_about
	Menu, tray, add
	Menu, tray, add, E&xit, tray_menu_quit

	Menu, tray, default, %app_name% %app_version%
	Menu, tray, NoStandard

	Menu, tray, tip, %app_name%

	Loop
	{
		WinGet, active, ID, A
		WinGet, id, List, DragonNest ahk_class DRAGONNEST

		Loop, %id%
		{
			this_id := id%A_Index%
			WinGet, this_pid, PID, ahk_id %this_id%

			if (this_id = active)
			{
				Process, priority, %this_pid%, Normal
			}
			else
			{
				Process, Priority, %this_pid%, Low
			}

			sleep 50
		}

		Sleep, 500
	}
}

tray_menu_commands(){
	global

tray_menu_about:
	MsgBox, 64, %app_name% %app_version%, %app_name% v%app_version%`, %app_date%`n%app_author%`n`n%app_desc%
	return

tray_menu_link:
	Run http://hx.hqx.se/?n=Dragon+Nest+Auto+Priority&v=%app_version%&d=%app_date%
	return

tray_menu_quit:
	exitapp
	return
}

main()

http://gamemagiz.com/media/download.gif

Dragon Nest Auto Priority 0.1

Enjoy!