Jump to content

rosfus

Members
  • Posts

    75
  • Joined

  • Last visited

Posts posted by rosfus

  1. post-16516-0-24095800-1373540198_thumb.jpg

     

    int npc_event_sub(struct map_session_data* sd, struct event_data* ev, const char* eventname)
    {
    	if ( sd->npc_id != 0 )
    	{
    		//Enqueue the event trigger.
    		int i;
    		ARR_FIND( 0, MAX_EVENTQUEUE, i, sd->eventqueue[i][0] == '\0' );
    		if( i < MAX_EVENTQUEUE )
    		{
    			safestrncpy(sd->eventqueue[i],eventname,50000); //Event enqueued.
    			return 0;
    		}
    
    		ShowWarning("npc_event: player's event queue is full, can't add event '%s' !\n", eventname);
    		return 1;
    	}
    

     

     

    i change it to 50000, but it still [Warning]

    post-16516-0-24095800-1373540198_thumb.jpg

  2. Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\cp\themes\Drawmove\header.php:152) in D:\xampp\htdocs\cp\lib\Flux\Template.php on line 781
    

     

     

    Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\cp\themes\default\main\sidebar.php:40) in D:\xampp\htdocs\cp\lib\Flux\Template.php on line 781
    

     

     

    I install FLUXCP , FLUXCMS and FLUX VIEW POINT.

     

    Whether or not I use the default template, 

     

    Error code appears in the WEB page location should be FLUXCMS part.

     

     

    And I check themes/default/main/sidebar.php line 40

     

    	<?php if (!empty($menus)): ?>
    	<tr>
    		<th class="menuitem"><strong><?php echo htmlspecialchars($menuCategory) ?></strong></th>
    	</tr>
    	<?php foreach ($menus as $menuItem):  ?>
    

     

     

     

    and lib\Flux\Template.php line 781

     

    		}
    		
    		header("Location: $location");
    		exit;
    	}
    

     

     

     

     

    I think my config/equip_locations.php file maybe has some mistake.

     

    <?php
    return array(
    	  256 => 'Upper Headgear',
    	  512 => 'Middle Headgear',
    	    1 => 'Lower Headgear',
    	   16 => 'Armor',
    	    2 => 'Main Hand',
    	   32 => 'Off Hand',
    	    4 => 'Garment',
    	   64 => 'Footgear',
    	    8 => 'Accessory 1',
    	  128 => 'Accessory 2',
    	32768 => 'Arrow'
    )
    ?>
    

     

     

     

    I try to add  ex:  

    <?php
    return array(
    	  256 => 'Upper Headgear',
    	  512 => 'Middle Headgear',
    	    1 => 'Lower Headgear',
    	  513 => 'UppMID Headgear',
    	  768 => 'LowMid Headgear',
    	  769 => 'ALL Headgear',
    	   16 => 'Armor',
    	    2 => 'Main Hand',
    	   32 => 'Off Hand',
    	    4 => 'Garment',
    	   64 => 'Footgear',
    	    8 => 'Accessory 1',
    	  128 => 'Accessory 2',
    	 1024 => 'COSTUME HEAD TOP',
    	 2048 => 'COSTUME HEAD MID',
    	 4096 => 'COSTUME HEAD LOW',
    	 6144 => 'COSTUME HEAD MIDTOP',
    	 8192 => 'COSTUME Wing',
    	16384 => 'COSTUME back'
    )
    ?>
    

     

     

    But , it's still wrong. and No change to error codes. 

     

    Who know how to fix this..

     

     

    thx a lot!

     

  3. This is my Bonus Script:

     

    15094,Brave_robe,Brave Robe,5,20,,800,,50,,1,0x00000004,8,2,16,0,160,1,0,{bonus 
    bMaxHPrate,5; bonus bMaxSPrate,5; bonus bMatk,10; bonus bFlee,10; bonus2 
    bCastValue,"WZ_VERMILION",-1; bonus2 bCastValue,"WZ_METEOR",-1; bonus2 
    bCastValue,"WZ_STORMGUST",-1; if(((getrefine())/2) == (floot((getrefine())/2))) 
    {bonus bCastrate,20; bonus bNoCastCancel2,0;}  if(((getrefine())/2) 
    >(floor((getrefine())/2))) {bonus bCastrate,20; bonus bNoCastCancel2,0;} 
    },{},{}
     

     

    In which:

    if(((getrefine())/2) == (floot((getrefine())/2))) {bonus bCastrate,20; bonus bNoCastCancel2,0;}  if(((getrefine())/2) >(floor((getrefine())/2))) {bonus bCastrate,20; bonus bNoCastCancel2,0;}

     

     

    Console error: Unrecognized

    post-16516-0-72806500-1371458320_thumb.jpg

     

     

    The RED Introduction is:
    If there is an odd one smelting, variable cast time increased by 20%, and the cast is broken.
    If there is an even number, smelting, refining sugar 2 MDEF + 1, 1% variable cast time reduction.

     


    How to determine the Odd Even.??

     

     

×
×
  • Create New...