Jump to content

nobukadnezar

Members
  • Posts

    163
  • Joined

  • Last visited

Posts posted by nobukadnezar

  1. i have question about this also.

     

    Could someone tell me how the time for woe start and woe stop stored since it must be change periodically and convert it to UNIX right?

     

    Because if we use condition that sub woe start with current time tick, when woe have been passed it will always have negative value right?

  2. there you go

    prontera,155,181,5	script	Sample	757,{
    
    if((countitem(607)<1) && (countitem(504)<1) && (countitem(985)<1)) {
    mes "[Quest NPC]";
    mes "Bring me the Stuff!";
    close;
    }
    set @cb,rand(1,10);
    mes "[Quest NPC]";
    mes "Proceed now?";
    switch(select("Yes:no")) {
    	case 1:
    	delitem 607,1;
    	delitem 504,1;
    	delitem 985,1;
    	if (@cb <= 6)
    		getitem 673,1;
    	if (@cb == 7 || @cb == 8)
    		getitem 675,1;
    	if (@cb >= 9)
    		getitem 671,1;	
    	break;
    	case 2:
    		close;
    	break;
    }
    
    end;
    }
    
    • Upvote 1
  3. Maybe like this

    function    script    refinesix    {
    
    switch(select("Upper Headgear:Armor:Garment:Foot Gear")) {
        case 1:
        set .@refsel1,1;
        set .@refsel2,256;
        break;
        case 2:
        set .@refsel1,2;
        set .@refsel2,16;
        break;
        case 3:
        set .@refsel1,5;
        set .@refsel2,4;
        break;
        case 4:
        set .@refse1l,6;
        set .@refsel2,64;
        break;
        }
        if (getequiprefinerycnt(.@refsel1) < 1){
        atcommand "@refine "+.@refsel2+" 6";
        }
        
        end;
    }
    

    and at item_db

    { callfunc "refinesix"; }

    tested and worked

  4. Hi Rathena,

     

    okay, maybe i am missing something here, but it seems i can't change mapflag for map to pvp instead of gvg for all maps.

     

    Example i have custom map that i set

    myscustom    mapflag    pvp

    but it always do gvg mode ( i dont add mapflag gvg there)

     

    i tried many map include guild_vs* and no effect. i just cant remove gvg mode.

     

    Thanks

     

     

  5. Hello, i am using client 2012-04-10a and just updated my rathena revision to latest at GIT.

    Previously i am using revision: 17421 from SVN   << use server version 25

    Now i am using revision: 11699 from GitHub          << use server version 30

     

    i have problem in showing soul linker job description like image below:

     

    NewPicture1.png

     

    thanks

×
×
  • Create New...