Jump to content

ggns7

Member
  • Posts

    20
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ggns7

  1. 7 minutes ago, HFWhite said:

    shouldn't you write it like this then? because now it acts like this for all songs..

     

            if (musicInfo.fieldMusic == "xmas.mp3"):
    			netFieldMusicFileName = net.GetFieldMusicFileName()
    			if musicInfo.fieldMusic != "":
    				snd.FadeInMusic("BGM/" + musicInfo.fieldMusic)
    			elif netFieldMusicFileName:
    				snd.FadeInMusic("BGM/" + netFieldMusicFileName)
    		else:
                netFieldMusicFileName = net.GetFieldMusicFileName()
                if netFieldMusicFileName:
                    snd.FadeInMusic("BGM/" + netFieldMusicFileName)
                elif musicInfo.fieldMusic != "":
                    snd.FadeInMusic("BGM/" + musicInfo.fieldMusic)

     

    No, this is very useless, you are writing specific code. It should be flexible.

  2. 3 minutes ago, Filachilla said:

    I just using notepad++ many years for sort without any problem.. Maybe this is a reason why no one make it before?

    Data loss is impossible, nothing to lose by trying.

    I already use it myself, it's not a prototype

  3. Just a logic problem, because GetFieldMusicFileName always returns a non-empty value. There is probably a default music name on the server.

    If there is no custom music selection, to play the default

    Find in game.py

    		netFieldMusicFileName = net.GetFieldMusicFileName()
    		if netFieldMusicFileName:
    			snd.FadeInMusic("BGM/" + netFieldMusicFileName)
    		elif musicInfo.fieldMusic != "":
    			snd.FadeInMusic("BGM/" + musicInfo.fieldMusic)

    Replace with;

    		netFieldMusicFileName = net.GetFieldMusicFileName()
    		if musicInfo.fieldMusic != "":
    			snd.FadeInMusic("BGM/" + musicInfo.fieldMusic)
    		elif netFieldMusicFileName:
    			snd.FadeInMusic("BGM/" + netFieldMusicFileName)

     

  4. I don't know if developed a tool like this, before by anotherone.
    I wrote it for myself and I am sharing it to help you too.

     

    What is it?

    • Sort the contents of proto files from smallest to largest based on numbers

    How to use?

    • Simple to use, just put the file to be sorted in the same directory as the tool and run the tool. Easy to use.
    • If undecodable characters are encountered (aka if not in EUC_KR charmap), you will fail.
    • If you agree to ignore this, you can use 'force_sort_proto.exe' or 'force_sort_proto.py' to force sort the file.
    • Effects: Functionally you should not encounter any problems. However, it may lose its meaning in 'human language'
    • .exe? For those who don't have the Python Interpreter, for quick use.

    spacer.png

    This is the hidden content, please
     or 
    This is the hidden content, please

    • Metin2 Dev 10
    • Good 2
    • Love 5
  5. 6 hours ago, Psycho said:

    just study a little programming and everything comes by itself

    I already have an intermediate level of knowledge, I know how a programming language works and what's the programming. That's not the problem. The server side and the client side have the same enumerators. I make the logical change, the index is correct, but I don't get the result I expect. Very strange results.

    If someone tell me how it works, I will try to understand it better by making changes and tests accordingly

  6. Hi,

    When adding systems like wearable mounts, weapon skins, shoulder sashes, we try to adapt the indexes in GameType.h file.

    I have difficulty with this part, I think I understand it but when I test it, I don't get the results I expect.

    Can someone explain to me the logic of this?

    For example: What steps must be followed for an item to be wearable?

  7. Hi, I think I added everything correctly. Never used SendSequence before in my files. Probably because it is used for the first time, some adjustment needs to be made, but I don't know how.

    I didn't see a guide in the system files either.

    https://metin2.download/picture/b7PDrt0icQbihRtt7glrxb5OwEeCJ712/.png

    Can you help me? 🫠

    The system

  8. I also solved this problem when I created a subfolder with the same name:

    metin2_map_city/metin2_map_city

    but this time there is another problem:

     

    0415 00:19:11099 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
    0415 00:19:11104 :: CMapOutdoor::LoadTerrain AreaProperty Read Error

    0415 00:19:11104 ::  CArea::Load File Load metin2_map_city\000000\AreaData.txt ERROR
    0415 00:19:11104 ::  CArea::Load File Load metin2_map_city\000000\AreaAmbienceData.txt ERROR
    0415 00:19:11104 :: CMapOutdoor::LoadTerrain AreaProperty Read Error

    0415 00:19:11104 ::  CArea::Load File Load metin2_map_city\000001\AreaData.txt ERROR
    0415 00:19:11104 ::  CArea::Load File Load metin2_map_city\000001\AreaAmbienceData.txt ERROR
    0415 00:19:44612 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
    0415 00:19:44613 :: CMapOutdoor::LoadTerrain AreaProperty Read Error

    no environment:

    https://metin2.download/picture/V4gXuVKg6B8RDc1dxza0FYSbq3b6Y5US/.png

  9. 10 minutes ago, TMP4 said:

    You may have an atlasinfo.txt in your locale_xy.eix-epk. If it exists there, it'll load from there and not from root.

    Thank you very much <3, that's true. I'm closer to the end now but this time there is a new problem

    syserr.txt

    MapProperty.txt

    I think it's a problem with names, I'm trying to solve it

  10. no, i haven't seen this. Thank you so much :)

    hi, I managed to install the World Editor. But I have a problem. I cannot add any objects to a map I just created

    https://metin2.download/picture/43161y2PBV6jbQqNo51sg1Nb7987h1SX/.gif

    When I double-click it, the last window opens but even if I agree, nothing changes!

    Do you think why?Insert image from URL

×
×
  • 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.