Wanna be really imba? Guide on how to use Openkore in PVP

11/22/2008 13:22 popoyman#16
Geez thanks man, couldn't have had figured this out without your help. I thought the problem was the kore itself. ^^
11/23/2008 03:39 xrodeox#17
error: the plugin cannot be loaded because of a problem in the plugin. please notify the plugins author about this problem...can u help me with this. it has an error

Loaded plugins:
plugins/macro.pl (macro)

Error message:
Can't call method "debug" on an undefined value at plugins/Macro/Utilities.pm line 91.

Stack trace:
Can't call method "debug" on an undefined value at plugins/Macro/Utilities.pm line 91.
at src/Interface/Wx.pm line 113
Interface::Wx::mainLoop('Interface::Wx=HASH(0x2c81 bf4)') called at openkore.pl line 96
main::__start() called at start.pl line 125

Died at this line:
sub match {
* $cvs->debug("match (@_)", $logfac{function_call_auto});
my ($text, $kw) = @_;



help me plzzzz

coud someone help me plzz

hideki. i will w8 for your reply...help me
11/23/2008 13:43 Aimless Angel#18
are you kiddin me? stop that double/tripple what ever posting otherwise you will get an infraction! :mad:
11/23/2008 16:44 ChibiEbil#19
Without your macros.txt or best just the changes you does that it dont work anymore, i cant do anything lol =o.

Hideki
11/26/2008 07:59 iyhan#20
does this work on regular server or just in private servers
11/27/2008 20:02 ChibiEbil#21
It should work on all servers where openkore works.

Hideki
12/08/2008 03:27 popoyman#22
Why is that when I use skills such as Extremity Fist, there will be an error saying..

"This program has encountered an unexpected problem. This is probably because of a bug in this program, or in one of the plugins. Please tell us about this problem"

"A detailed error report has been saved to errors.txt"

"The error message is:

Can't locate object method "name" via package "Skill" at src/Misc.pm line 3638

Then my client lags forever until I exit the bot client.



My errors.txt

OpenKore version 2.0.5.1
@ai_seq =
Network state = 5
Network handler = Network::XKore
SVN revision: unknown
Loaded plugins:
plugins/macro.pl (macro)

Error message:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3638.

Stack trace:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3638.
at src/Misc.pm line 3638
Misc::checkSelfCondition('useSelf_skill_0') called at src/AI/CoreLogic.pm line 2249
AI::CoreLogic::processAutoSkillUse() called at src/AI/CoreLogic.pm line 97
AI::CoreLogic::iterate() called at src/functions.pl line 593
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HAS H(0x21db34c)') called at openkore.pl line 96
main::__start() called at start.pl line 125

Died at this line:
my $skill_handle = Skill->new(name => lc($config{$prefix}))->getHandle();
* return 0 unless (($char->{skills}{$skill_handle} && $char->{skills}{$skill_handle}{lv} >= 1)
|| ($char->{permitSkill} && $char->{permitSkill}->name eq $config{$prefix})
12/08/2008 13:01 ChibiEbil#23
And now?
I cant say anything without your macro (that one that make this error).
When comes the error? at start? while the automacro condition is occurs and the macro is executed? What macro u made new?

Maybe you wrong write a skill name.

Hideki
12/09/2008 03:21 popoyman#24
Well this is from my macros.txt

Quote:
##### Alchemist Brewing #####
# Red Potion = 8E 01 F5 01 00 00 00 00 00 00
# Yellow Potion = 8E 01 F7 01 00 00 00 00 00 00
# White Potion = 8E 01 F8 01 00 00 00 00 00 00
# Blue Potion = 8E 01 F9 01 00 00 00 00 00 00
# Adonyne = 8E 01 5D 02 00 00 00 00 00 00
# Aloevera = 8E 01 5E 02 00 00 00 00 00 00
# Red Slim = 8E 01 21 02 00 00 00 00 00 00
# Yellow Slim = 8E 01 22 02 00 00 00 00 00 00
# White Slim = 8E 01 23 02 00 00 00 00 00 00
# Alcohol = 8E 01 CA 03 00 00 00 00 00 00
# Fire Bottle = 8E 01 DF 1B 00 00 00 00 00 00
# Acid Bottle = 8E 01 E0 1B 00 00 00 00 00 00
# Plant Bottle = 8E 01 E1 1B 00 00 00 00 00 00
# Mine Bottle = 8E 01 E2 1B 00 00 00 00 00 00
# Coating Wax = 8E 01 E3 1B 00 00 00 00 00 00

automacro potzMakerAlcohol {
sp > 50
status Blessing
status Gloria
status not Owg 50%

inventory "Alcohol Creation Guide" > 0
inventory "Medicine Bowl" > 0
inventory "Empty Bottle" > 0
inventory "Stem" > 4
inventory "Empty Test Tube" > 0
inventory "Poison Spore" > 4

timeout 0.1
run-once 1

call {
do ss 228 10
do send 8E 01 CA 03 00 00 00 00 00 00

pause 0.5

release potzMakerAlcohol
}
}

automacro Maint EventFireBottle {
sp > 50

inventory "Bottle Grenade Creation Guide" > 0
inventory "Medicine Bowl" > 0
inventory "Empty Bottle" > 0
inventory "Alcohol" > 0
inventory "Fabric" > 0

timeout 0.1
run-once 1

call {
do ss 228 10
do send 8E 01 DF 1B 00 00 00 00 00 00

pause 0.1

release Maint EventFireBottle
}
}

automacro Maint EventAcidBottle {
sp > 50

inventory "Acid Bottle Creation Guide" > 0
inventory "Medicine Bowl" > 0
inventory "Empty Bottle" > 0
inventory "Immortal Heart" > 0

timeout 0.1
run-once 1

call {
do ss 228 10
do send 8E 01 E0 1B 00 00 00 00 00 00

pause 0.1

release Maint EventAcidBottle
}
}




automacro AImanual {
priority 1
console //
call AImanualON
run-once 1
}

macro AImanualON {
pause 2 //
do ai manual //
release AImanual
}
This error comes when I use skill such as Extremity Fist.
12/10/2008 18:37 ChibiEbil#25
  • remove the //
  • Read my guide again.
  • Read the macros FAQ [Only registered and activated users can see links. Click Here To Register...]
  • The "console" condition needs a string, a string have to be in "/ /" in Openkore.
  • Learn how to copy&past...

Hideki
12/11/2008 07:14 popoyman#26
I don't get it O.O

All I want to do is to control my character manually using openkore. The only thing I want kore to do is to auto pots while I play him manually :(
12/11/2008 14:46 ChibiEbil#27
Just do what i write.

Code:
automacro AImanual {
	priority 1
	console /WELCOME TEXT OF THE SERVER, OR SOMETHING THAT APPEAR IN THE CHAT WHEN YOU CONNECT/
	call AImanualON
	run-once 1
}

macro AImanualON {
	pause 2
	do ai manual
	release AImanual
}
12/30/2008 00:26 karlosmatias#28
First, thank you for your post, Hideki! ^^

I followed your post tips and i started making some other nice stuffs (to be really imba lol).

I'd like to share my macros. I tested all of them and it's working fine.
Please correct if there are some mistake.

Autopot (HP/SP)
I tried to change config settings but all I got was a very slow "spam" of pots.
So i decided to make a macro for this and the result was a insane spam of pots, almost an invincible char (in some crowded maps). That's why i put that timeout .3 for blue pots, 'cause people would notice something weird. Mastela is fine 'cause people can't see its effects.
I put location not gonryun because thats my save point (i didn't find another way to prevent openkore from autopot in the cities).

PHP Code:
automacro autopot_hp_a {
    
hp 95%
    
run-once 0
    inventory 
"Mastela Fruit" 1
    location not gonryun
prontera
    call autopot_hp_m
}

macro autopot_hp_m {
    do 
is @inventory(Mastela Fruit)   
}

automacro autopot_sp_a {
    
sp 95%
    
run-once 0
    inventory 
"Blue Potion" 1
    location not gonryun
prontera
    call autopot_sp_m
    timeout .3
}

macro autopot_sp_m {
    do 
is @inventory(Blue Potion)    

Asura Boost
The objective of this macro is to use/equip the best items right before you hit asura on enemy, in order to raise asura's dmg. In this example i used Aloevera, that increases your atk power. So, if you're not under Provoke status, openkore will use Aloevera before Asura hits the enemy (not tested in a instant cast server).
Of course you can change the items or change equips. I wouldn't recommend to change headgear 'cause other players could notice that.
PHP Code:
automacro boost_a {
    
exclusive 1
    console 
/Você está conjurando Extremity Fist/
# change the msg above with the msg that appears in your console/language when you cast asura
    
status not Provoke
    run
-once 1
    call boost_m
}

macro boost_m {
    do 
is @inventory(Aloevera)
    
release boost_a

Hope it helped xD
12/30/2008 15:43 ChibiEbil#29
Thanks for the Macros, if they work for u i think all is fine :D
I think i make a macro collect thread for an better overview over the existing macros here.
Nice idea with the asura btw ;P

But why u make a macro for pot using?

Hideki
12/30/2008 21:28 karlosmatias#30
Nice ideia on making that thread hideki ^^

This autopot is very useful to me in WoE (i play as a champion btw), since sometimes is very difficult to handle lots of skills, switches and potting. You lose your focus.
Basically, if you have enough Mastela in your inventory, you can only be beaten by asura, and you can solve this by making a macro for hiding right before asura hits you (i'm testing this and i'll post if it works).
Acid Demo could beat you too but you can switch to Alligator cards and Pneuma (high priest/champ), autopot does the rest.

As a champion, once you asura some player, you don't have to care about blue pots. Let the macro do this and you can focus on recharging spirit spheres and aim another player.