Jump to content
  • 0

Put people in a party/ BG group


Yuka

Question


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

Hello,

how can I team people up as party or BG group by NPC script?

Thanks a lot!

Edited by Yuka
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

 

*party_addmember(<party id>,<character id>);

Adds a player to an existing party.

The command returns 1 upon success, and these values upon failure:

 0: Unknown error.

-1: Player not found.

-2: Player already has a party.

-3: Party not found.

-4: Party is full.

---------------------------------------

*party_delmember({<character id>,<party id>});

Removes a player from his/her party. If no player is specified, the command

will run for the invoking player. If that player is the only party member

remaining, the party will be disbanded.

The command returns 1 upon success, and these values upon failure:

 0: Unknown error.

-1: Player not found.

-2: Party not found.

-3: Player is not in the party.

maybe this

  • Upvote 1
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:  

 

Sorry, I have never used a .diff to patch my rAthena.

I put it on my rAthena directory and did this:

cd to where the patch is located
patch -p0 < battleground_17102.diff

as written here: http://rathena.org/wiki/Diff

 

But it says:

-bash: patch: command not found

I also tried:

cd to where the patch is located
patch -p0 < root/rAthena/battleground_17102.diff

But it says:

-bash: root/rAthena/battleground_17102.diff: No such file or directory

But when I use "dir" it shows me the battleground_17102.diff file. :/

 

My root is running on Centos 5.9 32bit.

Edited by Yuka
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:  

Hm.. I am trying to change people's party with changing the "party_id" at the "char" table in my database.

But it doesn't refresh, even after relog. x_x

 

Isn't there a way to change people's party?

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:  

 

 

*party_addmember(<party id>,<character id>);

Adds a player to an existing party.

The command returns 1 upon success, and these values upon failure:

 0: Unknown error.

-1: Player not found.

-2: Player already has a party.

-3: Party not found.

-4: Party is full.

---------------------------------------

*party_delmember({<character id>,<party id>});

Removes a player from his/her party. If no player is specified, the command

will run for the invoking player. If that player is the only party member

remaining, the party will be disbanded.

The command returns 1 upon success, and these values upon failure:

 0: Unknown error.

-1: Player not found.

-2: Party not found.

-3: Player is not in the party.

maybe this

 

Oh, I haven't found this in the docu, will try right now.

Sounds as it was what I am looking for.

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