Jump to content

Tuckii

Inactive Member
  • Posts

    86
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Tuckii

  1. 4 hours ago, ATAG said:

    Did you changed the path to locale/en/quest ?

    I figured it out how to change language of quests etc. for the mysql part I need to change in var/mysql/player the files with english ones but currently dont have these.

    Im also curious about the switch bot, from the post I asumme it doesn't work since it shows the packet header error after compile?

    Also after closing server and starting it db seems to stop working, even after reboot sometimes

    .png

    sysser of db

  2. 1 hour ago, Tuckii said:

    Can someone explain to me why and how does locale_string and translate lua affect our connection to the server? I've changed from HU to EN and wasn't able to connect, I'd like to understand it and know how to fix it also, thank you ❤️

    I wanted to mention locale change in mysql - how does it work when I change from hungary to english it doesnt work anymore? Locale_string and translate lua works normally as it should.

    Why can't I edit my post above tho : (

  3. 1 hour ago, SolWayne said:

    All edits ONLY IN GERMAN
    if you change the language you have to include the new parts from locale and locale string

    Ah I see, I misunderstood it thanks.

    Are you planning to add more thing to the server in the future? Also what about common fixes are they included? And last question would be if someone adds something to the server can we share it with you or you are making it on your own?

  4.  

    hs3a7hW.png

    idk about that snce it was mentioned on the first page but the metin overall worked for me before I changed language so it shouldnt be my fault that I didnt do VS when I did that actually.

  5. I've launched the files and I have final question which is are there any common fixes like for example you cannot be stunned when you have anti-stun bonus in your shield etc?

    Thanks for the files it will save me a lot of time probably and sanity

    also why is the machine using german keyboard XD

  6. 1 hour ago, SolWayne said:

    Here is a small fix from the sash system. Thanks to WhiteBambo for this fix!

    It is about the bonus takeover that you can see the new bonuses.

     

      Reveal hidden contents

    Open Client/root/uitooltip.py

    # Danke an WhiteBambo für den fix     <3
    
    
    #Suche Nach :
    
    class HyperlinkItemToolTip(ItemToolTip):
    
    #Davor das hinzufügen :
    
    	if app.ENABLE_SASH_SYSTEM:
    		def SetSashResultItem(self, slotIndex, window_type = player.INVENTORY):
    			(itemVnum, MinAbs, MaxAbs) = sash.GetResultItem()
    			if not itemVnum:
    				return
    			
    			self.ClearToolTip()
    			
    			metinSlot = [player.GetItemMetinSocket(window_type, slotIndex, i) for i in xrange(player.METIN_SOCKET_MAX_NUM)]
    			attrSlot = [player.GetItemAttribute(window_type, slotIndex, i) for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM)]
    			
    			item.SelectItem(itemVnum)
    			itemType = item.GetItemType()
    			itemSubType = item.GetItemSubType()
    			if itemType != item.ITEM_TYPE_COSTUME and itemSubType != item.COSTUME_TYPE_SASH:
    				return
    			
    			absChance = MaxAbs
    			itemDesc = item.GetItemDescription()
    			self.__AdjustMaxWidth(attrSlot, itemDesc)
    			self.__SetItemTitle(itemVnum, metinSlot, attrSlot)
    			self.AppendDescription(itemDesc, 26)
    			self.AppendDescription(item.GetItemSummary(), 26, self.CONDITION_COLOR)
    			self.__AppendLimitInformation()
    			
    			## ABSORPTION RATE
    			if MinAbs == MaxAbs:
    				self.AppendTextLine(localeInfo.SASH_ABSORB_CHANCE % (MinAbs), self.CONDITION_COLOR)
    			else:
    				self.AppendTextLine(localeInfo.SASH_ABSORB_CHANCE2 % (MinAbs, MaxAbs), self.CONDITION_COLOR)
    			## END ABSOPRTION RATE
    			
    			itemAbsorbedVnum = int(metinSlot[sash.ABSORBED_SOCKET])
    			if itemAbsorbedVnum:
    				## ATTACK / DEFENCE
    				item.SelectItem(itemAbsorbedVnum)
    				if item.GetItemType() == item.ITEM_TYPE_WEAPON:
    					if item.GetItemSubType() == item.WEAPON_FAN:
    						self.__AppendMagicAttackInfo(absChance)
    						item.SelectItem(itemAbsorbedVnum)
    						self.__AppendAttackPowerInfo(absChance)
    					else:
    						self.__AppendAttackPowerInfo(absChance)
    						item.SelectItem(itemAbsorbedVnum)
    						self.__AppendMagicAttackInfo(absChance)
    				elif item.GetItemType() == item.ITEM_TYPE_ARMOR:
    					defGrade = item.GetValue(1)
    					defBonus = item.GetValue(5) * 2
    					defGrade = self.CalcSashValue(defGrade, absChance)
    					defBonus = self.CalcSashValue(defBonus, absChance)
    					
    					if defGrade > 0:
    						self.AppendSpace(5)
    						self.AppendTextLine(localeInfo.TOOLTIP_ITEM_DEF_GRADE % (defGrade + defBonus), self.GetChangeTextLineColor(defGrade))
    					
    					item.SelectItem(itemAbsorbedVnum)
    					self.__AppendMagicDefenceInfo(absChance)
    				## END ATTACK / DEFENCE
    				
    				## EFFECT
    				item.SelectItem(itemAbsorbedVnum)
    				for i in xrange(item.ITEM_APPLY_MAX_NUM):
    					(affectType, affectValue) = item.GetAffect(i)
    					affectValue = self.CalcSashValue(affectValue, absChance)
    					affectString = self.__GetAffectString(affectType, affectValue)
    					if affectString and affectValue > 0:
    						self.AppendTextLine(affectString, self.GetChangeTextLineColor(affectValue))
    					
    					item.SelectItem(itemAbsorbedVnum)
    				# END EFFECT
    				
    			item.SelectItem(itemVnum)
    			## ATTR
    			self.__AppendAttributeInformation(attrSlot, MaxAbs)
    			# END ATTR
    			
    			self.AppendWearableInformation()
    			self.ShowToolTip()
    
    		def SetSashResultAbsItem(self, slotIndex1, slotIndex2, window_type = player.INVENTORY):
    			itemVnumSash = player.GetItemIndex(window_type, slotIndex1)
    			itemVnumTarget = player.GetItemIndex(window_type, slotIndex2)
    			if not itemVnumSash or not itemVnumTarget:
    				return
    			
    			self.ClearToolTip()
    			
    			item.SelectItem(itemVnumSash)
    			itemType = item.GetItemType()
    			itemSubType = item.GetItemSubType()
    			if itemType != item.ITEM_TYPE_COSTUME and itemSubType != item.COSTUME_TYPE_SASH:
    				return
    			
    			metinSlot = [player.GetItemMetinSocket(window_type, slotIndex1, i) for i in xrange(player.METIN_SOCKET_MAX_NUM)]
    			attrSlot = [player.GetItemAttribute(window_type, slotIndex2, i) for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM)]
    			
    			itemDesc = item.GetItemDescription()
    			self.__AdjustMaxWidth(attrSlot, itemDesc)
    			self.__SetItemTitle(itemVnumSash, metinSlot, attrSlot)
    			self.AppendDescription(itemDesc, 26)
    			self.AppendDescription(item.GetItemSummary(), 26, self.CONDITION_COLOR)
    			item.SelectItem(itemVnumSash)
    			self.__AppendLimitInformation()
    			
    			## ABSORPTION RATE
    			self.AppendTextLine(localeInfo.SASH_ABSORB_CHANCE % (metinSlot[sash.ABSORPTION_SOCKET]), self.CONDITION_COLOR)
    			## END ABSOPRTION RATE
    			
    			## ATTACK / DEFENCE
    			itemAbsorbedVnum = itemVnumTarget
    			item.SelectItem(itemAbsorbedVnum)
    			if item.GetItemType() == item.ITEM_TYPE_WEAPON:
    				if item.GetItemSubType() == item.WEAPON_FAN:
    					self.__AppendMagicAttackInfo(metinSlot[sash.ABSORPTION_SOCKET])
    					item.SelectItem(itemAbsorbedVnum)
    					self.__AppendAttackPowerInfo(metinSlot[sash.ABSORPTION_SOCKET])
    				else:
    					self.__AppendAttackPowerInfo(metinSlot[sash.ABSORPTION_SOCKET])
    					item.SelectItem(itemAbsorbedVnum)
    					self.__AppendMagicAttackInfo(metinSlot[sash.ABSORPTION_SOCKET])
    			elif item.GetItemType() == item.ITEM_TYPE_ARMOR:
    				defGrade = item.GetValue(1)
    				defBonus = item.GetValue(5) * 2
    				defGrade = self.CalcSashValue(defGrade, metinSlot[sash.ABSORPTION_SOCKET])
    				defBonus = self.CalcSashValue(defBonus, metinSlot[sash.ABSORPTION_SOCKET])
    				
    				if defGrade > 0:
    					self.AppendSpace(5)
    					self.AppendTextLine(localeInfo.TOOLTIP_ITEM_DEF_GRADE % (defGrade + defBonus), self.GetChangeTextLineColor(defGrade))
    				
    				item.SelectItem(itemAbsorbedVnum)
    				self.__AppendMagicDefenceInfo(metinSlot[sash.ABSORPTION_SOCKET])
    			## END ATTACK / DEFENCE
    			
    			## EFFECT
    			item.SelectItem(itemAbsorbedVnum)
    			for i in xrange(item.ITEM_APPLY_MAX_NUM):
    				(affectType, affectValue) = item.GetAffect(i)
    				affectValue = self.CalcSashValue(affectValue, metinSlot[sash.ABSORPTION_SOCKET])
    				affectString = self.__GetAffectString(affectType, affectValue)
    				if affectString and affectValue > 0:
    					self.AppendTextLine(affectString, self.GetChangeTextLineColor(affectValue))
    				
    				item.SelectItem(itemAbsorbedVnum)
    			## END EFFECT
    			
    			## ATTR
    			item.SelectItem(itemAbsorbedVnum)
    			for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM):
    				type = attrSlot[i][0]
    				value = attrSlot[i][1]
    				if not value:
    					continue
    				
    				value = self.CalcSashValue(value, metinSlot[sash.ABSORPTION_SOCKET])
    				affectString = self.__GetAffectString(type, value)
    				if affectString and value > 0:
    					affectColor = self.__GetAttributeColor(i, value)
    					self.AppendTextLine(affectString, affectColor)
    				
    				item.SelectItem(itemAbsorbedVnum)
    			## END ATTR
    			
    			## WEARABLE
    			item.SelectItem(itemVnumSash)
    			self.AppendSpace(5)
    			self.AppendTextLine(localeInfo.TOOLTIP_ITEM_WEARABLE_JOB, self.NORMAL_COLOR)
    			
    			item.SelectItem(itemVnumSash)
    			flagList = (
    						not item.IsAntiFlag(item.ITEM_ANTIFLAG_WARRIOR),
    						not item.IsAntiFlag(item.ITEM_ANTIFLAG_ASSASSIN),
    						not item.IsAntiFlag(item.ITEM_ANTIFLAG_SURA),
    						not item.IsAntiFlag(item.ITEM_ANTIFLAG_SHAMAN)
    			)
    			
    			
    			characterNames = ""
    			for i in xrange(self.CHARACTER_COUNT):
    				name = self.CHARACTER_NAMES[i]
    				flag = flagList[i]
    				if flag:
    					characterNames += " "
    					characterNames += name
    			
    			textLine = self.AppendTextLine(characterNames, self.NORMAL_COLOR, True)
    			textLine.SetFeather()
    			
    			item.SelectItem(itemVnumSash)
    			if item.IsAntiFlag(item.ITEM_ANTIFLAG_MALE):
    				textLine = self.AppendTextLine(localeInfo.FOR_FEMALE, self.NORMAL_COLOR, True)
    				textLine.SetFeather()
    			
    			if item.IsAntiFlag(item.ITEM_ANTIFLAG_FEMALE):
    				textLine = self.AppendTextLine(localeInfo.FOR_MALE, self.NORMAL_COLOR, True)
    				textLine.SetFeather()
    			## END WEARABLE
    			
    			self.ShowToolTip()

     

    So the sashes are fixed now? What else have to be fixed? The mythic alchemy? What is the issue there?

  7. Hey, will test it today. After somehow corrupting my files of 2 months work I had depression and still have.. hopefully I can enjoy evenings with metin once again.. was too hard for me to start over again..

    How are you seeing yourself on these files in the future? I mean are you planning to add those fixes that u mentioned regardless?

     

  8. Hey, back in 2022 on one random day I couldn't connect anymore to the server, syssers are blank and I can't get any information of them. However there is a file "game.core" and syslog file is full.

    I've tried debugging and deleting game.core with soemone already and yet I can't connect to the server.

    What else can I do to maybe fix the server or just something went rip and I can't help it? Tried replacing the mysql base like for example player table or just whole mysql table in navicat or trying to replace item proto mob proto one by one etc.. nothing worked

     

    Im just looking for any suggestions what else can be done or someone that is able to fix that, just pm me with price or just any help 

  9. Hey, guys since friday I can't really start my server and it just crashes. Image below is from the server console, I tried to increase swap space with some commands in putty but it doesn't seem work, did I really just ran out of RAM memory? So by upgrading RAM on the vps server it would work again? Right now everything goes off ch1,ch99, putty crashes (closes itself) etc.

    Is there any other possibility apart from upgrading to 3GB RAM from 2GB? Thought 2GB RAM should be enough for 1-5 players


    99AEMGC.png

  10. hey, im having a simple quest about destroying metin stones, my problem is that all of these quests up to level 90 appear on the right side as active quest. I'd like them to appear after the one before is done, thought the "set quest state" would fix that but it doesn't what im missing here?

    Spoiler

    quest zle_kamienie_lv60 begin
        state start begin
            when login with pc.get_level() >= 60 begin
                setstate(jeden)
            end
        end
        state jeden begin
            when letter begin
                send_letter("Złe Kamienie Metin #7")
            end
            when button or info begin
                say_title("Złe Kamienie Metin #7")
                say("Szablozębny Jasper zesłał na świat Złe Kamienie")
                say("Metin. Pokonaj 10 Kamieni Upadku aby uwolnić ")
                say("Świat od złych potworów wychodzących z Kamieni!")
                setstate(dwa)
            end
        end
        state dwa begin
            when letter begin
                send_letter("Złe Kamienie Metin #7")
            end
            when 8012.kill begin
                local count = pc.getqf("ile")+1
                    if count < 10 then
                        pc.setqf("ile", count)
                    elseif count == 10 then
                        say_title("Złe Kamienie Metin #7")
                        say("Gratulacje, pokonałeś 10 Kamieni Upadku ")
                        say("")
                        say("Twoja nagroda to")
                        say_green("- 300.000 Monet")
                        say_green("- 1.000.000 Punktów doświadczenia")
                        say_green("- Zestaw szkolenia umiejętności")
                        say("")
                        pc.change_money(300000)
                        pc.give_exp2(1000000)
                        pc.give_item2(71001, 1)
                        pc.give_item2(71094, 1)
                        set_quest_state("zle_kamienie_lv65", "run")
                        setstate(koniec)
                    end
            end
            when button or info begin
                say_title("Złe Kamienie Metin #7")
                say("Szablozębny Jasper zesłał na świat Złe Kamienie")
                say("Metin. Pokonaj 10 Kamieni Upadku aby uwolnić ")
                say("Świat od złych potworów wychodzących z Kamieni!")
                say("")
                say("Pokonałeś już: "..pc.getqf("ile"))
                say("")
            end
        end
        state koniec begin
        end
    end 

     

     

    next quest looks like this and name of the quest is kmetin65.quest
     

    Spoiler

    quest zle_kamienie_lv65 begin
        state start begin
            when login with pc.get_level() >= 65 begin
                setstate(jeden)
            end
        end
        state jeden begin
            when letter begin
                send_letter("Złe Kamienie Metin #8")
            end
            when button or info begin
                say_title("Złe Kamienie Metin #8")
                say("Szablozębny Jasper zesłał na świat Złe Kamienie")
                say("Metin. Pokonaj 15 Kamieni Śmierci aby uwolnić ")
                say("Świat od złych potworów wychodzących z Kamieni!")
                setstate(dwa)
            end
        end
        state dwa begin
            when letter begin
                send_letter("Złe Kamienie Metin #8")
            end
            when 8013.kill begin
                local count = pc.getqf("ile")+1
                    if count < 15 then
                        pc.setqf("ile", count)
                    elseif count == 15 then
                        say_title("Złe Kamienie Metin #8")
                        say("Gratulacje, pokonałeś 15 Kamieni Śmierci ")
                        say("")
                        say("Twoja nagroda to")
                        say_green("- 400.000 Monet")
                        say_green("- 1.500.000 Punktów doświadczenia")
                        say_green("- Stały bonus 5% siły na potwory")
                        say_green("- Zestaw Alchemika")
                        say("")
                        pc.change_money(400000)
                        affect.add_collect(apply.ATT_BONUS_TO_MONSTER, 5, 60*60*24*365*100)
                        pc.give_exp2(1500000)
                        pc.give_item2(38050, 15)
                        set_quest_state("zle_kamienie_lv65", "run")
                        setstate(koniec)
                    end
            end
            when button or info begin
                say_title("Złe Kamienie Metin #8")
                say("Szablozębny Jasper zesłał na świat Złe Kamienie")
                say("Metin. Pokonaj 15 Kamieni Śmierci aby uwolnić ")
                say("Świat od złych potworów wychodzących z Kamieni!")
                say("")
                say("Pokonałeś już: "..pc.getqf("ile"))
                say("")
            end
        end
        state koniec begin
        end
    end 

     

  11. Hey, im having a wiki system that looks like this under the questions mark. Problem occurs with 2-3 slot items, they are not sorting themselves as they should.

    Im not sure where should I look for fix, its either bin or client

    If u need any files or the tutorial of wiki system to see how it looks like, just pm me or ask here

    discord : tuckii#0954

    nh8d3yG.png

  12. 1 hour ago, Developer1321 said:

    Inside the map folder there are folders with different numbers, 00000 00001 00002 00003....etc

    In each folder there are some txt called areadata.txt areaproperty.txt and others, verify that these files are in lowercase, if they are in uppercase you should change them to lowercase and compile.

    This should fix your error

    I don't know if in these folders should be nusluck folder, can you check it in your folder if u have metin2? Either im missing this folder somehow or it takes textures from somewhere else

     

    Fixed by changing the coordinates

  13. 4 hours ago, Tuckii said:

    Hey, im having a problem where I do not have any textures on nusluck map which is "Giants map". Client syser was showing something like "CArea::LoadObject Property Load ERROR" but it isn't showing it anymore somehow.

    All I've changed was the base position in setting.txt to some other one.

    I've tried looking for a fix, tried to pack etc, textureset but didn't work, Paths also seem to be correct.

    plFa7cs.png

    looks like this

  14. Hey, im having a problem where I do not have any textures on nusluck map which is "Giants map". Client syser was showing something like "CArea::LoadObject Property Load ERROR" but it isn't showing it anymore somehow.

    All I've changed was the base position in setting.txt to some other one.

    I've tried looking for a fix, tried to pack etc, textureset but didn't work, Paths also seem to be correct.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.