|
|
Outline ·
[ Standard ] ·
Linear+
Paki post nmn po, pls
| blueknight |
Apr 26 2006, 02:45 AM
|

Simpleng Botter
         
Race: Super Moderators
Posts: 2,016
Spawned: 22 Nov 04
Spawn ID: 9

|
you can still level up without the plug-in... yung bot ko nag-99 sya sa palakad-lakad lang... and if you really want the plugin meron na pong nagpost nyan dito pati nga direct link sa openkore forums ibinigay na nya... magbasa na lang po kayo...
Click Here This post has been edited by blueknight: Apr 26 2006, 02:49 AM
--------------------
|
|
|
|
|
| asasin1135 |
Apr 26 2006, 12:25 PM
|

Advanced Member
   
Race: Zombies
Posts: 156
Spawned: 3 Apr 06
Spawn ID: 4,012

|
meron na akong plugin........ ang ginawa ko gumawa ako ng txt file sa loob ng control folder. at pinaste ko e2ng plugin na e2.............
package PKTele; use strict; use Time::HiRes qw(time); use Globals; use Plugins; use Utils; use Network::Send; use Log qw(debug message warning error); Plugins::register('PKTele', 'teleport from PK', \&onUnload); my $hooks = Plugins::addHooks( ['is_casting', \&hookAvoidSkill, undef], ['packet_skilluse', \&hookAvoidSkill, undef], ['parseMsg/pre', \&hookAttack, undef] ); sub onUnload { Plugins::delHooks($hooks); } sub hookAvoidSkill { return if ($char->{lv} < 51); my $hookName = shift; my $args = shift; my $sourceID = $args->{sourceID}; my $targetID = $args->{targetID}; my $skillID = $args->{skillID}; if ($targetID eq $accountID && $sourceID ne $accountID && $players{$sourceID}) { my $skill = new Skills(id => $skillID); if (!existsInList($config{pkTele_exceptions},$skill->name)) { main::useTeleport(1); } } } sub hookAttack { return if ($char->{lv} < 51); my $hookName = shift; my $args = shift; my $switch = $args->{switch}; my $msg = $args->{msg}; if ($switch eq "008A") { # Attack my ($ID1, $ID2, $tick, $src_speed, $dst_speed, $damage, $param2, $type, $param3) = unpack("x2 a4 a4 a4 L1 L1 s1 S1 C1 S1", $msg); if ($type == 1) { # Take item } elsif ($type == 2) { # Sit } elsif ($type == 3) { # Stand } else { # Attack if ($ID2 eq $accountID && !$monsters{$ID1}) { main::useTeleport(1); } } } } return 1;
yan po pakicheck nlng ko sak2 yan??.. sana yan ung pk tele plugin........ maiba ako. sa case ng pde ka maglvl khet alang plugin. e2 prob ko. uu lumalake xp ko kahet alang plugin. pero pag inatake e2 ng ibANG players at biglang namatay.... walaaaaaaaaaaaaaa -10 cp agad.... tapos pag pinatay uli.... ganyan prob ko...... lumalake xp ko pero ang daling maubos pag nahuli ng ibang players..
|
|
|
|
|
| maztahv00d00 |
Apr 26 2006, 03:01 PM
|

Chaos BlackSmith
    
Race: Zombies
Posts: 245
Spawned: 8 Apr 06
From: pRO Chaos
Spawn ID: 4,133

|
@asasin1135 why did you posted it under your control folder? all plugins should be inside your plugins folder... to check whether your plugins has been installed or initated just type "plugin" in your console w/out the qoutes. please check this: 1. your code, i haven't checked it but i assume you got it from other forums. this code should be inside your plugins folder and your file extension should be ".pl" and not ".txt": Openkore Folder | |______ control |______ fields |______ logs |______ plugins | |________ PKtele.pl <<< this should be your plugin |______ src |______ tables2. in your config.txt, include your plugin by adding a line: PKTele 1 3. notice when you load your KORE, type "plugin" to check if it is loaded. 4. whoala!
--------------------
"There is no greater HONOR than to protect your GUILD and COUNTRY."REMEMBER: - Be patient enough to wait for the answers, there's always the manual to refer if you're so eager /gg- Stop buzzing me while I'm working, I can still read your messages though, again patience.Can't catch up? READ THE MANUAL.
|
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
|
|
|
|
|
|
|