|
You last visited: Today at 18:09
Advertisement
[Release] Resolution fix/trick + source
Discussion on [Release] Resolution fix/trick + source within the Last Chaos forum part of the MMORPGs category.
05/06/2013, 21:03
|
#1
|
elite*gold: 0
Join Date: Feb 2011
Posts: 81
Received Thanks: 37
|
[Release] Resolution fix/trick + source
Idk if it works on anyother server than LCGenericName01 and LCGenericName02 so feedback would be nice.
With this script you can change resolution of your LastChaos to other than ones in options.
SCAN:
DOWNLOAD:
EP1:  EP2:
SOURCE [Au3]:
PHP Code:
#include <NomadMemory.au3> #include <Console.au3> Func _WinGetPath($Title="",$strComputer='localhost') $win = WinGetTitle($Title) $pid = WinGetProcess($win) $wbemFlagReturnImmediately = 0x10 $wbemFlagForwardOnly = 0x20 $colItems = "" $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2") $colItems = $objWMIService.ExecQuery ("SELECT * FROM Win32_Process WHERE ProcessId = " & $pid, "WQL", _ $wbemFlagReturnImmediately + $wbemFlagForwardOnly) If IsObj($colItems) Then For $objItem In $colItems If $objItem.ExecutablePath Then Return $objItem.ExecutablePath;StringRegExpReplace ($objItem.ExecutablePath, "\A*.exe", "") Next EndIf EndFunc
Global $width, $height
Cout(".------.------.------.------.------.------.------.------.------.------.------."&@CRLF&"|L.--. |I.--. |N.--. |O.--. |S.--. |K.--. |O.--. |C.--. |Z.--. |E.--. |K.--. |"&@CRLF&"| :/\: | (\/) | :(): | :/\: | :/\: | :/\: | :/\: | :/\: | :(): | (\/) | :/\: |"&@CRLF&"| (__) | :\/: | ()() | :\/: | :\/: | :\/: | :\/: | :\/: | ()() | :\/: | :\/: |"&@CRLF&"| '--'L| '--'I| '--'N| '--'O| '--'S| '--'K| '--'O| '--'C| '--'Z| '--'E| '--'K|"&@CRLF&"`------`------`------`------`------`------`------`------`------`------`------.EU"&@CRLF&@CRLF&@CRLF&@CRLF)
$pid = ProcessExists("Nksp.exe")
If $pid Then $mo = _MemoryOpen($pid) If _MemoryRead(0x105DA00C, $mo) > 0 And _MemoryRead(0x105DA010, $mo) > 0 Then ;WIDTH While 1 Cout("Enter width which you want to have: ") Cin($width, 128) If $width > 0 And $width < @DesktopWidth Then _MemoryWrite(0x105DA00C, $mo, $width) Cout("Width setted to "&$width&@CRLF) ExitLoop Else Cout("You can't set width to 0 and also to a higher than your desktop's..."&@CRLF) EndIf WEnd ;HEIGHT While 1 Cout("Enter height which you want to have: ") Cin($height, 128) If $height > 0 And $height < @DesktopHeight Then _MemoryWrite(0x105DA010, $mo, $height) Cout("Height setted to "&$height&@CRLF) ExitLoop Else Cout("You can't set height to 0 and also to a higher than your desktop's..."&@CRLF) EndIf WEnd Else Cout("Something is wrong... I couldn't read memory of client..."&@CRLF) Cout("Checking if you've got administrator rights..."&@CRLF) If IsAdmin() Then Cout("You are, sorry, but I don't know the reason why I couldn't read memory. Maybe you are not using the script on LCGN01?"&@CRLF) Else Cout("You are not admin, it may be a reason why the script isn't working!"&@CRLF) EndIf EndIf Cout("Now restarting the client..."&@CRLF) $path = _WinGetPath("[CLASS:Nksp]") WinClose("[CLASS:Nksp]", "") Sleep(500) ShellExecute($path, "6574") Do Sleep(500) Until ProcessExists("Nksp.exe") Cout("Done! You can close this shell..."&@CRLF&@CRLF) Cout("Pssssssss, visit http://linoskoczek.eu!")
Else Cout("Nksp.exe not found... Make sure your client is opened."&@CRLF) EndIf
While 1 Sleep(100) WEnd
Not really a big tool but maybe you would like to know how to do it, so source is for that.
Functions/UDFs can be found on autoitscript.com
Be cool and visit 
and i don't allow to copy->paste it to other forum without backlink to this topic
|
|
|
05/06/2013, 21:38
|
#2
|
elite*gold: 124
Join Date: Dec 2009
Posts: 2,114
Received Thanks: 3,142
|
I once built a tool like this which, provided with current offsets, still works on every server.

