Openkore.com

OpenKore Forums
It is currently 21 Oct 2018, 19:01

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Plugin hook changes?
PostPosted: 31 Jan 2010, 13:30 
Offline
Developers
Developers

Joined: 04 Apr 2008, 13:33
Posts: 157
I can't seem to find a list of current plugin hooks, a list of changed hooks, or anything along those lines. It's been a while and I need to update a few plugins, but I'm not entirely sure what has changed or where hooks were to begin with.

Is there developer documentation now?
Is there a list of hook changes?

Specifically one of the plugins uses parseMsg/pre and AI_pre and I think both were prime candidates to be renamed/changed.

_________________
Oh no.


Top
 Profile  
 
 Post subject: Re: Plugin hook changes?
PostPosted: 31 Jan 2010, 14:44 
Offline
Developers
Developers

Joined: 05 Dec 2008, 05:42
Posts: 1811
Code:
find openkore/trunk/src -name .svn -prune -o -exec grep -Hn "^[^#]*callHook" {} \;

Code:
openkore/trunk/src/test/PluginsHookTest.pm:27:   Plugins::callHook('hook2');
openkore/trunk/src/test/PluginsHookTest.pm:29:   Plugins::callHook('hook1');
openkore/trunk/src/test/PluginsHookTest.pm:37:   Plugins::callHook('hook1');
openkore/trunk/src/test/PluginsHookTest.pm:39:   Plugins::callHook('hook2');
openkore/trunk/src/test/PluginsHookTest.pm:41:   Plugins::callHook('hook3');
openkore/trunk/src/test/PluginsHookTest.pm:49:   Plugins::callHook('hook1');
openkore/trunk/src/test/PluginsHookTest.pm:51:   Plugins::callHook('hook2');
openkore/trunk/src/test/PluginsHookTest.pm:59:   Plugins::callHook('hook2');
openkore/trunk/src/test/PluginsHookTest.pm:61:   Plugins::callHook('hook1');
openkore/trunk/src/test/PluginsHookTest.pm:69:   Plugins::callHook('hook2');
openkore/trunk/src/test/PluginsHookTest.pm:71:   Plugins::callHook('hook1');
openkore/trunk/src/test/PluginsHookTest.pm:91:   Plugins::callHook('hook1');
openkore/trunk/src/test/PluginsHookTest.pm:93:   Plugins::callHook('hook2');
openkore/trunk/src/test/PluginsHookTest.pm:100:   Plugins::callHook('hook1');
openkore/trunk/src/Poseidon/QueryServer.pm:74:   Plugins::callHook('Poseidon/server_authenticate', {
openkore/trunk/src/Poseidon/Client.pm:79:   Plugins::callHook('Poseidon/client_authenticate', {
openkore/trunk/src/AI/CoreLogic.pm:63:   Plugins::callHook('AI_pre/manual');
openkore/trunk/src/AI/CoreLogic.pm:112:   Plugins::callHook('AI_pre');
openkore/trunk/src/AI/CoreLogic.pm:207:   Plugins::callHook('AI_post');
openkore/trunk/src/AI/CoreLogic.pm:1339:               Plugins::callHook("AI_storage_done", \%hookArgs);
openkore/trunk/src/AI/CoreLogic.pm:1553:            Plugins::callHook("AI_sell_done", \%hookArgs);
openkore/trunk/src/AI/CoreLogic.pm:1813:         Plugins::callHook("AI/lockMap", \%args);
openkore/trunk/src/AI/Attack.pm:181:      Plugins::callHook("target_died");
openkore/trunk/src/AI/Attack.pm:222:   Plugins::callHook('attack_end', {ID => $ID})
openkore/trunk/src/AI/Slave.pm:447:         Plugins::callHook("homonulus_target_died");
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:539:      Plugins::callHook('in_game');
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:734:      Plugins::callHook('packet_attack', {sourceID => $args->{sourceID}, targetID => $args->{targetID}, msg => \$msg, dmg => $totalDamage, type => $args->{type}});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:779:      Plugins::callHook('self_died');
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:815:      Plugins::callHook('monster_disappeared', {monster => $monster});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:845:         Plugins::callHook('player_disappeared', {player => $player});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:902:         Plugins::callHook('slave_disappeared', {slave => $slave});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1219:         Plugins::callHook('player', {player => $actor});  #backwards compatibility
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1221:         Plugins::callHook('player_exist', {player => $actor});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1254:         Plugins::callHook('player', {player => $actor});  #backwards compatibailty
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1256:         Plugins::callHook('player_connected', {player => $actor});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1328:      Plugins::callHook('charNameUpdate', $player);
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1441:      Plugins::callHook('charNameUpdate', $player);
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1534:   Plugins::callHook('packet_areaSpell', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1776:      Plugins::callHook('packet_cart', {index => $index});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:1850:      Plugins::callHook('packet_cart', {index => $index});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:2247:   Plugins::callHook('packet_castCancelled', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:2490:   Plugins::callHook('disconnected') if ($net->getState() == Network::IN_GAME);
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:2599:      Plugins::callHook('exp_gained');
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:2997:   Plugins::callHook('packet_guildMsg', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3296:      Plugins::callHook('item_gathered',{item => $item->{name}});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3331:      Plugins::callHook('packet_item_removed', {index => $item->{invIndex}});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3382:   Plugins::callHook('packet_useitem', \%hook_args);
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3465:      Plugins::callHook('packet_inventory', {index => $item->{invIndex}});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3520:      Plugins::callHook('packet_inventory', {index => $item->{invIndex}, item => $item});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3638:   Plugins::callHook('item_skill', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3887:   Plugins::callHook('Network::Receive::map_changed', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:3980:   Plugins::callHook('Network::Receive::map_changed', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4023:      Plugins::callHook('in_game');
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4302:   Plugins::callHook('npc_talk', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4335:   Plugins::callHook('npc_talk_done', {ID => $ID});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4412:   Plugins::callHook('npc_talk_responses', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4460:   Plugins::callHook('packet_partyMsg', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4803:   Plugins::callHook('packet_pubMsg', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4824:      Plugins::callHook('parseMsg/addPrivMsgUser', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4836:   Plugins::callHook('packet_privMsg', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4856:      Plugins::callHook('packet_sentPM', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:4899:   Plugins::callHook('parseMsg/recvChars', $args->{options});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5122:   Plugins::callHook('packet_selfChat', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5211:      Plugins::callHook('pvp_mode', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5237:      Plugins::callHook('pvp_mode', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5426:   Plugins::callHook('is_casting', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5575:   Plugins::callHook('packet_skilluse', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5615:   Plugins::callHook('packet_skillfail', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5644:   Plugins::callHook('packet_skilluse', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5722:   Plugins::callHook('packet_skilluse', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5776:      Plugins::callHook($hook, {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5803:   Plugins::callHook('packet_charSkills', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:5864:   Plugins::callHook('packet_charStats', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6097:   Plugins::callHook('packet_storage_close');
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6244:      Plugins::callHook('packet_storage_open');
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6476:   Plugins::callHook('packet_sysMsg', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6553:      Plugins::callHook('base_level', {name => $name});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6556:      Plugins::callHook('job_level', {name => $name});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6590:      Plugins::callHook('packet_vender', {ID => $ID});
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6637:      Plugins::callHook('packet_vender_store', {
openkore/trunk/src/Network/Receive/kRO/Sakexe_0.pm:6655:   Plugins::callHook('packet_vender_store2', {
openkore/trunk/src/Network/Receive/kRO/RagexeRE_2009_09_22a.pm:58:   Plugins::callHook ('captcha_image', $hookArgs);
openkore/trunk/src/Network/Receive/kRO/RagexeRE_2009_09_22a.pm:67:   Plugins::callHook ('captcha_file', $hookArgs);
openkore/trunk/src/Network/Receive/kRO/RagexeRE_2009_09_22a.pm:81:   Plugins::callHook ('captcha_answer', {flag => $args->{flag}});
openkore/trunk/src/Network/Receive/ServerType20.pm:47:      Plugins::callHook('in_game');
openkore/trunk/src/Network/Receive/ServerType15.pm:47:      Plugins::callHook('in_game');

openkore/trunk/src/Network/Receive/ServerType19.pm:47:      Plugins::callHook('in_game');
openkore/trunk/src/Network/Receive/ServerType0.pm:473:      Plugins::callHook('in_game');
openkore/trunk/src/Network/Receive/ServerType0.pm:668:      Plugins::callHook('packet_attack', {sourceID => $args->{sourceID}, targetID => $args->{targetID}, msg => \$msg, dmg => $totalDamage, type => $args->{type}});
openkore/trunk/src/Network/Receive/ServerType0.pm:713:      Plugins::callHook('self_died');
openkore/trunk/src/Network/Receive/ServerType0.pm:749:      Plugins::callHook('monster_disappeared', {monster => $monster});
openkore/trunk/src/Network/Receive/ServerType0.pm:779:         Plugins::callHook('player_disappeared', {player => $player});
openkore/trunk/src/Network/Receive/ServerType0.pm:836:         Plugins::callHook('slave_disappeared', {slave => $slave});
openkore/trunk/src/Network/Receive/ServerType0.pm:1152:         Plugins::callHook('player', {player => $actor});  #backwards compatibility
openkore/trunk/src/Network/Receive/ServerType0.pm:1154:         Plugins::callHook('player_exist', {player => $actor});
openkore/trunk/src/Network/Receive/ServerType0.pm:1186:         Plugins::callHook('player', {player => $actor});  #backwards compatibailty
openkore/trunk/src/Network/Receive/ServerType0.pm:1188:         Plugins::callHook('player_connected', {player => $actor});
openkore/trunk/src/Network/Receive/ServerType0.pm:1259:      Plugins::callHook('charNameUpdate', $player);
openkore/trunk/src/Network/Receive/ServerType0.pm:1372:      Plugins::callHook('charNameUpdate', $player);
openkore/trunk/src/Network/Receive/ServerType0.pm:1465:   Plugins::callHook('packet_areaSpell', {
openkore/trunk/src/Network/Receive/ServerType0.pm:1707:      Plugins::callHook('packet_cart', {index => $index});
openkore/trunk/src/Network/Receive/ServerType0.pm:1780:      Plugins::callHook('packet_cart', {index => $index});
openkore/trunk/src/Network/Receive/ServerType0.pm:2176:   Plugins::callHook('packet_castCancelled', {
openkore/trunk/src/Network/Receive/ServerType0.pm:2419:   Plugins::callHook('disconnected') if ($net->getState() == Network::IN_GAME);
openkore/trunk/src/Network/Receive/ServerType0.pm:2528:      Plugins::callHook('exp_gained');
openkore/trunk/src/Network/Receive/ServerType0.pm:2940:   Plugins::callHook('packet_guildMsg', {
openkore/trunk/src/Network/Receive/ServerType0.pm:3252:      Plugins::callHook('item_gathered',{item => $item->{name}});
openkore/trunk/src/Network/Receive/ServerType0.pm:3287:      Plugins::callHook('packet_item_removed', {index => $item->{invIndex}});
openkore/trunk/src/Network/Receive/ServerType0.pm:3338:   Plugins::callHook('packet_useitem', \%hook_args);
openkore/trunk/src/Network/Receive/ServerType0.pm:3420:      Plugins::callHook('packet_inventory', {index => $item->{invIndex}});
openkore/trunk/src/Network/Receive/ServerType0.pm:3474:      Plugins::callHook('packet_inventory', {index => $item->{invIndex}, item => $item});
openkore/trunk/src/Network/Receive/ServerType0.pm:3592:   Plugins::callHook('item_skill', {
openkore/trunk/src/Network/Receive/ServerType0.pm:3839:   Plugins::callHook('Network::Receive::map_changed', {
openkore/trunk/src/Network/Receive/ServerType0.pm:3932:   Plugins::callHook('Network::Receive::map_changed', {
openkore/trunk/src/Network/Receive/ServerType0.pm:3975:      Plugins::callHook('in_game');
openkore/trunk/src/Network/Receive/ServerType0.pm:4254:   Plugins::callHook('npc_talk', {
openkore/trunk/src/Network/Receive/ServerType0.pm:4287:   Plugins::callHook('npc_talk_done', {ID => $ID});
openkore/trunk/src/Network/Receive/ServerType0.pm:4364:   Plugins::callHook('npc_talk_responses', {
openkore/trunk/src/Network/Receive/ServerType0.pm:4412:   Plugins::callHook('packet_partyMsg', {
openkore/trunk/src/Network/Receive/ServerType0.pm:4777:   Plugins::callHook('packet_pubMsg', {
openkore/trunk/src/Network/Receive/ServerType0.pm:4798:      Plugins::callHook('parseMsg/addPrivMsgUser', {
openkore/trunk/src/Network/Receive/ServerType0.pm:4810:   Plugins::callHook('packet_privMsg', {
openkore/trunk/src/Network/Receive/ServerType0.pm:4830:      Plugins::callHook('packet_sentPM', {
openkore/trunk/src/Network/Receive/ServerType0.pm:4872:   Plugins::callHook('parseMsg/recvChars', $args->{options});
openkore/trunk/src/Network/Receive/ServerType0.pm:5093:   Plugins::callHook('packet_selfChat', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5184:      Plugins::callHook('pvp_mode', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5210:      Plugins::callHook('pvp_mode', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5399:   Plugins::callHook('is_casting', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5548:   Plugins::callHook('packet_skilluse', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5588:   Plugins::callHook('packet_skillfail', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5617:   Plugins::callHook('packet_skilluse', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5695:   Plugins::callHook('packet_skilluse', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5749:      Plugins::callHook($hook, {
openkore/trunk/src/Network/Receive/ServerType0.pm:5776:   Plugins::callHook('packet_charSkills', {
openkore/trunk/src/Network/Receive/ServerType0.pm:5824:   Plugins::callHook('packet_charStats', {
openkore/trunk/src/Network/Receive/ServerType0.pm:6057:   Plugins::callHook('packet_storage_close');
openkore/trunk/src/Network/Receive/ServerType0.pm:6202:      Plugins::callHook('packet_storage_open');
openkore/trunk/src/Network/Receive/ServerType0.pm:6434:   Plugins::callHook('packet_sysMsg', {
openkore/trunk/src/Network/Receive/ServerType0.pm:6511:      Plugins::callHook('base_level', {name => $name});
openkore/trunk/src/Network/Receive/ServerType0.pm:6514:      Plugins::callHook('job_level', {name => $name});
openkore/trunk/src/Network/Receive/ServerType0.pm:6548:      Plugins::callHook('packet_vender', {ID => $ID});
openkore/trunk/src/Network/Receive/ServerType0.pm:6595:      Plugins::callHook('packet_vender_store', {
openkore/trunk/src/Network/Receive/ServerType0.pm:6613:   Plugins::callHook('packet_vender_store2', {
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_07_19b.pm:47:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_07_19b.pm:179:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_07_19b.pm:180:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/RagexeRE_2008_09_10a.pm:51:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/RagexeRE_2008_09_10a.pm:52:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/RagexeRE_2008_09_10a.pm:72:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_10_05a.pm:154:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2008_09_10a.pm:52:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2008_09_10a.pm:53:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2008_09_10a.pm:73:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_07_18a.pm:48:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_07_18a.pm:179:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_07_18a.pm:180:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_08_09a.pm:61:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_08_09a.pm:175:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_08_09a.pm:176:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_01_10b.pm:48:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_01_10b.pm:193:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_01_10b.pm:194:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2007_02_12a.pm:48:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2007_02_12a.pm:183:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2007_02_12a.pm:184:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_09_20a.pm:62:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_09_20a.pm:63:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_09_20a.pm:171:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2007_01_08a.pm:48:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2007_01_08a.pm:179:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2007_01_08a.pm:180:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_11_29a.pm:48:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_11_29a.pm:125:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_11_29a.pm:126:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_05_09a.pm:47:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_05_09a.pm:178:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_05_09a.pm:179:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/RagexeRE_2008_08_27a.pm:47:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/RagexeRE_2008_08_27a.pm:178:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/RagexeRE_2008_08_27a.pm:179:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_10_25a.pm:62:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_10_25a.pm:63:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_10_25a.pm:163:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_0.pm:117:   Plugins::callHook('packet/sendMapLoaded');
openkore/trunk/src/Network/Send/kRO/Sakexe_0.pm:161:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_0.pm:162:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_0.pm:705:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_07_13a.pm:90:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_06_28a.pm:47:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_06_28a.pm:178:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2005_06_28a.pm:179:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2006_03_27a.pm:48:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2006_03_27a.pm:181:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2006_03_27a.pm:182:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_09_06a.pm:63:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_09_06a.pm:64:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_09_06a.pm:192:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_07_26a.pm:62:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_07_26a.pm:196:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/kRO/Sakexe_2004_07_26a.pm:197:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType10.pm:39:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType10.pm:40:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType10.pm:59:   Plugins::callHook('packet_pre/sendAttack', \%args);
openkore/trunk/src/Network/Send/ServerType8_1.pm:39:   Plugins::callHook('packet_pre/sendAttack', \%args);
openkore/trunk/src/Network/Send/ServerType8_1.pm:126:   Plugins::callHook('packet_pre/sendSit', \%args);
openkore/trunk/src/Network/Send/ServerType8_1.pm:145:   Plugins::callHook('packet_pre/sendStand', \%args);
openkore/trunk/src/Network/Send/ServerType8_1.pm:167:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/ServerType8_3.pm:48:   Plugins::callHook('packet_pre/sendSit', \%args);

openkore/trunk/src/Network/Send/ServerType8_3.pm:66:   Plugins::callHook('packet_pre/sendAttack', \%args);

openkore/trunk/src/Network/Send/ServerType8_3.pm:94:   Plugins::callHook('packet_pre/sendStand', \%args);

openkore/trunk/src/Network/Send/ServerType8_5.pm:42:   Plugins::callHook('packet_pre/sendSkillUse', \%args);

openkore/trunk/src/Network/Send/ServerType8_5.pm:176:   Plugins::callHook('packet_pre/sendAttack', \%args);

openkore/trunk/src/Network/Send/ServerType0.pm:75:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType0.pm:76:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType0.pm:758:   Plugins::callHook('packet/sendMapLoaded');
openkore/trunk/src/Network/Send/ServerType1.pm:37:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType1.pm:38:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType1.pm:56:   Plugins::callHook('packet_pre/sendSit', \%args);
openkore/trunk/src/Network/Send/ServerType1.pm:74:   Plugins::callHook('packet_pre/sendStand', \%args);
openkore/trunk/src/Network/Send/ServerType1.pm:151:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/ServerType2.pm:44:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType2.pm:45:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType3.pm:44:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType3.pm:45:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType4.pm:44:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType4.pm:45:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType5.pm:43:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType5.pm:44:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType6.pm:36:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType6.pm:37:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType7.pm:35:   Plugins::callHook('packet_pre/sendAttack', \%args);
openkore/trunk/src/Network/Send/ServerType7.pm:55:   Plugins::callHook('packet_pre/sendSit', \%args);
openkore/trunk/src/Network/Send/ServerType7.pm:73:   Plugins::callHook('packet_pre/sendStand', \%args);
openkore/trunk/src/Network/Send/ServerType7.pm:96:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/Send/ServerType8.pm:50:   Plugins::callHook('packet_pre/sendAttack', \%args) if ($flag == 0 || $flag == 7);
openkore/trunk/src/Network/Send/ServerType8.pm:51:   Plugins::callHook('packet_pre/sendSit', \%args) if ($flag == 2 || $flag == 3);
openkore/trunk/src/Network/Send/ServerType8.pm:70:   Plugins::callHook('packet_pre/sendAttack', \%args);
openkore/trunk/src/Network/Send/ServerType8.pm:88:   Plugins::callHook('packet_pre/sendStand', \%args);
openkore/trunk/src/Network/Send/ServerType8.pm:105:   Plugins::callHook('packet_pre/sendSit', \%args);
openkore/trunk/src/Network/Send/ServerType8.pm:125:   Plugins::callHook('packet_pre/sendSkillUse', \%args);
openkore/trunk/src/Network/XKore.pm:117:   Plugins::callHook("Network::serverSend/pre", { msg => \$msg });
openkore/trunk/src/Network/XKore.pm:137:      Plugins::callHook('Network::stateChanged');
openkore/trunk/src/Network/Send.pm:275:      Plugins::callHook($hookName, \%args);
openkore/trunk/src/Network/DirectConnection.pm:140:   Plugins::callHook('Network::connectTo', {
openkore/trunk/src/Network/DirectConnection.pm:173:         Plugins::callHook("Network::serverSend/pre", { msg => \$msg });
openkore/trunk/src/Network/DirectConnection.pm:178:            Plugins::callHook("Network::serverSend", { msg => $msg });
openkore/trunk/src/Network/DirectConnection.pm:196:      Plugins::callHook("Network::serverRecv", { msg => \$msg });
openkore/trunk/src/Network/DirectConnection.pm:243:   Plugins::callHook('Network::stateChanged');
openkore/trunk/src/Network/DirectConnection.pm:257:   Plugins::callHook('Network::clientAlive', \%args);
openkore/trunk/src/Network/DirectConnection.pm:269:      Plugins::callHook('Network::clientSend', \%args);
openkore/trunk/src/Network/DirectConnection.pm:284:      Plugins::callHook('Network::clientRecv', \%args);
openkore/trunk/src/Network/DirectConnection.pm:338:         Plugins::callHook("Network::serverConnect/master");
openkore/trunk/src/Network/DirectConnection.pm:437:      Plugins::callHook("Network::serverConnect/special");
openkore/trunk/src/Network/DirectConnection.pm:476:            Plugins::callHook("Network::serverConnect/char");
openkore/trunk/src/Network/DirectConnection.pm:512:            Plugins::callHook("Network::serverConnect/charselect");
openkore/trunk/src/Network/DirectConnection.pm:549:            Plugins::callHook("Network::serverConnect/mapserver");
openkore/trunk/src/Network/DirectConnection.pm:567:         Plugins::callHook('disconnected');
openkore/trunk/src/Network/DirectConnection.pm:582:         Plugins::callHook('disconnected');
openkore/trunk/src/Network/Receive.pm:177:      Plugins::callHook("packet_pre/$handler->[0]", \%args);
openkore/trunk/src/Network/Receive.pm:181:            Plugins::callHook("packet_handle/$handler->[0]", \%args);
openkore/trunk/src/Network/Receive.pm:191:         Plugins::callHook("packet_pre/$handler->[0]", \%args);
openkore/trunk/src/Network/Receive.pm:201:   Plugins::callHook("packet/$handler->[0]", \%args);
openkore/trunk/src/Network/Receive.pm:252:      Plugins::callHook("Network::Receive/willMangle", \%args);
openkore/trunk/src/Network/Receive.pm:273:   Plugins::callHook("Network::Receive/mangle", \%hook_args);
openkore/trunk/src/Plugins.pm:425:sub callHook {
openkore/trunk/src/Misc.pm:290:   Plugins::callHook('configModify', {
openkore/trunk/src/Misc.pm:331:      Plugins::callHook('configModify', {
openkore/trunk/src/Misc.pm:1039:      Plugins::callHook('avoidGM_talk', \%args);
openkore/trunk/src/Misc.pm:1143:   Plugins::callHook('charSelectScreen', \%plugin_args);
openkore/trunk/src/Misc.pm:1986:   Plugins::callHook('objectAdded', {
openkore/trunk/src/Misc.pm:2002:   Plugins::callHook('objectRemoved', {
openkore/trunk/src/Misc.pm:2333:   Plugins::callHook('changed_status',{actor => $actor, changed => $changed});
openkore/trunk/src/Misc.pm:2343:         Plugins::callHook('perfect_hidden_player',{actor => $actor, changed => $changed});
openkore/trunk/src/Misc.pm:2777:      Plugins::callHook('teleport_sent', \%args);
openkore/trunk/src/Misc.pm:2783:      Plugins::callHook('teleport_sent', \%args);
openkore/trunk/src/Misc.pm:2811:            Plugins::callHook('teleport_sent', \%args);
openkore/trunk/src/Misc.pm:2820:            Plugins::callHook('teleport_sent', \%args);
openkore/trunk/src/Misc.pm:2830:         Plugins::callHook('teleport_sent', \%args);
openkore/trunk/src/Misc.pm:2842:         Plugins::callHook('teleport_sent', \%args);
openkore/trunk/src/Misc.pm:2881:         Plugins::callHook('teleport_sent', \%args);
openkore/trunk/src/Misc.pm:3326:      Plugins::callHook('avoidGM_near', \%args);
openkore/trunk/src/Misc.pm:3845:   Plugins::callHook("checkSelfCondition", \%hookArgs);
openkore/trunk/src/Misc.pm:3961:   Plugins::callHook('checkPlayerCondition', \%args);
openkore/trunk/src/Misc.pm:4016:   Plugins::callHook('checkMonsterCondition', \%args);
openkore/trunk/src/Settings.pm:482:   Plugins::callHook('preloadfiles', {files => \@{$files->getItems}});
openkore/trunk/src/Settings.pm:486:      Plugins::callHook('loadfiles', {files => \@{$files->getItems}, current => $i});
openkore/trunk/src/Settings.pm:491:   Plugins::callHook('postloadfiles', {files => \@{$files->getItems}});
openkore/trunk/src/Commands.pm:280:         Plugins::callHook("Commands::run/pre", \%params);
openkore/trunk/src/Commands.pm:282:         Plugins::callHook("Commands::run/post", \%params);
openkore/trunk/src/Commands.pm:288:         Plugins::callHook('Command_post', \%params);
openkore/trunk/src/Commands.pm:1209:      Plugins::callHook('Commands::cmdConf', {
openkore/trunk/src/functions.pl:69:      Plugins::callHook('mainLoop_pre');
openkore/trunk/src/functions.pl:71:      Plugins::callHook('mainLoop_post');
openkore/trunk/src/functions.pl:77:      Plugins::callHook('start');
openkore/trunk/src/functions.pl:302:   Plugins::callHook('start2');
openkore/trunk/src/functions.pl:323:   Plugins::callHook('start3');
openkore/trunk/src/functions.pl:528:   Plugins::callHook('initialized');
openkore/trunk/src/functions.pl:661:   Plugins::callHook('packet_mapChange');
openkore/trunk/src/functions.pl:932:   Plugins::callHook('mainLoop::setTitle',\%args);
openkore/trunk/src/functions.pl:1081:   Plugins::callHook('RO_sendMsg_pre', {switch => $switch, msg => $msg, realMsg => \$sendMsg});
openkore/trunk/src/functions.pl:1140:      Plugins::callHook('map_loaded');
openkore/trunk/src/functions.pl:1355:   Plugins::callHook('parseMsg/pre', {switch => $switch, msg => $msg, msg_size => length($msg)});
openkore/trunk/src/FileParsers.pm:666:   Plugins::callHook("FileParsers::ROLUT", \%ret);
openkore/trunk/src/FileParsers.pm:692:   Plugins::callHook("FileParsers::RODescLUT", \%ret);
openkore/trunk/src/FileParsers.pm:742:   Plugins::callHook ('FileParsers::ROQuestsLUT', \%ret);
openkore/trunk/src/ChatQueue.pm:61:   Plugins::callHook('ChatQueue::add', \%item);
openkore/trunk/src/ChatQueue.pm:614:   Plugins::callHook('ChatQueue::processChatResponse', $cmd);
openkore/trunk/src/AI.pm:718:   Plugins::callHook('attack_start', {ID => $ID});


Top
 Profile  
 
 Post subject: Re: Plugin hook changes?
PostPosted: 01 Feb 2010, 14:28 
Offline
OpenKore Monk
OpenKore Monk

Joined: 04 Apr 2008, 10:10
Posts: 474
Stickied

_________________
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.


Top
 Profile  
 
 Post subject: Re: Plugin hook changes?
PostPosted: 15 Jul 2011, 12:31 
Offline
Developers
Developers

Joined: 05 Dec 2008, 05:42
Posts: 1811
Suggestion for a development policy:

All (future) hook names should be friendly to Perl's => operator, if possible.

Quote:
The => operator is a synonym for the comma except that it causes its left operand to be interpreted as a string if it begins with a letter or underscore and is composed only of letters, digits and underscores.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group