| View previous topic :: View next topic |
| Author |
Message |
paupav Master Cheater
Reputation: 13
Joined: 15 Apr 2011 Posts: 314 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Fri Oct 14, 2011 4:18 pm Post subject: what can you do with lua? |
|
|
| what can you do with lua? i mean is worth learning it?
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Oct 14, 2011 5:21 pm Post subject: |
|
|
Lua is an embedded language, so what you can do with it highly depends on the application that is exposing it. It is not like a traditional programming language in the sense that you can have free reign in it, it depends on what the application allows you to execute, include, and have access to.
Is it worth learning? That's up to you if you feel the need to ever use it. If you want to see what is exposed in Cheat Engine, check main.lua in the CE folder.
_________________
- Retired. |
|
| Back to top |
|
 |
paupav Master Cheater
Reputation: 13
Joined: 15 Apr 2011 Posts: 314 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Fri Oct 14, 2011 5:27 pm Post subject: |
|
|
| im not shure to learn c++ or lua.. so im asking witch one is more usefull 4 making hacks?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25837 Location: The netherlands
|
Posted: Fri Oct 14, 2011 6:14 pm Post subject: |
|
|
If you want to use CE to make the hacks, lua
If you want to make your own hacks any other language with windows api access
_________________
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 |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Fri Oct 14, 2011 6:35 pm Post subject: |
|
|
| Also if you want to have fun with garry's mod, lua.
|
|
| Back to top |
|
 |
paupav Master Cheater
Reputation: 13
Joined: 15 Apr 2011 Posts: 314 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Sat Oct 15, 2011 5:17 am Post subject: |
|
|
i know to we cant talk about online hacking but is it possible to make hacks for mmogames that doesnt have gameshield (i know to most things at mmos is on server)
| Cryoma wrote: | | Also if you want to have fun with garry's mod, lua. |
so for stuff like this:
http://forums.alliedmods.net/showthread.php?p=571104
is lua?
then lua
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Oct 15, 2011 9:51 am Post subject: |
|
|
| paupav wrote: | | i know to we cant talk about online hacking but is it possible to make hacks for mmogames that doesnt have gameshield (i know to most things at mmos is on server) |
If you inject Lua into the game and implement it yourself then sure you could. Or if the game already exposes Lua, you could hook onto it and add more to it to be able to do things that are related to hacking/botting.
That isn't Lua, that's SourcePawn. It is an edited version of Pawn scripting language to work with Source servers. That's also not really a cheat, it is a server plugin. You could do cheat style things with it but that isn't what it was made for.
Doing something similar to that plugin in general is what you would want to do with Lua though. Hook onto the games core functions and execute scripts at specific points to handle actions or change memory when needed etc.
_________________
- Retired. |
|
| Back to top |
|
 |
paupav Master Cheater
Reputation: 13
Joined: 15 Apr 2011 Posts: 314 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Sat Oct 15, 2011 2:43 pm Post subject: |
|
|
| Wiccaan wrote: | | paupav wrote: | | i know to we cant talk about online hacking but is it possible to make hacks for mmogames that doesnt have gameshield (i know to most things at mmos is on server) |
If you inject Lua into the game and implement it yourself then sure you could. Or if the game already exposes Lua, you could hook onto it and add more to it to be able to do things that are related to hacking/botting.
That isn't Lua, that's SourcePawn. It is an edited version of Pawn scripting language to work with Source servers. That's also not really a cheat, it is a server plugin. You could do cheat style things with it but that isn't what it was made for.
Doing something similar to that plugin in general is what you would want to do with Lua though. Hook onto the games core functions and execute scripts at specific points to handle actions or change memory when needed etc. |
and what would you chose? (lua or c++)
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Oct 15, 2011 4:26 pm Post subject: |
|
|
They are two different things. C++ is a programming language, Lua is an embedded scripting language.
Lua depends on a host language to implement it and expose it to the user.
If you want to make things on your own, such as:
-> Trainers
-> Injected Cheats
-> Hooks
Go with C++ then.
If you want to extend something that already implements Lua or use Lua in an application that exposes it, such as Cheat Engine then learn Lua.
You are limited to what the application already exposes in Lua though. (Unless you hook onto it and all stuff yourself etc.)
Overall you are better off learning C++ if you want to learn a programming language.
_________________
- Retired. |
|
| Back to top |
|
 |
paupav Master Cheater
Reputation: 13
Joined: 15 Apr 2011 Posts: 314 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Sun Oct 16, 2011 4:39 am Post subject: |
|
|
| c++ is seems easier...
|
|
| Back to top |
|
 |
asianking Expert Cheater
Reputation: 0
Joined: 25 Jun 2008 Posts: 109
|
Posted: Sun Nov 13, 2011 6:56 pm Post subject: |
|
|
| paupav wrote: | | c++ is seems easier... |
wow, by lookin at c++, I'm already headach... glad you say it's easier... I say lua is easy to learn if there's already application that controls it... I used to use lua for mmorpg as well, but I stop playing every since that game is so pack and hard to login.
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Nov 14, 2011 7:13 am Post subject: |
|
|
| paupav wrote: | | c++ is seems easier... |
You have the wrong attitude going into this.
Nothing is "easy", you're going to have to put work into it and it's going to be hard. Sure, you could modify other people's stuff and never actually learn the language, but to learn any language without knowing much about computer science is going to be difficult.
Just a forewarning for you...
_________________
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Mon Nov 14, 2011 9:19 am Post subject: |
|
|
just learn programming basics and then go from there.
if you really know how to program, you know how to program in any language.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Mon Nov 14, 2011 9:31 am Post subject: |
|
|
| gogodr wrote: | just learn programming basics and then go from there.
if you really know how to program, you know how to program in any language. |
Not really. Syntax changes per language, along with setting up the tools to use the language you are choosing takes time to learn as well. It's not a universal thing for all languages.
Some languages are similar which are easy to go between but that's not the case with everything.
For example, in C++ a simple Hello World output to console:
| Code: |
#include <iostream>
int main( int, char*[] )
{
std::cout << "Hello world." << std::endl;
return 0;
}
|
The similar program in C#:
| Code: |
using System;
public class Hello
{
public static void Main()
{
Console.WriteLine("Hello World.");
}
}
|
Between these two languages the learning curve is very small and assuming things works well. But lets take some other languages into consideration:
Ada - Wikipedia
| Code: |
with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
Put_Line("Hello, world!");
end Hello;
|
Perl - Wikipedia
| Code: |
#!/usr/bin/perl
print "Hello World.\n";
|
OCaml - Wikipedia
| Code: | | print_endline "Hello World!" |
MASM http://www.masm32.com/board/index.php?topic=11731.0
| Code: |
.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\masm32.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\masm32.lib
includelib \masm32\lib\kernel32.lib
.data
a db "Hello World!"
.code
start:
invoke StdOut, addr a
invoke ExitProcess, 0
end start
|
Learning one of these (or any of the hundreds of others) doesn't mean you can just jump into another language without issues or worry.
_________________
- Retired. |
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Mon Nov 14, 2011 9:37 am Post subject: |
|
|
with learning programming you should learn to learn programming.
once you know how to program it is easy to search documentation and learn your way into any language.
at least that's what I was taught in university.
and if you notice, all that languages you posted are pretty similar.
|
|
| Back to top |
|
 |
|