• 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.

MboeLz

TK A
Level 1
untuk para pengguna openKore 2.0.7.1 SVN,

bagi yg tidak bisa menjalankan Plugin Disconnect.pl, ada sedikit perubahan disitu, karena pada SVN version, homun dan mercenary di detect sebagai slave.

untuk lebih jelasnya silakan timpa file baru ini k file Disconnect.pl anda yg lama.

Code:
# Openkore Plugins - Disconnect Auto
# Error found @ line 85 "use AI::Homunculus;", no file found.
# replace "use AI::Homunculus" with "use AI::Slave::Homunculus;"
#
#
# Merubah fungsi teleport auto menjadi disconnect auto
# version 2.0
# 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 :
#
# disconnectAuto_hp
# Otomatis disconnect pada saat hp memenuhi syarat
#
# disconnectAuto_sp
# Otomatis disconnect pada saat sp memenuhi syarat
#
# disconnectAuto_minAggressives
# Otomatis disconnect pada saat jumlah agresif lebih banyak
#
# disconnectAuto_minAggressivesInLock
# Otomatis disconnect pada saat jumlah agresif lebih banyak (pada lockmap saja)
#
# 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 !!
# Pastikan Value dibawah ini dikosongkan (TIDAK BOLEH DIISI)
# teleportAuto_hp
# teleportAuto_spi
# teleportAuto_minAggressives
# teleportAuto_minAggressivesInLock
#

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::Slave::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 ($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}
) {
message TF("Disconnect for 1800 sec due some condition\n");
relog(1800);
}
}

sub unload_callback {
}

return 1;
maap untuk kk ferry uda utak atik pluginnya :(

semoga membantu.
 

Terva

PAUD
Level 1
@all

ini saya baru baca di forum openkorenya lgsg, tentang plugin yang namanya
koreTwitter
Kegunaan dari plugin itu sih katanya untuk nge tweets bbrp perintah yg dilakuin si bot..

saya coba post disini ya..
karena saya juga ngga tau cara pakainya..

-----------------------------------------------------------------------------------
Update 2: New features! I added four config options: koreTwitter_owner, koreTwitter_ignore, koreTwitter_direct, and koreTwitter_reply. The first is required for the third and fourth to become available. I also added message domains (similar to OpenKore's domains).

Here are all the domains:

* msg - Private message received
* base - Base level gained
* job - Job level gained
* died - Bot has died
* pvp - Bot has entered a PVP area
* gm - A GM alert
* ingame - Your bot is now in game
* item - Your bot has found an item listed in koreTwitter_items


Now allow me to explain koreTwitter_ignore. This option allows you to set a list of domains that will not send a tweet. Simple.

As for koreTwitter_direct and koreTwitter_reply, they control how tweets are sent. koreTwitter_direct takes priority, so you can't specify the same domain twice (to prevent retweets). These options contain a list of message domains that will be sent in a certain manner, specifically direct messages or @reply-style, respectively. Any domain not in this list will default to a normal tweet, unless of course it's in the ignore list. Below is a sample config that will direct message GM alerts, @reply deaths, base levels, and job levels, ignore the ingame domain, and use regular tweets for everything else.

koreTwitter 1
koreTwitter_username ausername
koreTwitter_password somepass
koreTwitter_items Clip [1]
koreTwitter_owner sli
koreTwitter_direct gm
koreTwitter_reply died, base, job
koreTwitter_ignore ingame
Update: Added character names to PM tweets so you can run multiple bots on one Twitter account without confusion.

This plugin sends status updates to Twitter must like koreSnarl/Growl displays notifications. It uses the same events. Handy for keeping track of your bot while you're out of the house. One of these days I'll add support for receiving commands via Twitter. If you use koreSnarl/Growl, I would suggest giving this a try. It maintains a sort of message persistence that you don't get with koreSnarl/Growl in that all information it displays remains accessible on Twitter, unlike koreSnarl/Growl where the information disappears after five seconds or so. If you're botting overnight, you'll miss a lot of information.

To using this plugin, you'll need to install Net::Twitter, which also requires JSON. Cpan handles it no problem (cpan> install Net::Twitter). h4rry84 has checked and Net::Twitter can be installed from PPM if you're using ActiveState.

Sample config:

koreTwitter 1
koreTwitter_username twitterusername
koreTwitter_password twitterpassword
koreTwitter_items Soldier Skeleton Card, Verit Card

And here's the plugin:

use Net::Twitter;

Plugins::register('koreTwitter','Allows your bot to post status updates to Twitter.', \&onUnload);
my $hooks = Plugins::addHooks(
['start3', \&onLoad, undef],
['packet_privMsg', \&onPrivMsg, undef],
['base_level', \&onLevelUp, undef],
['self_died', \&onDeath, undef],
['job_level', \&onJLevelUp, undef],
['pvp_mode', \&onPvpMode, undef],
['avoidGM_near', \&onGm, undef],
['avoidGM_talk', \&onGm, undef],
['in_game', \&onInGame, undef],
['item_gathered', \&onItemFound, undef],
['Network::Receive::map_changed', \&onMapChange, undef]
);

my $cmd = Commands::register(
["tweet", "Posts a status update to Twitter.", \&cmdTweet],
);

our $dead = 0;
our $twit;

sub cmdTweet {
my @args = @_;
tweet($args[1]);
}

sub onLoad {
if (defined $config{koreTwitter_username} && defined $config{koreTwitter_password}) {
$twit = Net::Twitter->new(username=>$config{koreTwitter_username}, password=>$config{koreTwitter_password});
}
}

sub onPrivMsg {
my @args = @_;
tweet("From $args[1]{'privMsgUser'} : $args[1]{privMsg}", "msg");
}

sub onLevelUp {
@args = shift;
tweet("$char->{name} has gained a level!", "base") unless ($args{name} ne $char->{name});
}

sub onJLevelUp {
@args = shift;
tweet("$char->{name} has gained a job level!", "job") unless ($args{name} ne $char->{name});
}

sub onDeath {
tweet("$char->{name} has died!", "died") unless ($dead);
$dead = 1;
}

sub onPvpMode {
tweet("WARNING: $char->{name} has entered a PVP area!", "pvp");
}

sub onGm {
my $ucname = uc($char->{name}) unless $ucname;
tweet("WARNING: GM IS NEAR $ucname!", "gm");
}

sub onInGame {
tweet("$char->{name} is now in game.", "ingame");
}

sub onItemFound {
my @args = @_;
if ($config{koreTwitter_items} =~ /$args[1]{item}/i) {
tweet("$char->{name} has found a $args[1]{item}!", "item");
}
}

sub onMapChange {
# Prevents multiple notifications on death.
$dead = 0;
}

sub tweet {
my ($msg, $domain) = @_;
if ($config{koreTwitter} == 1) {
if (defined $config{koreTwitter_owner})
if ($config{koreTwitter_direct} =~ /$domain/i) {
$twit->update("d $config{koreTwitter_owner} $msg");
} elsif ($config{koreTwitter_reply} =~/$domain/i) {
$twit->update("@" . "$config{koreTwitter_owner}" . " $msg");
} else {
$twit->update($msg);
}
} else {
$twit->update($msg);
}
}
}

sub onUnload {
Plugins::delHooks($hooks);
undef $ucname;
}

1;
Maaf kalau repost..lg buru2 soalnya...
 

ferry_gukguk

Gukguk Love Cat
Level 2
@wendyz4ever
coba baca openkore for newbie..
mungkin bisa ngebantu
kalo masi ga bisa. coba tanya di [FaQ] Seputar Openkore
 

aaronmon422011

TK B
Level 1
kk
mo tanya dong
yg plugin Web Monitor Plugins caranya gmn
kan dah copy
trus pas mo coba gak bisa

Failed to Connect
Firefox can't establish a connection to the server at localhost:8802.

kek gitu jadinya
 

aaronmon422011

TK B
Level 1
@^
ss apanya??

kan hasil kopiannya taro d folder plugins kan?

kaya gini bner kagak?




sori msi newbie
baru pertama kali pke plugins
 

jaya2025

4 SD
Level 2
@Takacha
harusnya bisa.
coba ganti port nya?
sepertinya udah gk jalan fer untuk webmonitor versi sekarang, gw jg udah coba cari di forum openkore sudah banyak yang dihapus untuk threadnya, googling pun hanya beberapa blog yang mau share, itupun setelah diuji tidak compatible dengan openkore sekarang, sepertinya untuk webmonitor blum di support lagi deh..CMIIW
:)
 

