Problema implementare Sash-System

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

*Problemă: Am incercat sa bag partea de client dar mi-a dat erroarea din imagine dupa ce am pus systemu.
Tipologie server: PvP-PvM
*Resursă folosită: ShoulderSash-System with Scale Function by LeNnT
*ServerFiles utilizat: http://just4metin.ro/arhiva-descarcari/ ... 59321.html
*Syserr:
0601 23:14:25077 :: ============================================================================================================
0601 23:14:25077 :: Abort!!!!
Poză:
*Detalii suplimentare: Cand am incercat sa modific intro select nu am stiut cum nu am toate liniile lafel ca in tutorial.
Introselect.py meu
import chr
import grp
import app
import math
import wndMgr
import snd
import net
import systemSetting
import locale
import chr

import ui
import uiScriptLocale
import networkModule
import musicInfo
import playerSettingModule

####################################
# 빠른 실행을 위한 모듈 로딩 분담
####################################
import uiCommon                    
import uiMapNameShower             
import uiAffectShower              
import uiPlayerGauge               
import uiCharacter                 
import uiTarget                    
import consoleModule               
import interfaceModule             
import uiTaskBar                   
import uiInventory

###################################

LEAVE_BUTTON_FOR_POTAL = FALSE
NOT_NEED_DELETE_CODE = FALSE
ENABLE_ENGNUM_DELETE_CODE = FALSE

if locale.IsJAPAN():
	NOT_NEED_DELETE_CODE = TRUE
elif locale.IsHONGKONG():
	ENABLE_ENGNUM_DELETE_CODE = TRUE
elif locale.IsNEWCIBN() or locale.IsCIBN10():
	ENABLE_ENGNUM_DELETE_CODE = TRUE
elif locale.IsEUROPE():
	ENABLE_ENGNUM_DELETE_CODE = TRUE


###################################

