Advertisement
Guest User

Malu05

a guest
May 11th, 2009
779
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.05 KB | None | 0 0
  1. _MemoryWrite(0x004DCEE0 , $wow, "0x909090909090", 'byte[6]') ;//Avoid Auto Overwrite
  2. _MemoryWrite(0x004DCECF , $wow, "0x909090909090", 'byte[6]') ;//Avoid Auto Overwrite
  3. while 1
  4.     if GUICtrlRead($slider) <> GUICtrlRead($sliderlabel) Then GUICtrlSetData($sliderlabel, GUICtrlRead($slider)) ;//If the slider is moved we update the number.
  5.     $msg = GUIGetMsg()
  6.     Select
  7.     Case $msg = $Apply 
  8.         if GUICtrlRead($FOG) = 1 Then
  9.             _MemoryWrite(0x01079bac , $wow, GUICtrlRead($slider), 'float') ;//Ensure that the fog expands with the new view distance range.
  10.         Else
  11.             _MemoryWrite(0x01079bac , $wow, 9999, 'float')  ;//Set Fog TO distance (can also be done by setting the "from" distance.
  12.         EndIf
  13.         _MemoryWrite(0x0109A448 , $wow, GUICtrlRead($slider), 'float') ;// Apply the new view distance
  14.        
  15.     Case $msg = $GUI_EVENT_CLOSE
  16.         _MemoryWrite(0x004DCEE0 , $wow, "0xd91da89b0701", 'byte[6]') ;// Set Back to normal, leave no trace.
  17.         _MemoryWrite(0x004DCECF , $wow, "0xd915ac9b0701", 'byte[6]') ;// Set Back to normal, leave no trace.
  18.         Exit
  19.     EndSelect
  20.     sleep(10)
  21. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement