Jump to content

Recommended Posts

Posted (edited)

I believe you break all summoning skills, like "Summon Friend", since pressing "ok" (_answer == 1) will use the admin version of it, and not the regular player one.

Edited by Tryskell
  • Thanks 1
Posted (edited)
20 minutes ago, SweeTs said:

Obviously it's gonna fck things up. You need your own answer.

 

I believe (didn't check) the answer is client coded (pressing yes leads to 1, and no leads to 0).

 

But it can work if he uses another SystemMessageId.

Edited by Tryskell
Posted
20 hours ago, Tryskell said:

 

I believe (didn't check) the answer is client coded (pressing yes leads to 1, and no leads to 0).

 

But it can work if he uses another SystemMessageId.

I just take a look again, and if I'm not wrong.. Once you execute the command, the dialog pops up and... It's enough one guy answer yes, will result in teleporting whole server aaa :dat:

 

The for loop, should NOT be there or my brain disconnected:forever_alone_like_a_boss:

Posted (edited)
On 10/9/2019 at 4:52 AM, Williams said:

Main topic updated with corrections and restrictions.

 

Did you test it with more than 1 teleported player ? As SweeTs said, you make 2 iterations of World players.

 

When one player accepts the request, everyone is teleported. So basically if you got 1k players, that's 1k teleportations if everyone accept very fast. :D

 

----

 

Also, that check is useless, until you set it to value like 300 or so.

if (!MathUtil.checkIfInRange(0, activeChar, player, false))

----

 

And you still have the same issue than before, since you override regular behavior, you don't use the right method. Therefore you edit all retail behaviors using this system (summon friend being one of them).

 

You can only use a custom message id, or another, unused, message.

Edited by Tryskell

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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