ICU 0.2

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

Bibian
Perl Monk
Perl Monk
Posts: 416
Joined: 04 Apr 2008, 03:08

ICU 0.2

#1 Post by Bibian »

OpenKore 2.0.5 (revision 6079) or newer only

Version 0.2.3

IMPORTANT
This plugin is designed to detect forced teleports by GM's (for now), at the moment this is all it does. It still detects that going through a portal or using an NPC to warp is an unauthorized teleport. This will be fixed (hopefully) soon.

How it works
open your config.txt and add:

Code: Select all

icu {
	teleportDetect 0 / 1
	teleportCommands command 1, command 2, etc
	teleportSound <path to .wav>

	skillOnSelfDetect 0 / 1
	groundSkillDistance <int> (blockDistance a ground skill has to be to trigger the commands)
	skillOnSelfCommands command 1, etc
	skillOnSelfSound <sound>

	commandTimeout <int> (Wait X seconds before executing next command)
	log 0 / 1
}
Example:

Code: Select all

icu {
	teleportDetect 1
	teleportCommands ai off, c wth?, e hmm
	teleportSound C:\sounds\TeleportAlert.wav

	skillOnSelfDetect 1
	groundSkillDistance 4
	skillOnSelfCommands ai off, c uhm?
	skillOnSelfSound C:\sounds\SkillAlert.wav

	commandTimeout 2
	log 1
}
The above config will detect heals on YOU, YOU being teleported, Groundskills being cast NEAR you and run the commands it is configed to.

Coming soon
Detect GM's attacking your bot in PvP/GvG, skills being cast on monster that you are attacking or are attacking you.

Maybe coming...
Detect an online GM (maybe, not sure)

Why?
Cause someone said, and i quote, "not that you that skilled as you think"... well guess what? i am Very Happy

Plugin is at:
http://openkore.svn.sourceforge.net/vie ... ugins/ICU/
http://openkore.svn.sourceforge.net/vie ... unk/ICU.pl (right click url, save as)

0.2.2 changes:
use new hook to detected forced teleports better. Smile

0.2 changes:

Added DetectSelfSkill
Added Ground skill detection (NOT TESTED i dont have a char for this Sad )
Added timeouts on commands
dgzo
Noob
Noob
Posts: 8
Joined: 26 May 2008, 11:01
Noob?: No

Re: ICU 0.2

#2 Post by dgzo »

0.2.2 changes:
use new hook to detected forced teleports better. Smile

0.2 changes:
Added DetectSelfSkill
Added Ground skill detection (NOT TESTED i dont have a char for this Sad )
Added timeouts on commands


Great plugni here Bibian. Nice try but I think it is not complete yet? xD
I tested the Ground Skill part.

icu {
teleportDetect 1
teleportCommands ai off
teleportSound D:\22.wav

skillOnSelfDetect 1
groundSkillDistance 4
skillOnSelfCommands ai off
skillOnSelfSound D:\22.wav

commandTimeout 2
log 1
}

It detected the groundSkill casted but it did not use the command ai off. As fo the teleport, I tested it and it seems like as follows:

Detects moving from a portal to another --> Forced Teleport
Detects using Warp NPC --> Forced Teleport
Detects recall from a GM --> Forced Teleport
Detects console command is Fly Wing --> Forced Teleport
Ignore's teleport permitted and done due to conditions set by AI

Works perfectly except that it still detects moving from a portal to another and using warp NPC to another map as forced teleport. I am totally 0% knowledge in programming plugins but I can help you try test things out. Hopefully the final fix can be done :D
dgzo
Noob
Noob
Posts: 8
Joined: 26 May 2008, 11:01
Noob?: No

Re: ICU 0.2

#3 Post by dgzo »

Could I bump this thread up? The GM's in my server is using this method and it is really annoying :cry:
Bibian
Perl Monk
Perl Monk
Posts: 416
Joined: 04 Apr 2008, 03:08

Re: ICU 0.2

#4 Post by Bibian »

detecting wether or not a bot is going through a portal cause it has to is VERY hard...i havent found a way to predict this yet
dgzo
Noob
Noob
Posts: 8
Joined: 26 May 2008, 11:01
Noob?: No

Re: ICU 0.2

#5 Post by dgzo »

Or actually is it possible to make kore check the location where he was forced warped? Possibly set it to work only in lockMap. For example kore is on the way from prontera to prt_fild03. On the way to prt_fild03, he walks through few portals and it wont trigger because prt_fild03 is the lockMap. Arriving at prt_fild03, if he gets warped or tele'ed the alarm would trigger. Well it would be overall setting it to work only in lockMap.

Edit: Bump thread
Edit: Bump x2 :lol:
sli
Perl Monk
Perl Monk
Posts: 810
Joined: 04 Apr 2008, 17:26
Noob?: No

Re: ICU 0.2

#6 Post by sli »

Bibian wrote:detecting wether or not a bot is going through a portal cause it has to is VERY hard...i havent found a way to predict this yet
Er.. portal and LOS tables?
cs : ee : realist
Bibian
Perl Monk
Perl Monk
Posts: 416
Joined: 04 Apr 2008, 03:08

Re: ICU 0.2

#7 Post by Bibian »

sli wrote:
Bibian wrote:detecting wether or not a bot is going through a portal cause it has to is VERY hard...i havent found a way to predict this yet
Er.. portal and LOS tables?
go fix it then :P you have svn access
disguise
Noob
Noob
Posts: 11
Joined: 15 Dec 2008, 17:57
Noob?: No
Location: :noitacoL

Re: ICU 0.2

#8 Post by disguise »

Is anyone working on this? :mrgreen:
Image
Bibian
Perl Monk
Perl Monk
Posts: 416
Joined: 04 Apr 2008, 03:08

Re: ICU 0.2

#9 Post by Bibian »

nobody else thats capable is =P
disguise
Noob
Noob
Posts: 11
Joined: 15 Dec 2008, 17:57
Noob?: No
Location: :noitacoL

Re: ICU 0.2

#10 Post by disguise »

Bibian wrote:nobody else thats capable is =P
I see... Can you please at least make it available for download?
Image