class SelectCharacterWindow(ui.Window):

	# SLOT4
	#SLOT_ROTATION = ( 140.0, 260.0, 20.0 )	
	#SLOT_COUNT = 3
	SLOT_ROTATION = [135.0, 225.0, 315.0, 45.0]
	SLOT_COUNT = 4
	CHARACTER_TYPE_COUNT = 4

	EMPIRE_NAME = { 
		net.EMPIRE_A : locale.EMPIRE_A, 
		net.EMPIRE_B : locale.EMPIRE_B, 
		net.EMPIRE_C : locale.EMPIRE_C 
	}

	class CharacterRenderer(ui.Window):
		def OnRender(self):
			grp.ClearDepthBuffer()

			grp.SetGameRenderState()
			grp.PushState()
			grp.SetOmniLight()

			screenWidth = wndMgr.GetScreenWidth()
			screenHeight = wndMgr.GetScreenHeight()
			newScreenWidth = float(screenWidth - 270)
			newScreenHeight = float(screenHeight)

			grp.SetViewport(270.0/screenWidth, 0.0, newScreenWidth/screenWidth, newScreenHeight/screenHeight)

			app.SetCenterPosition(0.0, 0.0, 0.0)
			app.SetCamera(1550.0, 15.0, 180.0, 95.0)
			grp.SetPerspective(10.0, newScreenWidth/newScreenHeight, 1000.0, 3000.0)

			(x, y) = app.GetCursorPosition()
			grp.SetCursorPosition(x, y)

			chr.Deform()
			chr.Render()

			grp.RestoreViewport()
			grp.PopState()
			grp.SetInterfaceRenderState()

	def __init__(self, stream):
		ui.Window.__init__(self)
		net.SetPhaseWindow(net.PHASE_WINDOW_SELECT, self)

		self.stream=stream
		self.slot = self.stream.GetCharacterSlot()

		self.openLoadingFlag = FALSE
		self.startIndex = -1
		self.startReservingTime = 0

		self.flagDict = {}
		self.curRotation = []
		self.destRotation = []
		for rot in self.SLOT_ROTATION:
			self.curRotation.append(rot)
			self.destRotation.append(rot)

		self.curNameAlpha = []
		self.destNameAlpha = []
		for i in xrange(self.CHARACTER_TYPE_COUNT):
			self.curNameAlpha.append(0.0)
			self.destNameAlpha.append(0.0)

		self.curGauge = [0.0, 0.0, 0.0, 0.0]
		self.destGauge = [0.0, 0.0, 0.0, 0.0]

		self.dlgBoard = 0
		self.changeNameFlag = FALSE
		self.nameInputBoard = None
		self.sendedChangeNamePacket = FALSE

		self.startIndex = -1
		self.isLoad = 0

	def __del__(self):
		ui.Window.__del__(self)
		net.SetPhaseWindow(net.PHASE_WINDOW_SELECT, 0)

	def Open(self):
		if not self.__LoadBoardDialog(uiScriptLocale.LOCALE_UISCRIPT_PATH + "selectcharacterwindow.py"):
			dbg.TraceError("SelectCharacterWindow.Open - __LoadScript Error")
			return

		if not self.__LoadQuestionDialog("uiscript/questiondialog.py"):
			return

		playerSettingModule.LoadGameData("INIT")

		self.InitCharacterBoard()

		self.btnStart.Enable()
		self.btnCreate.Enable()
		self.btnDelete.Enable()
		self.btnExit.Enable()
		self.btnLeft.Enable()
		self.btnRight.Enable()

		self.dlgBoard.Show()
		self.SetWindowName("SelectCharacterWindow")
		self.Show()

		if self.slot>=0:
			self.SelectSlot(self.slot)

		if musicInfo.selectMusic != "":
			snd.SetMusicVolume(systemSetting.GetMusicVolume())
			snd.FadeInMusic("BGM/"+musicInfo.selectMusic)

		app.SetCenterPosition(0.0, 0.0, 0.0)
		app.SetCamera(1550.0, 15.0, 180.0, 95.0)

		self.isLoad=1
		self.Refresh()

		if self.stream.isAutoSelect:
			chrSlot=self.stream.GetCharacterSlot()
			self.SelectSlot(chrSlot)
			self.StartGame()

		self.HideAllFlag()
		self.SetEmpire(net.GetEmpireID())

		app.ShowCursor()

	def Close(self):
		if musicInfo.selectMusic != "":
			snd.FadeOutMusic("BGM/"+musicInfo.selectMusic)

		self.stream.popupWindow.Close()

		if self.dlgBoard:
			self.dlgBoard.ClearDictionary()

		self.empireName = None
		self.flagDict = {}
		self.dlgBoard = None
		self.btnStart = None
		self.btnCreate = None
		self.btnDelete = None
		self.btnExit = None
		self.btnLeft = None
		self.btnRight = None
		self.backGround = None

		self.dlgQuestion.ClearDictionary()
		self.dlgQuestion = None
		self.dlgQuestionText = None
		self.dlgQuestionAcceptButton = None
		self.dlgQuestionCancelButton = None
		self.privateInputBoard = None
		self.nameInputBoard = None

		chr.DeleteInstance(0)
		chr.DeleteInstance(1)
		chr.DeleteInstance(2)
		chr.DeleteInstance(3)

		self.Hide()
		self.KillFocus()

		app.HideCursor()

	def SetEmpire(self, id):
		self.empireName.SetText(self.EMPIRE_NAME.get(id, ""))
		if self.flagDict.has_key(id):
			self.flagDict[id].Show()
		
	def HideAllFlag(self):
		for flag in self.flagDict.values():
			flag.Hide()

	def Refresh(self):
		if not self.isLoad:
			return

		# SLOT4
		indexArray = (3, 2, 1, 0)
		for index in indexArray:
			id=net.GetAccountCharacterSlotDataInteger(index, net.ACCOUNT_CHARACTER_SLOT_ID)
			race=net.GetAccountCharacterSlotDataInteger(index, net.ACCOUNT_CHARACTER_SLOT_RACE)
			form=net.GetAccountCharacterSlotDataInteger(index, net.ACCOUNT_CHARACTER_SLOT_FORM)
			name=net.GetAccountCharacterSlotDataString(index, net.ACCOUNT_CHARACTER_SLOT_NAME)
			hair=net.GetAccountCharacterSlotDataInteger(index, net.ACCOUNT_CHARACTER_SLOT_HAIR)

			if id:
				self.SelectSlot(index)

		self.SelectSlot(self.slot)

	def GetCharacterSlotID(self, slotIndex):
		return net.GetAccountCharacterSlotDataInteger(slotIndex, net.ACCOUNT_CHARACTER_SLOT_ID)

	def __LoadQuestionDialog(self, fileName):
		self.dlgQuestion = ui.ScriptWindow()

		try:
			pyScrLoader = ui.PythonScriptLoader()
			pyScrLoader.LoadScriptFile(self.dlgQuestion, fileName)
		except:
			import exception
			exception.Abort("SelectCharacterWindow.LoadQuestionDialog.LoadScript")

		try:
			GetObject=self.dlgQuestion.GetChild
			self.dlgQuestionText=GetObject("message")
			self.dlgQuestionAcceptButton=GetObject("accept")
			self.dlgQuestionCancelButton=GetObject("cancel")
		except:
			import exception
			exception.Abort("SelectCharacterWindow.LoadQuestionDialog.BindObject")

		self.dlgQuestionText.SetText(locale.SELECT_DO_YOU_DELETE_REALLY)
		self.dlgQuestionAcceptButton.SetEvent(ui.__mem_func__(self.RequestDeleteCharacter))
		self.dlgQuestionCancelButton.SetEvent(ui.__mem_func__(self.dlgQuestion.Hide))
		return 1

	def __LoadBoardDialog(self, fileName):
		self.dlgBoard = ui.ScriptWindow()

		try:
			pyScrLoader = ui.PythonScriptLoader()
			pyScrLoader.LoadScriptFile(self.dlgBoard, fileName)
		except:
			import exception
			exception.Abort("SelectCharacterWindow.LoadBoardDialog.LoadScript")

		try:
			GetObject=self.dlgBoard.GetChild

			self.btnStart		= GetObject("start_button")
			self.btnCreate		= GetObject("create_button")
			self.btnDelete		= GetObject("delete_button")
			self.btnExit		= GetObject("exit_button")

			self.CharacterName	= GetObject("character_name_value")
			self.CharacterLevel = GetObject("character_level_value")
			self.PlayTime		= GetObject("character_play_time_value")
			self.CharacterHTH	= GetObject("character_hth_value")
			self.CharacterINT	= GetObject("character_int_value")
			self.CharacterSTR	= GetObject("character_str_value")
			self.CharacterDEX	= GetObject("character_dex_value")
			self.GuildName		= GetObject("GuildName")

			self.NameList = []
			self.NameList.append(GetObject("name_warrior"))
			self.NameList.append(GetObject("name_assassin"))
			self.NameList.append(GetObject("name_sura"))
			self.NameList.append(GetObject("name_shaman"))

			self.GaugeList = []
			self.GaugeList.append(GetObject("gauge_hth"))
			self.GaugeList.append(GetObject("gauge_int"))
			self.GaugeList.append(GetObject("gauge_str"))
			self.GaugeList.append(GetObject("gauge_dex"))

			self.btnLeft = GetObject("left_button")
			self.btnRight = GetObject("right_button")

			self.empireName = GetObject("EmpireName")
			self.flagDict[net.EMPIRE_A] = GetObject("EmpireFlag_A")
			self.flagDict[net.EMPIRE_B] = GetObject("EmpireFlag_B")
			self.flagDict[net.EMPIRE_C] = GetObject("EmpireFlag_C")

			self.backGround = GetObject("BackGround")

		except:
			import exception
			exception.Abort("SelectCharacterWindow.LoadBoardDialog.BindObject")

		for name in self.NameList:
			name.SetAlpha(0.0)

		self.btnStart.SetEvent(ui.__mem_func__(self.StartGame))
		self.btnCreate.SetEvent(ui.__mem_func__(self.CreateCharacter))
		self.btnExit.SetEvent(ui.__mem_func__(self.ExitSelect))

		

		if NOT_NEED_DELETE_CODE:
			self.btnDelete.SetEvent(ui.__mem_func__(self.PopupDeleteQuestion))
		else:
			self.btnDelete.SetEvent(ui.__mem_func__(self.InputPrivateCode))

		self.btnLeft.SetEvent(ui.__mem_func__(self.DecreaseSlotIndex))
		self.btnRight.SetEvent(ui.__mem_func__(self.IncreaseSlotIndex))

		self.chrRenderer = self.CharacterRenderer()
		self.chrRenderer.SetParent(self.backGround)
		self.chrRenderer.Show()

		return 1

	## Manage Character
	def StartGame(self):

		if self.sendedChangeNamePacket:
			return

		if self.changeNameFlag:
			self.OpenChangeNameDialog()
			return

		if -1 != self.startIndex:
			return

		if musicInfo.selectMusic != "":
			snd.FadeLimitOutMusic("BGM/"+musicInfo.selectMusic, systemSetting.GetMusicVolume()*0.05)

		self.btnStart.SetUp()
		self.btnCreate.SetUp()
		self.btnDelete.SetUp()
		self.btnExit.SetUp()
		self.btnLeft.SetUp()
		self.btnRight.SetUp()

		self.btnStart.Disable()
		self.btnCreate.Disable()
		self.btnDelete.Disable()
		self.btnExit.Disable()
		self.btnLeft.Disable()
		self.btnRight.Disable()
		self.dlgQuestion.Hide()

		self.stream.SetCharacterSlot(self.slot)

		self.startIndex = self.slot
		self.startReservingTime = app.GetTime()

		for i in xrange(self.SLOT_COUNT):

			if FALSE == chr.HasInstance(i):
				continue

			chr.SelectInstance(i)

			if i == self.slot:
				self.slot=self.slot
				chr.PushOnceMotion(chr.MOTION_INTRO_SELECTED, 0.1)
				continue

			chr.PushOnceMotion(chr.MOTION_INTRO_NOT_SELECTED, 0.1)

	def OpenChangeNameDialog(self):
		import uiCommon
		nameInputBoard = uiCommon.InputDialogWithDescription()
		nameInputBoard.SetTitle(locale.SELECT_CHANGE_NAME_TITLE)
		nameInputBoard.SetAcceptEvent(ui.__mem_func__(self.AcceptInputName))
		nameInputBoard.SetCancelEvent(ui.__mem_func__(self.CancelInputName))
		nameInputBoard.SetMaxLength(chr.PLAYER_NAME_MAX_LEN)
		nameInputBoard.SetBoardWidth(200)
		nameInputBoard.SetDescription(locale.SELECT_INPUT_CHANGING_NAME)
		nameInputBoard.Open()
		nameInputBoard.slot = self.slot
		self.nameInputBoard = nameInputBoard

	def OnChangeName(self, id, name):
		self.SelectSlot(id)
		self.sendedChangeNamePacket = FALSE
		self.PopupMessage(locale.SELECT_CHANGED_NAME)

	def AcceptInputName(self):
		changeName = self.nameInputBoard.GetText()
		if not changeName:
			return

		self.sendedChangeNamePacket = TRUE
		net.SendChangeNamePacket(self.nameInputBoard.slot, changeName)
		return self.CancelInputName()

	def CancelInputName(self):
		self.nameInputBoard.Close()
		self.nameInputBoard = None
		return TRUE

	def OnCreateFailure(self, type):
		self.sendedChangeNamePacket = FALSE
		if 0 == type:
			self.PopupMessage(locale.SELECT_CHANGE_FAILURE_STRANGE_NAME)
		elif 1 == type:
			self.PopupMessage(locale.SELECT_CHANGE_FAILURE_ALREADY_EXIST_NAME)
		elif 100 == type:
			self.PopupMessage(locale.SELECT_CHANGE_FAILURE_STRANGE_INDEX)

	def CreateCharacter(self):
		id = self.GetCharacterSlotID(self.slot)
		if 0==id:
			self.stream.SetCharacterSlot(self.slot)

			EMPIRE_MODE = 1

			if EMPIRE_MODE:
				if self.__AreAllSlotEmpty():
					self.stream.SetReselectEmpirePhase()
				else:
					self.stream.SetCreateCharacterPhase()

			else:
				self.stream.SetCreateCharacterPhase()

	def __AreAllSlotEmpty(self):
		for iSlot in xrange(self.SLOT_COUNT):
			if 0!=net.GetAccountCharacterSlotDataInteger(iSlot, net.ACCOUNT_CHARACTER_SLOT_ID):
				return 0
		return 1

	def PopupDeleteQuestion(self):
		id = self.GetCharacterSlotID(self.slot)
		if 0 == id:
			return

		self.dlgQuestion.Show()
		self.dlgQuestion.SetTop()

	def RequestDeleteCharacter(self):
		self.dlgQuestion.Hide()

		id = self.GetCharacterSlotID(self.slot)
		if 0 == id:
			self.PopupMessage(locale.SELECT_EMPTY_SLOT)
			return

		net.SendDestroyCharacterPacket(self.slot, "1234567")
		self.PopupMessage(locale.SELECT_DELEING)

	def InputPrivateCode(self):
		
		import uiCommon
		privateInputBoard = uiCommon.InputDialogWithDescription()
		privateInputBoard.SetTitle(locale.INPUT_PRIVATE_CODE_DIALOG_TITLE)
		privateInputBoard.SetAcceptEvent(ui.__mem_func__(self.AcceptInputPrivateCode))
		privateInputBoard.SetCancelEvent(ui.__mem_func__(self.CancelInputPrivateCode))

		if ENABLE_ENGNUM_DELETE_CODE:
			pass
		else:
			privateInputBoard.SetNumberMode()

		privateInputBoard.SetSecretMode()
		privateInputBoard.SetMaxLength(7)
			
		privateInputBoard.SetBoardWidth(250)
		privateInputBoard.SetDescription(locale.INPUT_PRIVATE_CODE_DIALOG_DESCRIPTION)
		privateInputBoard.Open()
		self.privateInputBoard = privateInputBoard

	def AcceptInputPrivateCode(self):
		privateCode = self.privateInputBoard.GetText()
		if not privateCode:
			return

		id = self.GetCharacterSlotID(self.slot)
		if 0 == id:
			self.PopupMessage(locale.SELECT_EMPTY_SLOT)
			return

		net.SendDestroyCharacterPacket(self.slot, privateCode)
		self.PopupMessage(locale.SELECT_DELEING)

		self.CancelInputPrivateCode()
		return TRUE

	def CancelInputPrivateCode(self):
		self.privateInputBoard = None
		return TRUE

	def OnDeleteSuccess(self, slot):
		self.PopupMessage(locale.SELECT_DELETED)
		self.DeleteCharacter(slot)

	def OnDeleteFailure(self):
		self.PopupMessage(locale.SELECT_CAN_NOT_DELETE)

	def DeleteCharacter(self, index):
		chr.DeleteInstance(index)
		self.SelectSlot(self.slot)

	def ExitSelect(self):
		self.dlgQuestion.Hide()
	
		if LEAVE_BUTTON_FOR_POTAL:
			if app.loggined:
				self.stream.SetPhaseWindow(0)
			else:
				self.stream.setloginphase()
		else:
			self.stream.SetLoginPhase()

		self.Hide()

	def GetSlotIndex(self):
		return self.slot

	def DecreaseSlotIndex(self):
		slotIndex = (self.GetSlotIndex() - 1 + self.SLOT_COUNT) % self.SLOT_COUNT
		self.SelectSlot(slotIndex)

	def IncreaseSlotIndex(self):
		slotIndex = (self.GetSlotIndex() + 1) % self.SLOT_COUNT
		self.SelectSlot(slotIndex)

	def SelectSlot(self, index):

		if index < 0:
			return
		if index >= self.SLOT_COUNT:
			return

		self.slot = index

		chr.SelectInstance(self.slot)

		for i in xrange(self.CHARACTER_TYPE_COUNT):
			self.destNameAlpha = 0.0

		for i in xrange(self.SLOT_COUNT):
			self.destRotation[(i+self.slot)%self.SLOT_COUNT] = self.SLOT_ROTATION

		self.destGauge = [0.0, 0.0, 0.0, 0.0]

		id=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_ID)
		if 0 != id:

			self.btnStart.Show()
			self.btnDelete.Show()
			self.btnCreate.Hide()

			playTime=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_PLAYTIME)
			level=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_LEVEL)
			race=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_RACE)
			valueHTH=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_HTH)
			valueINT=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_INT)
			valueSTR=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_STR)
			valueDEX=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_DEX)
			name=net.GetAccountCharacterSlotDataString(self.slot, net.ACCOUNT_CHARACTER_SLOT_NAME)
			guildID=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_GUILD_ID)
			guildName=net.GetAccountCharacterSlotDataString(self.slot, net.ACCOUNT_CHARACTER_SLOT_GUILD_NAME)
			self.changeNameFlag=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_CHANGE_NAME_FLAG)

			job = chr.RaceToJob(race)
			if job >= 0 and job < self.CHARACTER_TYPE_COUNT:
				self.destNameAlpha[job] = 1.0

			self.CharacterName.SetText(name)
			self.CharacterLevel.SetText(str(level))

			self.PlayTime.SetText(str(playTime))
			self.CharacterHTH.SetText(str(valueHTH))
			self.CharacterINT.SetText(str(valueINT))
			self.CharacterSTR.SetText(str(valueSTR))
			self.CharacterDEX.SetText(str(valueDEX))

			if guildName:
				self.GuildName.SetText(guildName)
			else:
				self.GuildName.SetText(locale.SELECT_NOT_JOIN_GUILD)

			statesSummary = float(valueHTH + valueINT + valueSTR + valueDEX)
			if statesSummary > 0.0:
				self.destGauge =	[
										float(valueHTH) / statesSummary,
										float(valueINT) / statesSummary,
										float(valueSTR) / statesSummary,
										float(valueDEX) / statesSummary
									]

		else:

			self.InitCharacterBoard()

	def InitCharacterBoard(self):

		self.btnStart.Hide()
		self.btnDelete.Hide()
		self.btnCreate.Show()

		self.CharacterName.SetText("")
		self.CharacterLevel.SetText("")
		self.PlayTime.SetText("")
		self.CharacterHTH.SetText("")
		self.CharacterINT.SetText("")
		self.CharacterSTR.SetText("")
		self.CharacterDEX.SetText("")
		self.GuildName.SetText(locale.SELECT_NOT_JOIN_GUILD)

	## Event
	def OnKeyDown(self, key):

		if 1 == key:
			self.ExitSelect()
		if 2 == key:
			self.SelectSlot(0)
		if 3 == key:
			self.SelectSlot(1)
		if 4 == key:
			self.SelectSlot(2)

		if 28 == key:

			id = net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_ID)
			if 0 == id:
				self.CreateCharacter()

			else:
				self.StartGame()

		if 203 == key:
			self.slot = (self.GetSlotIndex() - 1 + self.SLOT_COUNT) % self.SLOT_COUNT
			self.SelectSlot(self.slot)
		if 205 == key:
			self.slot = (self.GetSlotIndex() + 1) % self.SLOT_COUNT
			self.SelectSlot(self.slot)

		return TRUE

	def OnUpdate(self):
		chr.Update()

		for i in xrange(4):
			self.curGauge += (self.destGauge - self.curGauge) / 10.0
			if abs(self.curGauge - self.destGauge) < 0.005:
				self.curGauge = self.destGauge
			self.GaugeList.SetPercentage(self.curGauge[i], 1.0)

		for i in xrange(self.CHARACTER_TYPE_COUNT):
			self.curNameAlpha[i] += (self.destNameAlpha[i] - self.curNameAlpha[i]) / 10.0
			self.NameList[i].SetAlpha(self.curNameAlpha[i])

		for i in xrange(self.SLOT_COUNT):

			if FALSE == chr.HasInstance(i):
				continue

			chr.SelectInstance(i)

			distance = 50.0
			rotRadian = self.curRotation[i] * (math.pi*2) / 360.0
			x = distance*math.sin(rotRadian) + distance*math.cos(rotRadian)
			y = distance*math.cos(rotRadian) - distance*math.sin(rotRadian)
			chr.SetPixelPosition(int(x), int(y), 30)

			#####

			dir = app.GetRotatingDirection(self.destRotation[i], self.curRotation[i])
			rot = app.GetDegreeDifference(self.destRotation[i], self.curRotation[i])

			if app.DEGREE_DIRECTION_RIGHT == dir:
				self.curRotation[i] += rot / 10.0
			elif app.DEGREE_DIRECTION_LEFT == dir:
				self.curRotation[i] -= rot / 10.0

			self.curRotation[i] = (self.curRotation[i] + 360.0) % 360.0

		#######################################################
		if -1 != self.startIndex:

			## Temporary
			## BackGroundLoading이 지원 될때까지 임시로..
			if app.GetTime() - self.startReservingTime > 3.0:
				if FALSE == self.openLoadingFlag:
					chrSlot=self.stream.GetCharacterSlot()
					net.DirectEnter(chrSlot)
					self.openLoadingFlag = TRUE

					playTime=net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_PLAYTIME)

					import player
					player.SetPlayTime(playTime)
					import chat
					chat.Clear() ## 들어갈때 Chat 을 초기화. 임시 Pos.
			## Temporary
		#######################################################

	def EmptyFunc(self):
		pass

	def PopupMessage(self, msg, func=0):
		if not func:
			func=self.EmptyFunc

		self.stream.popupWindow.Close()
		self.stream.popupWindow.Open(msg, func, locale.UI_OK)

	def OnPressExitKey(self):
		self.ExitSelect()
		return TRUE

