Openkore.com

OpenKore Forums
It is currently 19 Sep 2018, 17:17

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 119 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11, 12  Next
Author Message
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 27 May 2009, 11:29 
Offline
Noob
Noob

Joined: 21 May 2009, 18:42
Posts: 1
None of the receive.pm download links are working. I tried to edit my own receive file with the above edits, but that did not work. Could someone please upload another receive.pm that works with this plugin please?


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 31 May 2009, 08:28 
Offline
Noob
Noob

Joined: 11 Oct 2008, 18:35
Posts: 2
Please fix the DL links, thank you!


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 29 Jul 2009, 00:55 
Offline
Noob
Noob

Joined: 27 Jul 2009, 12:28
Posts: 1
Location: Brazil
Every link's off =/

Could someone please upload another Receive.pm and wait4party plugin please? Sorry i don't speak english

@Mucilon

Você é brasileiro? sabe falar português? Sou membro do Openkore Brasil e estou dando uma olhada aqui no internacioanal

_________________
...........


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 03 Aug 2009, 23:39 
Offline
Noob
Noob

Joined: 03 Aug 2009, 23:37
Posts: 1
can anybody upload again this plugin? =/


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 04 Aug 2009, 07:23 
Offline
Noob
Noob
User avatar

Joined: 31 Jul 2009, 23:46
Posts: 15
Location: Land of Milk & Honey
all links are dead.


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 23 Aug 2009, 01:51 
Offline
Noob
Noob

Joined: 19 Mar 2009, 01:14
Posts: 1
update link pls.
thx :mrgreen:


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 06 Sep 2009, 08:33 
Offline
Noob
Noob

Joined: 02 Jan 2009, 12:48
Posts: 10
I don't think that this plugin works well with new version of openkore anymore (2.0.7) because the receive.pm file was different in 2.0.6..correct me if i' wrong..hope someone can rewrite the code to make it run well on 2.0.7 for this plugin works great.


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 07 Sep 2009, 08:38 
Offline
Noob
Noob

Joined: 02 Jan 2009, 12:48
Posts: 10
It looks like i'm wrong..this plugin also works perfect with the new openkore version.


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 13 Jan 2010, 00:21 
Offline
Noob
Noob

Joined: 02 Jul 2008, 14:33
Posts: 1
can someone upload the files please???
all the links are dead and i would appreciate a lot if someone went through the trouble of uploading them
:D


Top
 Profile  
 
 Post subject: Re: waitForParty -- Don't get separeted! by Chontrad
PostPosted: 13 Jan 2010, 01:11 
Offline
The Way Of Human
The Way Of Human
User avatar

Joined: 16 Aug 2009, 03:47
Posts: 187
Location: Gonryun
this is the file ^_^ enjoy
credits belongs to the authors!

http://www.fileden.com/files/2009/7/4/2498464/waitForParty.rar

---i guess receive.pm and the plugin doesnt work for 2.0.7 =0

use this for 2.0.7, just use ur normal receive.pm [no choice, cuz ders no translations yet! =p]
hope it will work,
paste this to notepad and rename it as waitParty.pl,
be sure to rename the file extension http://www.mediacollege.com/microsoft/windows/extension-change.html

put this inside your config.txt

follow_wait 1
follow_wait_inLockOnly 1
follow_wait_timeOut 5
follow_wait_noPartyMember NameOfThePartyMemberYouDontWanT2Wait

Code:
###########################
# Name of Plugin: waitParty.pl
# Version: 1.0 (9/05/2008)
# Version of Openkore Required: OpenKore  2.0.5.1

#follow_wait 1
#follow_wait_inLockOnly 1
#follow_wait_timeOut 5
#follow_wait_noPartyMember NNNNNNName



package waitParty;

use Plugins;
use Globals;
use Log qw(message error warning debug);

our $findParty;
our $temp;
my %Timecount;

Plugins::register('waitParty', 'Wait and come back for party', \&unload, \&unload);
my $hooks = Plugins::addHooks(   ['actor_player_add', \&waitForOthers, undef],
            ['actor_player_remove', \&waitForOthers, undef],
            ['party_share', \&waitForOthers, undef],
            ['party_move', \&waitForOthers, undef],
            ['AI_pre', \&waitForOthers, undef],
            ['actor_action_sit', \&waitForOthers, undef],
            ['actor_action_stand', \&waitForOthers, undef]);

sub unload {
   Plugins::delHooks($hooks);
}

sub waitForOthers {
   return unless $config{'follow_wait'};
   return unless defined @partyUsersID;

   #return if bot isn't at lockmap
   return if (($config{'follow_wait_inLockOnly'} > 0) && ($field{name} ne $config{lockMap}));

   my $actor;
   foreach (@partyUsersID) {
      next if $_ eq $accountID;
      next if $_ eq "";
      $actor = $playersList->getByID($_);
     
      next if ($char->{'party'}{'users'}{$_}{'name'} eq $config{'follow_wait_noPartyMember'});
     
      if(!$actor && $char->{'party'}{'users'}{$_}{'online'}) {
         my %party;

         $party{x} = $char->{party}{users}{$_}{pos}{x};
         $party{y} = $char->{party}{users}{$_}{pos}{y};
         ($party{map}) = $char->{party}{users}{$_}{map} =~ /([\s\S]*)\.gat/;

         if ($party{map} ne $field{name} || $party{x} == 0 || $party{y} == 0) {
            delete $party{x};
            delete $party{y};
         }

         return unless ($party{map} ne $field{name} || exists $party{x});

         if ($Timecount{start} eq ''){
            $Timecount{start} = time;
         }
         $Timecount{current} = time;

         $Timecount{toreset} = $config{'follow_wait_timeOut'};
         if ($Timecount{toreset} eq '') {
            $Timecount{toreset} = 30;
         }
         $Timecount{after} = $Timecount{start} + $Timecount{toreset};
         if ($Timecount{current} >= $Timecount{after}){
            $Timecount{start} = time;
         }

         if (($Timecount{current} >= $Timecount{after})
            && ((exists $ai_v{party} && AI::distance(\%party, $ai_v{party}) > 15)
            || $party{map} != $ai_v{party}{map}
            || (AI::timeOut($ai_v{party}{time}, 15) && AI::distance(\%party, $char->{pos_to}) > $config{followDistanceMax}))) {
         
               $ai_v{party}{x} = $party{x};
               $ai_v{party}{y} = $party{y};
               $ai_v{party}{map} = $party{map};
               $ai_v{party}{time} = time;

               warning "Party is far way.\n", "waitParty";

               if ($ai_v{party}{map} ne $field{name}) {
               message "Searching party: $ai_v{party}{map}\n", , "follow";
               } elsif (AI::distance(\%party, $char->{pos_to}) > $config{followDistanceMax} ) {
               message "Searching party: $ai_v{party}{map} ($ai_v{party}{x},$ai_v{party}{y})\n", "follow";
               } else {
               return;
               }
               AI::clear("move", "route", "mapRoute");
               AI::ai_route($ai_v{party}{map}, $ai_v{party}{x}, $ai_v{party}{y}, distFromGoal => $config{followDistanceMin});
               my $followIndex = AI::findAction("follow");
               if (defined $followIndex) {
               $ai_seq_args[$followIndex]{ai_follow_lost_end}{timeout} = $timeout{ai_follow_lost_end}{timeout};
               }
           }
           $findParty = 1;
           return;
       } elsif ($findParty && ($actor = $playersList->getByID($_))) {
           warning "Party Found.\n", "waitParty";
           $findParty = 0;
     
   AI::clear("move", "route");


       } elsif ($findParty) {
           warning "Party is offline.\n", "waitParty";
           $findParty = 0;
           return;
       }
   }
}
1;


You can also try my Party Search Macro =p
it is simple and working well.
here:
http://forums.openkore.com/viewtopic.php?f=32&t=8444

_________________
Just like old times.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 119 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11, 12  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group