Help For @autotrade @at Crash map Lost Connection!!

Help for Map crash using @autotrade and @at i just change https://github.com/HerculesWS/Hercules/commit/5b21335d6a08b5e9fd514598d40487da9fc9a868

but its same give me crash on 4sec when im done use @autotrade or @at the map is lost connection or crashed without error dont know why!!

i will thankfull for the help you gave thanks!!
Get the core dump and post it, that may help to pinpoint the issue.
//Attempt to use the command if ( (info->func(fd, (*atcmd_msg == atcommand->at_symbol) ? sd : ssd, command, params,info) != true) ) {#ifdef AUTOTRADE_PERSISTENCY if( info->func == atcommand_autotrade ) /** autotrade deletes caster, so we got nothing more to do here **/ return true;#endif sprintf(output,msg_txt(154), command); // %s failed. clif->message(fd, output); return true; } if( info->log ) /* log only if this command should be logged [Ind/Hercules] */ logs->atcommand(sd, *atcmd_msg == atcommand->at_symbol ? atcmd_msg : message); return true;}
This What i edit for then change

Code:
-		// Autotrade was successful if standalone is set-		if( ((*atcmd_msg == atcommand->at_symbol) ? sd->state.standalone : ssd->state.standalone) )+		if( info->func == atcommand_autotrade ) /** autotrade deletes caster, so we got nothing more to do here **/
 
Back
Top