ceace trebuie sa modific dar nu stiu cum
""""""
#1) Search:
		for i in xrange(self.SLOT_COUNT):
			id = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_ID)
			race = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_RACE)
			form = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_FORM)
			name = net.GetAccountCharacterSlotDataString(i, net.ACCOUNT_CHARACTER_SLOT_NAME)
			hair = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_HAIR)
			
			if id != 0:
				self.MakeCharacter(i, id, name, race, form, hair)
				self.SelectSlot(i)
				break
#2) Replace with:
		for i in xrange(self.SLOT_COUNT):
			id = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_ID)
			race = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_RACE)
			form = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_FORM)
			name = net.GetAccountCharacterSlotDataString(i, net.ACCOUNT_CHARACTER_SLOT_NAME)
			hair = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_HAIR)
			acce = 0
			if app.ENABLE_ACCE_SYSTEM:
				acce = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_ACCE)
			
			if id != 0:
				self.MakeCharacter(i, id, name, race, form, hair, acce)
				self.SelectSlot(i)
				break
""""""


""""""
#1) Search:
	def MakeCharacter(self, index, id, name, race, form, hair):
#2) Replace with:
	def MakeCharacter(self, index, id, name, race, form, hair, acce):
""""""


""""""
#1) Search:
		chr.SetHair(hair)
