Jump to content

Chaos92

Members
  • Posts

    1554
  • Joined

  • Last visited

  • Days Won

    36

Posts posted by Chaos92

  1.  

    i follow AnnieRuru step in patch modified SRC i having error in battle.h

        CC     script.c
            CC      storage.c
            CC      skill.c
            CC      atcommand.c
            CC      battle.c
    battle.c: In function ‘battle_check_target’:
    battle.c:6602: error: ‘TBL_MOB’ has no member named ‘class_’
    battle.c:6603: error: ‘mapreg’ undeclared (first use in this function)
    battle.c:6603: error: (Each undeclared identifier is reported only once
    battle.c:6603: error: for each function it appears in.)
    battle.c:6603: error: ‘script’ undeclared (first use in this function)
    make[1]: *** [obj_sql/battle.o] Error 1
    make[1]: Leaving directory `/home/sg04/trunk/src/map'
    make: *** [map] Error 2
    Recompile failed. Please check again.
    

    my battle h

    #ifndef _BATTLE_H_
    #define _BATTLE_H_
    #include "mapreg.h"
    

     

    but in annieruru src is below
     #include "../common/mmo.h"
     #include "../config/core.h"
     #include "map.h" //ELE_MAX
    +#include "mapreg.h"
    
     

    but when i using this

    Index: battle.c
    ===================================================================
    --- battle.c    (revision 16817)
    +++ battle.c    (working copy)
    @@ -5021,6 +5021,13 @@
        if( (s_bl = battle_get_master(src)) == NULL )
            s_bl = src;
    
    +    if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {
    +        struct map_session_data *sd = BL_CAST(BL_PC, s_bl);
    +        if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
    +            ( sd->status.guild_id == mapreg_readreg( add_str("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) )
    +        return 0;
    +    }
    +
        if ( s_bl->type == BL_PC ) {
            switch( t_bl->type ) {
                case BL_MOB: // Source => PC, Target => MOB
    Index: battle.h
    ===================================================================
    --- battle.h    (revision 16817)
    +++ battle.h    (working copy)
    @@ -3,6 +3,7 @@
    
    #ifndef _BATTLE_H_
    #define _BATTLE_H_
    +#include "mapreg.h"
    
    // state of a single attack attempt; used in flee/def penalty calculations when mobbed
    typedef enum damage_lv {
    

    no error in putty

    but i facing player cant hit emp all miss. there is the bug on there and as a gm can keep break the emp

     

    hit emp all miss = not up guild skill approval

  2.  

     

     

    sir, my computer > properties >advanced system setting > performance > Data Execution Prevention > Turn On DEP > add your exe there

     

    really that much?

     

    did u understand @.@

    tried or not ?

    this gonna fix your problem

     

    DEP06.jpg

     

    OR

     

    evo-disable-dep.gif

     

     

    it works thanks

     

    welcome /heh

  3.  

    sir, my computer > properties >advanced system setting > performance > Data Execution Prevention > Turn On DEP > add your exe there

     

    really that much?

     

    did u understand @.@

    tried or not ?

    this gonna fix your problem

     

    DEP06.jpg

     

    OR

     

    evo-disable-dep.gif

    • Upvote 1
  4.  

    did you use @allskill? if yes, then no wonder.

    @allskill is not job-sided, but all skills registered on your server will be added to your skill tree

    (ofc you won't see them in Alt+S).

     

    https://github.com/rathena/rathena/blob/master/doc/atcommands.txt#L887

    https://github.com/rathena/rathena/blob/master/src/map/atcommand.c#L3202

     

    or probably, you previously @job to that job (e.g: thief), then @allskill, then you change the job to Champion

     

    If it's me (gm account) then I wouldn't mind but if a normal character have it then that's a bug.

     

    check equipment, a ring. go unequip and check the auto skill

  5. Can i know why there is problem see my screenshot here, theres spamming 'Please ensure an extra space in your inventory'

     

    But inventory is not full ,i try to make 3rd genetic creation items like +20 food, just show in screenshot only...

     

    rathena version 12427ortYWtz.jpg?1?5879

     

    client version 45 same as clientdate 8-7-2013 or 7-8-2013 if im not mistaken either one (following packetdb).

×
×
  • Create New...