![]() |
tomorrow ill work on clan penaltys :)
|
Turns out I cant compile the dll cuz i'm missing windows.h ._.
Free version of VS2K5 ftl :( |
get the plattform sdk here :
http://www.microsoft.com/msdownload/...sdk/sdkupdate/ |
Quote:
Ok so i'm totally noob at this but i'm trying to learn...how would I use the code above in the DLL? |
I fully support your right to make money off of your hard work, as it's certainly a worthy endeavor you're partaking in, and if it comes to fruit, will be a great boon on the community.
However... Quote:
Yet right under that, you say people aren't allowed to sell it, or use it at all in anything that involves them making money, including using it on servers where the operator makes a profit. You can't release something under a license, and then say "disregard part so and so". It leaves you no legal options if someone is violating the terms you mean to set, but are allowed in the actual license you released it under. So, if you're against people using this for money, you might want to choose a different license to release it under :) |
yeah I'm sure the people running a ilegal l2 off server will back off the MIT license ~_~
|
I'll look into this, And see what i can contribute, I also pmed you macraben
|
Meh, I'll rewrite my own License file then :P The code you have now is only a skeleton frame. That much of the code is just fine, M.I.T. license or not :P
BTW, Packet Dump of an AutoSS packet: Packet Dump: d0 05 00 ba 05 00 00 01 00 00 00 :) |
Would someone mind posting the steps one would take to complete a basic fix...like getting the packet info and so on.
Trying to learn so what i'm gonna work on is changing the systemmessage when you heal/someone heals you. "BlahblahHP has been restored by blahblah" |
The code I posted already gets the packet headers for you. If you want to get a specific part of the packet, set header (I renamed it to pBuffer now) to + x bytes, depending where the data you want is. Then read a DWORD (4 bytes) worth of data and store it for your use.
Here is a packet dump function which I will share: Code:
// Allows for the complete dump of a packet to the log fileAlso, here is how you access the SystemMessage functionality in L2Server. See L2J for an idea of all the possible combinations and values. It is a pretty robust packet format. Code:
//SystemMessageEnishi: I am not sure exactly which packet handles healing. It might be an internal call to send a SystemMessage packet that will need to be hooked and changed to show the HP healed. I'm not sure on this yet. if it is a specific packet for healing, then hook it, call your own function, and write the code to handle it. |
Quote:
Wish I knew more programming than the junk I picked up in CS1, I'd love to help out. |
Quote:
|
Quote:
Umm I would just like to point out that in retail you can infact have 40 members in any level clan. It was a update in c2 however it seems to be a little known fact. "2. The game was revised so that, while the maximum number of clan members had been 40 when the clan level reaches 5, the maximum number is 40 even before the clan reaches level 5. The number of clans that can be included in an alliance was increased to 12." http://www.lineage2.com/news/chronicle2_15.html I know it is kind of offtopic but when I see you write this code I feel it is neccessairy to point it out. |
I have a hard headache, plz someone that know good the packets can tell me
what is wrong here ? The server don't crash but don't showme the recipebook empty. Code:
const char * format = "cddd"; |
Dude, you should of showed me on MSN :) I'll talk to you about it later. After you wake up, heheh.
|
Sorry ppl in 1st post i made mistake now all fixed
Code:
//clan limits |
Hi and thx for sharing your source work.
I'm willing to do some research on clan rights, using your dll to catch this kind of packets, and use some own table to store rights. So, when someone send to the server the packet implying any of this rights capture with dll the packet, do the dirty job, and send finally a totally autobuild (by the dll) the packet to the cached exe (or l2server...I need to study it). This is the idea...now the question/problem. You can call me stupid noob if the question is so categorized. :D I have a personal server at home running a C2 (maybe I'll update it to C3), and that is all I have for doing research and test. Would be useful later to all of you?? Or Is totally needed I run up a C4 to my work be useful for the community? Thx for the responses, and will be pleased on help/ideas about that. |
I was looking for some information about fishing in L2J server website and i found a Fishing engine (which was posted by [glow=red:1c88000d9a]Nemesiss[/glow:1c88000d9a] ). This engine contained html's and more ;)
I hope this will be usefull... (don't flame me for sharing it, this is just for studing purpose) All credits goes to Nemesiss and L2J community Вложения из исходного сообщения (сами файлы в копии отсутствуют): fishing_212.rar — 136472 байт |
Quote:
AutoSS have 2 parts 1 message system+shortcut engine 2 inventory service patch. both parts have diferent headers but almoust same struct. |
@montejo1974: I am doing all of this on a C4 client. the goal is to make a C4 DLL, since most people run C3/C4 servers.
The correct procedure for handling packets is this: Client sends a packet with header 0xXX (my ReceivePacket function handles this). You make a function to send a packet back to the client using the fCUserSocketSend function, the proper pSocket, the proper format, the right packet header, and all the variables. See the L2J source for examples of how to handle packets, what headers correspond to what, etc. Here is the L2J codes for handling client -> server packets: Code:
switch(id)Btw: inside the ReplyRequestShowMiniMap() function I added a pSocket check just in case a socket goes bad on you: Code:
if ( pSocket != NULL )@draft: I know that there is more than one part to AutoSS. I have the message system for enabling and disabling in place. I'm working on the actual automatic use of the soulshots now. Just because I post a packet dump doesn't mean I don't know about the other parts in the process. I will say this to everyone: we all do what we can do. Don't treat anyone like an idiot because they post a something and you want to act better than them. It'd be better to actually post something useful. |
Everyone else I have had attach it has no problems. Maybe your exe isn't compatible. Use an original C1 exe, or the PP release exe. I know the PP release will work with this dll just fine.
|
Open the exe in STUD_PE Exe Injector. Go to functions.
Click "Add new import" Select "Open DLL" Select the L2EP[Elhaym].dll Click "Select import function" Select "DllMain@12" Click "Add to List" Click OK. That should be the entire process... |
Quote:
Thans you very much for the answer. |
Quote:
Keep up the good work ! |
Where you were earlier guys?! :D :P
... Adding ave_big_head (Abnormal), maybe not working ... Thx to Aspire for HEX. Code:
#include "headers.h" |
Maybe :d this info is useful too?
btw seems sun he finish his L2server version) Quote:
|
*delete*
|
Just as a response to recent posts...
Code:
{00}Pointer($005010F0),//VersionPacketCode:
procedure SetPacketHandler; |
Quote:
[offtopic] And you sayd you where not active huh :) [/offtopic] |
Livid:
wow dude... send me ur paypal / WM... i wanna donate for that share... |
Any update on your project mcrabben?
|
Quote:
|
Quote:
|
yes i whant to help al littel but
|
I'll share the Party functionality fix, since I got some parts of the fix from files out there.
It's all in assembly, since that was the easiest way to do it, considering how I have to keep everything in certain registers and all. I could do it all in C++, but, more effort than it is worth. Code:
const DWORD * TEMPLATE_GET_USER = (DWORD *)0x00517B90;Code:
// Fixes the RequestParty functionality in C4 by converting theCode:
// Fixes the AskjoinParty packet that is sent to the client.If someone has my code, the RequestPartyFix is called from the correct case (0x29) and will automatically fix the packet. The other fix for the AskJoinPartyPacket should be easy to find if you know how to search for packet functions in the L2Server. If not, there are tools and files out there to help you. A note to everyone: I still want to help everyone out there with more code, but at the same time, I will not force myself to code for so much time, only to give it all away. I know a lot of people here want to learn, and that is why this thread was started. So you can learn. There are lots of examples in my older versions, as well as code snippets throughout this thread. The DLL is just barely mature enough to finally be used live, coupled with the correct EXE. It has been running well, which is nice. The couple of us that work on this project hope to keep working on this as we go, and see how it all comes along. |
Thank you for some more dll tricks to learn...
|
Quote:
So I'm glad you have your non-public upates. That's not why I'm here asking unfortunately. |
Quote:
goodbye dude. |
Need Help :) maybe somebody can tell me where a mistake, in dll
push header packet = 0xdf in client got 0xc6, push 0xba got 0xa1....... |
Quote:
When I ask about updates, I'm talking about updates to the supposed "project" you started (well YOU actually had nothing to do with it being started). Plenty of people contributed meaningful knowledge at the beginning of this thread before it apparently went "closed-source" and no one was adding new posts so I was trying to revive any discussions that there were. In fact, you could almost say you were "leeching" information from other people in the beginning when you had no idea what you were doing. That being said, please don't make anymore argumentative posts. If you have something meaningful to contribute, then by all means please speak up. |
| All times are GMT. The time now is 14:48. |