#2) After make a new line and paste:
		if app.ENABLE_ACCE_SYSTEM:
			chr.SetAcce(acce)
""""""

Help my!Please :ympray:
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Avatar utilizator
KIDDA
Membru Club

Membru Club
Mesaje: 1248
Membru din: 21 Feb 2018, 15:38
Server: KoF2
Aprecieri: 106  
Mulţumiri: 1115  
Medalii

cand bagi un sistem bagi tot si dupa testezi
sau incepi cu sursele ,server si dupa bagi client si vezi ce erori ai
Discord: KIDDA#4960
Skype: negrea.nicu166
Imagine
Afișează semnătura
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

Bine o sa bag sursele dar tot nu stiu cum trebuie modificat introselect.py
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Avatar utilizator
DAM0NN
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 143
Membru din: 11 Apr 2018, 17:47
Server: #
Regat: Chunjo
Aprecieri: 59  
Mulţumiri: 332  
Medalii

Musarka scrie:Bine o sa bag sursele dar tot nu stiu cum trebuie modificat introselect.py
Fă prima dată partea de surse, că serverul nu poate citi sistemul pentru că tu nu i-ai implementat comenzile ca să-și dea seama ce fac acele funcții .Păna la urmă d-aia e sursă , crierul serverului , ajută să citească mai repede și să descifreze ce funcții implementezi tu .
Imagine
Afișează semnătura
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

