Jump to content
  • 0

Maximun Event Queue


BigBurrito

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.02
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/16/16
  • Last Seen:  

Hello everyone, anyone knows what is the limit for Player's event queue?
I'm using couple of different scripts with OnPCLogingevent and apparently there is a limit or I'm using it wrong? I'm gonna try putting some delays on couple of them with sleep2, but I'm worried for future scripts if I need to use again onpclogin i might need to add more seconds to the delay. Thanks in advance.
Im getting this warning:
npc_event: player's event queue is full, can't add event "eventname"

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1677
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

you better not delay the events if you have too many of the same type.

the maximum number is 3

after that the events will be deleted instead of moving to the queue.

https://github.com/rathena/rathena/blob/05ebde0198380c100c92b7873c86ee93b811032d/src/map/map.hpp#L49

 

Edited by sader1992
  • Love 1
  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1677
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

do not increase the maximum , just marge the events you have into one script.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.02
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/16/16
  • Last Seen:  

I thought about that too. Merge everything into one. Was not planning on increasing but rather on knowing if there was an exact number. 

Is making some of the event sleep2 for couple of seconds a good practice? or can get bugged  or send the maximun queue warning aswell? 

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