Issue information

Issue ID
#6221
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jul 12, 2012 17:59
Last Post
Hercules Elf Bot
Jul 12, 2012 21:00
Confirmation
N/A

Hercules Elf Bot - Jul 12, 2012 17:59

Originally posted by [b]Smoke[/b]
Minor issue with [b]viewpoint[/b] script command 5th argument in http://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/re/jobs/3-2/royal_guard.txt
Expected number not string.

[CODE]
viewpoint 1,173,88 ,1, "0xFFFF00";
viewpoint 1,158,103,2, "0xFFFF00";
viewpoint 1,139,90 ,3, "0xFFFF00";
viewpoint 1,126,62 ,4, "0xFFFF00";
viewpoint 1,148,5 ,5, "0xFFFF00";
viewpoint 1,185,72 ,6, "0xFFFF00";
viewpoint 1,211,94 ,7, "0xFFFF00";
viewpoint 1,185,125,8, "0xFFFF00";
viewpoint 1,143,125,9, "0xFFFF00";
viewpoint 1,105,115,10,"0xFFFF00";
[/CODE]

Error:
[CODE]
[Warning]: Unexpected type for argument 5. Expected number.
[Debug]: Data: string value="0xFFFF00"
[Debug]: Function: viewpoint
[Debug]: Source (NPC): #Clue of traces at gl_church (158,100)
[/CODE]

This post has been edited by Smoke on Jul 12, 2012 17:59

Hercules Elf Bot - Jul 12, 2012 18:58

Originally posted by [b]Euphy[/b]
[s]Fixed [rev=16418].[/s]
Edit: forgot to apply the patch ._. (thanks og2)

This post has been edited by Euphy on Jul 12, 2012 23:10

Hercules Elf Bot - Jul 12, 2012 19:29

Originally posted by [b]EvilPuncker[/b]
no files related to this were modified in r16418 :/

Hercules Elf Bot - Jul 12, 2012 21:00

Originally posted by [b]og2[/b]
[b]Fixed[/b] in [url="http://trac.rathena.org/changeset/16420/rathena"]r16420[/url]