![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
Introduction:
I know that the original C1 modded servers are pretty much dead when compared to the C4 servers, but I have included the entire source code for this project (an extender DLL for those who don't know). I want to give thanks to Alien003, testdude, RipperX, Annatar, Nevyn, and the support of many other people who supported me the 6 weeks or so I worked on this project, and those who contributed code. This was my first ever DLL hack, and my first ever major assembly job. I must say I amazed even myself that I was able to learn all of this in such a short amount of time. The original thread about the beginnings of this project, as well as real old skeleton code, is here: https://postpacific.loc-online.com/f...ead.php?t=4833 About the Source: All of this code is unchanged. It works. There is one bug with the CP damage, however. The damage won't register as it is written now, but if you take out the check for pAttacker being a Player Character you can see mobs and people attack you and take your CP. The problem lies in the pAttacker variable of CombatPointsDamageHandler(). It is ALWAYS NULL whenever I pass it, so I must assume I accidentally passed the wrong variable when I was moving the code. I would fix it, but I've moved on to the C4 platform and playing with that. The night I got this version done I had to leave, then later move 100 miles, then live with my parents for a while before I went back to my University town. I will be moving again in a few days. You can say I've been busy. One last thing about the source is that ReportInterface and ODBCInterface are NOT my classes. I was given them during the time I was working on this project. I know the original author of the ODBC class was someone named Maya (or similar) who worked on a DLL project long, long ago. ReportInterface might be tontor's since it works almost the same way as his patch does. I made a few changes in those files, trying to get debug output, but you can always take the changes out and uncomment the original lines. It's pretty easy to see what I changed. Some Files I Can't Share Hairslots was working on my test server through a DLL I was provided. I know how to do them, but at the time my goal was to catch up feature wise to other DLLs, so I wasn't going to recode something I could hex or attach a small DLL for. That's why not everything is in the code. Some fixes are in my EXE file. Hairslots was in a DLL I was given. How to Make a Test Server If you wish to use this to create a test server that people can play on, simply get the C4 Hex Fixes Pack (and maybe the C3 Fixes pack) provided by HF and use the fixes you need (Warehouses, Private Stores, etc.). You can attach the compiled DLL to the server EXE using Stud_PE or many other PE import adder programs. I would provide my EXE with all the hexes and the DLL as well, but the DLL is not mine to give out. If I get permission from someone, maybe I'll share it along with the EXE. Conclusion: I attached the L2EP 'Elhaym' v0.8c source code and project below. As long as this code is NOT used to make profit in any way, you're free to use it for learning or on an actual server. I make no warranty, so if your house explodes, too bad ;P Hope some people can learn about how a project like this works, make progress on some C4 -> C5 changes, and if you have any comments, leave a reply here. I'll try to answer questions people might have. Disclaimer: This DLL will NOT work for the retail C4 server files. This is only for the older C1 -> C4 modded files. Вложения из исходного сообщения (сами файлы в копии отсутствуют): L2ExtensionProject_v0.8c.rar — 1810122 байт |
|
|
|
|