![]() |
[guide] recommendation (thx to torune)
Im learning asm atm and I thought it would be a good idea to use Torunes Rec code to teach myself and others on how to code.
*Note* this is not complete.. the parts I left out are the part I do not understand. Im hoping someone can continue on this guide or ill update it later. P.S.: Guide comes with an awesome ASM reference page http://templar-studios.com/Partial_Guide.rar If i messed up on anything, please correct me. This is a learning process! :) Edit: Take word wrapping off if you use notepad |
Awesome job my friend!
Ill look in it harder.. hopefully it will open up some doors to me :] |
good guide
|
Yeeeeeaaa. :D
Now I can take a look into asm with this guide. Thanks to Torune, and thanks to Thalone. :) |
I have a proposal for you Gin :p
Let us join together.. all that still believes in sharing their work for other's help.. not fucking selling them for money.. Teach each other and learn slowly. I know it might sound retarded.. but better than any? :p The last resort to save L2 community imo. |
damn that reference page is very nice thalone :thumbleft:
|
never tried asm, gonna try it out thx for the guide and your time :)
|
Dude freaking awesome man. Your the man
|
Got another question though. How do you know the function names of the l2server? Or do you have to write all functions yourself? Take fSendToSinglePlayer in example. It's used in the dll part multiple times, but is this simply already in the L2Server?
|
yeah, thats already in L2server... I dont know how torune gets it though.
This is all a basic guide so hopefully torune or someone whose good in asm can help us out a bit and fill in the blanks. From this we can move on and hopefully work on things like CP/autoss Thanks for all the replies ^_^ |
Here is the online version of the reference page:
http://templar-studios.com/asm/Reference.htm Here is a ASM Common instruction tutorial: http://templar-studios.com/asm/Common_instructions.htm For some GREAT C++ tutorials check out: http://www.cprogramming.com/tutorial/lesson1.html If you have any questions, feel free to pm/reply and ask. Ill answer if I can ^_^ |
U can use ollydbg program for debuging l2server. Then u will see ... I think good idea will be start new dll form 0. Coz i dont know how to make new dll. Can somone write guild about this ?. We dont need share. We need only someone who will be write basic info about this.
|
thats what im trying to do Duna... as I learn I will teach others
|
Aspire posted an exmple of a full DLL source somewhere, will you be able to use that for making more guides Thalone?
|
looks good
i might post macro's source code later. |
Hello, and thanks. :wink:
To continue with comments, the basics of asm are not that hard. The problem is the call of function, and the use of some particular adress when we don't even know what is on it. I think that the main part to learn, and it seems to be a loooooong way to check this out. |
Code:
#include <windows.h>So, let's try fill it. =) P.S. Big problem for me it's attach dll to server.exe ) Dll, that i attach to post, compiled from ASM code that Aspire post. I can't test it, but you can do it (if you interesting this certainly) ;) Вложения из исходного сообщения (сами файлы в копии отсутствуют): li2patch_690.rar — 2286 байт |
push 7ah; // _S__7A_SYSTEMMESSAGE , a SystemMessage Packet
push sFormat_1; // TEXT_TYPE format ? push pSocket; // UserSocket where the packet will be sent ? |
Torune has gained my respect back. Props to ya all for this. Tutorials is what we needed, not full shares. :D
|
I believe www.codeproject.com is one of THE BEST places to learn about dlls.
It's frigging AWESOME there.. they have frigging EVERYTHING.. but asm. |
Quote:
I know I'm new around here but I am going to take a stab at making my own basic C4 dll that will fix CharInfo and UserInfo packets based off some asm code aspire posted. It'll be a learning exercise for me, at least. I'll be trying this after I do my college homework. If I get anything substantial I will try to post it. Wish me luck! |
Best of luck :]
|
i updated the tutorial a little... torune said some things are out of place and im trying to figure out where, after i do ill post new code with comments.
Hopefully this can be a change from full shares to tutorials so others can make there own stuff |
Thalone:
Great idea about this way sharing. Thanks! |
Quote:
|
Quote:
|
|
Quote:
and thx for this share its gr8 |
| All times are GMT. The time now is 22:59. |