Fix for party create in Commands.pm

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
Chontrad
Human
Human
Posts: 30
Joined: 23 Apr 2008, 10:11
Noob?: No
Location: Indonesia TANAH AIRKU
Contact:

Fix for party create in Commands.pm

#1 Post 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);
}
Last edited by Chontrad on 22 Jun 2008, 02:08, edited 1 time in total.

h4rry84
Moderators
Moderators
Posts: 234
Joined: 04 Apr 2008, 09:30
Noob?: Yes
Location: My House
Contact:

Re: Fix for party create in Commands.pm

#2 Post by h4rry84 »

it's better if you could provide us a DIFF file instead of [ code ] block.

iamanoob
Plain Yogurt
Plain Yogurt
Posts: 82
Joined: 04 Apr 2008, 09:49

Re: Fix for party create in Commands.pm

#3 Post 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?
Image
DARKest Ninja

hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: Fix for party create in Commands.pm

#4 Post by hakore »

Bump.

Need to test this first.
Whatever...

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: Fix for party create in Commands.pm

#5 Post by kali »

It's been almost a year ... has this been ever committed?
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

h4rry84
Moderators
Moderators
Posts: 234
Joined: 04 Apr 2008, 09:30
Noob?: Yes
Location: My House
Contact:

Re: Fix for party create in Commands.pm

#6 Post by h4rry84 »

not yet.

Locked