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.
and i don't allow to copy->paste it to other forum without backlink to this topic
With this script you can change resolution of your LastChaos to other than ones in options.
[Only registered and activated users can see links. Click Here To Register...]
SCAN:
[Only registered and activated users can see links. Click Here To Register...]
DOWNLOAD:
EP1: [Only registered and activated users can see links. Click Here To Register...]
EP2: [Only registered and activated users can see links. Click Here To Register...]
SOURCE [Au3]:
Be cool and visit [Only registered and activated users can see links. Click Here To Register...] ;)
SCAN:
[Only registered and activated users can see links. Click Here To Register...]
DOWNLOAD:
EP1: [Only registered and activated users can see links. Click Here To Register...]
EP2: [Only registered and activated users can see links. Click Here To Register...]
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
Functions/UDFs can be found on autoitscript.com
Be cool and visit [Only registered and activated users can see links. Click Here To Register...] ;)
and i don't allow to copy->paste it to other forum without backlink to this topic