Am si eu o intrebare.Scot systemul acce dar sunt unele lini care au fost sterse si inlocuite cu unele noi eu ce fac?Cum pot scoate systemul ,sterg acele lini sau le las asa?Chiar sunt nedumerit.
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Avatar utilizator
Diaconu
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 754
Membru din: 07 Aug 2013, 21:42
Aprecieri: 0
Mulţumiri: 43  
 Contact:
Medalii

Musarka scrie:Am si eu o intrebare.Scot systemul acce dar sunt unele lini care au fost sterse si inlocuite cu unele noi eu ce fac?Cum pot scoate systemul ,sterg acele lini sau le las asa?Chiar sunt nedumerit.
Daca o ai comentata cauta in toate fisierele din sursa game si binary si le stergi foarte usor, uita te in service.h sa vezi cum este comentata o sa iti dai seama dupa ce il vezi.
(parerea mea sterge tot ce tine de acce system apoi il bagi tu si daca ai vro eroare poti posta din nou in acest topic sau deschizi unul nou).
Imagine
Mult prea slab sa controlez puterea,
Mult prea mic sa inteleg durerea.
Discord: Diaconu#6969 pentru orice fel de ajutor
Afișează semnătura
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

Ma doare capu
gmake: Warning: File `log.h' has modification time 525811 s in the future
 [OK]   Compile:  BattleArena.cpp
 [OK]   Compile:  FSM.cpp
 [OK]   Compile:  MarkConvert.cpp
 [OK]   Compile:  MarkImage.cpp
 [OK]   Compile:  MarkManager.cpp
 [OK]   Compile:  OXEvent.cpp
 [OK]   Compile:  TrafficProfiler.cpp
 [OK]   Compile:  ani.cpp
 [OK]   Compile:  arena.cpp
 [OK]   Compile:  banword.cpp
 [OK]   Compile:  battle.cpp
 [OK]   Compile:  blend_item.cpp
 [OK]   Compile:  block_country.cpp
 [OK]   Compile:  buffer_manager.cpp
 [OK]   Compile:  building.cpp
 [OK]   Compile:  castle.cpp
 [OK]   Compile:  char.cpp
 [OK]   Compile:  char_affect.cpp
 [OK]   Compile:  char_battle.cpp
 [OK]   Compile:  char_change_empire.cpp
In file included from constants.h:4,
                 from arena.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from arena.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from arena.cpp:4:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
char.cpp:7785:7: warning: no newline at end of file
In file included from constants.h:4,
                 from banword.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from banword.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char.cpp:6:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char.cpp:6:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from packet_info.h:4,
                 from input.h:4,
                 from desc.h:5,
                 from desc_client.h:4,
                 from char.cpp:12:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from desc.h:4,
                 from char_battle.cpp:4:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from desc.h:4,
                 from char_battle.cpp:4:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from packet_info.h:4,
                 from input.h:4,
                 from desc.h:5,
                 from char_battle.cpp:4:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from fishing.h:4,
                 from char.cpp:20:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from char_battle.cpp:7:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from constants.h:4,
                 from BattleArena.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from BattleArena.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
 [OK]   Compile:  char_horse.cpp
gmake: *** [OBJDIR/banword.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/arena.o] Error 1
In file included from constants.h:4,
                 from blend_item.cpp:11:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from blend_item.cpp:11:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from blend_item.cpp:15:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from ani.cpp:11:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from ani.cpp:11:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/blend_item.o] Error 1
In file included from constants.h:4,
                 from block_country.cpp:11:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from block_country.cpp:11:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/block_country.o] Error 1
In file included from ani.cpp:12:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
gmake: *** [OBJDIR/ani.o] Error 1
In file included from constants.h:4,
                 from desc.h:4,
                 from battle.cpp:4:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from desc.h:4,
                 from battle.cpp:4:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from packet_info.h:4,
                 from input.h:4,
                 from desc.h:5,
                 from battle.cpp:4:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from OXEvent.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from OXEvent.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char_horse.cpp:3:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char_horse.cpp:3:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
char.cpp: In member function 'void CHARACTER::LoadSafebox(int, DWORD, int, TPlayerItem*)':
char.cpp:5595: error: 'struct SPlayerItem' has no member named 'aAttr'
char.cpp: In member function 'void CHARACTER::LoadMall(int, TPlayerItem*)':
char.cpp:5690: error: 'struct SPlayerItem' has no member named 'aAttr'
char.cpp: In member function 'void CHARACTER::SendEquipment(CHARACTER*)':
char.cpp:6247: error: 'struct pakcet_view_equip::<anonymous>' has no member named 'aAttr'
char.cpp:6247: error: 'struct pakcet_view_equip::<anonymous>' has no member named 'aAttr'
char.cpp: In member function 'void CHARACTER::RefineAcceMaterials()':
char.cpp:7646: warning: comparison between signed and unsigned integer expressions
char.cpp:7732: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
char.cpp: In member function 'bool CHARACTER::CleanAcceAttr(CItem*, CItem*)':
char.cpp:7778: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char_change_empire.cpp:4:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char_change_empire.cpp:4:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from castle.cpp:13:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from castle.cpp:13:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/BattleArena.o] Error 1
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char_affect.cpp:5:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char_affect.cpp:5:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from char_horse.cpp:5:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from OXEvent.cpp:6:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from battle.cpp:8:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from constants.h:4,
                 from building.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from building.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from char_affect.cpp:8:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from char_horse.cpp:9:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
gmake: *** [OBJDIR/char_change_empire.o] Error 1
In file included from char_affect.cpp:18:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from building.cpp:7:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/char_horse.o] Error 1
gmake: *** [OBJDIR/char_affect.o] Error 1
gmake: *** [OBJDIR/char.o] Error 1
gmake: *** [OBJDIR/OXEvent.o] Error 1
gmake: *** [OBJDIR/castle.o] Error 1
gmake: *** [OBJDIR/char_battle.o] Error 1
gmake: *** [OBJDIR/battle.o] Error 1
gmake: *** [OBJDIR/building.o] Error 1
root@:/usr/src/Virtus/Srcs/Server/game/src #
Am scos systemu acce si am bagat sash iar acum imi apare asta dupa compilare :((
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Avatar utilizator
KIDDA
Membru Club

Membru Club
Mesaje: 1248
Membru din: 21 Feb 2018, 15:38
Server: KoF2
Aprecieri: 106  
Mulţumiri: 1115  
Medalii

Musarka scrie:Ma doare capu
gmake: Warning: File `log.h' has modification time 525811 s in the future
 [OK]   Compile:  BattleArena.cpp
 [OK]   Compile:  FSM.cpp
 [OK]   Compile:  MarkConvert.cpp
 [OK]   Compile:  MarkImage.cpp
 [OK]   Compile:  MarkManager.cpp
 [OK]   Compile:  OXEvent.cpp
 [OK]   Compile:  TrafficProfiler.cpp
 [OK]   Compile:  ani.cpp
 [OK]   Compile:  arena.cpp
 [OK]   Compile:  banword.cpp
 [OK]   Compile:  battle.cpp
 [OK]   Compile:  blend_item.cpp
 [OK]   Compile:  block_country.cpp
 [OK]   Compile:  buffer_manager.cpp
 [OK]   Compile:  building.cpp
 [OK]   Compile:  castle.cpp
 [OK]   Compile:  char.cpp
 [OK]   Compile:  char_affect.cpp
 [OK]   Compile:  char_battle.cpp
 [OK]   Compile:  char_change_empire.cpp
