View previous topic :: View next topic |
Author |
Message |
kucingkembar Advanced Cheater Reputation: 0
Joined: 08 Oct 2020 Posts: 71
|
Posted: Thu Aug 11, 2022 9:33 am Post subject: two questions |
|
|
Hi, sorry for my bad English,
I have two questions:
1. my "trainer" is quite long, over 1500 lines, so I split it using "require" (Lua Function), my problem is: when the "require" file update, let said the x = 1, then update it to x = 2, when I press the "execute script", the x still has a value of 1, so, how to refresh, or un-"require", or whatever it called this thing?
2. is there any way to insert a picture like ms-word, and the text will auto align, or can this software work as docx or pdf reader without an additional addon?
thank you, have a nice day
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Thu Aug 11, 2022 1:31 pm Post subject: |
|
|
1:
package.loaded["requirename"]=nil
2: where do you wish to insert a picture?
_________________
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 |
|
|
kucingkembar Advanced Cheater Reputation: 0
Joined: 08 Oct 2020 Posts: 71
|
Posted: Thu Aug 11, 2022 6:59 pm Post subject: |
|
|
thank you for the reply Dark Byte,
1. problem solved
2. I usually put the text at "Label", but I like to create a guide for collectible items(using a form that "always on top" controlled by hotkey), it will be nice if it shows like an HTML page or ms-word like
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Fri Aug 12, 2022 3:10 am Post subject: |
|
|
you could combine your table with a .rtf and then shellexecute that to show it (though it's not going to be an always on top window)
what you can also do is create a form and put image controls on there and load them with pictures (click the picture property to set an image)
I myself would recommend a scrollbox and inside there just 1 picture that contains everything. That way the user can scroll and you don't need to deal with DPI differences
_________________
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 |
|
|
kucingkembar Advanced Cheater Reputation: 0
Joined: 08 Oct 2020 Posts: 71
|
Posted: Fri Aug 12, 2022 5:25 am Post subject: |
|
|
thank again Dark Byte
for RTF i will skip
for "a scrollbox and inside there just 1 picture", that is my first idea, but I like to edit for typo, wrong info, if I wrong I must screen shot everytime I wrong
anyway, can it do as HTML reader?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Fri Aug 12, 2022 6:12 pm Post subject: |
|
|
html is too complex
but you can write a html page, then print it to a pdf and then convert the pdf to an image
_________________
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 |
|
|
kucingkembar Advanced Cheater Reputation: 0
Joined: 08 Oct 2020 Posts: 71
|
Posted: Sun Aug 14, 2022 1:54 am Post subject: |
|
|
thank again Dark Byte for the reply, sorry for the late reply,
I think I will use your suggestion to create images, then put them on the form
|
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1253
|
|
Back to top |
|
|
|