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 


Simple feature request:AddLuaOutputWindowTransparencSetting

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
peddroelm
Cheater
Reputation: 0

Joined: 03 Oct 2014
Posts: 48

PostPosted: Fri Dec 29, 2017 2:05 am    Post subject: Simple feature request:AddLuaOutputWindowTransparencSetting Reply with quote

Similar to the search window on Notepad ++ .

I use CE to add combat damage logs to games and would love to be able to hover the Lua output window on top of the game window ..

[img] https://i.imgur.com/yhwbBk3.jpg [/img]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 347

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

PostPosted: Fri Dec 29, 2017 4:10 am    Post subject: Reply with quote

tried something like this?
Code:

f=getLuaEngine()
f.AlphaBlend=true
f.AlphaBlendValue=127

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
peddroelm
Cheater
Reputation: 0

Joined: 03 Oct 2014
Posts: 48

PostPosted: Fri Dec 29, 2017 4:42 am    Post subject: Reply with quote

nice but also needs always on top parameter (I don't know where to find it)

f.TopMost ain't it
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 347

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

PostPosted: Fri Dec 29, 2017 4:47 am    Post subject: Reply with quote

Code:

f.FormStyle="fsSystemStayOnTop"

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 139

Joined: 25 Jan 2006
Posts: 7351
Location: 127.0.0.1

PostPosted: Fri Dec 29, 2017 4:48 am    Post subject: Reply with quote

Code:
setProperty(getLuaEngine(), "FormStyle", 3)


Should do it.

Edit: DB beat me to it Razz

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
FreeER
Grandmaster Cheater
Reputation: 23

Joined: 09 Aug 2013
Posts: 628

PostPosted: Fri Dec 29, 2017 12:00 pm    Post subject: Reply with quote

Interesting, I made a simple lua extension that lets you toggle this (and optionally provide your own transparency value each time) from a CE menu item

autorun script
creation video
Back to top
View user's profile Send private message
peddroelm
Cheater
Reputation: 0

Joined: 03 Oct 2014
Posts: 48

PostPosted: Fri Jan 05, 2018 10:51 am    Post subject: Reply with quote

font change ?

log output formatting greatly benefits from similar length for characters (like courier new)
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater
Reputation: 23

Joined: 09 Aug 2013
Posts: 628

PostPosted: Fri Jan 05, 2018 1:11 pm    Post subject: Reply with quote

peddroelm wrote:
font change ?

log output formatting greatly benefits from similar length for characters (like courier new)
Here's a simple example that sets the output to use the same font as the script and then prints some random strings, I'm sure you could customize the specific font, size, etc. if you tried
Code:
local f=getLuaEngine()
f.mOutput.Font = f.mScript.Font

local function randChar()
  return string.char(math.random(('a'):byte(1), ('z'):byte(1)))
end
local function randString(length)
  if not length then length = math.floor(math.random(10, 100)) end
  local chars = {}
  for i=0,length do
    chars[#chars+1] = randChar()
  end
  return table.concat(chars)
end

for i=0,10 do
  print(randString(10))
end
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