In file included from constants.h:4,
                 from arena.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from arena.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from arena.cpp:4:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
char.cpp:7785:7: warning: no newline at end of file
In file included from constants.h:4,
                 from banword.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from banword.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char.cpp:6:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char.cpp:6:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from packet_info.h:4,
                 from input.h:4,
                 from desc.h:5,
                 from desc_client.h:4,
                 from char.cpp:12:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from desc.h:4,
                 from char_battle.cpp:4:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from desc.h:4,
                 from char_battle.cpp:4:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from packet_info.h:4,
                 from input.h:4,
                 from desc.h:5,
                 from char_battle.cpp:4:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from fishing.h:4,
                 from char.cpp:20:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from char_battle.cpp:7:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from constants.h:4,
                 from BattleArena.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from BattleArena.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
 [OK]   Compile:  char_horse.cpp
gmake: *** [OBJDIR/banword.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/arena.o] Error 1
In file included from constants.h:4,
                 from blend_item.cpp:11:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from blend_item.cpp:11:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from blend_item.cpp:15:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from ani.cpp:11:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from ani.cpp:11:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/blend_item.o] Error 1
In file included from constants.h:4,
                 from block_country.cpp:11:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from block_country.cpp:11:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/block_country.o] Error 1
In file included from ani.cpp:12:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
gmake: *** [OBJDIR/ani.o] Error 1
In file included from constants.h:4,
                 from desc.h:4,
                 from battle.cpp:4:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from desc.h:4,
                 from battle.cpp:4:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from packet_info.h:4,
                 from input.h:4,
                 from desc.h:5,
                 from battle.cpp:4:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from OXEvent.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from OXEvent.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char_horse.cpp:3:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char_horse.cpp:3:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
