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 


Easy d3d mod menu

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
Lynxz Gaming
Expert Cheater
Reputation: 2

Joined: 01 Jul 2017
Posts: 199
Location: i'm lost

PostPosted: Fri Oct 09, 2020 9:29 am    Post subject: Easy d3d mod menu Reply with quote

idk if this a library or not but this make your d3d menu easier
this is my new project (pls no bully)
github : https://github.com/adhptrh/ed3d
(still got bugs)

how to install (no download)
1. make this script on top of your script
Code:
loadstring(getInternet().getURL("https://raw.githubusercontent.com/adhptrh/ed3d/main/versions/ed3d_v1.lua"))()

this will get the version 1 of the script online execute it
you can check other version inside the "version" folder in github, get the raw link and replace it

note : must use inside the "version" folder, if you take raw link of ed3d.lua outside the "version" folder, the script may change anytime and can cause error at your script

how to install (download)
1. download the ed3d.lua (can outside the "version folder")
2. open it and copy all the script and put it on top of your script

example code :
Code:
loadstring(getInternet().getURL("https://raw.githubusercontent.com/adhptrh/ed3d/main/versions/ed3d_v1.lua"))()

local d3dobject = ed3d.createD3DHook()

d3dobject.createForm("f1","My First Form",350,170) -- formname,caption,width,height
d3dobject.createForm("f2","My Second Form",250,90)

d3dobject.createOnOffToggle("oot1","This is on off toggle 1","f1", 10,30) --name,caption,formname,x,y
d3dobject.createOnOffToggle("oot2","This is on off toggle 2","f1", 10,50)

d3dobject.createButton("btn1","This is button","f1",50,110)

d3dobject.createLabel("lbl1","this is only label","f2",10,30,12) -- name,caption,formname,size,x,y
d3dobject.createLabel("lbl2","this label 2","f2",10,50,12)

d3dobject.formToTop("f2") -- make form "f2" on top

d3dobject.onclick = function (sender,x,y)

   d3dobject.formDragToggleClick("f1",sender,x,y) -- make the form drag mode if the form clicked
   d3dobject.formDragToggleClick("f2",sender,x,y)

   d3dobject.OnOffToggleClicked(sender,"oot1","f1",
      function()
         -- on
         d3dobject.getComponent("lbl1","f2").text = "kool"
      end,
      function()
         -- off
         d3dobject.getComponent("lbl1","f2").text = "yes"
      end
   )

   d3dobject.OnOffToggleClicked(sender,"oot2","f1",
      function()
         -- on
         d3dobject.getComponent("lbl2","f2").text = "kool"
      end,
      function()
         -- off
         d3dobject.getComponent("lbl2","f2").text = "yes"
      end
   )

   d3dobject.buttonClicked(sender,"btn1","f1",function()
      -- clicked
      d3dobject.getComponent("lbl1","f2").text = "cool btn1 clicked"
      d3dobject.getComponent("lbl2","f2").text = "cool btn1 clicked"
   end)

end


d3dobject.onkeydown = function(vkey,char)
   d3dobject.guihideshow(81,vkey) --press ctrl + q to hide/show gui
end


result :


currently theres only 3 components : onofftoggle, button, and label

_________________
discord : Lynxz#2527
Back to top
View user's profile Send private message
ByTransient
Cheater
Reputation: 0

Joined: 05 Sep 2020
Posts: 26

PostPosted: Fri Oct 09, 2020 11:47 am    Post subject: Reply with quote

I've never used "d3d" before.
But when I install your script it gives the following error;

"Failed to create D3DHook
Error:[string "_G["ed3d"] = {}..."]:7: attempt to index a nil value (local 'dobj')"

or

"Failed to create D3DHook
Error:[string "
..."]:8: attempt to index a nil value (local 'dobj')"

What should be done?
Back to top
View user's profile Send private message
Lynxz Gaming
Expert Cheater
Reputation: 2

Joined: 01 Jul 2017
Posts: 199
Location: i'm lost

PostPosted: Fri Oct 09, 2020 12:30 pm    Post subject: Reply with quote

ByTransient wrote:
I've never used "d3d" before.
But when I install your script it gives the following error;

"Failed to create D3DHook
Error:[string "_G["ed3d"] = {}..."]:7: attempt to index a nil value (local 'dobj')"

or

"Failed to create D3DHook
Error:[string "
..."]:8: attempt to index a nil value (local 'dobj')"

What should be done?


make sure the game run using directx9 or newer and dont forget to attach to the game

_________________
discord : Lynxz#2527
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions 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