EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   backstabs (https://www.eqemulator.org/forums/showthread.php?t=1400)

Trumpcard 04-27-2002 11:53 PM

I can give you a really good free 32bit C/C++ compiler, but cant promise you it will compile this code, but give it a try and let me know if it works. I use to love using it in college.. And its got an IDE based on the old Borland one, which rocks if you ask me (The IDE is called RHIDE..

www.delorie.com

called djgpp.. Since its based on gcc, I would think you make me able to make it work switching some make defs around..

You could also download Cygwin, its got gcc in it..

ryco 04-29-2002 06:38 AM

Actually could you just post the thing a link to the file you compiled ? would make things real real easier for me ...
thanks

devn00b 04-29-2002 09:36 AM

i would but im not sure the devs would like me postting that here... if one would care to give me the okay i'll postt a link to the compiled one for you.

ryco 04-30-2002 12:23 AM

True... Just mail it to o_billy1@caramail.com if you wish =)

Thankies

Ztaar 05-15-2002 01:15 AM

Just as a followup....
I think the original formula is actually correct. Been doing some research on it and it appears that there has only been made a slight mistake.

Original formula :
max_hit = (sint32)(((float)primaryweapon->common.damage * 2.0) + 1.0 + ((level - 25)/3.0) + ((GetSTR()+GetSkill(0x08))/100));

The correct formula looks pretty much like it, but should be like this :
max_hit = (sint32)(((float)primaryweapon->common.damage * 2.0) + 1.0) * (((level - 25) / 3.0) + ((GetSTR() + GetSkill(0x08)) / 100));

Amazing what a calculator can do for ya :)

Ztaar
-- Nunc ille est magicus --


All times are GMT -4. The time now is 01:21 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.