Issue information

Issue ID
#7658
Status
Fixed
Severity
None
Started
purityz
Aug 18, 2013 1:34
Last Post
Haru
Aug 20, 2013 17:02
Confirmation
N/A

purityz - Aug 18, 2013 1:34

[quote]
morocc,175,47,3 script test 1002,{
set .@id,instance_create("Test",0, IOT_NONE);
instance_attachmap("prontera", .@id,1,"mymap"+.count);
instance_init .@id;
instance_set_timeout(180000,180000,.@id);
mes "Your Mapname is ^000FFF mymap"+.count;
.count=.count+1;
close;
}[/quote]




how to reproduce
1.click at npc it will created instance named "mymap0".
2.click at npc again you will got another instance named "myname1".
3.warp to "mymap0" using @warp or scriptcommand.
4.map server will crash.



ps.sometimes it wont crash but most time it do.

This post has been edited by purityz on Aug 18, 2013 1:36

purityz - Aug 19, 2013 19:58

[s][b][i]instance.c[/i][/b]

in [b]instance_add_map[/b] function.

remove[/s][code=auto:0]map[im].m = im;[/code][s]
@line 243

fixed this problem.[/s]

oh it dont... :unsure: :unsure: :unsure:

This post has been edited by purityz on Aug 19, 2013 20:54

Haru - Aug 20, 2013 17:02

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/4a9c55a77daa478b9f994d5a1b06619104b82982"]https://github.com/HerculesWS/Hercules/commit/4a9c55a77daa478b9f994d5a1b06619104b82982[/url]