Jump to content

iCORE

Members
  • Content Count

    393
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by iCORE


  1. Change this line:

    if ((mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground))) { // only NJ_ISSEN don't have slide effect in GVG
    if (!(unit->movepos(src, mbl->x+x, mbl->y+y, 1, 1))) {
    // The cell is not reachable (wall, object, ...), move next to the target
    if (x > 0) x = -1;
    else if (x < 0) x = 1;
    if (y > 0) y = -1;
    else if (y < 0) y = 1;
    
    unit->movepos(src, bl->x+x, bl->y+y, 1, 1);
    }
    clif->slide(src, src->x, src->y);
    clif->fixpos(src);
    clif->spiritball(src);
    }
    }
    break;
    

    to this:

    				if ((mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground))) { // only NJ_ISSEN don't have slide effect in GVG
    					clif->slide(src, src->x, src->y);
    					clif->fixpos(src);
    					clif->spiritball(src);
    				}
    			}
    			break;
    

  2. Does anybody shares a HP/SP TABLES for Base: 255 and Job: 120?

    use mine it will generate HP tables 400/120 :)

     

    Thanks a lot. It worked ... until the lvl 401. Seems like a stupid bug, even the file itself says

     

    "// Note: If table index size is smaller than the max level the server will automatically generate the missing index based on the average increase per level."

     

    But it just doesn't :/.

     

    Welp, i'm just generating every HP and SP table with the old rAthena formula for every classes. Weird "bug"? though.

    ill help you make 1000/1000 rathena forumla :)


  3. for renewal and pre-renewal settings 

     

    ./trunk/src/config/renewal.h

     

    /// game renewal server mode
    /// (disable by commenting the line)
    ///
    /// leave this line to enable renewal specific support such as renewal formulas
    #define RENEWAL
    

    comment "#define RENEWAL" to make your server Pre-Renewal


  4. @@Super Arki

     

    Renewal 

    /// game renewal server mode/// (disable by commenting the line)////// leave this line to enable renewal specific support such as renewal formulas#define RENEWAL

    Pre-Renewal

    /// game renewal server mode/// (disable by commenting the line)////// leave this line to enable renewal specific support such as renewal formulas//#define RENEWAL

  5. awesome! never seen a short jump in RO :heh: hmm but the cast cooldown is too long i suggest that you must reduce it, then st delay to 1.5sec or lower :)



    question?

     

    how about on mount? do mount can jump (cash and normal mount)


  6. /* GvG zone is applied to all maps with a gvg mapflag */	name: "GvG" /* changing this name requires MAP_ZONE_GVG_NAME to also be changed in src/map/map.h file */

     

    then add your skill below here:

     

    	disabled_skills: {		//both examples below disable napalm beat (id 11) to players		//MG_NAPALMBEAT: "PLAYER"		//ID11: "PLAYER"	}

     

    server must be restart to apply changes.


  7. first of all you are wrong adding mob it should be like this.

     

     

    monster .Map$,0,0,"MONSTER_NAME",MONSTER_ID,MONSTER_COUNT,strnpcinfo(0)+"::OnNormalKill";monster .Map$,0.0,"MONSTER_NAME",MONSTER_ID,MONSTER_COUNT,strnpcinfo(0)+"::OnBossKill"; 

    and for you to make the script work delete all of this: 

    // Mapflag Initializationsetmapflag .Map$,mf_nogo;setmapflag .Map$,mf_nomobloot;setmapflag .Map$,mf_nomvploot;setmapflag .Map$,mf_nowarpto;setmapflag .Map$,mf_nochat;setmapflag .Map$,mf_novending;setmapflag .Map$,mf_nocommand,60;setmapflag .Map$,mf_nogo;setmapflag .Map$,mf_nojobexp;setmapflag .Map$,mf_nobaseexp;

    and add the mapflags manually on your server

     

    =================================================================

     

    if you want to add more.

     

    monster .Map$,0,0,"MONSTER_NAME",MONSTER_IDMONSTER_COUNT,strnpcinfo(0)+"::OnMobKillName";
    OnMobKillName:RandomizeItem( 0,rand(1,5) );monster .Map$,0,0,"--ja--",-1,1,strnpcinfo(0)+"::OnMobKillName";end;

     

     

    explanation

     

    RandomizeItem( 0,rand(1,5) );

     

    is the number for normal mobs

    1,is the list of the random items selecting here

    // Normal Monster in Zone Drops Lists
    if( getarg(0) == 0 ) setarray .ItemList[0],13989,14232,13517,7139,12033,12016,14534; < in your case you are using 7 items which means you need to change 1,to 1,7

  8. invek,106,203,5	script	Farm Zone	757,{function	RandomizeItem;while( 1 ){mes "How can i help you ?";switch( select( "Information:Farm Items" )){case 1:	mes "This is a Farm Zone.";	mes "You are able to Hunt Monster inside this Room.";	mes "Every Monster will award you random items.";	next;	mes "But there is some Condition..";	mes "You can only go in ^FF0000once every "+.RoomCleanMin+" minutes for 1 times.^000000";	mes "And Maximum of ^FF0000"+.MaxPlayers+" Players per "+.RoomCleanMin+" Minutes.^000000";	mes "Maximum Hunting Limit ^FF0000"+.MaxItemLimit+"^000000";	next;	mes "There will be a ^FF0000Room Cleaning^000000 from time to time...";	mes "All players will be kicked out, it is your bad luck if you meet this.";	mes "Delay will still apply even though you just go in for 1 Seconds..";	next;	break;case 2:	if( #HuntRoomDelay > gettimetick(2) ){		set .last,#HuntRoomDelay - gettimetick(2);		set .@min,  .last % ( 24 * 3600 ) % 3600 / (60);		mes "Wait for ^FF0000"+.@min+" Minutes^000000.";		close;	}else if( getarraysize( .Hunter ) >= .MaxPlayers ){		mes "Currently the Room is Full. Please try again later.";		close;	}else{		warp .Map$,0,0;		set .Hunter[getarraysize( .Hunter )],strcharinfo(0);		set #HuntRoomDelay,gettimetick(2) + ( .DelayMin * 60 );		set #FarmHunt,0;		end;		}	}}OnInit:// Maximum Player can join per X Minutes.set .MaxPlayers,5;// Adding X Minutes of Delay before can go in again.set .DelayMin,15;// Maximum Hunt Limit per round inside the Zone.set .MaxItemLimit,200;// Map that will be used in thos Zone.set .Map$,"guild_vs4";// Clear Map Every X Minutes.set .RoomCleanMin,15;// Mapflag Initializationsetmapflag .Map$,mf_nogo;setmapflag .Map$,mf_nomobloot;setmapflag .Map$,mf_nomvploot;setmapflag .Map$,mf_nowarpto;setmapflag .Map$,mf_nochat;setmapflag .Map$,mf_novending;setmapflag .Map$,mf_nocommand,60;setmapflag .Map$,mf_nogo;setmapflag .Map$,mf_nojobexp;setmapflag .Map$,mf_nobaseexp;while( 1 ){	killmonster .Map$,"All";	mapwarp .Map$,"prontera",155,181;	monster .Map$,0,0,"[ Farm Zone ] Resident",-1,80,strnpcinfo(0)+"::OnNormalKill";	monster .Map$,0,0,"[ Farm Zone ] Guardian",-3,5,strnpcinfo(0)+"::OnBossKill";	deletearray .Hunter,getarraysize( .Hunter );	announce "[ Farm Zone ] : Farming Zone has been Cleaned up, another 5 Players may go in now.",bc_blue;	sleep ( .RoomCleanMin * 60000 );	mapannounce .Map$,"[ Farm Zone ] : Room Clean Up now...All Users will be warped Out.",0;	killmonster .Map$,"All";	sleep 3000;	}end;OnNormalKill:RandomizeItem( 0,rand(1,5) );monster .Map$,0,0,"--ja--",-1,1,strnpcinfo(0)+"::OnNormalKill";end;OnBossKill:RandomizeItem( 1,rand(1,3) );monster .Map$,0,0,"--ja--",-3,1,strnpcinfo(0)+"::OnBossKill";end;// Function that used to Generate Random Itemsfunction	RandomizeItem	{set #FarmHunt,#FarmHunt + getarg(1);// Normal Monster in Zone Drops Listsif( getarg(0) == 0 ) setarray .ItemList[0],13989,14232,13517,7139,12033,12016,14534;// Normal Boss in Zone Drops Listsif( getarg(0) == 1 ) setarray .ItemList[0],14536,12912,12267,12266,14601,13830,13831,13832,13833;for( set .@i,1; .@i <= getarg(1); set .@i,.@i + 1 ){	getitem .ItemList[ rand( getarraysize( .ItemList ) ) ],1;	}deletearray .ItemList,getarraysize( .ItemList );dispbottom "[ Farm Zone ] : Farmed "+#FarmHunt+" / "+.MaxItemLimit+" Items";if( #FarmHunt >= .MaxItemLimit ){	message strcharinfo(0),"Limit Reach , you may join again later.";	sleep2 2000;	warp "invek",147,164;	}return;}	} 

     

    for more info 

     

    *    7: Case 1:         ^ 

    "for you guys to easily understand how to debug"

     

    if you are seeing that error on your map-server its that because it should be write on lowercase therefore change: "Case 1:" to "case 1:" and the rest........

×
×
  • Create New...

Important Information

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