Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Making a Script ???

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
chris23800
How do I cheat?
Reputation: 0

Joined: 21 Jul 2007
Posts: 1

PostPosted: Sun Jul 29, 2007 9:47 pm    Post subject: Making a Script ??? Reply with quote

Quote:
Anyways you have to add Vista to this list as WinVista and configure the following script so it recognizes the new value you added so it looks like this:



Code:
function GetSystemType: Integer;  //from Stuart Johnson with a little change by me
const
 { operating system constants }

 cOsUnknown = -1;
 cOsWin95 = 0;
 cOsWin98 = 1;
 cOsWin98SE = 2;
 cOsWinME = 3;
 cOsWinNT = 4;
 cOsWin2000 = 5;
 cOsWinXP = 6;
 cOsWinVista = 7;
 cOsNewer = 8;

var
 osVerInfo : TOSVersionInfo;
 majorVer, minorVer : Integer;

begin
{ set operating system type flag }
 osVerInfo.dwOSVersionInfoSize := SizeOf(TOSVersionInfo);
 if GetVersionEx(osVerInfo) then
   begin
     majorVer := osVerInfo.dwMajorVersion;
     minorVer := osVerInfo.dwMinorVersion;
     case osVerInfo.dwPlatformId of
       VER_PLATFORM_WIN32_NT : { Windows NT/2000 }
         begin
           if majorVer <= 4 then
             result := cOsWinNT
           else
             if (majorVer = 5) AND (minorVer= 0) then
               result := cOsWin2000
             else
               if (majorVer = 5) AND (minorVer = 1) then
                 result := cOsWinXP
             else if (majorver = 5) then result:=cOsNewer
           else
           if (majorVer = 6) AND (minorVer = 0) then
                result := cOsWinVista
                else
           result := cOsUnknown;
         end; {case }
     VER_PLATFORM_WIN32_WINDOWS : { Windows 9x/ME }
       begin
         if (majorVer = 4) AND (minorVer = 0) then
           result := cOsWin95
         else
           if (majorVer = 4) AND (minorVer = 10) then
             begin
               if osVerInfo.szCSDVersion[1] = 'A' then
                 result := cOsWin98SE
               else
                  result := cOsWin98;
               end {if Version = 'A'}
             else
               if (majorVer = 4) AND (minorVer = 90) then
                 result := cOsWinME
               else
                  result := cOsUnknown;
       end; {case VER_PLATFORM_WIN32_WINDOWS}
     else
      result := cOsUnknown;
   end;
 end
else
  result := cOsUnknown;
end;
 
















HOW DO I DO THIS i have windows vista can someone explain how to mae a script????
Back to top
View user's profile Send private message
Toxic Lullaby
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2007
Posts: 541

PostPosted: Mon Jul 30, 2007 4:28 am    Post subject: Reply with quote

You should really try searching on Google.
It takes only a few minutes to find what you're looking for.
Usually less time than it takes for someone else to post what you're looking for.
Anyway, I googled it and found a few relevant results.
But posting it would defeat the purpose.
If you still haven't found what you're looking for in a few days, I'll post the ones I found.
In the mean time...
Good luck!


_________________


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites