Okay, so this is giving me problems... more specifically its making npc's a good distance away say "Hit".. It's in the weapon npc... cx/cy are the cordinate x and y that I want to check at.. (top left of the hole dug).. Should be 2x2 tiles. But this seems to affect npc's further away.
PHP Code:
for(temp.n : findareanpcs(this.cx, this.cy, this.cx + 1, this.cy + 1)){
temp.n.chat = "Hit!";
}
It's giving it a huge gap between the npc I dug and the ones around it... :x
Edit:
Okay, sorry I guess thats x/y/w/h I needed to just supply 2,2 for the width,height... for some reason I was entering ending x/y cords. My bad, sorry.
However, gralats have not been showing for me on this server or my personal dev server unless I first logon UN... anyone know why this is? I would have thought a newly bought server would be working, is it missing some file?