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 


Is there a big man who can

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

Joined: 25 Feb 2022
Posts: 2

PostPosted: Fri Feb 25, 2022 5:19 am    Post subject: Is there a big man who can Reply with quote

The column below CE only has activation, and all other columns are gone. There was a description originally, but I pulled it to the side and it was gone, even if IT was maximized


屏幕截图 2022-02-25 184659.png
 Description:
 Filesize:  62.58 KB
 Viewed:  1985 Time(s)

屏幕截图 2022-02-25 184659.png


Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Fri Feb 25, 2022 6:24 am    Post subject: Reply with quote

Open Lua Engine window by pressing Ctrl, Alt, Shift + L, paste this code then click execute:
Code:

function resetwidths()
   local mfw = getMainForm().Width
   local dw = min(mfw / 5)
   local o = 0

   s[0].Width = min(dw / 3)
   s[1].Width = min(dw * 2)
   s[2].Width = min(dw / 2)
   s[3].Width = min(dw / 2)

   for i=0,3 do
      o = o + s[i].Width
   end

   s[4].Width = o
end

resetwidths()
Back to top
View user's profile Send private message
xiaoxi0215
How do I cheat?
Reputation: 0

Joined: 25 Feb 2022
Posts: 2

PostPosted: Sat Feb 26, 2022 12:03 am    Post subject: Reply with quote

function resetwidths()
local mfw = getMainForm().Width
local dw = min(mfw / 5)
local o = 0

s[0].Width = min(dw / 3)
s[1].Width = min(dw * 2)
s[2].Width = min(dw / 2)
s[3].Width = min(dw / 2)

for i=0,3 do
o = o + s[i].Width
end

s[4].Width = o
end

resetwidths()

错误:[string "function resetwidths()
..."]:3: attempt to call a nil value (global 'min')
脚本错误
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25783
Location: The netherlands

PostPosted: Sun Feb 27, 2022 4:55 am    Post subject: Reply with quote

try math.min

or just run the reset settings program that comes with ce (ceregreset.exe)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Sun Feb 27, 2022 5:38 pm    Post subject: Reply with quote

xiaoxi0215 wrote:
function resetwidths()
local mfw = getMainForm().Width
local dw = min(mfw / 5)
local o = 0

s[0].Width = min(dw / 3)
s[1].Width = min(dw * 2)
s[2].Width = min(dw / 2)
s[3].Width = min(dw / 2)

for i=0,3 do
o = o + s[i].Width
end

s[4].Width = o
end

resetwidths()

错误:[string "function resetwidths()
..."]:3: attempt to call a nil value (global 'min')
脚本错误


Sorry, about the mishap:
Code:

function resetwidths()
   local mfw = getMainForm().Width
   local dw = math.min(mfw / 5)
   local o = 0

   s[0].Width = math.min(dw / 3)
   s[1].Width = math.min(dw * 2)
   s[2].Width = math.min(dw / 2)
   s[3].Width = math.min(dw / 2)

   for i=0,3 do
      o = o + s[i].Width
   end

   s[4].Width = o
end

resetwidths()
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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