Edit: I just saw you asked for a translation in the said thread. Is there still something you would like me to explain? Most of the post is just redundant stuff to make it idiot-proof.
Edit2: To me it seems like your tool only changes one part of the resolution. Actually there are two parts, one of which is to change the resolution immediately while the other one sets the resolution for the next start of LC so you don't need to set it again whenever you start the game.
The addresse of those are easy to find by the following function names:
HTML Code:
X-OnChange: CUIMultiEditBox::s_nRefCount+A4
Y-OnChange: CUIMultiEditBox::s_nRefCount+A0
X-StartUp: sam_iscreensizei
Y-StartUp: sam_iscreensizej
Lately the official servers and some private servers updated there client so that it does not provide function names anymore. For these servers, the addresses shouldn't be too difficult to find by pattern scan, either.
|
|
|
05/06/2013, 22:01
|
#3
|
elite*gold: 0
Join Date: Feb 2011
Posts: 81
Received Thanks: 37
|
1. I never got your tool to work to be honest, maybe I'm to dumb for 6 buttons and 2 imputs lol.
2. The reason of that is what I just wrote above - I didn't know what to do to make it working so I asked for translation cos I don't understand german very well.
3. Ty for these adresses, in free time I will have fun with them
|
|
|
05/06/2013, 22:16
|
#4
|
elite*gold: 124
Join Date: Dec 2009
Posts: 2,114
Received Thanks: 3,142
|
Most likely you just did not insert the addresses for the specific server in the ResolutionAddresses.ini.
In case of right addresses you just use the tool as follows:
1. If one Nksp.exe is open, it is selected automatically. Otherwise you first have to click "Select" and next click at the open window of the LC you want to resize.
2. Insert the desired size into the inputs "Width" and "Height".
3. Click the buttons button "Freeze OnChange" to resize LC without restarting and click "Set StartUp" to save the size for the next start of LC.
4. To apply the changes, change the resolution to another size in the settings of LC and click OK. Instead your desired resolution will be applied.
(5.) After applieing a new OnChange-resolution, you can click "Unreeze OnChange" to save redundant computing power.
Regarding the OnChange-addresses, they can be different on some servers. In that case you can either scroll up/down in CE Memory Viewer to find the right one, or just scan for the current resolution, change it, scan for the new one, and repeat until you only get a few ones, two of which (X and Y) are in the range of CUIMultiEditBox::s_nRefCount+A4 +/- about 0x50.
Edit: I'm off for now, watching Circus Halligalli which is one of the few really good shows on German TV. One reason more to learn German since unfortunately there is no compareable show in English. 
If there are still questions left, feel free to ask. I'll answer them tomorrow. 
|
|
|
05/06/2013, 22:42
|
#5
|
elite*gold: 0
Join Date: Feb 2011
Posts: 81
Received Thanks: 37
|
Quote:
Originally Posted by -STORM-
Most likely you just did not insert the addresses for the specific server in the ResolutionAddresses.ini.
|
Probably yeah, I even didn't know it's needed and I don't remember what I was doing with it since it was some time ago.
Quote:
Originally Posted by -STORM-
In case of right addresses you just use the tool as follows:
1. If one Nksp.exe is open, it is selected automatically. Otherwise you first have to click "Select" and next click at the open window of the LC you want to resize.
2. Insert the desired size into the inputs "Width" and "Height".
3. Click the buttons button "Freeze OnChange" to resize LC without restarting and click "Set StartUp" to save the size for the next start of LC.
4. To apply the changes, change the resolution to another size in the settings of LC and click OK. Instead your desired resolution will be applied.
(5.) After applieing a new OnChange-resolution, you can click "Unreeze OnChange" to save redundant computing power.
|
Ty, I will try it when I log on windows.
And btw all the adresses which I found was from cheat engine and it's possible to change it easy there, but I coppied them, pasted and added to small code which changes it with few clicks, so even newbie can't have any problem. I will use your source to find out more about it, but not now and in close future since I'm not playing LC and I'm too lazy for that now :P
Quote:
I'm learning English, German and Polish (native) so maybe in future I will be able to watch German TV haha :P
|
|
|
05/07/2013, 17:24
|
#6
|
elite*gold: 91
Join Date: May 2012
Posts: 3,312
Received Thanks: 700
|
Thx for the source.
|
|
|
 |
