New FLhook
-
There is no SDK. All of FLHook has been built through forced Assembly hooking into the game, not by some sort of designed API that was part of the game.
I think reprogramming the entire thing in Delphi would be a lot more wasteful than getting to know C++
-
Actually I want to build a comeplete FLhook from scratch, not just a plug-in for existing FLhook
So if there is somebody who has information about that i would really appreciate
And learning how to do good programming in C++ will take far too much time, I understand a bit of it but learning it all over again like i did with Delphi, would probably take me 2+ years like it took me to learn Delphi
So if you just could give me some hints of how to call the procedure/functions and the parameters that i need to pass would be great as for the fictions I have to export and the parameters i must pass on to the FLserver.exe in order to get this baby rolling
Thx for your assistance
-
Is delphi your 1st programming language? It is usually way easier to learn additional ones since (mostly) jsut the syntax changes.
No offense intended, not even I know much about assembly, but assembly is LOW-LEVEL programming. You have to manually move adresses n stuffz, if I am not mistaken. It is how the processor works with the data.
Plus, if you want to write a new FLHook then - You will need to learn assembly, right?
C++/Delphi is nothing compared to it!
Better spend the same time learning C++, it should be much easier. I guess a lot can be done in C++ learned in max. 1 year, but nothing with assembly learned in the same period. A friend told me that you even have about four times as much assembly code than you have at C++, though this of course also highly depends on the code. Evne at the university he only learned a bit of assembly.
http://en.wikipedia.org/wiki/Assembly_language#Assembly_language
Here is an example code:
http://www.assembly.happycodings.com/code24.htmlAssemble is WAY more different from Delphi/Pascal than C++ is.
So…some suggestions;
1. Learn C++ and continue using it in FLHook
2. Learn C++ and write a Delphi plugin (Idk how much C++ skills would be necessary)
3. Hope that another member of this community writes a plugin for you, maybe ask for it. If you want to increase your chances you might want to offer the coder that you code him certain features/whatever in Delphi for his server in return. Might take the least time of those three suggestions. Aside of learning assembly, which would require surely even more time. -
-
Why not? Write SharpHook )
-
Many thanks already for the advice and links, I will look into all that and see what i can come up with
My first languege was Basic… D’oh, really old stuff… From there I upgraded to Delphi which is very powerful, at least as powerful as C++ but all managed differently, all is object based and doing assembler code i think that i will have to grow myself a second head before I understand that lol… In Delphi no need to shift memory and so, it does it all on its own as C++
And if anyone has any leads on how and which routines need to be called and exported I will be greatful for it
Regards Alex
-
To what is C# compiled then? To some kind of “intercode” such as Java? Means, that it get intepreted by the machine (an interpreter) an additional time?
-
Java gets compiled to Java bytecode. My understanding of the runtime is that everything that can be run as machine code is compiled and executed, and the rest is interpreted.
C# is compiled to MS’s Common Intermediate Language and then assembled into a form of so called bytecode and a .NET assembly is created.
We seem to be heading off topic here though, let’s try to get back to the original topic so this thread doesn’t end up getting split.
-
https://code.google.com/p/flhook-net/ something