Jump to content

jharick

Members
  • Posts

    77
  • Joined

  • Last visited

Posts posted by jharick

  1. Ill try to change client version to 2012-05-15 and the error gone. I can right click all the item state above.

     

    Edit: Already solve the problem it cause by a long item description in 'idnum2itemdesctable.txt'

     

    Example:

    From this

    13170#
    A masterpiece that brings the power of the Rifles to the max. This beautiful gun steals the heart of the Gunslingers, and its high performance will put a holethrough the heart of the enemy. Only downside is that, due to the fact it is lever-action oriented, the Attack Speed is somewhat poor.
    HIT + 20, Critical Rate + 50, Attack Speed - 5%.
    Class :^777777 Rifle^000000
    Attack :^777777 138^000000
    Weight :^777777 77^000000
    Property :^777777 Neutral^000000
    Weapon Level :^777777 3^000000
    Required Level :^777777 70^000000
    Applicable Job :^777777 Gunslinger^000000
    #
    

    To This:

    13170#
    A masterpiece that brings the power of the Rifles to the max. This beautiful gun steals the heart of the Gunslingers, and its high performance will put a hole
    through the heart of the enemy. Only downside is that, due to the fact it is lever-action oriented, the Attack Speed is somewhat poor.
    HIT + 20, Critical Rate + 50, Attack Speed - 5%.
    Class :^777777 Rifle^000000
    Attack :^777777 138^000000
    Weight :^777777 77^000000
    Property :^777777 Neutral^000000
    Weapon Level :^777777 3^000000
    Required Level :^777777 70^000000
    Applicable Job :^777777 Gunslinger^000000
    #
    

    Do it to all item that gave you errors.

  2. try this one :

    void vending_purchasereq_script(struct map_session_data* sd, struct npc_data* nd, int aid, int uid, const uint8* data, int count)
    {
    	int i;
    	int add;
    	int blank;
    	int weight;
    	double z;
            struct map_session_data* vsd = map_id2sd(aid);
    
  3. try this

     

    Make this line:

    void vending_purchasereq_script(struct map_session_data* sd, struct npc_data* nd, int uid, const uint8* data, int count)
    {
    	int i;
    	int add;
    	int blank;
    	int weight;
    	double zeny;
    

     

    to this:

    void vending_purchasereq_script(struct map_session_data* sd, struct npc_data* nd, int uid, const uint8* data, int count)
    {
    	int i;
    	int add;
    	int blank;
    	int weight;
    	double z;
            struct map_session_data* vsd = map_id2sd(aid);
    

     

  4. bump.

    I see this at eathena. anyone know how to work this code in rathena?

    void pc_inventory_rentals(struct map_session_data *sd)
    {
    int i, c = 0;
    int counter,flag = 0;
    unsigned int expire_tick, next_tick = UINT_MAX;
    for( i = 0; i < MAX_INVENTORY; i++ )
    {
    if( sd->status.inventory[i].nameid == 0 )
    continue; // Nothing here
    if( sd->status.inventory[i].expire_time == 0 )
    continue;
    if( sd->status.inventory[i].expire_time <= time(NULL) )
    {
    clif_rental_expired(sd->fd, sd->status.inventory[i].nameid);
    // loop through rental item cards (if it exists)
    // then add it to user's inventory
    for(counter=0;counter<4;counter++){
    if(sd->status.inventory[i].card[counter]>0){
    struct item card_it;
    memset(&card_it,0,sizeof(card_it));
    card_it.nameid=sd->status.inventory[i].card[counter];
    card_it.identify=itemdb_isidentified(card_it.nameid);
    if ((flag = pc_additem(sd, &card_it, 1)))
    {
    clif_additem(sd, 0, 0, flag);
    if( pc_candrop(sd,&card_it) )
    map_addflooritem(&card_it,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0);
    }
    }
    }
    // delete rental item
    pc_delitem(sd, i, sd->status.inventory[i].amount, 0);
    }
    else
    {
    expire_tick = (unsigned int)(sd->status.inventory[i].expire_time - time(NULL)) * 1000;
    clif_rental_time(sd->fd, sd->status.inventory[i].nameid, (int)(expire_tick / 1000));
    next_tick = min(expire_tick, next_tick);
    c++;
    }
    }
    if( c > 0 ) // min(next_tick,3600000) 1 hour each timer to keep announcing to the owner, and to avoid a but with rental time > 15 days
    sd->rental_timer = add_timer(gettick() + min(next_tick,3600000), pc_inventory_rental_end, sd->bl.id, 0);
    else
    sd->rental_timer = INVALID_TIMER;
    }
    

  5. EDIT:

    Another problem occurred, the NPC said "Someone's currently playing etc." So I checked the Map but no one's currently there though the eggs are visible I clicked and I can't so it somehow went bugged because maybe the participant got disconnected or something but the game still continues to run without any time limit I think all have stopped but the eggs are visible. Now the game isn't available anymore no one can enter because it prompts that someone is playing the game but no one anymore.

    I'll also experience this bugged ill try to disconnect my character who currently play the game. after that you can't play or the game is not available.

  6. yep np,

    what I would do is rip the whole data.grf, so you don' to depend on it, and delete parts of teh wav files every so often and see which one is effecting it

    How do you rip a data.grf? Ill just use Grf Builder tools. But the problem I get a Unicode file. Ill already see the one of sound effect I want to Remove.

    Here is the name of file t_회피 . Is there's anyway to convert that file name to ANSI encoded FileName.

    Or any program that extract a grf that output will be a ANSI encoded filename. GRF Sharper wont work properly it always stop in the middle of extracting.

  7. you probably could, you would have to track it down in the data\wav files i guess in data.grf

    That is the hardest part is to track it down.

    Ill try to search that sound then replace it with a blank sound. I think thats work.

    Thanks... /no1

  8. There is a problem of my Equipment Window. Every time I open my Equipment Window(alt+q) its always open at bottom of RO Window like picture below. Even I reposition the Equipment Window at center or top then close it. Its always at the bottom.

    What is the problem of my client. Is there is something to config?

    7904457906_12fe25c411.jpg

×
×
  • Create New...