Hi there.
I don't know what to do x.x
After warp to instance - client crashing.
Script:
instances,107,138,7 script Test PORTAL,{
.@md_name$ = "Test";
.@party = getcharid(1);
.@p_name$ = getpartyname(.@party);
if( !instance_check_party(.@party, 1) )
{
mes .@md_name$;
mes "Fail: 1";
close;
}
switch(select("Generate:Enter
estroy"))
{
case 1:
.@instance = instance_create(.@md_name$, .@party);
if(.@instance < 0)
{
mes "Fail.";
close;
}
instance_attachmap("1@elements", .@instance);
instance_set_timeout 14400, 300, .@instance;
instance_init(.@instance);
instance_attach .@instance;
warp instance_mapname("1@elements", .@instance), 86, 74;
end;
case 2:
if (has_instance("1@elements") != "")
warp instance_mapname("1@elements", .@instance), 86, 74;
else end;
case 3:
instance_destroy(.@instance);
close;
}
}
resnametable:
[email protected]#[email protected]#
[email protected]#[email protected]#
[email protected]#[email protected]#
유저인터페이스\map\[email protected]#유저인터페이스\map\[email protected]#
Map added to mapindex, maps.conf, and my grf.
when i use @warp 1@elements - OK.
Also i try :
warp has_instance("1@elements", .@instance), 86, 74;
warp "1@elements", 86, 74;
help xD
I don't know what to do x.x
After warp to instance - client crashing.
Script:
instances,107,138,7 script Test PORTAL,{
.@md_name$ = "Test";
.@party = getcharid(1);
.@p_name$ = getpartyname(.@party);
if( !instance_check_party(.@party, 1) )
{
mes .@md_name$;
mes "Fail: 1";
close;
}
switch(select("Generate:Enter
{
case 1:
.@instance = instance_create(.@md_name$, .@party);
if(.@instance < 0)
{
mes "Fail.";
close;
}
instance_attachmap("1@elements", .@instance);
instance_set_timeout 14400, 300, .@instance;
instance_init(.@instance);
instance_attach .@instance;
warp instance_mapname("1@elements", .@instance), 86, 74;
end;
case 2:
if (has_instance("1@elements") != "")
warp instance_mapname("1@elements", .@instance), 86, 74;
else end;
case 3:
instance_destroy(.@instance);
close;
}
}
resnametable:
[email protected]#[email protected]#
[email protected]#[email protected]#
[email protected]#[email protected]#
유저인터페이스\map\[email protected]#유저인터페이스\map\[email protected]#
Map added to mapindex, maps.conf, and my grf.
when i use @warp 1@elements - OK.
Also i try :
warp has_instance("1@elements", .@instance), 86, 74;
warp "1@elements", 86, 74;
help xD