camp.mac (Spawn Camper)

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

kagonis
a hill giant
a hill giant
Posts: 228
Joined: Sat May 24, 2003 8:48 pm

camp.mac (Spawn Camper)

Post by kagonis » Fri Jul 04, 2003 5:14 am

This is basically Zeltren's Camp Macro. I have merely cleaned up the code a little bit.

All credits for the idea on this macro goes to Zeltren.

Code: Select all

#turbo
#event ZONING "LOADING, PLEASE WAIT ..."
#define TELLPLAYER v0
Sub Main
	/varset TELLPLAYER "NULL"
	/if n $strlen("$p0")==0 {
		/echo Syntax: /macro camp <"NPC Name"> ["NPC Name"] ..
		/endmacro
	}
	/alert clear 1
	/varset l0 0
	:Loop
		/alert add 1 npc "$p$int($l0)"
		/if n $strlen("$p$int($calc($l0+1))")==0 /goto :Track
		/varadd l0 1
	/goto :Loop
	:Track
		/doevents
		/if $alert(1)==TRUE {
			/target alert 1
			/face alert 1
			/if "$TELLPLAYER"=="NULL" {
				/varset t0 1m
				:DoAlert
					/call SoundAlert
				/if n $t0>0 /goto :DoAlert
			} else {
				/tell $TELLPLAYER $target(name,clean) has spawned.
			}
			/endmacro
		}
		/delay 10s
	/goto :Track
/return

Sub SoundAlert
	/for l0 1 to 4
		/beep
	/next l0
	/delay 2s
/return

sub Event_ZONING
	/endmacro
/return

CaM3Lt0Sis
orc pawn
orc pawn
Posts: 26
Joined: Thu Jul 03, 2003 10:33 am

Post by CaM3Lt0Sis » Fri Jul 04, 2003 10:09 pm

very well done, now one can set up a friend's account at a camp, bind there, and gate back when the mob they need pops :D

would be even more interetsing to make fight macros for the different classes, for camping newbie type mobs (hadden)... although if a bug occurred it could quite possibly be obvious to GMs

bigpoker
decaying skeleton
decaying skeleton
Posts: 1
Joined: Wed Sep 24, 2003 11:16 am

Post by bigpoker » Wed Sep 24, 2003 11:18 am

ok i'm sorta new to this and im really confused at the moment, i dont know how to get this one working, lets say i wanted to camp hadden in qeynos hills.. what would i have to do to go about doing that? and whats going to happen when he spawns, do i have to be in QH ..yadda yadda yadda..sorry if they are noobish questions..just getting frustrated

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Sep 24, 2003 11:33 am

I actually did a "camp Hadden" macro at one time. Ended up not using it. There are quite a few folks who have him timed, and camp out at his spawn point to log back in when he is due to pop.

So, obviously if you aren't watching closely you get KS'd. If you don't respond to camp checks you get KS'd. A lot of times folks will chat with you while you are camping him, because they want the next spawn, and if you don't answer properly you get reported and KS'd.

Basically, Hadden is a prime example of when NOT to use unattended macroing.
MQ2: Think of it as Evolution in action.

MQSEQ
Hypocrite fag
Posts: 181
Joined: Fri Sep 19, 2003 5:18 pm

Post by MQSEQ » Wed Sep 24, 2003 11:40 am

Yes you must be in zone and ready to fight the mob.

The post above stated setting another bot in zone monitoring for the Alert mob then send a tell to another 2nd bot and have 2nd bot gate and kill it.

AFK bot'ing could cause major problems for example when camping Hadden you will have folks pop in all the time to check the camp then leave. It's a long boring 6 hours during spawns so you end up watching tv. Well if another player comes there they like jacking with you to see if you are AFK or watching the screen. If they figure your not watching they will try to KS you and then agrue that you was AFK. I have talked to GM's for this exact problem. And 36 hrs later I got the Fishbone earring and was KS'ed once.

If you are going to AFK bot'ing then you really would want a sophisticated macro that can tell if others coming into a radius range, camp check, tells etc. When I do long boring camps I will perioticly stand up spin around then sit back down.