Issue information

Issue ID
#1335
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Apr 8, 2008 7:52
Last Post
Hercules Elf Bot
Apr 4, 2012 7:15
Confirmation
Yes (2)
No (0)

Hercules Elf Bot - Apr 8, 2008 7:52

Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1335

This has been annoying me for a loooong time. For some reason, scripters think that this is the best way to write a npc that appears in multiple places:
[code]some_particular_city,x,y,d script somenpc viewid,{ ... }
some_other_city,x,y,d duplicate(somenpc) somenpc#1 viewid
yet_another_city,x,y,d duplicate(somenpc) somenpc#2 viewid[/code]
This design requires that the first map must be present at the time of loading.
Otherwise, script loading will skip it and afterwards all duplicates will fail to load too.

Is it [i]that[/i] much of a problem to make a floating mapless npc and clone from that?

This post has been edited by Brian on Mar 27, 2012 16:07

Hercules Elf Bot - Dec 12, 2011 15:06

Originally posted by [b]Brian[/b]
Updating status to: [b]Fixed[/b] in [rev=15075/trunk/npc/custom/].

This post has been edited by Brian on Dec 12, 2011 15:07

Hercules Elf Bot - Mar 13, 2012 18:42

Originally posted by [b]Gepard[/b]
Reopening, since there are still duplicates that are not made from mapless (floating) NPCs, for example:[list]
[*]ConMessenger
[*]SmileHelper
[*]TheSign
[*]VotingStaffCCE
[/list]

See also [bug:1395].

This post has been edited by Brian on Mar 26, 2012 18:41

Hercules Elf Bot - Mar 26, 2012 18:57

Originally posted by [b]Brian[/b]
Updating status to: [b]Fixed[/b] in [rev=15798]