Jump to content

Cydd

Members
  • Content Count

    20
  • Joined

  • Last visited

Posts posted by Cydd


  1. 11 hours ago, brunosc said:

    hi,

    i have one diff to use @restock but when i compile i got some errors

     

    diff:

    void pc_restock_getstorage(struct map_session_data *sd, int itemid, int amount) { int i; for( i = 0; i < MAX_STORAGE; i++ ) { if (sd->status.storage.items.nameid == itemid) { if(sd->status.storage.items.amount < amount ) amount = sd->status.storage.items.amount; storage->get(sd, i, amount); } } }

    
    void pc_restock_getstorage(struct map_session_data *sd, int itemid, int amount)
    {
    	int i;
    	for( i = 0; i < MAX_STORAGE; i++ )
    	{
    		if (sd->status.storage.items[i].nameid == itemid)
    		{
    			if(sd->status.storage.items[i].amount < amount )
    				amount = sd->status.storage.items[i].amount;
    			
    			storage->get(sd, i, amount);
    		}
    	}
    }

    the error when compile:

    CC pc.c pc.c: In function 'pc_restock_getstorage': pc.c:12473: error: 'struct mmo_charstatus' has no member named 'storage' pc.c:12475: error: 'struct mmo_charstatus' has no member named 'storage' pc.c:12476: error: 'struct mmo_charstatus' has no member named 'storage' make[1]: *** [obj_sql/pc.o] Error 1

    
            CC      pc.c
    pc.c: In function 'pc_restock_getstorage':
    pc.c:12473: error: 'struct mmo_charstatus' has no member named 'storage'
    pc.c:12475: error: 'struct mmo_charstatus' has no member named 'storage'
    pc.c:12476: error: 'struct mmo_charstatus' has no member named 'storage'
    make[1]: *** [obj_sql/pc.o] Error 1

    pls help me.

    Whole please.


  2. PROMOTION

    PACKAGE 1

    • 1x Login Screen
    • 5x Loading Screens
    • 1x Facebook Display Picture
    • 1x Facebook Display Cover
    • 3x Advertising Banner
    • 1x Screenshot Logo

    PRICE: $25

     

    $5 will go to Hercules Community

     

    Maximum of 3 Clients only (3/3)


  3. 1 minute ago, Ciar said:

    Recently, kRO patched a new version of the monster "gran_papilia" and "silva_papilia", and I lost the original ones, which look like the gif below. I don't suppose anyone has the old act/spr version of these two mobs around that they can share? 

     b1OgGUl.gifIlcnTs6.gif

    Why don't you just download the old KRO to get the sprites again?


  4. 3 hours ago, Naruto said:

    Im gonna need a few things first:

     

    I need a few things to copy / paste involving amount of players in map

     

    1) I need EVERY map to be checks for current number of players in map EXCEPT doram (is not included in the player count ),ON THIS MAP PAY_FILD0101

    So if PAY_FILD010101 has 100 players on it, all new connections will connect them to PAY_FILD0102 instead, and a little message in your chatbox saying you were moved to the next channel 

      

    2) Now I need an npc that does this :

    mes hello

    switch select choice ( warp , exit)

    case 1: warp

    select ( prontera , payon )

    case prontra:

     so now it checks for amount of players in each channel and says how many followed by a color

    channel 1 100/100 players in red 

    channel 2 70-99/100 players in orange

    channel 3 20-69/100 players in blue

    channel 4 0-19/100 players in green

    So, I will make this script for you using Hercules?

×
×
  • Create New...

Important Information

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