Page 1 of 1

Fix for party create in Commands.pm

Posted: 09 Jun 2008, 07:15
by Chontrad
This fix made it possible to create party without sharing items and pick-ups.

<Line 2796, File: SRC\Commands.pm>
} elsif ($arg1 eq "create") {
[edit: the last regex is not right]
my ($ipick,$ishare,$name) = $args =~ /^create ?([01]?) ?([01]? ([\s\S]+?))/;
if (!$name) {
error T("Syntax Error in function 'party create' (Organize Party)\n" .
"Usage: party create [<pickupshare> [itemshare]] <party name>\n");
} else {
$messageSender->sendPartyOrganize($name,$ipick,$ishare);
}

Re: Fix for party create in Commands.pm

Posted: 09 Jun 2008, 09:50
by h4rry84
it's better if you could provide us a DIFF file instead of [ code ] block.

Re: Fix for party create in Commands.pm

Posted: 13 Jun 2008, 19:26
by iamanoob
how to use this?
ive created a party name hulahoop

then i added that itemshare pickup share
hulahoop 1 0
now my party name is "hulahoop 1 0"...

how to use this?

Re: Fix for party create in Commands.pm

Posted: 21 Jun 2008, 07:02
by hakore
Bump.

Need to test this first.

Re: Fix for party create in Commands.pm

Posted: 11 Mar 2009, 22:10
by kali
It's been almost a year ... has this been ever committed?

Re: Fix for party create in Commands.pm

Posted: 13 Mar 2009, 00:45
by h4rry84
not yet.