Issue information

Issue ID
#5708
Status
Unable to Reproduce
Severity
None
Started
Hercules Elf Bot
May 7, 2012 17:31
Last Post
Hercules Elf Bot
Jun 23, 2012 9:49
Confirmation
Yes (1)
No (1)

Hercules Elf Bot - May 7, 2012 17:31

Originally posted by [b]botka4aet[/b]
I use this mob_avail.txt
[CODE]
1001,4009,0,6,6,0,0,0,0,0,0,6
[/CODE]
and Scorpion become High Priest
But I use npcwalkto and see it - I have error
[img]http://s1.uploads.su/0nfg.jpg[/img]


All works good in eathena 15007, but in trunk rathena it don't.

Hercules Elf Bot - May 7, 2012 18:24

Originally posted by [b]Lilith[/b]
rAthena r16083
[CODE]1001,4012,1,21,0,1720,0,102,184,57,16,0[/CODE]

[attachment=1762:Снимок.PNG]

Question: 'npcwalkto' to Scorpion? =\

This post has been edited by Lilith on May 7, 2012 18:26

Hercules Elf Bot - May 8, 2012 1:08

Originally posted by [b]botka4aet[/b]
OnTimer30000:
npcwalkto 156+rand(-5,5),180+rand(-5,5);
end;

Hercules Elf Bot - May 8, 2012 2:45

Originally posted by [b]Lilith[/b]
[font=verdana,geneva,sans-serif]It's NPC, NOT mob.
Confirm[/font]

This post has been edited by Lilith on May 8, 2012 2:47

Hercules Elf Bot - May 8, 2012 17:48

Originally posted by [b]botka4aet[/b]
Any help?

Hercules Elf Bot - May 8, 2012 18:20

Originally posted by [b]Aleos[/b]
You are going about it wrong. npcwalkto is a NPC related command and you are trying to use it on a monster? Why not just create a NPC with the sprite you want and then use the npcwalkto command.

The errors you are getting is because it's trying to look in the monster/NPC sprite folder for the High Priest sprite, which isn't in there.

Hercules Elf Bot - May 8, 2012 18:37

Originally posted by [b]botka4aet[/b]
[CODE]
prontera,160,181,3 script Pries 2501,7,7,{
if ((hp==maxhp && sp==maxsp) || !hp && !sp) end;
getmapxy(@mapname$,@mapx,@mapy,0,strcharinfo(0));
npcskilleffect 28,1,@mapx,@mapy;
skilleffect 28, maxhp;
percentheal 100,100;end;

OnInit:
npcspeed 150;
initnpctimer;
end;

L_SAYWORLD:
OnTimer1:
npcwalkto 156+rand(-5,5),180+rand(-5,5);
sleep 10000;
npcwalkto 156+rand(-15,15),180+rand(-15,15);
sleep 10000;
goto L_SAYWORLD;
end;
}
[/CODE]

Hercules Elf Bot - May 10, 2012 8:58

Originally posted by [b]botka4aet[/b]
up

Hercules Elf Bot - Jun 4, 2012 7:01

Originally posted by [b]Xantara[/b]
[b]Unable to reproduce.[/b]

Tested on r16227 using the following:
[CODE]
// mob_avail.txt
3000,1015,0,6,6,0,0,0,0,0,0,6
// NPC
prontera,155,184,0 script test 3000,{
npcwalkto 156+rand(-5,5),180+rand(-5,5);
close;
}
[/CODE]

The NPC was able to move to a location fully and successfully without any errors.

I believe this may fix your problem: (ie. it is probably a client-side error on your part not the server)
[quote name='Aleos' timestamp='1336501250' post='9079']
The errors you are getting is because it's trying to look in the monster/NPC sprite folder for the High Priest sprite, which isn't in there.
[/quote]