char.cpp: In member function 'void CHARACTER::LoadSafebox(int, DWORD, int, TPlayerItem*)':
char.cpp:5595: error: 'struct SPlayerItem' has no member named 'aAttr'
char.cpp: In member function 'void CHARACTER::LoadMall(int, TPlayerItem*)':
char.cpp:5690: error: 'struct SPlayerItem' has no member named 'aAttr'
char.cpp: In member function 'void CHARACTER::SendEquipment(CHARACTER*)':
char.cpp:6247: error: 'struct pakcet_view_equip::<anonymous>' has no member named 'aAttr'
char.cpp:6247: error: 'struct pakcet_view_equip::<anonymous>' has no member named 'aAttr'
char.cpp: In member function 'void CHARACTER::RefineAcceMaterials()':
char.cpp:7646: warning: comparison between signed and unsigned integer expressions
char.cpp:7732: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
char.cpp: In member function 'bool CHARACTER::CleanAcceAttr(CItem*, CItem*)':
char.cpp:7778: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char_change_empire.cpp:4:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char_change_empire.cpp:4:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from constants.h:4,
                 from castle.cpp:13:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from castle.cpp:13:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/BattleArena.o] Error 1
In file included from constants.h:4,
                 from horse_rider.h:4,
                 from char.h:9,
                 from char_affect.cpp:5:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from horse_rider.h:4,
                 from char.h:9,
                 from char_affect.cpp:5:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from char_horse.cpp:5:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from OXEvent.cpp:6:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from battle.cpp:8:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from constants.h:4,
                 from building.cpp:2:
