• Silahkan bergabung dengan chat kami di Telegram group kami di N3Forum - https://t.me/n3forum
  • Welcome to the Nyit-Nyit.Net - N3 forum! This is a forum where offline-online gamers, programmers and reverser community can share, learn, communicate and interact, offer services, sell and buy game mods, hacks, cracks and cheats related, including for iOS and Android.

    If you're a pro-gamer or a programmer or a reverser, we would like to invite you to Sign Up and Log In on our website. Make sure to read the rules and abide by it, to ensure a fair and enjoyable user experience for everyone.

Plugins Openkore

Status
Not open for further replies.

ferry_gukguk

Gukguk Love Cat
Level 2
@lingga123
Hmm...
coba plugins macro nya di ilangin dlu..

itu ada error File %s
Mungkin dari macro.pl yang minta file macros.txt di folder Control
 

darklyner1

5 SD
Level 1
maff all...
g baru liat nih theard...
jdi maklum msih rada2 oot....
itu kalo misalnya kan gua DL...
cman tinggal extract trus copy paste di plugins doank kan?maff ngerepotin..
 

wongjnr2

PAUD
Level 1
eh. sori double post, tambahan dunk,, cara biar bot nya auto online gmn?? jadi nyala otomatis gitu, ad plugins nya??
 

ferry_gukguk

Gukguk Love Cat
Level 2
@sPyNc
Bisa baca Openkore for Newbie bagian Plugins,,,

Untuk auto online sendiri belum ada..
Paling pake program (bukan openkorenya sendiri) unt jalanin bot nya.. (jalanin file .exenya)
 

zhiazz

PAUD
Level 1
eh ada macro plugin buat ransumin orang yang woe ngak ??

ntar klo dah di ransum ngak bakal di ransum lagi ??

ada ??

hehehehe....

gmn tuh gambarannya??
 

Qpalzm

3 SD
Level 2
ni plugin disconnect ku
[codebox]
# Openkore Plugins - Disconnect
#
# Merubah fungsi teleport auto menjadi disconnect auto
# version 0.0.3
# Dibuat oleh Qpalzm & FerryGukguk
# Special thank's to FerryGukguk atas dukungan dan support
# Special thank's to WarAngel atas tutor yang sangat membantu
#
#
#
#
# Kode yang dipakai untuk config.txt :
#
# disconnect_plugin (flag)
# 1 - Enable
# 2 - Disable
#
# disconnectAuto_time
# waktu disconnect untuk disconnectAuto_hp, disconnectAuto_sp, disconnectAuto_minAggressives, disconnectAuto_minAggressivesInLock (dalam detik)
#
# disconnectAuto_monster_time
# waktu disconnect kalau bertemu monster yang sudah ditandai di mon_control.txt (dalam detik)
#
# disconnectAuto_hp
# disconnect pada saat HP di bawah nominal tertentu (dalam persen, jangan dikasih range ">, = , <")
#
# disconnectAuto_sp
# disconnect pada saat SP di bawah nominal tertentu (dalam persen, jangan dikasih range ">, = , <")
#
# disconnectAuto_minAggressives
# disconnect pada saat jumlah monster yang memukul karakter lebih dari yang ditentukan (jangan dikasih range ">, = , <")
#
# disconnectAuto_minAggressivesInLock
# disconnect pada saat jumlah monster yang memukul karakter lebih dari yang ditentukan hanya di lockmap (jangan dikasih range ">, = , <")
#
#
#
# Kode yang dipakai untuk mon_control.txt :
# co: menghindari stormy knight
#
# Stormy Knight 0 4 0
#
#
# Description:
# Plugins ini dibuat untuk Server yang tidak menyediakan
# skill "Teleport" (idRO Fun and Chat Server)
# yang digunakan untuk memutuskan hubungan pada saat tertentu
#
#
# Warning !!
# teleportAuto_hp ---> tidak boleh diisi
# teleportAuto_sp ---> tidak boleh diisi
# teleportAuto_minAggressives ---> tidak boleh diisi
# teleportAuto_minAggressivesInLock ---> tidak boleh diisi
#


package Disconnect;
use strict;
use Time::HiRes qw(time);
use Carp::Assert;
use IO::Socket;
use Text::parseWords;
use encoding 'utf8';

use Globals;
use Log qw(message warning error debug);
use Network::Send ();
use Settings;
use AI;
use AI::Homunculus;
use ChatQueue;
use Utils;
use Misc;
use Commands;
use Network;
use FileParsers;
use Translation;
use Field;
use Task::TalkNPC;
use Utils::Exceptions;

Plugins::register('disconnect', 'automatic disconnecting for certain condition', \&unload_callback);
my $plugin_hook = Plugins::addHook("AI_pre", \&disconnect);

sub disconnect {
my $map_name_lu = $field{name}.'.rsw';
my $safe = 0;


# Check whether it's safe to teleport
if (!$cities_lut{$map_name_lu}) {
$safe = 1;
}

if ($config{disconnect_plugin}) {

if ($safe && timeOut($timeout{ai_teleport_hp})
&& (
(
($config{disconnectAuto_hp} && percent_hp($char) <= $config{disconnectAuto_hp})
|| ($config{disconnectAuto_sp} && percent_sp($char) <= $config{disconnectAuto_sp})
)
&& scalar(ai_getAggressives())
|| (
$config{disconnectAuto_minAggressives}
&& scalar(ai_getAggressives()) >= $config{disconnectAuto_minAggressives}
&& !($config{disconnectAuto_minAggressivesInLock} && $field{name} eq $config{'lockMap'})
) || (
$config{disconnectAuto_minAggressivesInLock}
&& scalar(ai_getAggressives()) >= $config{disconnectAuto_minAggressivesInLock}
&& $field{name} eq $config{'lockMap'}
)
)
&& !$char->{dead}
) {
warning TF("Disconnecting for %s due some condition\n", $config{'disconnectAuto_time'});
relog($config{'disconnectAuto_time'});
}

# monster disconnect
foreach (@monstersID) {
next unless $_;
if (mon_control($monsters{$_}{name},$monsters{$_}{nameID})->{teleport_auto} == 4) {
warning TF("Disconnecting for %s secs to avoid %s\n", $config{'disconnectAuto_monster_time'}, $monsters{$_}{name});
relog($config{'disconnectAuto_monster_time'});
}
}
}
}

sub unload_callback {
}

return 1;
[/codebox]

kok error y kk ferry?
@^

error di bagian mananya ya? bisa post lebih lanjut? sama penggunaan openkore tipe brapa ya? itu tested di 2.0.4.... sory kloo salah maklum dah pensiun... =p
 

sayona

TK A
Banned
sorry 2 all

lama ga online soalna gi sibuk sama masalah LYTO...ip RF warnet client ku ke banned...sorry yach... jarang online lg

ada masalah apa?
 

cahyaa

PAUD
Level 1
om ferry . .

ada gak plugins auto trans ? ?

klo ada di share dumb . .

gw dah coba plugin dr forum d-bests

tp gak jalan :dizzy:
 

gpgalih

2 SD
Level 2
ko bisa lag?
buka bot sambil main ya??
ql botnya banyak c iiaa bakal lag.
ql botnya mati tp lag, ya komputer kmu ga kuat tandanya.
 

fachnad29

PAUD
Level 1
kk ferry kok wktu instal web monitoring open korenya mlh error y???
apa da yg kurang kk??
apa ada yg slh?
pdahal plugin gw download yg punya kk..
trs kalo mw pake plugin hrs da settingan yg lainnya g di config.txt nya??
kalo ada tlng ksh tw dunx kk apanya yg hrs ditambah.....
 

fachnad29

PAUD
Level 1
@atas
pk openkore versi brp??
pake open kore v 2.0.6.1
mangnya g bisa yah kk???
oiia k ferry kok wktu gw pake plugin wait party kok mlh error jg yah??
di dlm pluginnya itu da yg hrs di ubah g sih kk??
kalo ada yg mn az c kk??
please help me k ferry.... TT
niyh pluginnya kk

[codebox]

package waitParty;



use Plugins;

use Globals;

use Log qw(message error warning debug);



our $findParty;

our $temp;



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 if (AI::action eq "attack");

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($_);



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 ((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 (!$cities_lut{$field{name}.'.rsw'} && $ai_v{party}{map} ne $field{name}) {

message "Searching party Map: $ai_v{party}{map}\n", , "follow";

} elsif (!$cities_lut{$field{name}.'.rsw'} && AI::distance(\%party, $char->{pos_to}) > $config{followDistanceMax}) {

message "Searching party Route: $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;

} elsif ($findParty) {

warning "Party is offline.\n", "waitParty";

$findParty = 0;

return;

}

}

}



1;[/codebox]
 
Status
Not open for further replies.
Top