Jump to content
  • 0

New mob_db.yml affecting scripts with @reloadmobdb


norightinfo

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  24
  • Reputation:   1
  • Joined:  07/15/20
  • Last Seen:  

 

Hi, so I was glad that the mob_db.txt has been converted to mod_db.yml, which is so much easier to read and modify, however I counter a possible performance issue, I have a floating rate script which is an sample script provided by the rAthena.

Long story short, so the script uses "setbattleflag" to modify the experience and drop rates, combined with calling a command @reloadmobdb, now here is where the problem occurs, as it reloads the mob_db.yml file, it takes long to finished the load time from the mapserver, and in game it freezes the characters (players). 

Does anyone also experiencing this problem aswell? and do you have any resolution?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

6 minutes ago, norightinfo said:

 

Hi, so I was glad that the mob_db.txt has been converted to mod_db.yml, which is so much easier to read and modify, however I counter a possible performance issue, I have a floating rate script which is an sample script provided by the rAthena.

Long story short, so the script uses "setbattleflag" to modify the experience and drop rates, combined with calling a command @reloadmobdb, now here is where the problem occurs, as it reloads the mob_db.yml file, it takes long to finished the load time from the mapserver, and in game it freezes the characters (players). 

Does anyone also experiencing this problem aswell? and do you have any resolution?

From what I know it shouldn't freeze unless you use reloadscript. o.o. Do you find any error btw?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  24
  • Reputation:   1
  • Joined:  07/15/20
  • Last Seen:  

45 minutes ago, Ronald said:

From what I know it shouldn't freeze unless you use reloadscript. o.o. Do you find any error btw?

I am using "reloadmobdb" so it should reload, I am not using "reloadscript" this is entirely triggered by the script on npc, and no error.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

If you are using other OS it will only take 30-40sec to load . But if you are using windows it takes a minute .

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  24
  • Reputation:   1
  • Joined:  07/15/20
  • Last Seen:  

11 minutes ago, Poring King said:

If you are using other OS it will only take 30-40sec to load . But if you are using windows it takes a minute .

This much is true, I am using Windows and it does takes 1-2minutes before it finishes its load. So I guess my only solution to switch it with Linux base distros.

Edited by norightinfo
  • Upvote 1
Link to comment
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...