VERSION READING

12/08/2017 05:58 Zeljian#1
Hi Epvpers im asking some question about version reading in source.,

now if v15 source were can we define the version of v16 skills in propskill.txt column?
same as in propitem.txt i want to implement the propitem.txt not Spec_item.txt
and were can we define version of Spec_item.txt column.

thanks.,
12/08/2017 08:37 Dr. Peacock#2
Upgrade your Source to v16?
#undef __VER
#define __VER 16
Include some v16 things If needed.

Am i right that you want the specItem Parameter at propItem? ò.Ó
12/08/2017 19:59 Hekmatyar#3
Why run #undef when you can just changed the original define since you're not doing some special black magics with it.

I am not sure what you want, Zeljian. Could you possibly be more descriptive whilst explaining what you want?
12/09/2017 12:29 Dr. Peacock#4
Quote:
Originally Posted by Hekmatyar View Post
Why run #undef when you can just changed the original define since you're not doing some special black magics with it.

I am not sure what you want, Zeljian. Could you possibly be more descriptive whilst explaining what you want?
[Only registered and activated users can see links. Click Here To Register...]
Code:
Check your Neuz ;)

#define __VER 19
....


#undef __VER
#define __VER 15

:D
12/09/2017 14:27 Hekmatyar#5
Its ran right there if internalserver is defined. that is fine. It is black magics internal setting control.

What I mean is, I see lots people do

#define __VER 15
#undef __VER
#define __VER 19

at the beginning of file.
12/10/2017 03:46 Zeljian#6
the column of the propitem.txt //ver column, if the code

16 II_SYSLORDCLOAK thte item is not working., if i change to 15 its working.,
12/10/2017 04:28 Hekmatyar#7
Quote:
Originally Posted by Zeljian View Post
the column of the propitem.txt //ver column, if the code

16 II_SYSLORDCLOAK thte item is not working., if i change to 15 its working.,

It is because
Code:
if( nVer <= __VER )
		{
			m_mapII.insert( std::map<std::string, DWORD>::value_type( prop.szName, prop.dwID ) );
when it reads the propitem file. You can change the values to 15 or you can comment out the if part. That will allow items with separate versions that are above your version define to be added.

that is if you dont want to increase the define to 16.
12/12/2017 05:31 Zeljian#8
its fix now., thanks