EriN_KillerSoul - Jul 21, 2013 17:50
After I @reloadscript for second times, my map server crash
Ind - Jul 21, 2013 17:54
please provide us with a crash or gdb dump
EriN_KillerSoul - Jul 21, 2013 18:06
[quote name="Ind" timestamp="1374429256"]
please provide us with a crash or gdb dump[/quote]
How to do that? Sorry I'm newbie..
Ind - Jul 21, 2013 18:19
whats your server os?
EriN_KillerSoul - Jul 21, 2013 18:27
[quote name="Ind" timestamp="1374430779"]
whats your server os?[/quote]
Linux
Ind - Jul 21, 2013 18:29
ok launch map server as follows:[code=auto:0]
gdb ./map-server
r
[/code]then when it crashes type[code=auto:0]
bt full
[/code]and paste the output here
EriN_KillerSoul - Jul 21, 2013 18:30
This happen after i reloadscript for second time. After I click NPC, I got this message
Any work in progress (NPC dialog, manufacturing ...) quit and try again.
After that my char stucked.Cannot move. I try relog and I got rejected from server.
This post has been edited by
EriN_KillerSoul
on Jul 21, 2013 18:33
malufett - Jul 21, 2013 18:39
what script did you click?
:meow:
EriN_KillerSoul - Jul 21, 2013 18:41
Coin exchanger script[code=auto:0]
//////////////////////////////////
sl_mall02,91,165,3 script Andelinia Exchanger 860,{
cutin "kafra_08",2;
mes "[ ^336699Credit Master^000000 ]";
mes "What do you want to do today?";
menu "Coin -> Zeny",L_coin,"Zeny -> coin",L_Zeny,"Gold -> Zeny",L_Gold,"Zeny -> Gold",L_Zeny1,"Nevermind",L_No;
////////////////////////
L_coin:
next;
mes "[ ^336699coin Master^000000 ]";
mes "Very well. Here is the list on how much each coin is worth:";
mes "^996633coin^000000: 500,000 Zeny";
mes "Tell me, what coin would you like to exchange?";
next;
menu "^996633coin^000000",M_coin;
M_coin:
next;
mes "[ ^336699coin Master^000000 ]";
mes "How many coins would you like to give up?";
set @mamount,0;
input @mamount;
if(@mamount < 0) goto L_No;
if(countitem(7517) < @mamount) goto L_No;
set Zeny,(zeny + (500000* @mamount));
delitem 7517,@mamount;
goto L_Thanks;
L_Zeny:
next;
mes "[ ^336699coin Master^000000 ]";
mes "Very well. Here is the list on how much each coin is worth:";
mes "^996633coin^000000: 10,000,000m Zeny";
mes "Tell me, what coin would you like to get?";
next;
menu "^996633coin^000000",M_coin1;
M_coin1:
next;
mes "[ ^336699coin Master^000000 ]";
mes "How many coins would you like?";
set @mamount,0;
input @mamount;
if (zeny < 0) goto L_No;
if (zeny < (1000000* @mamount)) goto L_No;
set Zeny,(zeny - (500000* @mamount));
getitem 7517,@mamount;
goto L_Thanks;
L_Gold:
next;
mes "[ ^336699Gold Master^000000 ]";
mes "Very well. Here is the list on how much each Gold is worth:";
mes "^996633Gold^000000: 100,000k Zeny";
mes "Tell me, what Gold would you like to exchange?";
next;
menu "^996633Gold^000000",M_Gold;
M_Gold:
next;
mes "[ ^336699Gold Master^000000 ]";
mes "How many Golds would you like to give up?";
set @mamount,0;
input @mamount;
if(@mamount < 0) goto L_No;
if(countitem(969) < @mamount) goto L_No;
set Zeny,(zeny + (100000* @mamount));
delitem 969,@mamount;
goto L_Thanks;
L_Zeny1:
next;
mes "[ ^336699Gold Master^000000 ]";
mes "Very well. Here is the list on how much each Gold is worth:";
mes "^996633Gold^000000: 10,000,000m Zeny";
mes "Tell me, what Gold would you like to get?";
next;
menu "^996633Gold^000000",M_Gold1;
M_Gold1:
next;
mes "[ ^336699Gold Master^000000 ]";
mes "How many Golds would you like?";
set @mamount,0;
input @mamount;
if (zeny < 0) goto L_No;
if (zeny < (1000000* @mamount)) goto L_No;
set Zeny,(zeny - (100000* @mamount));
getitem 969,@mamount;
goto L_Thanks;
L_Thanks:
mes "[ ^336699coin Master^000000 ]";
mes "Pleasure doing business with you.";
close2;
cutin "", 255;
close;
L_No:
mes "[ ^336699coin Master^000000 ]";
mes "Okay~ Bye!";
close2;
cutin "", 255;
close;
OnInit:
waitingroom "Andelinia Exchanger",0;
end;
}
[/code]
pan - Jul 9, 2014 3:47
[code=auto:0]
L_No:
mes "[ ^336699coin Master^000000 ]";
mes "Okay~ Bye!";
close2;
cutin "", 255;
close;
[/code]Using the second *close leads to character freeze, also couldn't reproduce this issue, I'm marking it as 'Unable to Reproduce'
bgamez23 - Jul 9, 2014 14:42
this issue was posted since 22 July 2013 and it might be fixed already? that's why its unable to reproduce now?
Frost - Jul 9, 2014 16:32
i think it must be 'end' instead of 'close'