Alright, I'm going to have to post some examples. What FNW shows in that thread is NOT what I'm seeing on the lines that show as containing errors. Here are a few examples:
This is what shows in the VS.NET compiler after trying to compile. This is just ONE example of 33 errors, all are the same, "Constant too big":
Quote:
c:\EQEmuCVS\Source\zone\AA.cpp(489): error C2177: constant too big
|
I then double click that to go right to that file and line to edit it, and find this:
Quote:
aps->experience = (int32)(((float)330.0f * (float)m_pp.expAA) / (float)max_AAXP);
|
Not the 99999990e111 type thing that FNW is talking about. Soo...what would I edit in that line? I tried adjusting the numbers in a few of these instances but nothing changed, or errors started showing up in other files. Please note that almost all of the errors that showed up contained lines like this one, with a lot of mumbo jumbo and no large arbitrary numbers such as those described by FNW.
Here's another example:
Quote:
c:\EQEmuCVS\Source\zone\aggro.cpp(896): error C2177: constant too big
|
Going there shows me this:
There are 5 lines almost exactly like this in the code surrounding that line. Why are they not pointed out like this one?
I am very new at C++ coding. The extent of my abilities include creating a hello world program in the console, and (used to be) compiling EQemu flawlessly. When I look at lines like that above though, it's a foreign language to me. I am very willing to learn, and am currently making an attempt in my spare time to work on my C++ skills, but I really need help with this.
Regards,
SI