View previous topic :: View next topic |
Author |
Message |
dolcepanna Newbie cheater Reputation: 0
Joined: 07 Jan 2013 Posts: 12
|
Posted: Mon Jan 05, 2015 5:54 pm Post subject: Cheat Engine - Video Playback, Image Loading and iFrame |
|
|
Hello guys i have been working for quite some time on a very ambitious project but i need to resolve 3 things fast please...
1. I need Example code for video Playback inside a Trainer to add inside a UDF created stirctly from a code...
2. I need a Iframe implementation for lua basically i need to be able to add iFrames inside a trainer but obviously done only based on LUA SCRIPT...
3. I need to know how i can load and call an image file like .png, .jpg, .bmp inside a trainer but obviously done only based on LUA SCRIPT...
Please guys help me out with that issue thank you guys
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Mon Jan 05, 2015 6:20 pm Post subject: |
|
|
1: There is no video playback. I guess you could use the paintbox to quickly draw bitmaps to that you've drawn off screen and then quickly flip them to make it show like an animation, but forget about real video, unless you make a lua plugin that loads a video player library like vlc
at best you could use shellExecute('http://youtube.com/blablabla') to show a youtube video
2: I have no idea what you mean with iFrames. Keep in mind that ce's lua has no network support, so anything browser related is not possible
If you mean put things inside their own container, use panels
3: you can use createPicture() to create a picture object and then fill it with the image you want using picture.loadFromFile or picture.loadFromStream. (loadFromStream can load from embedded files in the cheat table using tablefiles )
then that picture can be used in image objects, or you can use it offscreen and play with the canvas
_________________
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 |
|
|
dolcepanna Newbie cheater Reputation: 0
Joined: 07 Jan 2013 Posts: 12
|
Posted: Tue Jan 06, 2015 9:18 am Post subject: |
|
|
Well thank you for the detailed explanation i now know video rendering is impossible but can you perhaps give me a little hand here... because all that you mentioned about the other image functions + the PaintBox all these sound familiar but at the end i have no clue how to compile my code... Perhaps if it is not too much to ask may be you can give me a short Demo script on how to create this Paint box that will fastly move from 1 image frame to the next to make it look like a .GIF of some sort...
and also if still not asking for a lot tho a short demo for this:
Quote:
3: you can use to create a picture object and then fill it with the image you want using Code: | picture.loadFromFile | or Code: | picture.loadFromStream. | (loadFromStream can load from embedded files in the cheat table using tablefiles )
Thank You
|
|
Back to top |
|
|
|