Issue information

Issue ID
#5669
Status
Fixed
Severity
Medium
Started
Hercules Elf Bot
Apr 29, 2012 12:50
Last Post
Hercules Elf Bot
May 9, 2012 7:37
Confirmation
Yes (2)
No (0)

Hercules Elf Bot - Apr 29, 2012 12:50

Originally posted by [b]F0xxy[/b]
So, with the fixing of that map server crash issue (r15997), comes a new problem.

As soon as I ran the server I noticed a "script:op_2num: WoEInfoBase (invisible/not on a map" error.

After a bit ingame I noticed that Toasty's WoE Setter script wasn't working as it should.

[url="http://img706.imageshack.us/img706/4987/woe1t.jpg"]http://img706.imageshack.us/img706/4987/woe1t.jpg[/url]

And here are the map server errors from messing with the script.

[url="http://img692.imageshack.us/img692/2764/woe2h.jpg"]http://img692.imageshack.us/img692/2764/woe2h.jpg[/url]

State of things:

r15996 - Script worked perfectly well
r15997 - Script caused server to crash
r16002 - Issues above

Npc's in general aren't setting their variables as they should, I just noticed.

This post has been edited by F0xxy on Apr 29, 2012 13:13

Hercules Elf Bot - Apr 29, 2012 14:22

Originally posted by [b]Kaito_Kid[/b]
Yup.
Confirmed this also.

IDK if it is the scripter's fault or there is just a glitch on the source code. /hmm

Hercules Elf Bot - Apr 29, 2012 14:49

Originally posted by [b]Epoque[/b]
Fixed in [rev='16003']. Much like the previous linkdb codes that existed before, a strange behaviour of linkdb allocating memory when it doesn't exist meant that script variable storage wasn't being allocated when the script was processed. As a result, a missing allocation method was added.