Jump to content
  • 0

Command that makes the player return to "Select Character" screen


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Hello, i would like to request a command that makes the player return to the "Select Character" screen, it's because if i use @kick the player's window will close instead of a llowing them to select another character, it's for an event. Thanks i hope you guys can help :33!

 

regards~

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

If this IS possible, then at the very least it would require packet sniffing to find out exactly which packet is sent when they do go to character select screen. And then from there, we need to send that specific packet to that person only. Again, would require src edits. Not sure if this is even practical. You could do an @ban 1second and then it should send them to login screen, where they can just login again since that 1second is sure to be up.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

@ban 1 second o:? that will do o:!!! thank you so much >:DD!

 

by the way, it would be like this right?

map,x,y script name -1,{

atcommand "@ban 1 "+@player$; 
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  135
  • Reputation:   20
  • Joined:  02/05/13
  • Last Seen:  

why not just use @kick?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

As he said before, @kick will make the player close the client. This has to do with, the new login window issue. Where kicking them acts like a kill-client. Same with d/cing on new login windows because it is all apart of their new hack/loss prevention system where, they want you to re-log every time so that you aren't stealing peoples stuff.

 

Dont' ask me why, it's just the way they chose to handle this.

 

Edit:  Also, i'm not sure how the ban script would be written, since I don't know how the script acts, and I also don't remember how the ban command works lol. And by that I mean, the syntax. Cuz I think you needed to specify s/mn/h/d//m/y (seconds,mins,hours,days,months,years).

Edited by GmOcean
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

alright thanks i'm going to try that out ;o

 

yup @kick makes the player's client to close D: i would prefer a way to make them return directly to the select character screen D: if i make them ban and they try to enter too quick and notice that they are banned i think they will quit DDDD:!

 

thanks again to bogh o:

 

https://github.com/rathena/rathena/blob/master/doc/atcommands.txt#L1220

 

or well o: i cantry to ban and then unban the player immediatly o:!

map,x,y script name -1,{
atcommand "@ban 1 "+@player$;
atcommand "@unban" "+@player$;
end;
}

right o: ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

Try @ban 1s.

You need to give a time scheme, not the amount of milliseconds.

Edited by Yuka
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Try @ban 1s.

You need to give a time scheme, not the amount of milliseconds.

map,x,y script name -1,{
atcommand "@ban 1s "+@player$;
atcommand "@unban" "+@player$;
end;
}

? o:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

 

Try @ban 1s.

You need to give a time scheme, not the amount of milliseconds.

map,x,y script name -1,{
atcommand "@ban 1s "+@player$;
atcommand "@unban" "+@player$;
end;
}

? o:

 

No idea if this works.. xd

Just try it out.

Remove the " after unban. :P

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