View previous topic :: View next topic |
Author |
Message |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Wed Mar 02, 2016 6:51 am Post subject: error with sockets |
|
|
I am trying to get started with sockets, my first goal is to create 2 trainers that run on different pc's in the same local network, where
the server's trainer form has a text field
the client's trainer has a label
And as soon as I enter something into the server's textfield, the text appears in the client's label.
My problem: I have no idea on how to do it. I googled around and read that I need to look into sockets, so I downloaded http://cheatengine.org/temp/ce_luasocket.rar, extraced it in the CE main folder and ran the 32bit version of CE as administrator. (my pc is 64bit but DB said in this thread that you need to use the 32bit version, for whatever reason).
I used Code: | socket = require('socket')
print(socket._VERSION) | To see if it worked, but I get an error: Quote: | Error:error loading module 'socket.core' from file 'C:\Program Files (x86)\Cheat Engine 6.5\socket\core.dll': The module could not be found
script error | Or something like that (its in german, I translated it manually).
Whats wrong?
|
|
Back to top |
|
 |
Ludwig Advanced Cheater
Reputation: 0
Joined: 10 Jan 2016 Posts: 68
|
Posted: Wed Mar 02, 2016 2:57 pm Post subject: |
|
|
hxxp:**cheatengine.org*temp*celuasocket.zip
this worked for me
xx=tt...**=//
|
|
Back to top |
|
 |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Wed Mar 02, 2016 3:43 pm Post subject: |
|
|
Ludwig wrote: | hxxp:**cheatengine.org*temp*celuasocket.zip
this worked for me
xx=tt...**=// |
Didn't help, problem persists... btw to post URL's use [url][/url]
|
|
Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 958
|
Posted: Wed Mar 02, 2016 5:26 pm Post subject: |
|
|
Try check the date of *.dll inside zip/rar, it is not for ce 6.5 if before late 2015.
Also try check the lua variable package.cpath, it is a string of paths ';' separated, check if the dll is in one of path.
btw, ce lua dll module may need custom made/compiled.
bye~
_________________
- Retarded. |
|
Back to top |
|
 |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Thu Mar 03, 2016 1:03 am Post subject: |
|
|
panraven wrote: | Try check the date of *.dll inside zip/rar, it is not for ce 6.5 if before late 2015.
Also try check the lua variable package.cpath, it is a string of paths ';' separated, check if the dll is in one of path.
btw, ce lua dll module may need custom made/compiled.
bye~ |
I used Code: | print(package.cpath) | and the dll from the error message is NOT listed there.
I checked the date of the file and it says 2012, does that mean I need an older version of ce to get it to work? And if yes, which one?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Thu Mar 03, 2016 3:11 am Post subject: |
|
|
try 6.4
or find a luasocket build compiled fir lua 5.3
_________________
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 |
|
 |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Thu Mar 03, 2016 7:09 am Post subject: |
|
|
That did the trick, finally works!
Thanks everyone
For everyone who stumbles about this thread because he has the same problem:
Step1: Download CheatEngine 6.4
Step2: These are the socket files you will need
Step3: run the 32bit version of CheatEngine, even if your computer is 64bit
|
|
Back to top |
|
 |
|