automacro problems

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
oneechandesu
Noob
Noob
Posts: 3
Joined: 29 Feb 2012, 03:44
Noob?: Yes

automacro problems

#1 Post by oneechandesu »

hello,

i am quite new in using Openkore..the last time i used automacro in Openkore was a year ago. i am using CVS version 1.7.0 back then.

now i am back playing Ragnarok but any of my bots won't gimme what i command they so.. i really need help in this matter, i am willing to learn..

so many times i google around finding solutions but non of it can resolve my problems.. i tried to change many things in macros.txt but it won't work though.

then i tried using the latest SVN version 2.0.7..i did the same macros but it won't work either..it says "control\macros.txt : ignoring 'pubg "cp", 15' (munch, munch, unknown automacro keyword)

here is my macro :

Code: Select all

automacro mintak_cp {
	pubg "cp",15
	call buat_cp
}

macro buat_cp {
	sp 479 "@var (.lastpubg)"
	@pause 1
	e ok
	sit
	
}
and when the bot are already in game, there was this syntax error keeps popping out "automacro mintak_cp triggered : buat_cp error : error in 0: syntax error"

anything wrong in my macro script? or does it not matched the server version or server type? can anyone help me figuring out what the problems is?

thanks a lot.. :)

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: automacro problems

#2 Post by EternalHarvest »

There's no such automacro condition as "pubg": http://wiki.openkore.com/index.php/Macro#Conditions_2

In macro blocks, you need to use macro commands (like "do"), not console commands.

oneechandesu
Noob
Noob
Posts: 3
Joined: 29 Feb 2012, 03:44
Noob?: Yes

Re: automacro problems

#3 Post by oneechandesu »

i see.. but previously the macro worked just fine with "pubg".. it means only guild members can ask for the buffs..

there's also setting in config.txt which i set up guild names, only those guild members can ask for buffs :
######## Login options and server-specific options ########


master DracoRO Private Server
server 0
username
password
char 1
sex

bindIp
encrypt 0
# 0 = normal server, 1 = oRO, 2 = pRO, 3 = eAthena/Freya, 4 = new Freya
serverType 0

XKore 0
XKore_silent 1
exeName ragexe.exe
commandPrefix ;

pauseMapServer 0
ignoreInvalidLogin 0
secureLogin_requestCode

message_length_max 80
# If you play oRO or euRO, you should set chatLangCode to 1
chatLangCode 0
storageEncryptKey 0x050B6F79, 0x0202C179, 0x00E20120, 0x04FA43E3, 0x0179B6C8, 0x05973DF2, 0x07D8D6B, 0x08CB9ED9

skillWOE
skillWOE_lvl 5

woeTestMode 1
woeAllies Half Dragon,EFR,7Yeng,EinBro0chFrIenDFoReVer,E V E N T S,IncompleteReunion,EinBRoOcHFaMiLy,The EiniTy,S p e r m,Death Eater,A m b u l a n c e,OnlyMe,K i l l,Free For All,Korewa Zombie Des Ka,PersatuanSiKenitSedunia




#woeSkill Full Chemical Protection {
lvl
maxCastTime 0
minCastTime 0
hp <= 20000
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
target
target_hp
target_isJob
target_isNotJob
target_whenStatusActive
target_whenStatusInactive Assumptio
target_aggressives
target_monsters
target_timeout 0
target_dead 0
inInventory
}

otaiMestiKS 1

macro_readmanual red/chili

macro_orphans terminate

macro_nowarn 0

macro_debug none

macro_file macros.txt

######## Main configuration ########
and the macros is just like i mentioned earlier in the post.. just using the simple macros and it worked, the bot only gave to the mentioned guilds in config.txt..

this worked just fine for CVS version 1.7.0 that i used back then.. thanks anyway for ur reply..
i'll work harder on this matter.. :)

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: automacro problems

#4 Post by EternalHarvest »

Well, a year ago openkore 1.7.0 (was there such a version?) was already not the most recent for years. Macro plugin you've used with it was probably of some old version, and it could have been changed since then.

Post Reply