Jump to content

Jeffery

Members
  • Content Count

    8
  • Joined

  • Last visited

Posts posted by Jeffery


  1. Another usage,

    	function	test_f	{
    		copyarray .@new_array,getarg(0),getarraysize(getarg(0));
    		
    		dispbottom .@new_array[0]; // --> 10
    		dispbottom .@new_array[1]; // --> 20
    		dispbottom .@new_array[2]; // --> 30
    		dispbottom .@new_array[3]; // --> 40
    		dispbottom .@new_array[4]; // --> 50
    		
    		return;
    	}
    	
    	setarray .@array,10,20,30,40,50;
    	
    	test_f(.@array);

     


  2. Players don't use storage all the time,

    so there's no reason for map-server to store memory data for them all the time (sd->status.storage).

     

    I suggest that make storage data like guild_storage data.

    Only occupy memory when player use the storage system.

    And free the memory when player close the storage and save to SQL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.