../../common/tables.h:356: error: 'TSimplePlayer' does not name a type
../../common/tables.h:362: error: 'TSimplePlayer' does not name a type
../../common/tables.h:381: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from building.cpp:2:
constants.h:130: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from char_affect.cpp:8:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
In file included from char_horse.cpp:9:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
gmake: *** [OBJDIR/char_change_empire.o] Error 1
In file included from char_affect.cpp:18:
item.h:281: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute* CItem::GetAttributes()':
item.h:118: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'const TPlayerItemAttribute& CItem::GetAttribute(int)':
item.h:119: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'BYTE CItem::GetAttributeType(int)':
item.h:121: error: 'm_aAttr' was not declared in this scope
item.h: In member function 'short int CItem::GetAttributeValue(int)':
item.h:122: error: 'm_aAttr' was not declared in this scope
In file included from building.cpp:7:
packet.h:617: error: 'TSimplePlayer' does not name a type
packet.h:899: error: 'TSimplePlayer' does not name a type
packet.h:1138: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1151: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1182: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1257: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:1305: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
packet.h:2080: error: 'ITEM_ATTRIBUTE_MAX_NUM' was not declared in this scope
gmake: *** [OBJDIR/char_horse.o] Error 1
gmake: *** [OBJDIR/char_affect.o] Error 1
gmake: *** [OBJDIR/char.o] Error 1
gmake: *** [OBJDIR/OXEvent.o] Error 1
gmake: *** [OBJDIR/castle.o] Error 1
gmake: *** [OBJDIR/char_battle.o] Error 1
gmake: *** [OBJDIR/battle.o] Error 1
gmake: *** [OBJDIR/building.o] Error 1
root@:/usr/src/Virtus/Srcs/Server/game/src #
Am scos systemu acce si am bagat sash iar acum imi apare asta dupa compilare :((
http://just4metin.ro/serverfiles/svf-ni ... 67728.html foloseste pe asta are shop off great , search shop great , sash ,limita yang scoasa , arata hp oponent /pietre/mobi etc , ii facut de mine nu are comenzi ascunse etc
Pentru acest mesaj, KIDDA for the post:
[Skyzo]
Discord: KIDDA#4960
Skype: negrea.nicu166
Imagine
Afișează semnătura
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

Bine o sa incerc dar din ce vad ca scrie in comentari e putin de munca sper sa fie ok.
Multumesc
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

Am si eu o intrebare cum fac ca serveru sa citeasca mysql_2 in loc de mysql?
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Închis
Răspunsuri
1
Vizualizări
113
Răspunsuri
8
Vizualizări
271
Răspunsuri
3
Vizualizări
367

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie