Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 06:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

Discussion on [SAMMELTHREAD] Metin2 Source Compile Tips/Tuts within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 01/25/2014, 17:39   #256
 
elite*gold: 0
Join Date: Sep 2010
Posts: 31
Received Thanks: 6
What client should i use for the UserInterface compiled from novaline?
adi97ida is offline  
Old 01/25/2014, 18:35   #257
 
elite*gold: 0
Join Date: Oct 2010
Posts: 115
Received Thanks: 14
Quote:
Originally Posted by GunnerMBT View Post
Show us the relevant part of code...
it's part of visual c++
5203307a is offline  
Old 01/25/2014, 19:13   #258
 
mamAmok's Avatar
 
elite*gold: 317
Join Date: Jul 2008
Posts: 511
Received Thanks: 102
Quote:
Originally Posted by 5203307a View Post
it's part of visual c++
Code:
void CMapObjectPropertyPageAmbience::OnUpdateUI(CProperty * pProperty)
{
	prt::PropertyAmbienceStringToData(pProperty, &m_propertyAmbience);

	[COLOR="Red"]std::vector<CFilename> & rSoundFileNameVector = m_propertyAmbience.AmbienceSoundVector;[/COLOR]
	for (DWORD dwIndex = 0; dwIndex < rSoundFileNameVector.size(); ++dwIndex)
	{
		m_ctrlSoundFileList.InsertString(dwIndex, rSoundFileNameVector[dwIndex].c_str());
	}

	m_ctrlPlayType.SelectString(-1, m_propertyAmbience.strPlayType.c_str());

	SetDialogFloatText(GetSafeHwnd(), IDC_MAP_OBJECT_PROPERTY_AMBIENCE_INTERVAL, m_propertyAmbience.fPlayInterval);
	SetDialogFloatText(GetSafeHwnd(), IDC_MAP_OBJECT_PROPERTY_AMBIENCE_INTERVAL_VARIATION, m_propertyAmbience.fPlayIntervalVariation);
	SetDialogFloatText(GetSafeHwnd(), IDC_MAP_OBJECT_PROPERTY_AMBIENCE_MAX_VOLUME_AREA_PERCENTAGE, m_propertyAmbience.fMaxVolumeAreaPercentage * 100.0f);

	OnUpdatePropertyData(m_propertyAmbience.strName.c_str());
	OnChangePlayType();
}
Code:
void CMapObjectPropertyPageAmbience::OnDeleteSoundFile() 
{
	DWORD dwCurSel = DWORD(m_ctrlSoundFileList.GetCurSel());
	if (dwCurSel >= m_propertyAmbience.AmbienceSoundVector.size())
		return;

	[COLOR="Red"]DeleteVectorItem<CFilename>(&m_propertyAmbience.AmbienceSoundVector, dwCurSel);[/COLOR]
	m_ctrlSoundFileList.DeleteString(dwCurSel);
}
mamAmok is offline  
Old 01/25/2014, 19:58   #259
 
elite*gold: 0
Join Date: Jan 2010
Posts: 104
Received Thanks: 158
Change:
Code:
std::vector<CFilename> & rSoundFileNameVector = m_propertyAmbience.AmbienceSoundVector;
To:

Code:
std::vector<std::string> & rSoundFileNameVector = m_propertyAmbience.AmbienceSoundVector;
Why? AmbienceSoundVector is a member of TPropertyAmbience struct, which is of type std::vector<std::string>, so you were assigning a value of different type to rSoundFileNameVector.

Change:

Code:
DeleteVectorItem<CFilename>(&m_propertyAmbience.AmbienceSoundVector, dwCurSel);
To:

Code:
DeleteVectorItem<std::string>(&m_propertyAmbience.AmbienceSoundVector, dwCurSel);
Pretty much the same reason... Also, refrain from using CFilename, it's deprecated I think, use std::string instead.
GunnerMBT is offline  
Old 01/25/2014, 20:12   #260
 
elite*gold: 0
Join Date: Sep 2010
Posts: 28
Received Thanks: 23
I`ve got those errors during compiling novaline binary source:

And those during compiling dev source:

I use v90 platform toolset, visual studio professional 2010.
Any solution?
sherer223 is offline  
Old 01/25/2014, 23:20   #261
 
elite*gold: 0
Join Date: Dec 2013
Posts: 22
Received Thanks: 1
Sb already fixed the minimap in worldeditor?
Evor™ is offline  
Old 01/26/2014, 02:22   #262
 
elite*gold: 0
Join Date: Jul 2011
Posts: 40
Received Thanks: 12
Quote:
Originally Posted by Evor™ View Post
Sb already fixed the minimap in worldeditor?
Yes.
JaPitole is offline  
Old 01/26/2014, 02:53   #263
 
mamAmok's Avatar
 
elite*gold: 317
Join Date: Jul 2008
Posts: 511
Received Thanks: 102
Hey how can i fixx this ?!

Code:
0126 02:48:08808 :: SYSERR: CPythonItem::LoadItemTable: invalid item_proto[locale/de/item_proto] STRIDE[152] != sizeof(SItemTable) [156]
0126 02:48:08809 :: SYSERR: LoadLocaleData - LoadItemProto(locale/de/item_proto) Error
mamAmok is offline  
Old 01/26/2014, 02:57   #264
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
Quote:
Originally Posted by mamAmok View Post
Hey how can i fixx this ?!

Code:
0126 02:48:08808 :: SYSERR: CPythonItem::LoadItemTable: invalid item_proto[locale/de/item_proto] STRIDE[152] != sizeof(SItemTable) [156]
0126 02:48:08809 :: SYSERR: LoadLocaleData - LoadItemProto(locale/de/item_proto) Error
Use the new dump_proto tool
.Shōgun is offline  
Old 01/26/2014, 03:24   #265
 
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
freebsd 8.2 ...
/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.3 required
thespeedyy is offline  
Old 01/26/2014, 03:25   #266
 
mamAmok's Avatar
 
elite*gold: 317
Join Date: Jul 2008
Posts: 511
Received Thanks: 102
Quote:
Originally Posted by .Shōgun View Post
Use the new dump_proto tool
i did but every time same error ....
mamAmok is offline  
Old 01/26/2014, 06:44   #267
 
redrpci2008's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 29
Received Thanks: 24
Quote:
Originally Posted by RageAtMeBros View Post
After struggling I managed to compile db on VS 2008 Pro under release but with game I only can compile it on debug:

fatal error C1047: The object or library file '.\OBJDIR\Release\affect.obj' was created with an older compiler than other objects; rebuild old objects and libraries
I've tried the same. And tumbled across the same error. And fixed it:
  1. Install
  2. Rebuild solution

Hope it helps.
redrpci2008 is offline  
Old 01/26/2014, 10:52   #268
 
elite*gold: 0
Join Date: Dec 2013
Posts: 22
Received Thanks: 1
As far As i'm concerned it seems to be a problem with creating minimap.dds in segments, but in fact in code we can see part of it, by the way has somebody nxdt_option header?
Evor™ is offline  
Old 01/26/2014, 13:46   #269
 
elite*gold: 0
Join Date: Oct 2010
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by redrpci2008 View Post
I've tried the same. And tumbled across the same error. And fixed it:
  1. Install
  2. Rebuild solution

Hope it helps.
I have vs2008sp1 and i have the same problem..
Traktorzysta is offline  
Old 01/26/2014, 13:55   #270
 
elite*gold: 0
Join Date: Jul 2013
Posts: 27
Received Thanks: 47
available to anyone world of acting editor minimap? --- Google translator xd
VatekS is offline  
Reply


Similar Threads Similar Threads
Reverse Crypt Systems [Tips/Hints/Tuts needed]]
03/01/2012 - CO2 Private Server - 8 Replies
Hello PVPers, So the Title says it all, Since i came here and i am trying to learn how to be a good Coder and Co2 P.Server Specially , i guess i dd well so far but i'v noticed that all my prev experience ddnt came near Encrypting/Decrypting systems , i also aware of that most of good coders around here are very busy coding stuff and so ,i was away for sometime and about 2 months ago i came back from AD (work trip) and a friend asked for an up to date P.Server , actually i miss that fun so...



All times are GMT +1. The time now is 06:06.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.