Piscesboy

1 SD
Level 2
sori ga niat tuk leecher...

udah search ga ketemu2....

ada yang bisa bypass responeseONNPCimage?

ada yang bisa ga?
 

ivan95

PAUD
Level 1
sori ga niat tuk leecher...

udah search ga ketemu2....

ada yang bisa bypass responeseONNPCimage?

ada yang bisa ga?
#############################################################################
# Response base on image table file
#
# Syntax:
# <image name> <response>
#
# <image name> if you got following message
# [responseOnNPCImage] Image name >> "????"
# then the ???? is a <image name>.
#
# <response> Any text that contained in NPC response choice(s) or number.
#

# Some server use image name as a response.
# imageNameEqual < num | text | resp | or leave blank for disable >
imageNameEqual

cbot_1 poring
cbot_2 lunatic
cbot_3 fabre
cbot_4 drops

29028246 1
29029000 2
29029754 3
29030508 4
29031262 5
29032016 6

one 1
two 2
three 3
four 4

bkd1.bmp 1
bkd2.bmp 2
bkd3.bmp 3
bkd4.bmp 4
bkd5.bmp 5
bkd6.bmp 6
bkd7.bmp 7
bkd8.bmp 8
bkd9.bmp 9
bkd0.bmp 0
 

kmpg

PAUD
Level 1
KS Plugin 3.1 by ferryguguk
Released : 30/12/2010
Creator : FerryGukguk
Greetz to : Semua yang udah bantu :smile:
Files Type : .pl, .pm
Included files : killsteal.pl, KS1.pm, KS2.pm
Versi : 3.0
Type : Perl Package (Plugins Openkore)
Fungsi : [x] Membuat Openkore melakukan pencurian monster yang sedang di serang oleh orang lain a.k.a nyampah (Kill Stealing)
Compatibility : Support Openkore-what-will-become-2.1 Only
Cara pemakaian : Copy ke folder plugins openkore kamu, jika folder plugins belum ada, silahkan kamu buat sendiri
Blog : http://www.nyit-nyit.net
Note Tambahan : [x] DILARANG MIRRORING TANPA SEIZIN AUTHOR/PEMBUAT NYA
[x] Saya tidak menjamin keselamatan ID kalian jika menggunakan Plugins KillSteal v 3.1 selain dari website Nyit-Nyit.Net
saya mau tanya, itu maksud compability yang di bolt di quotation di atas apa yah kak?
cuman support di openkore what will become 2.1 only? jadi di 2.0.7 SVN ga jalan ya?
trus kalo gitu download openkore what will become 2.1 itu dimana ya? >.<

terima kasih.
 

ferry_gukguk

Gukguk Love Cat
Level 2
KS Plugin 3.1 by ferryguguk


saya mau tanya, itu maksud compability yang di bolt di quotation di atas apa yah kak?
cuman support di openkore what will become 2.1 only? jadi di 2.0.7 SVN ga jalan ya?
trus kalo gitu download openkore what will become 2.1 itu dimana ya? >.<

terima kasih.
ia kka, itu cuma support di openkore what will become 2.1 aja.. jadi di 2.0.7 SVN ga balakan bisa..

oh itu download nya di sini kk, download openkore ready nya..
 
Status
Not open for further replies.
Top