reactOnMiniMap.pl - creating a new plugin

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

reactOnMiniMap.pl - creating a new plugin

#1 Post by Mucilon »

I created this topic to make a new plugin with Janovas to answer the mini map number - antibot BotKiller #1 - Method 3: MiniMap number. If any programmer or tester wants to join us, please be my guest.
This is the first version and won't answer yet, it will just write on console the number received as mini map indicators.
It doesn't need any configuration at config.txt yet, to install it just copy to your plugins folder.

Janovas
Please test it!
reactOnMiniMap28.pl
muszyka
Human
Human
Posts: 38
Joined: 05 Sep 2008, 08:45
Noob?: No
Location: Philippines

Re: reactOnMiniMap.pl - creating a new plugin

#2 Post by muszyka »

how can i use this?? ty...
Image

Never interrupt your enemy when he's making a mistake.
Always go on PVP. /gg
claude
Human
Human
Posts: 40
Joined: 18 May 2008, 03:27
Noob?: No
Location: Atlantis

Re: reactOnMiniMap.pl - creating a new plugin

#3 Post by claude »

WOW , WellDone

This is BotKiller #1 - Method 1 (Word Numbers) Openkore vs BotKiller = 1-0
This is BotKiller #1 - Method 2: Image Numbers. Openkore vs BotKiller = 1-0
This is BotKiller #1 - Method 3: MiniMap number. Openkore vs BotKiller = 0-0
This is BotKiller #1 - Method 4: ASCII number. Openkore vs BotKiller = 1-0
This is BotKiller #1 - Method 5: ASCII chars. (new) Openkore vs BotKiller = 1-0

Openkore vs Script = 4-0
we should ask the script writer to go home and sleep because openkore going to win soon .
we also should encourage him to do something esle better then wasting time on script .
openkore always own
when that plug-in is complete done
Image
learn how to be smart using search
"If I giv u a bot I'll feed u a day, but if I teach u to bot I'll feed u for life time" --wise izh
never ever send messages to me because i won't reply .
Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

Re: reactOnMiniMap.pl - creating a new plugin

#4 Post by Mucilon »

muszyka
For now it isn't full operational, this version will only show on your console the number received!
Like I already said, to use it just copy it to your plugins folder. It will trigger automatically.

Everyone
Please post your tests!
muszyka
Human
Human
Posts: 38
Joined: 05 Sep 2008, 08:45
Noob?: No
Location: Philippines

Re: reactOnMiniMap.pl - creating a new plugin

#5 Post by muszyka »

ahh, but can u make a mini map like in the map in RO...
Image

Never interrupt your enemy when he's making a mistake.
Always go on PVP. /gg
Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

Re: reactOnMiniMap.pl - creating a new plugin

#6 Post by Mucilon »

muszyka
There is a plugin named OpenMap, who do that!
Search for it!
frodosza
Noob
Noob
Posts: 13
Joined: 31 Jul 2008, 18:51
Noob?: No

Re: reactOnMiniMap.pl - creating a new plugin

#7 Post by frodosza »

thx for plugin.

i use openkore2.0.6.1 but when i open bot it ERROR !!!

Image

can u help me ?
Image

sorry for my eng.
You do not have the required permissions to view the files attached to this post.
Janovas
Noob
Noob
Posts: 17
Joined: 30 Aug 2008, 08:29
Noob?: Yes
Location: Thailand

Re: reactOnMiniMap.pl - creating a new plugin

#8 Post by Janovas »

not work
it error on npc antibot start action killer

thank you

i forget tell to you botkiller is random ans "Text" and "Number"
need add

Code: Select all

['packet/npc_talk_text', \&onAction, undef]
err
what coed $args is mean?

Are you can create capture_minimap code need kind of color?

ex.
38:135:255:255:255:0 <----need
48:146:255:0:0:0 <----don't need
48:146:255:255:255:0
38:145:255:0:0:0
37:146:255:255:255:0
48:135:255:0:0:0
47:136:255:255:255:0

capture_minimap choose 255:255:255:0
38:135:255:255:255:0
48:146:255:255:255:0
37:146:255:255:255:0
47:136:255:255:255:0
You do not have the required permissions to view the files attached to this post.
Last edited by Janovas on 24 Oct 2008, 07:06, edited 5 times in total.
Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

Re: reactOnMiniMap.pl - creating a new plugin

#9 Post by Mucilon »

Janovas
I searched about the ceil function problem, now it will be like:
POSIX::ceil instead of just ceil
or at the beginning of the file use:
use POSIX;

I added the new hook, to answer a text.

The $args->{parameter} is a way to read a variable inside of a group, or something like that.
To see how it is used, search for minimap_indicator at your receive.pm file, there you can see how your OK process the messages received from your server!
Yes, when the gree color is full (255), the plugin read the coordinates.

frodosza
Try this new version, and post your console to see the messages received.

reactOnMiniMap11.pl
You do not have the required permissions to view the files attached to this post.
frodosza
Noob
Noob
Posts: 13
Joined: 31 Jul 2008, 18:51
Noob?: No

Re: reactOnMiniMap.pl - creating a new plugin

#10 Post by frodosza »

i try new version but it still have problem.

Image

and this is my error and console file.
You do not have the required permissions to view the files attached to this post.