Jump to content
  • 0

OnPCLoadMapEvent Question


Meister

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Is this script command resource hungry? Upon reading on the scripts_command. It says "Imagine the server load with 1,000 players (oh the pain...)", will this really be a problem?

I plan to implement a script wherein it checks all map with mf_pvp flag and announce to Player how many players are in the map via message. And also announce by map if the player has entered the map.

Regards

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Honestly, would be wiser if you put those lines of code on warps/teleporters.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

25 minutes ago, Haziel said:

Honestly, would be wiser if you put those lines of code on warps/teleporters.

I don't get it. How to put on warps/teleporters?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

I think that he means that instead of using loadmap on all maps to check if it's a pvp one, you'd better add a check on warper when a player enter in pvp map, and add the announce if it's a pvp one. It'll prevent the check on ALL maps, but will reduce it to those you'll determine as pvp ones.

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