Jump to content

Recommended Posts

thumb-62522d8718fa1569741f2f6a93b0d415-screen-pre-renewal-001.jpg

File Name: Party Script Plugins

File Submitter: Mhalicot

File Submitted: 16 Apr 2014

File Category: Plugins

 

Works only in HERCULES.

Due to insistent public demand

HPM party script complete package released.

 

Compatible with Windows System Only

 

if you are using Linux, ignore other files and use only partyscript.c

some Linux System got many bugs with files what are all ready compiled under VS2010 .

(Windows Compiled wont work on *nix)

 

Instruction.

 

1. Download and extract files using 7z or any application that can extract it.

2. extract it in your server directory ex: C:/RO Server/Hercules/

2.1. edit conf/plugins.conf and add partyscript

3. Your done. you can now try your plugins

 

if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.

this is what you need to do.

 

In Recompiling:

If you are using other MSVS/C

right click partyscript>Configuration Properties>General>

search for Platform Toolset, change to VS2009(v90) / VS2010(v100) / VS2012(v110) / VS2013(v120)

then try to recompile again..

 

Note: Recompile if you modify the script.

If you want to edit look for src/plugins/partyscript.c

you can also add alias in atcommand.conf

 

List of Script Commands

*party_create("<party name>"{,<character id>{,<item share>,<item share type>}});

*party_destroy(<party id>);

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

*party_delmember({<character id>});

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

*party_changeoption(<party id>,<option>,<flag>);

 

List of AtCommands

@party

@partyoption

 

If you have any questions feel free to drop a comment.

 

NOTE: I do not own the whole script, I only convert it into plugins. Thanks to Mr. Ind, Mumbles, Haru, for making this Plugins possible.

 

for more info on how to to use HPM visit Here

(Tested on Hercules rev. 141**)

Special thanks to the original Author Cydh

 

Click here to download this file

Share this post


Link to post
Share on other sites

 

thumb-aa76f12da220383dedc8bf444151ad37-screen-pre-renewal-001.jpg

File Name: Party Script Plugins

File Submitter: Mhalicot

File Submitted: 16 Apr 2014

File Category: Plugins

 

Works only in HERCULES.

Due to insistent public demand

HPM party script complete package released.

 

Compatible with Windows System Only

 

if you are using Linux, ignore other files and use only partyscript.c

some Linux System got many bugs with files what are all ready compiled under VS2010 .

(Windows Compiled wont work on *nix)

Instruction.

 

1. Download and extract files using 7z or any application that can extract it.

2. extract it in your server directory ex: C:/RO Server/Hercules/

2.1. edit conf/plugins.conf and add partyscript

3. Your done. you can now try your plugins

 

if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.

this is what you need to do.

 

In Recompiling:

If you are using other MSVS/C

>right click partyscript>Configuration Properties>General>

search for Platform Toolset, change to VS2009(v90) / VS2010(v100) / VS2012(v110) / VS2013(v120)

then try to recompile again..

Note: Recompile if you modify the script.

If you want to edit look for src/plugins/partyscript.c

you can also add alias in atcommand.conf

List of Script Commands

*party_create("<party name>"{,<character id>{,<item share>,<item share type>}});

*party_destroy(<party id>);

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

*party_delmember({<character id>});

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

*party_changeoption(<party id>,<option>,<flag>);

List of AtCommands

@party

@partyoption

If you have any questions feel free to drop a comment.

 

NOTE: I do not own the whole script, I only convert it into plugins. Thanks to Mr. Ind, Mumbles, Haru, for making this Plugins possible.

 

for more info on how to to use HPM visit Here

(Tested on Hercules rev. 141**)

Special thanks to the original Author Cydh

 

Click here to download this file

 

can u tell me what does this plugin do?

Share this post


Link to post
Share on other sites

yes in script command

*party_delmember({<character id>});

you can still use regular party / command like /leave

 

@leave is a command if you want to leave in @duel.

Share this post


Link to post
Share on other sites

Well you know on roBrowser /leave is not available at the moment so i hope you can add @partyleave

Share this post


Link to post
Share on other sites

partyscript.c: In function 'buildin_party_delmember':
partyscript.c:408: warning: suggest parentheses around '&&' within '||'
partyscript.c: In function 'plugin_init':
partyscript.c:613: warning: assignment from incompatible pointer type
 

On linux,.

Edited by Godric

Share this post


Link to post
Share on other sites

@Godirc

maybe you can try :

 

partyscript.c:408: warning: suggest parentheses around '&&' within '||'


find this line
if( !script_hasdata(st,2) && !(sd = script->rid2sd(st)) || script_hasdata(st,2) && !(sd = map->charid2sd(script_getnum(st,2))) ) {
change to
if( (!script_hasdata(st,2) && !(sd = script->rid2sd(st))) || (script_hasdata(st,2) && !(sd = map->charid2sd(script_getnum(st,2)))) ) {

partyscript.c:613: warning: assignment from incompatible pointer type
 

To comment out this line

  //party->reply_invite = party_reply_invite_mine;
 

Edited by Angelmelody

Share this post


Link to post
Share on other sites

I tried to add this plugin but I got this error, what I do to make it work?
I'm using Centos 6

	party.c:13:27: error: common/malloc.h: No such file or directory
party.c:30:1: warning: "safestrncpy" redefined
In file included from party.c:11:
../common/strlib.h:47:1: warning: this is the location of the previous definition
party.c: In function 'party_create_mine':
party.c:137: error: 'struct strlib_interface' has no member named 'safestrncpy'
party.c: In function 'buildin_party_create':
party.c:342: error: 'struct strlib_interface' has no member named 'safestrncpy'
party.c: In function 'plugin_init':
party.c:596: warning: implicit declaration of function 'GET_SYMBOL'
party.c:596: warning: nested extern declaration of 'GET_SYMBOL'
party.c:596: warning: assignment makes pointer from integer without a cast
party.c:597: warning: assignment makes pointer from integer without a cast
party.c:598: warning: assignment makes pointer from integer without a cast
party.c:599: warning: assignment makes pointer from integer without a cast
party.c:600: warning: assignment makes pointer from integer without a cast
party.c:601: warning: assignment makes pointer from integer without a cast
party.c:602: warning: assignment makes pointer from integer without a cast
party.c:603: warning: assignment makes pointer from integer without a cast
party.c:604: warning: assignment makes pointer from integer without a cast
party.c:621: warning: assignment from incompatible pointer type
party.c:622: warning: assignment from incompatible pointer type
make[1]: *** [../../plugins/party.so] Error 1
make[1]: Leaving directory `/home/ragnarok/hercules/src/plugins'
make: *** [plugins] Error 2
	
Edited by Clare

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.