Jump to content

Mitachi

Developer
  • Posts

    139
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Posts posted by Mitachi

  1. The new maps are in the same index?

    long g_start_map[5] = // [4] to [5]
    {
    	0,	// reserved
    	1,	// Red
    	21,	// Yellow
    	41	// Blue
    // example begin
    	,82 // My new personal map (INDEX)
    // example end
    };
    
    DWORD g_start_position[5][2] = // [4] to [5]
    {
    	{      0,      0 },	// reserved
    	{ 509400, 757400 },	// Red (1)
    	{  55700, 157900 },	// Yellow (21)
    	{ 190300, 917600 }	// Blue (41)
    // example begin
    	{ 010101, 010101 }	// My new personal map (COORD)
    // example end
    };
    • Love 1
  2. 1 minute ago, dexolus said:

    Hi, im sorry i found it like 10 minutes before u write me here. THanks for response. My problem was bad type and subtype in database. When  i set it corectly it works now 🙂 Thank you and have a nice day 🙂

    My mistake, I read that you had inserted a new mount system, not a new mount.
    This is why I thought the problem stemmed from the code. Anyway well, you have solved

  3. 4 hours ago, Debloat said:

    Oh, such simple thing... Thank you for helping. I used to change them in navicat and they were getting back to 0. I should have instead do it in the item_proto.txt Thank you again...

    p.s
    And now the problem is... They can't be stacked by drag&drop in the inventory. I can get them in stack with command but it says "You can't add stone to this item" when i drag them on top of each other.

    • Love 1
  4. 33 minutes ago, Debloat said:

    Hi, thanks for the release. What to do if we only want them to be stackable but not refinable?

    The code is adapted to be able to refine them with scroll or blacksmith, if you simply want to make them stackable you just have to change the flag on the item_proto server.

    spacer.png

    in "flag" field, change 0 to 4 for all stones value.

  5. 51 minutes ago, Sierra said:

    It was active for me and I checked your pastebin if there's any difference but no. I have the same bug as OP.
    It is perfectly presented that the bug only happens after a while punching the enemy, also when the enemy moves and not let himself to punch a lot then there is no bug.

    Yeah, I also had the exact same bug. I was sure I fixed it the way above, it's a bug I fixed in 2018. After a few combos it happens.
    If I find anything else, I'll let you know, unfortunately in 2018 I wasn't using git, otherwise it would have taken me 5 seconds to tell you the solution 🙄

  6. Some time ago I had such a problem and if I'm not mistaken, the problem was in Srcs/Server/game/src/input_main.cpp

    int CInputMain::SyncPosition(LPCHARACTER ch, const char * c_pcData, size_t uiBytes)
    {
    ..
    }

    Technically, you should find a lot of commented code inside, on some files it is like this (Polish / Romanian source file)

    to be exact, this is the commented code block, you have to reactivate it:

    /*
    	for (int i = 0; i < iCount; ++i, ++e)
    	{
    		//...
    	}
    */


    It seems that this "bug" is something they wanted, according to their pvp way.

    Test and let me know, replace the whole function with this: https://pastebin.com/tKycmCEp

     

    • Good 1
  7. As I said, I wrote the fix on my char_item.cpp which is very different from the classics. Some inconsistencies have been reported to me, so I rewrote the fix on the mainline code. Anyone who has used it, please update the code. I apologize for the inconvenience
    #UPDATED

    • Metin2 Dev 7
    • Good 2
    • Love 1
  8. 20 minutes ago, TheLionIK said:

    Yes, re-post whats already public for some years on other boards and also here on topic comments but write as if you did it yourself.

    Awesome.

    It doesn't take a genius for such a stupid solution, the only reason I released it is because it's not in the release yet, that already exists, I believe it., but doubting I wrote it with my hands is like delayed. I'm just simplifying the search for people with this problem.

    If I release a $ 200 system that you will install with your dirty fingers, are you happier? 🤣 Users like you should be banned from the community.

    • Good 1
  9. This is the hidden content, please

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

    Hi guys, some people asked me for help with this trivial problem, so today I decided to release it.
    Now you can stack the stones and upgrade them. (obviously you did to changes the flag fields from item_proto server)
     

    • Metin2 Dev 225
    • kekw 3
    • Dislove 3
    • Not Good 2
    • Smile Tear 2
    • Think 1
    • Confused 2
    • Scream 1
    • Good 68
    • Love 5
    • Love 78
  10. 27 minutes ago, I bims 1 WLAN said:

    i created npc3.eix .epk with my new NPC's

    What do you mean with "i created npc3.eix", x_patch/ymir work/npc3 ?

    Because, if you want make a new internal path, you need to do a small edit in Srcs/Client/GameLib/RaceManager.cpp

    void __GetRaceResourcePathes(unsigned race, std::vector <std::string> & vec_stPathes)
    {
    
    //..
      
    	else if (__IsNPCRace(race))
    	{
    		if (race >= 30000)
    		{
    			vec_stPathes.push_back ("d:/ymir work/npc2/");
    			vec_stPathes.push_back ("d:/ymir work/npc/");
    			vec_stPathes.push_back ("d:/ymir work/monster/");
    			vec_stPathes.push_back ("d:/ymir work/monster2/");
    			vec_stPathes.push_back ("d:/ymir work/guild/");
    		}
    		else

    Extra: If you using FoxFS, the way are be different.

    • Good 1
  11. Are you sure you did something in the source code? It seems strange. I think you forgot to put deadlines on your accounts.

    spacer.png

    interest to you: autoloot_expire

    Tips: Right click on account table -> design table, search x_expire field, and edit default, my example:

    spacer.png

    In this way, Default: is 2030, so, when you make an account, he reiceve this flag.

    Usually, they are given through registration from the site. But, if you have a test server, I recommend that you do this to avoid forgetting about it.

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