Jump to content

wOni

Members
  • Posts

    69
  • Joined

  • Last visited

Posts posted by wOni

  1. Hi, question about fullstrip soul link, i know its kinda old but i have a new modification for this one.
     

    Soul link > Full strip (Randomly Strip Headgear, weapon, shield and armor by lowchance)

    i tried to copy old modification and reedit to my desire but no luck. here you go 
     

    			if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 100
                 &&
                ( skill_id == ST_FULLSTRIP && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD] ) ) {
                int item_id = 7139; // Glistening Coat
                int ii;
                ARR_FIND( 0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id );
                if ( ii < MAX_INVENTORY ) {
                    pc_delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME);
    				switch( rnd()%100 ){
                        case 1:
                            status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER );
                            sc_start( NULL, bl, SC_STRIPWEAPON, 100, skill_lv, d );
                            break;
                        case 2:
                            status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER );
                            sc_start( NULL, bl, SC_STRIPSHIELD, 100, skill_lv, d );
                            break;
                        case 3:
                            status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER );
                            sc_start( NULL, bl, SC_STRIPARMOR, 100, skill_lv, d );
                            break;
                        case 4:
                            status_change_end( bl, SC_CP_HELM, INVALID_TIMER );
                            sc_start( NULL, bl, SC_STRIPHELM, 100, skill_lv, d );
                            break;
                    }
                    clif_skill_nodamage( src, bl, skill_id, skill_lv, i );
                    break;
                }
            }

    ps, i did reedit to 100% to test the random strip but it always strip weapon. 

    can someone help me. Thank you :)

     

  2. Hi @Emistry is it possible to put the bonus in different bonus items id ? like

    callfunc( "F_DiabloEnchant",<delete item id>,[random<bonus item id>,random<bonus item id>,random<bonus item id>,random<bonus item id>] );

    "callfunc( "F_DiabloEnchant",501 (Rand 909,910,911,912 );"

     

    thank you

    Solved

    " callfunc( "F_DiabloEnchant",delete item id,rand(bonus item id,bonus item id,and so on));"

  3. On 12/26/2016 at 6:09 AM, Playtester said:

    That's very possible, but you need to change the code:

    
    	case TK_HIGHJUMP:
    		{
    			int x,y, dir = unit_getdir(src);
    
    			//Fails on noteleport maps, except for GvG and BG maps [Skotlex]
    			if( map[src->m].flag.noteleport &&
    				!(map[src->m].flag.battleground || map_flag_gvg2(src->m) )
    			) {
    				x = src->x;
    				y = src->y;
    			} else if(dir%2) {
    				//Diagonal
    				x = src->x + dirx[dir]*(skill_lv*4)/3;
    				y = src->y + diry[dir]*(skill_lv*4)/3;
    			} else {
    				x = src->x + dirx[dir]*skill_lv*2;
    				y = src->y + diry[dir]*skill_lv*2;
    			}
    
    			clif_skill_nodamage(src,bl,TK_HIGHJUMP,skill_lv,1);
    			if(!map_count_oncell(src->m,x,y,BL_PC|BL_NPC|BL_MOB,0) && map_getcell(src->m,x,y,CELL_CHKREACH) && unit_movepos(src, x, y, 1, 0))
    				clif_blown(src);
    		}
    		break;

    I'm not sure if it works but maybe it's sufficient to change the last parameter in the unit_movepos call to "1".

     

     

    not working . dump

  4.  

    On 11/11/2016 at 2:15 AM, Emistry said:

    update your rAthena, addrid script command has been added long ago.

     

    or just change to this ...

    
    for ( .@i = 1; .@i <= 5; .@i++ ) {
    	mapwarp "gld_dun0"+.@i,"prontera",155,181;
    	mapannounce "gld_dun0"+.@i,"Event Ended.",bc_all;
    }

     

    i manually added  addrid  1~5

    but the problem is when the event start it will never close and players dont warp on savepoint or prontera

     

    trying this one 

    for ( .@i = 1; .@i <= 5; .@i++ ) {
    	mapwarp "gld_dun0"+.@i,"prontera",155,181;
    	mapannounce "gld_dun0"+.@i,"Event Ended.",bc_all;
    }
  5. Not tested, but something like that

    prontera,168,126,3 script Shod 689,{
    
    mes "[ ^0065DFShod^000000 ]";
    mes "Hello, im Shod";
    mes "I Can Help You Warp To Your Death";
    mes "You Ready?";
    
    if( select( "Yes please","No" ) == 2 )
    	close;
    
    
    announce ""+ strcharinfo(0) +" Has Entered The Map",bc_all,0x00ff00; //announce and end
    warp "gld_dun01",119,20;
    end;
    
    
    OnClock0400:
    OnClock1200:
    OnClock1600:
    OnClock2300:
    	stopnpctimer;
    	announce "Shod Event are now Enable.",bc_all,0x00ff00;
    	hideoffnpc "Shod";
    	initnpctimer;
    	end;
    
    
    // after 1 hour kick all from map <gld_dun01-04>
    OnTimer60000:
    	stopnpctimer;
    	announce "The even has been finished",bc_all,0x00ff00;
    	for(.@i = 1; .@i < 5; .@i++) {
    		addrid 5, "gld_dun0"+.@i;
    		warp "SavePoint",0,0;
    		detachrid;
    	}
    	end;
    
    
    OnInit:
    	hideonnpc "Shod";
    	while(1) {
    		delwaitingroom;
    		set .@count, getmapusers("gld_dun01") + getmapusers("gld_dun02") + getmapusers("gld_dun03") + getmapusers("gld_dun04");
    		waitingroom "Map ["+ .@count + ((.@count==1) ? " Soul" : " Souls") +"]",0;
    		sleep 1000;
    	}
    	end;
    
    }
    
    Btw, open script_commands and find *mapwarp & *addrid, detach, and initnpctimer commands.

     

     

    got this prob 

     

    Untitled1.png

  6. Hi need help to this script, i want to add after an hour all character will be go back to savepoint and announce that the event is ended.

     

     

    Shod Time Enable
     
    0400 ~ 0500
    1200 ~ 1300
    1600 ~ 1700
    2300 ~ 2359
    
    prontera,168,126,3 script Shod 689,{
    
    mes "[ ^0065DFShod^000000 ]";
    mes "Hello, im Shod";
    mes "I Can Help You Warp To Your Death";
    mes "You Ready?";
    switch(select("Yes please:No")) {
    case 1:
    announce ""+ strcharinfo(0) +" Has Entered The Map",bc_all; //announce and end
    warp "gld_dun01",119,20;
    close;
    end;
    case 2:
    close;
    
    }
    
    OnClock0400:
    OnClock1200:
    OnClock1600:
    OnClock2300:
    announce "Shod Event are now Enable.",0;
    hideoffnpc "Shod";
    sleep ( 60 * 60000 );
    
    
    OnInit:
    hideonnpc "Shod";
    while (1) {
    delwaitingroom;
    set .@count, getmapusers("gld_dun01") + getmapusers("gld_dun02") + getmapusers("gld_dun03") + getmapusers("gld_dun04");
    waitingroom "Map ["+ .@count + ((.@count==1) ? " Soul" : " Souls") +"]",0;
    sleep 1000;
    }
    end;
    }
     

    i try adding additional script like this

    - script AutoDoom -1,{
    OnClock0501:
    OnClock1301:
    OnClock1701:
    OnClock2401:
    atcommand "@doommap gld_dun01";
    atcommand "@doommap gld_dun02";
    atcommand "@doommap gld_dun03";
    atcommand "@doommap gld_dun04";
    announce "Shod Event are now Disable.",0;
    end;
    }
    

    but sad to say its not working..

     

    thanks for the help

  7. 
    - script at_ecall -1,{
    OnInit:
    bindatcmd("@ec","at_ecall::OnEcall");
    bindatcmd("@ecall","at_ecall::OnEcall");
    end;
    OnEcall:
    if( agit_flag || agit2_flag ) {dispbottom "Disable on WoE maps Good for PvP."; end;}
    if( !getcharid(2) ){dispbottom "You are not apart of a guild."; end;}
    if( getguildmasterid( getcharid(2) ) != getcharid(0) ){dispbottom "Can only be used by guild leader."; end;}
    if( gettimetick(2) < getd(".guild"+ getcharid(2) +"") ){dispbottom "Command Failed. Still on cooldown."; end;}
    progressbar "0x00FF00",5; //5 seconds is how the skill acts.
    getmapxy(.@m$,.@x,.@y,0);
    warpguild .@m$,.@x,.@y,getcharid(2);
    setd ".guild"+ getcharid(2) +"", gettimetick(2) + 300000;
    end;
    }
     

     basic @ecall command

     
    how i can disable this @ecall on WoE maps?
    but can be use on PvP maps and normal maps.
     
    THANKS
     
    reedit use code box~
    • Upvote 1
  8.  

    in the new emulator, this problem is already solved/fixed as far as I knew.

     

     

    Hi, I'm currently using r17310. When I comment out #RENEWAL, it compiled with no errors. But there's a bug that my weapon becomes an Armor type. I tested with r17710 fresh copy and the same error happens.

     

    SS1: Normal

    SS2: Equip Knife, ASPD dropped, ATK never increase

    SS3: Refine Knife +10, DEF increased by 7, which is the same as armor.

     

    I did not change any other thing other than mmo.h to define my client of 2012-04-10. And the renewal.h to enable Pre Renewal for the fresh copy. No change in config other than to point to SQL server. Fresh and updated SQL database. Work as per normal when set to Renewal mode. Please help!

     

    screenRelentless002.jpg
    screenRelentless001.jpg
    screenRelentless000.jpg

     

    Same prob

    my client of 2012-04-10
    armor = 4, weapon = 5 updated.
     
    but still the same :(

    anyone?

     
     
     
    SOLVED> new emulator >.<

     

     

    how do i get the new emulator? newbie question here, i have everything like it supposed to be and latest revision, but still have the same problem.

     

    Just try latest git. its already solved

  9.  

     

    You just add in cutins, then reference the file names in the corresponding day in the bottom of my conf file. Google and wiki are your friends on how to add cutin files.

     

    Mine works perfectly thanks Stolao

     

    -- Removed Contents -- 

     

     

    Except for the fact that you stole my graphic work. :^]

     

     

    im sorry i just did type it on world wide web called "google" Daily rewards cutin and that graphics showed up, i just reedit it i didn't know that was yours.

     

    i thought that was a free graphics.  /panic  /panic  /panic

  10. You just add in cutins, then reference the file names in the corresponding day in the bottom of my conf file. Google and wiki are your friends on how to add cutin files.

     

    Mine works perfectly thanks Stolao

     

     

    -- Removed Contents -- 

  11. i did try this, no error will compiling but suddenly when i try it vend and click the zeny or coin or any i get this
     

    [Error]: Server received crash signal! Attempting to save all online characters!

    Help!

     

    Napster , are you still active?

     

    Im test this with current GIT, open vending choose TCG Card ID:7227 and...

    Packet Ver: '45', IP: '127.0.0.0', Group '99').
    [Error]: Server received crash signal! Attempting to save all online characters!
    

    Any solution about here?, idid manually patch  ExtendedVendingSystem_1.9.4_r15149.diff 

    same problem

×
×
  • Create New...