Jump to content

venomxxvii

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by venomxxvii

  1. Hello,


     Im using Rathena and its working Fine but how can i make Myzter's Antibot - Botkiller 6 Bot Checker every 5mins / detects a player if farming withing 5mins the npc bot killer will show.


     


     


    because my server is doesn't have a Auto Job Changer or any Uber Free items


    my server need to level on your own and farm on your own. help me anyone? i want the NPC bot killer show every 5mins sad.png


  2.  

    then BK6 latest have that BotKiller example i posted?

    Only the first (WordNum) because the second one (minimap) doesn't work on certain maps. This version provide new plugins, ie: lie2me, fakename

     

    hmm how to make it work then? 

     

    //npc/custom/bk/mods/BK6_Asc2Num.txt 
    //npc/custom/bk/mods/BK6_Asc2Word.txt  
    //npc/custom/bk/mods/BK6_Fakename.txt                 
    //npc/custom/bk/mods/BK6_Img2Num.txt              
    //npc/custom/bk/mods/BK6_SMath.txt           
    // npc/custom/bk/mods/BK6_Lie2Me.txt                    
    npc/custom/bk/mods/BK6_WordNum.txt 
    ^^do i need add // to other scripts?
  3. MY FEATURE.conf

    // Item ID for Zeny. Set to 0 if you don't want use Zeny.
    item_zeny: 20030 << this is the Credits but if i bought the item the credits is still there please help
    // Item ID for Cash. Set to 0 if you don't want use Cash.
    item_cash: 30590 << This is the Violet Card or 1 Violet Card = 100x Credits and i sell the +10 Sandstorm to 1x Violet Card and i try to buy shop said "YOU DO NOT HAVE ENOUGH CASHPOINT" < (HOW CAN I MAKE THIS COST AN ITEM? )

     

    i manually put the patch in my rathena svn 16797

    and my problem : 

     

    Help me how can i make this work ( i vend a +10 Sandstorm and It Cost 10x Credits [ ID: 20030 ] then the buyer must have 10x credits and if he buy the +10 Sandstorm from the vendor. The vendor will receive the 10x credits and the buyer will get the +10 sandstorm. )

     

     i changed my feature.conf

    //--------------------------------------------------------------
    // rAthena Feature Configuration File
    //--------------------------------------------------------------
    // Note 1: Value is a config switch (on/off, yes/no or 1/0)
    // Note 2: Value is in percents (100 means 100%)
    // Note 3: Value is a bit field. If no description is given,
    //         assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
    //--------------------------------------------------------------
    
    // Buying store (Note 1)
    // Requires: 2010-04-27aRagexeRE or later
    feature.buying_store: on
    
    // Search stores (Note 1)
    // Requires: 2010-08-03aRagexeRE or later
    feature.search_stores: on
    
    // Extended Vending System [Lilith]
    // Enable or disable extended vending system? (Note 1)
    extended_vending: yes
    // Show currency's name in vending board? (Note 1)
    show_item_vending: yes
    // Show more info about buying? (Note 1)
    ex_vending_info: yes
    // Item ID for Zeny. Set to 0 if you don't want use Zeny.
    item_zeny: 20030 << this is the Credits but if i bought the item the credits is still there please help
    // Item ID for Cash. Set to 0 if you don't want use Cash.
    item_cash: 30590 << This is the Violet Card or  1 Violet Card = 100x Credits and i sell the +10 Sandstorm to 1x Violet Card and i try to buy shop said "YOU DO NOT HAVE ENOUGH CASHPOINT" < (HOW CAN I MAKE THIS COST AN ITEM? )
    
  4. Help me please im using a 16797 rathena svn . and i cant find atcommand.inc and atcommand_def.inc and the line on pc.h

    diff --git a/src/custom/atcommand.inc b/src/custom/atcommand.inc
    index afb74b2..76fe9c8 100644
    --- a/src/custom/atcommand.inc
    +++ b/src/custom/atcommand.inc
    @@ -17,3 +17,25 @@
     //	clif_specialeffect(&sd->bl, 343, AREA);
     //	return 0;
     //}
    +
    +ACMD_FUNC(bst) {
    +	struct map_session_data *pl_sd;
    +	struct s_mapiterator* iter;
    +	char aaa[255];
    +	nullpo_retr(-1, sd);
    +	if ( !message || !*message ) {
    +		clif_displaymessage(fd, "Please, enter a message (usage: @bst <message>).");
    +		return -1;
    +	}
    +	if ( sd->bst_delay + 60 > (int)time(NULL) ) {
    +		clif_displaymessage(fd, "There is a 60 seconds delay of using this command again");
    +		return 0;
    +	}
    +	sprintf( aaa, "[Market] %s : %s", sd->status.name, message );
    +	iter = mapit_getallusers();
    +	for ( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) )
    +		clif_broadcast2( &pl_sd->bl, aaa, strlen(aaa) +1 , strtol("0x9999FF", NULL, 0), 0x190, 12, 0, 0, SELF);
    +	mapit_free(iter);
    +	sd->bst_delay = (int)time(NULL);
    +	return 0;
    +}
    \ No newline at end of file
    diff --git a/src/custom/atcommand_def.inc b/src/custom/atcommand_def.inc
    index 300944c..c739f71 100644
    --- a/src/custom/atcommand_def.inc
    +++ b/src/custom/atcommand_def.inc
    @@ -9,3 +9,5 @@
      **/
     
     //ACMD_DEF(newcommand),
    +
    +ACMD_DEF(bst),
    \ No newline at end of file
    diff --git a/src/map/pc.h b/src/map/pc.h
    index 12b36dd..bcf4dd9 100644
    --- a/src/map/pc.h
    +++ b/src/map/pc.h
    @@ -580,6 +580,7 @@ struct map_session_data {
     		int16 icon;
     		int tid;
     	} bonus_script[MAX_PC_BONUS_SCRIPT];
    +	int bst_delay;
     };
     
     enum weapon_type {
    

    help me how to add this src by not updating my svn because i changed alot of src on my svn now :((

  5. up

    i got error when i recompile 

     

    Error 1 error C2065: 'maxhp' : undeclared identifier (..\src\map\status.c) c:\users\thyrone ü\desktop\svn\src\map\status.c 2488 1 map-server_sql
    Error 2 error C2065: 'RC_BOSS' : undeclared identifier (..\src\map\status.c) c:\users\thyrone ü\desktop\svn\src\map\status.c 3412 1 map-server_sql
    Error 3 error C2065: 'RC_BOSS' : undeclared identifier (..\src\map\status.c) c:\users\thyrone ü\desktop\svn\src\map\status.c 3413 1 map-server_sql

     

     

  6. -    script    KillCashPoint    -1,{
    OnPCKillEvent:
    if (killedrid==getcharid(0)) end;    //No Points, killed himself
    if (lastkilled==killedrid){
        set lkcount,lkcount+1;
        if (lkcount>=5){
            set #CASHPOINTS,#CASHPOINTS-3;
            dispbottom "You have Lose 3 points of Honour. Your Total Points are "+#CASHPOINTS;
            atcommand "@nuke "+strcharinfo(0);
            end;
        }
        else{
            set #CASHPOINTS,#CASHPOINTS+1;
            dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS;
            end;
        }
    }
    else{
        set lastkilled,killedrid;
        set lkcount,1;
        set #CASHPOINTS,#CASHPOINTS+1;
        dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS;
        end;
    }
    } 

     

     Help me someone add if the player get killed lose 1 Cash Point Thanks!!

     
  7. when i click +20 Refine npc [bestri] at prt_in 90 72

    i always gets this error

     

    [Error]: script:callfunc: function not found! [refinenew]
    [Debug]: Source (NPC): Bestri#01 at prt_in (90,72)
    [Error]: script:callfunc: function not found! [refinenew]
    [Debug]: Source (NPC): Bestri#01 at prt_in (90,72)

     

     
  8. high wizard card does it, it ignore magical def of the enemy

    Golden Thief Bug Card : Nullify all magic spells, including supportive skills, that target the owner at the cost of doubling SP Consumption cost when using skills.

     

    High Wizard Card : Ignores MDEF of normal monsters. Slows your casting time by 2x. Reduces SP regeneration rate by 100%.

    Drain 2000 SP as the headgear is unequipped.

     

     

    I need a Card that counters Golden Thief Bug Card.

    Example

     If someone wearing GTB card, magic spells can't hit him but if the caster of magic will wear this Golden Thief Bug Counter Card which has the effect that bypass GTB by 50%

    Up

  9. Try this. Please let me know if it's working fine.

    Index: src/map/battle.c
    ===================================================================
    --- src/map/battle.c	(revision 17331)
    +++ src/map/battle.c	(working copy)
    @@ -734,9 +734,11 @@
     int battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damage *d,int damage,uint16 skill_id,uint16 skill_lv)
     {
     	struct map_session_data *sd = NULL;
    +	struct map_session_data *srcsd = NULL;
     	struct status_change *sc;
     	struct status_change_entry *sce;
     	int div_ = d->div_, flag = d->flag;
    +	char atcmd_output[50];
     
     	nullpo_ret(bl);
     
    @@ -747,6 +749,17 @@
     
     	if (bl->type == BL_PC) {
     		sd=(struct map_session_data *)bl;
    +		srcsd=(struct map_session_data *)src;
    +
    +	if(flag&BF_MAGIC && srcsd->special_state.anti_no_magic_damage && sd->special_state.no_magic_damage){
    +		if(sd->special_state.no_magic_damage > srcsd->special_state.anti_no_magic_damage)
    +		sd->special_state.no_magic_damage = sd->special_state.no_magic_damage - srcsd->special_state.anti_no_magic_damage;
    +		if(sd->special_state.no_magic_damage < srcsd->special_state.anti_no_magic_damage)
    +		sd->special_state.no_magic_damage = 0;
    +		sprintf(atcmd_output, "GTB effect reduced to %d, due to an anti-gtb used by the attacker", sd->special_state.no_magic_damage); // Jumped to %s
    +		clif_displaymessage(sd->fd, atcmd_output);
    +
    +		}
     		//Special no damage states
     		if(flag&BF_WEAPON && sd->special_state.no_weapon_damage)
     			DAMAGE_SUBRATE(sd->special_state.no_weapon_damage)
    @@ -1234,6 +1247,8 @@
     		if (skill_id)
     			mobskill_event((TBL_MOB*)bl,src,gettick(),MSC_SKILLUSED|(skill_id<<16));
     	}
    +	if(sd) status_calc_pc(sd,0);
    +
     	if( sd ) {
     		if( pc_ismadogear(sd) && rnd()%100 < 50 ) {
     			short element = skill_get_ele(skill_id, skill_lv);
    Index: src/map/map.h
    ===================================================================
    --- src/map/map.h	(revision 17331)
    +++ src/map/map.h	(working copy)
    @@ -411,7 +411,10 @@
     	SP_SP_GAIN_RACE, SP_SUBRACE2, SP_UNBREAKABLE_SHOES,	// 2031-2033
     	SP_UNSTRIPABLE_WEAPON,SP_UNSTRIPABLE_ARMOR,SP_UNSTRIPABLE_HELM,SP_UNSTRIPABLE_SHIELD,  // 2034-2037
     	SP_INTRAVISION, SP_ADD_MONSTER_DROP_ITEMGROUP, SP_SP_LOSS_RATE, // 2038-2040
    -	SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE, SP_MAGIC_SP_GAIN_VALUE, SP_MAGIC_HP_GAIN_VALUE, SP_ADD_CLASS_DROP_ITEM, //2041-2045
    +	SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE, SP_MAGIC_SP_GAIN_VALUE,
    +	SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE, SP_MAGIC_SP_GAIN_VALUE, SP_MAGIC_HP_GAIN_VALUE,
    +	SP_ANTI_NO_MAGIC_DAMAGE //
    +	SP_MAGIC_HP_GAIN_VALUE, SP_ADD_CLASS_DROP_ITEM,
     	SP_EMATK, SP_SP_GAIN_RACE_ATTACK, SP_HP_GAIN_RACE_ATTACK, SP_SKILL_USE_SP_RATE, //2046-2049
     	SP_SKILL_COOLDOWN,SP_SKILL_FIXEDCAST, SP_SKILL_VARIABLECAST, SP_FIXCASTRATE, SP_VARCASTRATE, //2050-2054
     	SP_SKILL_USE_SP,SP_MAGIC_ATK_ELE, SP_ADD_FIXEDCAST, SP_ADD_VARIABLECAST  //2055-2058
    Index: src/map/pc.c
    ===================================================================
    --- src/map/pc.c	(revision 17331)
    +++ src/map/pc.c	(working copy)
    @@ -2635,6 +2635,12 @@
     			if(sd->state.lr_flag != 2)
     				sd->bonus.add_varcast += val;
     			break;
    +		case SP_ANTI_NO_MAGIC_DAMAGE:
    +			if(sd->state.lr_flag == 2)
    +			break;
    +			val+= sd->special_state.anti_no_magic_damage;
    +			sd->special_state.anti_no_magic_damage = cap_value(val,0,100);
    +			break;
     	#endif
     		default:
     			ShowWarning("pc_bonus: unknown type %d %d !\n",type,val);
    Index: src/map/pc.h
    ===================================================================
    --- src/map/pc.h	(revision 17331)
    +++ src/map/pc.h	(working copy)
    @@ -173,7 +173,7 @@
     		unsigned int permanent_speed : 1; // When 1, speed cannot be changed through status_calc_pc().
     	} state;
     	struct {
    -		unsigned char no_weapon_damage, no_magic_damage, no_misc_damage;
    +		unsigned char no_weapon_damage, no_magic_damage, no_misc_damage, anti_no_magic_damage;
     		unsigned int restart_full_recover : 1;
     		unsigned int no_castcancel : 1;
     		unsigned int no_castcancel2 : 1;
    

    Not Working D:

    up

    up

    ^

×
×
  • Create New...