Jump to content
Sign in to follow this  
Yie

Instant Respawn

Recommended Posts

Does anyone experiences the bug where the mobs instantly respawn after killed?

 

It happens when you killed instantly the mobs after respawned.

 

No lua err logs.

 

Thank you

Share this post


Link to post
Share on other sites

Hello @Yie,

 

Try to add this check in the function is_friend() from file functions.lua

local is_land_cha_1 = IsChaInLand(cha1) or 0
local is_land_cha_2 = IsChaInLand(cha2) or 0
  
if is_land_cha_1 ~= is_land_cha_2 then
      return 1
end

 


Share this post


Link to post
Share on other sites
19 hours ago, V3ct0r said:

Hello @Yie,

 

Try to add this check in the function is_friend() from file functions.lua


local is_land_cha_1 = IsChaInLand(cha1) or 0
local is_land_cha_2 = IsChaInLand(cha2) or 0
  
if is_land_cha_1 ~= is_land_cha_2 then
      return 1
end

 

Thank you for your immediate responce @V3ct0r!!

 

may i ask the logic about this function? And how was it suppose to fix the prob?

 

thank you in advance!

Share this post


Link to post
Share on other sites
On 3/8/2022 at 9:22 AM, Yie said:

Thank you for your immediate responce @V3ct0r!!

 

may i ask the logic about this function? And how was it suppose to fix the prob?

 

thank you in advance!

As I know, this bug probably appears when player in a boat kill a monster on land. The check prevents it by making the player and the monster friendly to each other.


Share this post


Link to post
Share on other sites
On 3/9/2022 at 9:36 AM, V3ct0r said:

As I know, this bug probably appears when player in a boat kill a monster on land. The check prevents it by making the player and the monster friendly to each other.

well seems not so true tbh, i will share small method to do it could be helpful for someone 
 

so first its related to skills as he said 

On 3/9/2022 at 10:41 AM, squaller said:

the bug is related to skills. you need fix those AOE skills. 

 

what easier way to do this bug?
there is 2 ways so far i know , 

first one about monster has respawn time less than 1min , for example some monster has respawn time as 30sec , 15sec some has 10 sec to respawn

how is that related?
well it's kinda lame way but you can use 2 skills to test this bug 

first one magma skill ?

how?
the bug happen mostly when you you use magma for example 

the magma kills a monster with these kind of monsters with low respawn cooldown >10/15/30 etc <
after magma kill that monster you do "Switch character "
login same character again, magma will kill another monster 
once that happen all monster now will do insta respawn 
and to avoid people drama > this development testing bug  way <

so don't reply as "hard to happen etc bla bla" this methos for you as deve to test the bug

another skills could be used like voyger rb skills 

that easier to test the bug even as the damge bigger than magma skill so it doesn't take so long

to bug monsters 

there is another methods?
no clue? if someone has more methods just throw them here 

 

workaround to fix it?
i would say if you don't use source code easier way to workaround

make all monsters minimum respawn as 1 min , should work fine for you 

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...