Similar Threads
|
[Release] Fix to Maximum Resolution 1024x600
11/28/2013 - EO PServer Guides & Releases - 13 Replies
Only put file GUI.ini in this folder of your Client:
ini
I made this, cause any of my Players, have Notebook with Monitor 10", with maximum resolution 1024x600.
Who has this problem, the screen of the game is exactly like this:
http://www.elitepvpers.com/forum/attachment.php?at tachmentid=37569&stc=1&d=1264218460
|
[RELEASE] -STORM- Resolution Hack Open Source
09/07/2012 - Last Chaos - 4 Replies
Hi.
Hier veröffentliche ich nun meinen neuen Resolution Hack.
Damit könnt ihr beispielsweise in FullHD (oder auch höher falls euer Bildschirm das kann) zocken, die Größe so einstellen, dass 2 Fenster sich genau den Screen teilen, etc.
So kann das aussehen:http://i.epvpimg.com/8MCae.jpg
http://i.epvpimg.com/uiufb.jpg
http://i.epvpimg.com/2Rfcf.jpg
Features:
|
[RELEASE]CrossHair SA PSF working 2 works on resolution 1024x748
10/17/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 5 Replies
i2 UNG cross hair sa sf working pa2 i promise u dude
VIRUS SCAN:
a-squared 4.5.0.24 2009.09.15 -
AhnLab-V3 5.0.0.2 2009.09.14 -
AntiVir 7.9.1.14 2009.09.14 -
Antiy-AVL 2.0.3.7 2009.09.15 -
Authentium 5.1.2.4 2009.09.15 -
|
[Release] Multi-Resolution AutoShopkeeper Source
09/29/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 6 Replies
THIS IS NOT A HACK THIS IS THE AUTOIT SOURCE FOR A BOT I AM NO LONGER WORKING ON! If you do not understand what it is or how to use it go here. Please do not pm me asking me how to get this to work.
I have abandoned this project. I do not want all of the time and effort I put into this to go to waste so I am releasing the source in hopes that it will be helpful to someone. I haven't tried this since Expedition so I don't know if it needs any tweaking. Maybe if someone is working on or...
|
[RELEASE]Multi-Resolution Shop Bot Beta
08/16/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 6 Replies
I have gotten several requests to convert my shop bot to different resolutions. Rather than make several different conversions, I decided to make one that could be used for any resolution. Please keep in mind that this is a Beta, meaning I haven't been able to fully troubleshoot it in all resolutions. I am releasing it in the hopes that the community will help me out in that respect.
This bot uses a trainer program to record all of the relevant coordinates. I recommend that the game and...
|
All times are GMT +1. The time now is 18:09.
|
|