![]() |
[share]void SendMacroList()
this only gives you single macro, but at least you have something eh
its a part of code from my old l2ext.dll(junk project which was started around half years ago and it ends because somebody hacked into my server, stole all my script/geodata and ofcoz server files, lol). messy crappy code :P how it works? client sends add/edit macro list, it just dummy reply with same data. not really easy to understand what i wrote, but can be a good start if you wanna get your own dll. Code:
|
hmm, no replys, interesting
|
表示同情!
|
i would personally prefer a reply at my pm:)
|
you really get me scared :|
this looks like something good, but unfortunately i hardly understand the code :cry: seems i have to learn asm when i get some more time. maybe during the summer holidays... 'cause now i don't make a lot of progress. i started reading the "Art of Assembly" about a month ago and currently i'm on page 47 which ain't a lot facing this book has more than 1k pages T_T |
Quote:
嗷嗷后悔, 以后不贴了, 继续玩魔兽世界 |
Sorry to interupt your little chat and hijack your thread but:
9.) Posting language We only allow english post, so if you can't write it use a translator (http://babelfish.altavista.com/). You guys can post it in both languages, russian/english, spanish/english, whatever/english but always leave a english version with it. |
i do not give a damn
and i do know the rule and i dont care and if mod want to, feel free to ban/warnning me |
Thanks for the share Torune. If I continue my own project I will probably use this.
|
Quote:
я - Д'Артаньян, а вы - личеры. Хуй забаните! Sounds good, let's all do like you ;) |
Interesting, can u do a dll source with this func. ? Just for view a dll base code of L2.
Thx 4 all. |
/offtopic:
if you spend hundreds times to load up l2server, viewing the memory stack and check the dll's asm code in ollydbg, thats what i do at the beginning. /ontopic: are you blind? its dll source code |
i'm not blind torune, i say a "complete" source. only compile. I don't know how programm a l2server dll file.
thx again, i don't want distorb u. |
viva la revolution!
The question is :> Did you manage more than one? :P And yah awesome ting :P Makes me wonder how much is your experience in asm... |
Thanks man, you're a light in the tunnel :D
Off: 我们是感激的为什么您。我是外国人� �开始开发我自己的图书馆。您的代码� ��一件好事学会并且我了解大多数。很 快我将分享一些来源如果一切将工作� �好 |
well, for those who are interested in making their own dll's, i got some stuff too ;o
Code:
int RequestMakeMacroPacket(DWORD hSocket, unsigned char* hBuffer) |
Quote:
thx in advance. |
Code:
typedef struct __MACRO |
i wonder what's in pInfoTable lol
|
Quote:
Code:
typedef struct INFOEXT |
.........you guys even put TeamCircle?.........
wow, thats something i didnt expect |
i guess most stuff are the same
Code:
DWORD HairslotItemId; |
yeah... i was gonna do a builder cmd to change team for events n stuff, was just a little something we had never seen on another server :P with the userinfo struct... we just never figured out how to get it.... the pointer to it that was sent to some functions was never the same for the same person, i never had a chance to do any looking around with it though so i dont know if theres any specific function to call that returns the pointer to it...
also, we hooked the call to the send function for char/userinfo packets, instead of hooking the function from the dword table, simply because it was easyer than having to retrieve the info from the struct sent to the char/userinfo functions, though now im starting to think that it may have been wise to do that instead, as i wouldnt need to find out how to get the userinfo struct cos it would be sent to the func for me xD |
Hmm, thanks, I'm beginning to understand more what you guys are doing. :) Thanks both Torune and Testdude.
|
Quote:
|
Quote:
|
actually ..
at the start of any class function, ECX is always the pointer to the instance (at least in VC++/VS) |
| All times are GMT. The time now is 16:23. |