![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Ok, since some people suggested we should just stop talking about C2 in the FBI thread, I've decided to take it here. For those who don't know, I've been wanting to work on C2 for a while now, and I've finally started fixing all the stuff that was left over from the old Project C2 Beta files. Since I've mentioned this, there were a number of people who expressed interest in doing some development work, so if anyone else might be interested, you can post in this thread. The majority of the work we are doing involves working with our own dll that is based on mcrabben's l2extension project. In fact, it's kinda like l2extensionextension :P
Basically I've been working on modding out what's not needed in the dll and then creating new function hooks for stuff I need to work with to get things working on C2. For a sample of what I've been able to accomplish so far, see here: ![]() There's still alot more we're gonna work on, including recipe shops and the other features that were brand new in C2. This project is very doable and if you're interested in helping out and you know some c++ and asm or maybe you're an AI god :P, then let me know. For those who are asking why start a C2 server, well I'd have to say first that its for the memories, second for the pvp because I've never had more fun pvping in any other chronicle than C2(and lots of others agree) since you don't have seriously overpowered mages and necros, third I think that the world of Lineage 2 is too big in C4-C5 for private servers who aren't pushing 5k users like retail (too many places to hide out such as necros/catas/new c4 areas) and this leads to less pvp. When you can only xp at the higher lvls in LoA and ToI, there's really only two places people can go. I remember the days of C2 when I played retail. Two alliances controlled ToI and LoA. If you weren't in them you'd be pk'ed on spot :P and if you were in the enemy alliance, you always knew where you could go to find pvp at any time of the day :P Anyway, aside from just straight up learning some cool stuff to do in c++, it's just for fun! EDIT: btw, I know this thread is not exactly a l2 server modification yet, but it will most likely have mods posted in the future :P |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 281
|
if i have time i'll help u...
like i said before in the fbi thread... |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
Nice, Henna...I was going to get those added...did you ever get all that SQL code to work or not :P?
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Nah I haven't done the sql side of it yet. I get sidetracked so easily. The biggest thing that is pissing me off right now that is completely unrelated to the programming side of things is mob pathfinding. For some freaking reason sometimes mobs either lose their path or cant find a suitable path to follow and "skip" across your screen on their path to you. Like you'd see them when you hit them and instead of seeing them run after you, they kinda port from spot to spot until they finally get close to you. It's driving me nuts and the only thing I can think is that there's not enough links to pathnodes for them. I had to use HD's pathnode generator for the c2 areas I added because using the C4 pathnode won't work. I also tried generating a new pathnode using the pathmaker prog that came with c4 but the server wont use it for some reason. It doesn't complain that it wouldn't load, it just won't use it in game. So now I gotta sidetrack and research pathnode to find out if there's gonna be a way to fix this.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
well,in my opinion I wish no other chronicle than C2 was never out,and last days I was searching for project beta C2 server files :P
If you need help we are here to make this possible...good luck. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Glad to see more people getting interested :P Maybe we can all work together and have a "community" c2 server hehe
Did you find the project c2 beta files btw? If not let me know I can get those to you. The biggest problem I had was finding a patch for the C2 client lol Anyway, I'll post some of the items that I'm currently working on and then maybe we can get a little more organized. I'm going to post some interesting functions we may want to look at later too. -------------------------------------------------------------- EDIT: Some interesting functions we will probably need to make use of for the manor system: MANOR RELATED ============= unicode 0, <double CCastle::SaveCropData(unsigned int nI> .rdata:005C5D08 unicode 0, <temClassId, int dDropRate, int nPrice, int n> .rdata:005C5D08 unicode 0, <Level)>,0 .rdata:005C5DC8 unicode 0, <double CCastle:: DeleteCropData(unsigned int > .rdata:005C5DC8 unicode 0, <nItemClassId)>,0 .rdata:005C5E40 unicode 0, <double CCastle::SetCropPrice(unsigned int nI> .rdata:005C5E40 unicode 0, <temClassId, int nPrice)>,0 .rdata:005C60A0 unicode 0, <bool CCastle::SetCropPurchaseCount(unsigned > .rdata:005C60A0 unicode 0, <int nItemClassId, unsigned int nCreatureInde> .rdata:005C60A0 unicode 0, <x, int nCount)>,0 .rdata:005C6608 unicode 0, <bool CCastle:: DeleteCrop(unsigned int nItemC> .rdata:005C6608 unicode 0, <lassId)>,0 .rdata:005C6C80 unicode 0, <double CCastle::SetCropDropRate(unsigned int> .rdata:005C6C80 unicode 0, < nItemClassId, int nDropRate, int nLevel)>,0 .rdata:005C6D30 unicode 0, <double CCastle::SetCropData(unsigned int nIt> .rdata:005C6D30 unicode 0, <emClassId, int dDropRate, int nPrice, int nL> .rdata:005C6D30 unicode 0, <evel)>,0 |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Oct 2006
Posts: 120
|
is it possible to do this with the c4 retail files?
i mean to remove extra stuff and change what needed to c2? |
|
|
|
|
#8 | |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
Quote:
I didn't find them I would really appreciate if you could give me a link with the files..:P And I hope I will find the client and patch so I can get in action :P |
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
It would be too much of a hassle .. The packet structures are far too different in C4 to reverse them to C2. The other issue I don't have the experience with is writing 64 bit dll's, which is what you'd have to do to make C4 work with C2.
|
|
|
|
|
#10 | |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Quote:
I'll go ahead and and rar up my development files and try to get that uploaded tomorrow when I have a faster connection to upload with. I'm not sure how I'm going to post the client, I'm guessing I'll prolly do it in sections of 500 megs each, but I'll try and do that tomorrow as well. |
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Ok I need to figure out a way to check the current skills you have applied at the moment. Skills like focus, guidance, death whisper etc.. Any skills that are currently in your buff bar. I don't mean skills that you can use, but skills that have been cast on you. Anyone know of a function in l2server that gets that information?
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
For debugging purposes or if you are just generally interested in outputting text to the server console, you can use this function:
Code:
void ConsoleMessage(WCHAR * pMessage)
{
DWORD message = (DWORD)pMessage;
__asm
{
push message
push 0 //Message colors: 0 for black, 2 for red
push 18AA81D8h
call LOG_ADD //DWORD * to address of log_add function
add esp, 0Ch //fix stack pointer
}
}
Possible reasons for wanting to do this: 1. Just to look cool when loading ExUser lol 2. Debugging 3. Prompting admins when something bad happens or whatever your mind can think of |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Mar 2006
Posts: 135
|
I actually have Prelude through C5 clients downloaded and ready to go there. If you need it...I suppose I could upload it eventually...
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Yea that would be really sweet if you had the chance to upload the C2 client. I've got the patch for it which I can easily upload, but I was waiting to get some good bandwidth before I uploaded the whole C2 client.
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Apr 2006
Posts: 40
|
Would you guys like to share a very basic project, so that the rest of the people who are interested, have something to work on?
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Here's a link to the old Project C2 Beta 3 Final pack .. There's a slightly patched l2server in there that should have the casting bar fixed .. There's still a bunch of other hexing you'll need to do but I'll let you figure that out :P
http://www.mydatabus.com/6z/tznvy.pb...eta3-Final.rar ppoldpack |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
thank you,downloading right now..
![]() Also found the client on filefront (it was quite easy) now searching for patched system |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
I hope it will,think positive:P
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Apr 2006
Posts: 40
|
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
yeah sure here you are
http://files.filefront.com/L2+C2+Ins.../fileinfo.html |
|
|
|
|
#22 |
|
Архивный участник
Join Date: Apr 2006
Posts: 40
|
Cool. I was searching for it and couldn't find anything on Filefront xD
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
with the 98 system i have a critical "cannot find L2font package.SmallFont.gly....etc
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
I'll see if I can find the fontfix package ..
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
thx a lot pal
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|