Jump to content

kaJaMrSimple

Member
  • Posts

    57
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by kaJaMrSimple

  1. 30 minutes ago, WeedHex said:

    Does it happen without mount usage? 

    Close the client, open again, Dont use the mount and see if happen the same.

    Anyway it may be any problem >_<

    If I close the client the problem is solved. because i faced this problem 2 times in 3 months. it had happened without a mount.

     

    13 minutes ago, PetePeter said:

    This is different situation, I'm speaking about the monsters not moving at all. This must be a sync problem because of the mount, the clientside speed and serverside speed are different

    How can I test the accuracy of the speeds?

     

    14 minutes ago, Gurgarath said:

    Hello,

    When this bug is occurring, can you do /state to see if it matches your coordinates? Also, move and see if the coordinates change.

    This is most likely a desync because of data folder. Many servers (like many other things) do not bother to fix it.

    The account I had the problem with was not gamemaster. I couldn't do that. I'll try if it happens again.



    btw i have not shut down the client for about 5 hours i am facing this issue. I didn't teleport the character anywhere. and the sync seems to have fixed itself. There is no guarantee that it won't happen again.

  2. 5 minutes ago, PetePeter said:

    Endişelenecek bir şey yok, bu yalnızca bir sunucu kapatıldıktan sonra istemcinizi yeniden başlatmadığınızda olur. Her müşterinin GameMaster için beklediği kapatma kapanışı nedeniyle oyuncuların başına gelen bir şey değil

    https://metin2.download/video/LbSJGPh5DOoRj4Mr431vNvz2N6kAp9jQ/.mp4 

    Is the situation in this video related to what you said then? because it was not after the shutdown, but in the flowing game for many players.

  3. On 3/2/2022 at 12:25 AM, DrTurk said:

    normal in marty files, you could debug it via visual studio. this bug doesnt appear in base leaked source

    I installed the cleanest files martysama gave me. same problem there.

    https://metin2.download/picture/Te3LFMV3l68nSHxm0R5UHysfvdn5mVRL/.gif
    https://metin2.download/picture/ExWn58MMi3hsJXJ5RS5XYLdz9jmO70Ca/.gif

    All highlight animations work again every time I buy an item.

  4. It's a bug that I think is in the Highlights system.

    When you carry an item in the inventory with an interval of 12 seconds, when you wear and take it off, when you enchant the item, the effects of all items with Highlights effect are working again, as if the animation is rewinding as if it was the first time.

    Although it doesn't seem like a very important problem, it causes trouble when used with a switchbot

    I think it will be better understood with gif;

    https://metin2.download/video/9BP78OI8r3EvRqNNm1T6jtRpm4wzGWOq/.mp4

    I think most files don't have this problem. I am using martysama 5.3 infrastructure. I couldn't figure out why. Anyone have any ideas on this subject?

  5. 43 minutes ago, xXIntelXx said:

    wait, how 130x99 are local and 450*99 are global? No way my dude ahah

    130x99 are the coords u see in the minimap I suppose. Just add *100 + the basecoords of the map at those coords. Let's say the map has coordinates 153600*1203200

     

    
    CHARACTER_MANAGER::instance().SpawnMob(20375, GetMapIndex(), 130*100 + 153600 , 99*100 + 1203200, 2, false, -1, true);
    /*
    130 = local_x
    *100 = "global"
    153600 = base_x of the map, the one in Settings.txt
    
    99 = local_x
    *100 = "global"
    1203200 = base_y of the map, the one in Settings.txt
    */

    which basically are the coordinates when you do /warp

     

    Yeahh its work! but there is a small problem. 2 of them come from this and although the z coord is 2 it is not like 2

     

    spacer.png

  6. 31 minutes ago, xXIntelXx said:

    usually you could just add *100

     

    also my bad, mob_spawn (lua) uses local coords (no sleep vision problems lol)

    Dec 19 19:29:18 :: SpawnMob: cannot create monster at non-exist sectree 450 x 99 (map 1100001)

     

    Same syserr although I give global coords. (130x99 is local, 450x99 global coords)

     

    mob_spawn (lua) is useless for me. but I want mobs (20375) to spawn every time a war starts. I have a countdown feature. When the time is up, the mobs on the map purge all and the war begins.

     

    If I do it with lua, won't it spawn mobs again when the new player enters after the battle has started (i.e. after purge all)? This is a situation I don't want.

  7. 3 minutes ago, xXIntelXx said:

    evet ama onu kaynaklardan çıkardığını söyledin:

    
           

    şimdi, koordinatların rastgele olup olmadığını bilmiyorum, ama değilse, sadece haritaya gidin ve warp komutunun kendinize çarptığı koordinatları alın.

    Aksi takdirde, bir görevde mob_spawn küresel koordinatları kullanır, dungeon_spawn_mob yerel koordinatları kullanır

    Okayyy I understand. I find global coords. I'll try now. I'll tell the result

  8. 56 minutes ago, xXIntelXx said:

    Syserr is self explanatory, 130,99 are not valid coordinates, because you are passing local coords to the function while:

    
    
    LPSECTREE SECTREE_MANAGER::Get(DWORD dwIndex, DWORD x, DWORD y)
    {
    	SECTREEID id;
    	id.coord.x = x / SECTREE_SIZE;
    	id.coord.y = y / SECTREE_SIZE;
    	return Get(dwIndex, id.package);
    }

    you can see it goes to divide the cords with the sectree_size

     

    Also, we can check, for example, do_mob_ld where it uses SpawnMob and:

    
    
    	CHARACTER_MANAGER::instance().SpawnMob(vnum, 
    		ch->GetMapIndex(),
    		x*100, 
    		y*100, 
    		ch->GetZ(),
    		pkMob->m_table.bType == CHAR_TYPE_STONE,
    		dir);

    So, to be sure, recalculate the coords doing /warp charactername.

     

    quest warp begin
    	state start begin
    		when letter with pc.is_gm() begin
    			send_letter("GM: Warp")
    		end
    		when button or info with pc.is_gm() begin
    			setskin(0)
    			send_letter("GM: Warp")
    			syschat(pc.get_map_index().."-"..pc.get_x().."-"..pc.get_y().."-"..pc.get_local_x().."-"..pc.get_local_y())
    		end
    	end
    end

    I have a quest like this. but not working in guild warp map. I can't find coords. 
    but I can spawn mob like this

    regen_in_map(pc . get_map_index ( ), "locale/turkey/map/metin2_map_t3/cit.txt")

    I want mobs (20375) to spawn every time a war starts. I have a countdown feature. When the time is up, the mobs on the map purge all and the war begins.

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