Issue information

Issue ID
#5796
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 23, 2012 15:22
Last Post
Hercules Elf Bot
May 26, 2012 20:59
Confirmation
N/A

Hercules Elf Bot - May 23, 2012 15:22

Originally posted by [b]Bahmut[/b]
After using @reloadscript flags of taken castles do not show their respective guild emblem. They are just empty. Only a mapserver restart will help.
Does anybody know what is causing this?

Hercules Elf Bot - May 23, 2012 16:05

Originally posted by [b]Docubo[/b]
refresh / mapchange dosent help? thats what i did to show the emblems again after scriptreload.

Hercules Elf Bot - May 23, 2012 16:12

Originally posted by [b]Bahmut[/b]
Just tried @refresh, but it does not work for me.
Tried mapchange and relog multiple times before, but this do not work either.

Hercules Elf Bot - May 23, 2012 16:24

Originally posted by [b]F0xxy[/b]
I guess that's just how the castle scripts are.

I had the same problem and ended up editing all the scripts for the emblems to show properly.

Hercules Elf Bot - May 23, 2012 16:33

Originally posted by [b]Bahmut[/b]
@F0xxy
Thanks for the hint.

I've added
[CODE]OnInit:[/CODE]
to my flags and now it's working fine.

[b]Example[/b]:
[CODE]OnInit:
OnRecvCastleA01:
FlagEmblem GetCastleData("aldeg_cas01",1);
end;[/CODE]


@Devs
Please add this to the offical flags, too.

This post has been edited by Bahmut on May 23, 2012 16:37

Hercules Elf Bot - May 23, 2012 18:33

Originally posted by [b]F0xxy[/b]
That does it, I still haven't figured out about the WoE SE flags though...made some progress to the point of them showing up after reloading scripts but they wont show up once I start the server. I'll keep looking into it ._.

Hercules Elf Bot - May 24, 2012 14:05

Originally posted by [b]Ind[/b]
Bahmut fix looks good to me, I dunno about the scripts devs tho, I'm moving it there. :D.

Hercules Elf Bot - May 24, 2012 17:35

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