Duel Wield / Double attack code, and some other stuff ..
I've been playing around with the EQEmu code for a bit now, so I thought I'd release the code changes I'd made to the 0.2.3 version in case anyone would like to try them too.
Here's what's different from the stock 0.2.3 ... - Double attack and duel wield implemented for the classes that can use them. - Damage calculation code re-written to use monkly business forumla for min/max hit and damage bonuses. - Basic proccing weapon support. - 2H piercing works. - Monk/Beastlord hand to hand damage/delay changes based on level - Monk epic changes fists to 9/16 - Very basic haste support (defaults to 0%, use #haste to modify) There's a textfile in the .zip with more detailed changes for anyone that wants to compile these files, or see what changes I've made. I've not tested everything extensively, so no guarentees, but it seems to work ok for me ;) Have fun :) K. |
We are not worthy! *bow* One of you devs needs to put this stuff in now! *cracks the infamous Jerle-Whip*
|
Kaiyodo omg dude thanks so frekin much!!!! Finally dual wield im really happy right now. Keep up the good work, im sure the dev's will be looking at this. :D
|
Kaiyodo, please start mailing us towels to clean up with after we read your posts ::o
|
*looks at baron sprite* .....
|
Just found a couple of bugs in my client_process.cpp releated to Beastlords and Bards, i.e. classes that get DW but not DA. I can see what the bugs are, but I'm not going to have a chance to test the fixes before my lunch hour is over :)
Here's what I think needs doing .. in 'bool Client::CanThisClassDuelWield(void)' change skill check to use DW rather than DA (doh!) in 'bool Client::CanThisClassDoubleAttack(void)' change skill check to use DA rather than DW (doh, again) Line 102, put in a check to see if the class can actually double attack before double attacking with the offhand. i.e. wrap the second attack in a if(CanThisClassDoubleAttack()) { ... } I'll post a new version of the file once I've checked these fixes work. K. |
Right, those fixes seemed to work. I've attached the modified client_process.cpp. Bards and Beastlords should be able to Dual wield properly.
I noticed a new problem while messing about with my Beastlord, you don't seem to be able to #level them in 0.2.3. It's down to the function GetEXPForLevel() in Client.cpp which contains the line : Code:
if (tmprace >= 14 || GetClass() < 1 || GetClass() > 14) K. |
Why don't you join the chat room when ya have some time? thay'd probably be the best way to get the word out about your changes since most of the hardcore users and all the coders hang out there :)
|
Quote:
|
Your additions look really good.
However I have never managed to successfully compile the EQEmu source (I have MSVC++ 4.0) and I'm sure there are many others who have the same problem or don't have any compiler at all. Is there any possibility you could release the compiled zone/world server .exe with your additions? |
I wouldnt mind that also, if you could do that kaiyodo.
|
I believe EQEmu requires version 5 of C++
|
I can certainly compile up a version, providing the dev team don't mind. I've got nowhere to host the files though, and I can't post them here as it'll going to break the attachment limit quite considerably. If anyone can help me with that, or point me in the direction of somewhere I can post the files I'll be glad to.
My versions of ZoneNT.exe and Zone9x.exe take up 468k when zipped. K. |
Can someone send me the files
Can someone compile the code he put in and send em to me? I don't have C++ or any compiler.
|
Well, I just created a Geocities website and uploaded the modified exes, here's the link ..
http://www.geocities.com/kaiyodouk/index.html Those exes are the latest ones I'm working with, only difference from the code I posted is that hand to hand weapons now work. Drop these over your existing ZoneNT and Zone9x from 0.2.3 and everything should be happy. Same disclaimer that I posted with the code applies, they work on my machine :) My ISP is having a DNS fit at the moment, I've managed to download the file once to test it, but now I can't even see geocities. If that link doesn't work, I'll try and sort it out as soon as my modem can see the US again :) K. |
All times are GMT -4. The time now is 08:58 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.