[help] Alberta Daily Quest for Valkyrie Server pRO

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

Moderator: Moderators

NiTRO106
Plain Yogurt
Plain Yogurt
Posts: 64
Joined: 30 Nov 2012, 20:27
Noob?: No

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#31 Post by NiTRO106 »

@ever_boy_

thanks for the reply! i was making actually macro similar to raine101 but i want to make my macro as short as possible. i want to ask on how to merge 2 console sentences. it is because i have two automacros in my code that have the same sequence but have different console statements. the first example about this is about the code you answer few minutes ago.

Code: Select all

automacro QuestCompleted {
   exclusive 1
   console /(help|come back) 20 hours later./
   call {
      pause 5
      do quit
   }
}
i understand now on how to merge console statements with same texts. but what if the two statements doesn't have a same text or word to each other? like this example below:

Code: Select all

automacro getBackToNPC {
	console /before it changes its mind/ | /have already moved/ <-- THIS ONE
	call portNPC
	timeout 5
}
automacro 6thCargo {
	console /sixth create has been found/ | /our wounded scouts have reported/ <-- THIS ONE
	call {
		$mimic = sixth
		call talkMIMIC
	}
	timeout 5
}
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#32 Post by ever_boy_ »

take a look at automacro MIMIC1 in my last post.
NiTRO106
Plain Yogurt
Plain Yogurt
Posts: 64
Joined: 30 Nov 2012, 20:27
Noob?: No

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#33 Post by NiTRO106 »

@ever_boy_

i didn't notice that a while ago but thanks for reminding me! i try a while ago to merge 6 automacros into one because they have the same functions. i dont know if i entered the codes correctly :D

Code: Select all

automacro getMimic {
	console /(first|second|third|fourth|fifth|sixth) crate/
	call {
		if ($.lastMatch1 =~ /first crate/i) goto first
		if ($.lastMatch1 =~ /second crate/i) goto second
		if ($.lastMatch1 =~ /third crate/i) goto third
		if ($.lastMatch1 =~ /fourth crate/i) goto fourth
		if ($.lastMatch1 =~ /fifth crate/i) goto fifth
		if ($.lastMatch1 =~ /sixth crate/i) goto sixth

		:first
			$mimic = first
		:second
			$mimic = second
		:third
			$mimic = third
		:fourth
			$mimic = fourth
		:fifth
			$mimic = fifth
		:sixth
			$mimic = sixth

		call talkMimic
	}
}
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#34 Post by ever_boy_ »

seems ok, but be aware that this macro will trigger to ANYTHING that makes these words show in console: players, warnings, other quest, everything.
NiTRO106
Plain Yogurt
Plain Yogurt
Posts: 64
Joined: 30 Nov 2012, 20:27
Noob?: No

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#35 Post by NiTRO106 »

@ever_boy_

thanks sir for giving me some tips! :) but i think no one will chat about those words in the location of the quest because almost of the players that are staying there are bots. a LOTS of bots. :lol:
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#36 Post by ever_boy_ »

just be careful with the npc's then.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#37 Post by EternalHarvest »

NiTRO106 wrote:but i think no one will chat about those words in the location of the quest because almost of the players that are staying there are bots. a LOTS of bots.
That's exactly why one will.
ptcarino
Plain Yogurt
Plain Yogurt
Posts: 62
Joined: 17 Jul 2010, 00:48
Noob?: No
Location: pRO Valkyrie

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#38 Post by ptcarino »

NiTRO106 wrote:@ever_boy_

thanks sir for giving me some tips! :) but i think no one will chat about those words in the location of the quest because almost of the players that are staying there are bots. a LOTS of bots. :lol:
you can never be sure. some people (specially who reads posts here) would exploit it. sometimes just for fun, sometimes because they're pissed on the amount of bots in there.

but seeing as we don't have any alternative atm. just use it at your own risk.
Image
arenole
Noob
Noob
Posts: 6
Joined: 05 Dec 2012, 06:20
Noob?: Yes

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#39 Post by arenole »

hmm sometimes the bot works fine and answer the npc correctly.. but sometimes the answer is wrong and the quest gets done..

is this a problem with the internet connection or something??


well anyweiz tnx guys for sharing ur ideas and macros.. big help!! /no1 :D
flashdbest
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 12 Nov 2012, 09:22
Noob?: Yes

Re: [help] Alberta Daily Quest for Valkyrie Server pRO

#40 Post by flashdbest »

arenole wrote:hmm sometimes the bot works fine and answer the npc correctly.. but sometimes the answer is wrong and the quest gets done..

is this a problem with the internet connection or something??


well anyweiz tnx guys for sharing ur ideas and macros.. big help!! /no1 :D
this is the problem the mods are reffering to :P