Basic UE4 Win64 Base Table

Upload *YOUR* gamehacking tools/helpers here
gideon25
Table Makers
Table Makers
Posts: 616
Joined: Mon Mar 20, 2017 1:42 am
Reputation: 391

Re: Basic UE4 Win64 Base Table

Post by gideon25 »

aSwedishMagyar wrote:
Mon Feb 22, 2021 5:59 pm
gideon25 wrote:
Mon Feb 22, 2021 1:45 am
Wish there was a way also to right click on structures in the structure list and delete individual ones. So I could save only what I wanted. Instead I have to export a specific one delete them all and then import them :/
You don't actually have to do that, you can just go into the dissect window, select the structure you want and then in structure options just delete the structure you are currently looking at.

Alternatively you can use this to select a specific one without having to enter the dissect window.
I love it, Is there a way for you to add that to the structure options menu? Maybe as a plugin? Just curious. Thanks!

aSwedishMagyar
Table Makers
Table Makers
Posts: 332
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 347

Re: Basic UE4 Win64 Base Table

Post by aSwedishMagyar »

gideon25 wrote:
Mon Feb 22, 2021 9:14 pm
aSwedishMagyar wrote:
Mon Feb 22, 2021 5:59 pm
You don't actually have to do that, you can just go into the dissect window, select the structure you want and then in structure options just delete the structure you are currently looking at.
I love it, Is there a way for you to add that to the structure options menu? Maybe as a plugin? Just curious. Thanks!

gideon25
Table Makers
Table Makers
Posts: 616
Joined: Mon Mar 20, 2017 1:42 am
Reputation: 391

Re: Basic UE4 Win64 Base Table

Post by gideon25 »

aSwedishMagyar wrote:
Mon Feb 22, 2021 11:34 pm
gideon25 wrote:
Mon Feb 22, 2021 9:14 pm
aSwedishMagyar wrote:
Mon Feb 22, 2021 5:59 pm
You don't actually have to do that, you can just go into the dissect window, select the structure you want and then in structure options just delete the structure you are currently looking at.
I love it, Is there a way for you to add that to the structure options menu? Maybe as a plugin? Just curious. Thanks!
True, but as I stated earlier, after using the "Added structureDissectCallback " too many times on structures, clicking the Structures button will crash cheat engine. You can only delete the structure you are looking at as you can't select any others..but maybe after using the structureDissectCallback I can just delete the structure Im using it in. This means, I wouldn't be able to keep any of the structures I used it in as Im not sure what causes the crash. An abundance of structures saved that used the callback or just a particular structure that had a lot of callback use.

So in this case the option to delete structures I don't need MAY help with the crashes. But I can't go to the Structures menu to do it--> thats when it crashes (if it decides to)! But the structure options menu is good though. Thats why I asked for the function for the structure options menu.

aSwedishMagyar
Table Makers
Table Makers
Posts: 332
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 347

Re: Basic UE4 Win64 Base Table

Post by aSwedishMagyar »

gideon25 wrote:
Tue Feb 23, 2021 7:17 am
So in this case the option to delete structures I don't need MAY help with the crashes. But I can't go to the Structures menu to do it--> thats when it crashes (if it decides to)! But the structure options menu is good though. Thats why I asked for the function for the structure options menu.
The structure options menu is for the currently loaded structure, it does not apply to other global structures. You can add it as a main menu option though. Just like the compact menu that literally everyone uses (for some reason). Just modify it like this:

Code: Select all

function addRemoveStructMenu()
if removstructmenualreadyexists
then return end
local parent = getMainForm().Menu.Items
removstructmenuitem = createMenuItem(parent)
parent.add(removstructmenuitem)
removstructmenuitem.Caption = 'Remove Structure'
removstructmenuitem.OnClick = queryStructure
removstructmenualreadyexists = 'yes'
end
addRemoveStructMenu()
Then you can put that in the start up lua code (along with the queryStructure() definition) to add that item to the top menu.

gideon25
Table Makers
Table Makers
Posts: 616
Joined: Mon Mar 20, 2017 1:42 am
Reputation: 391

Re: Basic UE4 Win64 Base Table

Post by gideon25 »

aSwedishMagyar wrote:
Tue Feb 23, 2021 7:51 am
gideon25 wrote:
Tue Feb 23, 2021 7:17 am
So in this case the option to delete structures I don't need MAY help with the crashes. But I can't go to the Structures menu to do it--> thats when it crashes (if it decides to)! But the structure options menu is good though. Thats why I asked for the function for the structure options menu.
The structure options menu is for the currently loaded structure, it does not apply to other global structures. You can add it as a main menu option though. Just like the compact menu that literally everyone uses (for some reason). Just modify it like this:

Code: Select all

