View previous topic :: View next topic |
Author |
Message |
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1260
|
Posted: Thu Feb 29, 2024 1:09 pm Post subject: @DarkByte, your opinion is needed for the last step. |
|
|
In our last meeting , you gave me the fishing rod and said, "You catch the fish."
The last step remained and I couldn't figure it out.
Code: | obj=MainForm.frmAutoInject |
New tab = OK
Add code to new tab = OK
Code: | aa12 = [[print(obj.Name)]]
obj.TabScript[tonumber(obj.TabCount)-1] = aa12 |
The final step; Name the new tab!
ex:
Code: | obj.TabScript[obj.TabCount-1].TabText --[selectedtab] ? x,y
-- or
obj.TabScript[obj.TabCount-1].CanvasTextOut |
Do you have any ideas for the final step? _________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25298 Location: The netherlands
|
Posted: Thu Feb 29, 2024 3:33 pm Post subject: |
|
|
there is currently no property access for indexed entries , and there's no specialized lua array handler for texttext in tablist, so right now it's not possible _________________
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 |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1260
|
Posted: Thu Feb 29, 2024 4:58 pm Post subject: |
|
|
Another question;
"LoadTable = true" adds to the address list (Without deleting previous records.)
But it resets (Deletes) all tabs registered in Lua Script.
Is there a directory that will paste or load the existing xml string into the address list with code other than "LoadTable"? _________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25298 Location: The netherlands
|
Posted: Thu Feb 29, 2024 6:06 pm Post subject: |
|
|
you can always do something like:
Code: |
ss=createStringStream()
saveTable(ss)
tableintextform=ss.DataString
--do stuff with tableintextform
ss.DataString=newtabletext
loadTable(ss)
ss.destroy()
|
_________________
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 |
|
|
|