Jump to content
  • 0

Party Warper Script


RenLen

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   2
  • Joined:  03/01/12
  • Last Seen:  

I need a script for party warper,it allows you to warp to anyone in your party only if the player/s is online excluding the non-warpable maps, If there is/are any scripts that is similar to this, please link me to it. Cause i tried searching for it in scripting releases, unfortunately didn't find one. And if there's none, please help me. Thank you.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

http://rathena.org/board/topic/69747-friends-warper/

change

query_sql "SELECT `friend_account` FROM `friends` WHERE `char_id` = "+getcharid(0)+"",.@aid;

to

getpartymember getcharid(1),2;
set .@num,$@partymembercount;
copyarray .@aid[0],$@partymemberaid[0],.@num;

map limit :http://rathena.org/board/topic/69747-friends-warper/#entry134223

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   2
  • Joined:  03/01/12
  • Last Seen:  

prontera,150,180,4 script Test 100,{
deletearray .@aid[0],128;
deletearray @aid[0],128;
set @j,0;
set @select$,"";
getpartymember getcharid(1),2;
set .@num,$@partymembercount;
copyarray .@aid[0],$@partymemberaid[0],.@num;
set .@num,getarraysize(.@aid);
for(set .@i,0;.@i<.@num;set .@i,.@i+1)
if(isloggedin(.@aid[.@i]))
{
set @aid[@j],.@aid[.@i];
set @j,@j+1;
set @select$,@select$+":"+rid2name(.@aid[.@i]);
}
set @menu,select(@select$)-2;
if(isloggedin(@aid[@menu]))
{
getmapxy(@m$,@x,@y,0,rid2name(@aid[@menu]));
 if( getmapflag(@m$,mf_pvp) || @m$ == "mapname" || @m$ == "mapname" ){
  mes "You cant warp to his map now.";
 }else{
  warp @m$,@x,@y;
 }
close;
}

Thank you!

Is this correct now?

Edited by iamsoap
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...