function addRemoveStructMenu()
if removstructmenualreadyexists
then return end
local parent = getMainForm().Menu.Items
removstructmenuitem = createMenuItem(parent)
parent.add(removstructmenuitem)
removstructmenuitem.Caption = 'Remove Structure'
removstructmenuitem.OnClick = queryStructure
removstructmenualreadyexists = 'yes'
end
addRemoveStructMenu()
Then you can put that in the start up lua code (along with the queryStructure() definition) to add that item to the top menu.
Just copy and past the lua from the table under that part. Like this:

Code: Select all

if syntaxcheck then return end
function addRemoveStructMenu()
if removstructmenualreadyexists
then return end
local parent = getMainForm().Menu.Items
removstructmenuitem = createMenuItem(parent)
parent.add(removstructmenuitem)
removstructmenuitem.Caption = 'Remove Structure'
removstructmenuitem.OnClick = queryStructure
removstructmenualreadyexists = 'yes'
end
addRemoveStructMenu()
if syntaxcheck then return end
function queryStructure()
	local queryForm = createForm(false);
	local locationListComboBox = createComboBox(queryForm)
	queryForm.Caption = "Select Structure"
	locationListComboBox.ReadOnly = true
	locationListComboBox.Width = 600
	queryForm.Height = locationListComboBox.Height + 1
	queryForm.Width = locationListComboBox.Width + 3
	locationListComboBox.OnSelect = function()
		queryForm.ModalResult = 1
	end
    local tempStruct = nil
    local numStructs = getStructureCount()-1
    local i
    for i=0,numStructs do
        locationListComboBox.Items.Add(getStructure(i).Name)
    end
    queryForm.centerScreen()
	queryForm.showModal()
	if locationListComboBox.ItemIndex >= 0 then
	    tempStruct = getStructure(locationListComboBox.ItemIndex)
	end
	locationListComboBox:Destroy()
	queryForm:Destroy()
    tempStruct:Destroy()
end
[ENABLE]
queryStructure()
local unCheckMe=createTimer()
unCheckMe.Interval=100
unCheckMe.OnTimer=function()
   memrec.Active=false
   unCheckMe.destroy()

aSwedishMagyar
Table Makers
Table Makers
Posts: 332
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 347

Re: Basic UE4 Win64 Base Table

Post by aSwedishMagyar »

gideon25 wrote:
Tue Feb 23, 2021 8:08 am
...
Dude, do you have like... negative initiative? Go ahead and try it, you shouldn't have to get confirmation on every individual step.

gideon25
Table Makers
Table Makers
Posts: 616
Joined: Mon Mar 20, 2017 1:42 am
Reputation: 391

Re: Basic UE4 Win64 Base Table

Post by gideon25 »

aSwedishMagyar wrote:
Tue Feb 23, 2021 8:38 am
gideon25 wrote:
Tue Feb 23, 2021 8:08 am
...
Dude, do you have like... negative initiative? Go ahead and try it, you shouldn't have to get confirmation on every individual step.
Of course I tried it :roll: . I was confirming if I had to lua correct. Clicking the remove structure button does nothing.

User avatar
SunBeam
Administration
Administration
Posts: 3358
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 2537

Re: Basic UE4 Win64 Base Table

Post by SunBeam »

I think what we're seeing here is a combination of excitement and eating more than you can chew. I'd strongly suggest putting a break on it; it's true you learn while doing it, but I would advise starting with the basics.

Get into Lua, practice it, google for code snippets, execute them, debug the lines of code in Lua Engine in CE (you can set breakpoints and trace line by line), understand what the code does.

Then open celua.txt from CE folder and combine standard Lua with CE-Lua wrappers designed for game-hacking. Google is your friend, the Lua section on this site and [Link] as well. Everything you need is right there, online.

I too am not Lua proficient, I sometimes go ask Dark Byte or Zanzer for support, but only when I know the knife's hit my bones (expression: when I am really compelled to). Apart from that, there's no "I don't know Lua like you do", "you're better than me". Just set your goal, start at it, try to accomplish it without any human interaction but just doing research: searching on google or other sources. The road will be long, but that helps set in the "getting used to it" feeling you'll thank me for later on.

Your problem now, gideon25, is you want to do a lot of things with minimal knowledge. It's like patching an old pair of shoes that look very worn and thinking they'll look like new :D Doesn't work that way, as there will be a lot of gaps in your parkour. And the more you progress in this fashion, the more chaos you'll sink in. Will become agitated, won't find "how did I do this?" easily and eventually you'll post several more questions on the forums, annoying the life out of some users :D Been there myself, but took a step back and reviewed my approach.

If patience is not among your qualities, then I'm afraid you're off to a bumpy road at this rate.

Post Reply

Who is online

Users browsing this forum: No registered users