Jump to content

akbare

Members
  • Content Count

    52
  • Joined

  • Last visited

Posts posted by akbare


  1. On 5/14/2021 at 1:46 AM, godgiven25 said:

    Good day, I found an error involving the Rebellion class, its base level stuck to 99 and all its skills always miss.  Is there a way to fix this?

    I'm using herc renewal, no problems for other classes.

     

    edit: I hope this helps but, after some tweaking with exp_group_db.conf I found out that emulator seems to not recognize rebel as an extended class, but instead recognizes the Rebel class as one of the Firstclasses.

     

     

    02.jpg

    01.jpg

     

    Sorry are you using hexed 2021 ?


  2. 15 hours ago, 4144 said:

    you have syntax error in src/plugins/Makefile.in and make said about it. See how other plugins added

     

    in other way you can not change make file, but use separate make command.

    for example:

    make plugin.@afk

    
    make plugin.@afk

     

    Hoho... owh oke thx work like a charm 🤣

     

     


  3. sory im new coomer in Hercules emulator

    maybe sameone can help me for this

     

    i'm use @afk plugins

    in my setting :

    conf/plugins.conf

    plugins_list: [
    	/* Enable HPMHooking when plugins in use rely on Hooking */
    	//"HPMHooking",
    	//"db2sql",
    	//"sample",
    	//"other",
    	"@afk",
    ]

    src/plugins/Makefile.in

    # Note: DO NOT include the .c extension!!!                           #
    
    MYPLUGINS :
    @afk
    #      

    i'm use command in terminal

     

    ./configure

    make plugins

     

    error

    make[1]: Leaving directory `/home/akbare/Hercules/src/common'
            MAKE    plugins
    make[1]: Entering directory `/home/akbare/Hercules/src/plugins'
    Makefile:37: *** missing separator.  Stop.
    make[1]: Leaving directory `/home/akbare/Hercules/src/plugins'
    make: *** [plugins] Error 2
    [akbare@MyPvtRO Hercules]$

     

    Question :

    are these plugins not running right now? and why almost all plugins I can't compile, maybe someone can give me enlightenment.

    maybe someone can link for related

    thanks


  4. Configure look like fine.

     

    Not sure, but this can be because your libpcre very old. You already using legacy operating system. Probably try install new libpcre version from some repository.

    Or simply upgrade os to some thing more supported.

     

    hmm...

     
    What version should I wear ?
    im use centos

  5. Again, show error from configure.

    Dont run make until configure will not show any errors.

    this ./configure

     

    [root@eAkbare ~]# cd /root/eAkbare
    [root@eAkbare]# ./configure
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking whether make sets $(MAKE)... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking how to run the C preprocessor... gcc -E
    checking for ar... /usr/bin/ar
    checking whether byte ordering is bigendian... no
    checking whether gcc produces 32bit code... no
    checking whether gcc supports __thread specifier (TLS)... yes
    checking whether gcc accepts -rdynamic... yes
    checking whether gcc supports -Wno-unused-parameter... yes
    checking whether gcc can actually use -Wno-unused-parameter... yes
    checking whether gcc supports -Wno-clobbered... yes
    checking whether gcc supports -Wempty-body... yes
    checking whether gcc supports -Wnewline-eof... no
    checking whether gcc supports -Wint-conversion... no
    checking whether gcc supports -Wenum-conversion... no
    checking whether gcc supports -Wshorten-64-to-32... no
    checking whether gcc supports -Wconstant-conversion... no
    checking whether gcc supports -Wbool-conversion... no
    checking whether gcc supports -Wformat-security... yes
    checking whether gcc supports -Wno-format-nonliteral... yes
    checking whether gcc supports -Wno-switch... yes
    checking whether gcc supports -Wno-missing-field-initializers... yes
    checking whether gcc supports -Wshadow... yes
    checking whether gcc can efficiently use -Wshadow... no
    checking whether gcc supports -fPIC... yes
    checking how to make shared objects... -shared yes
    checking whether gcc needs -Wl,--no-undefined to check for undefined references in shared objects... yes
    checking whether gcc supports -fno-strict-aliasing... yes
    checking for setrlimit... yes
    checking for strnlen... yes
    checking for uselocale... yes
    checking for newlocale... yes
    checking for freelocale... yes
    checking xlocale.h usability... yes
    checking xlocale.h presence... yes
    checking for xlocale.h... yes
    checking host OS... Linux
    checking for MinGW... no
    checking for library containing inflateEnd... -lz
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for library containing sqrt... -lm
    checking for library containing clock_gettime... -lrt
    checking whether CLOCK_MONOTONIC is supported and works... yes
    checking for library containing pthread_create... none required
    checking for library containing pthread_sigmask... none required
    checking for library containing pthread_attr_init... none required
    checking for library containing pthread_attr_setstacksize... none required
    checking for library containing pthread_attr_destroy... none required
    checking for library containing pthread_cancel... none required
    checking for library containing pthread_join... none required
    checking execinfo.h usability... yes
    checking execinfo.h presence... yes
    checking for execinfo.h... yes
    checking for library containing backtrace... none required
    checking for mysql_config... /usr/bin/mysql_config
    checking for mysql_init... yes
    checking mysql.h usability... yes
    checking mysql.h presence... yes
    checking for mysql.h... yes
    checking MySQL library (required)... yes (5.1.73)
    checking for pcre_study in -lpcre... yes
    checking PCRE library (optional)... yes
    checking for doxygen... no
    checking for perl... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/common/Makefile
    config.status: creating 3rdparty/mt19937ar/Makefile
    config.status: creating 3rdparty/libconfig/Makefile
    config.status: creating src/char/Makefile
    config.status: creating src/login/Makefile
    config.status: creating src/map/Makefile
    config.status: creating src/plugins/Makefile
    config.status: creating src/tool/Makefile
    config.status: creating src/test/Makefile
    config.status: creating tools/HPMHookGen/Makefile
    [root@eAkbare]#
    
    

    and this ./make sql

     

    [root@eAkbare]# make sql
            MAKE    mt19937ar
    make[1]: Entering directory `/root/eAkbare/3rdparty/mt19937ar'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/root/eAkbare/3rdparty/mt19937ar'
            MAKE    libconfig
    make[1]: Entering directory `/root/eAkbare/3rdparty/libconfig'
            CC      libconfig.c
            CC      grammar.c
            CC      scanctx.c
            CC      scanner.c
            CC      strbuf.c
    make[1]: Leaving directory `/root/eAkbare/3rdparty/libconfig'
            MAKE    common_sql
    make[1]: Entering directory `/root/eAkbare/src/common'
            AR      obj_all/common.a
            AR      obj_sql/common_sql.a
            AR      obj_all/common_mini.a
    make[1]: Leaving directory `/root/eAkbare/src/common'
            MAKE    login_sql
    make[1]: Entering directory `/root/eAkbare/src/login'
            LD      login-server
    make[1]: Leaving directory `/root/eAkbare/src/login'
            MAKE    char_sql
    make[1]: Entering directory `/root/eAkbare/src/char'
            LD      char-server
    make[1]: Leaving directory `/root/eAkbare/src/char'
            MAKE    map_sql
    make[1]: Entering directory `/root/eAkbare/src/map'
            LD      map-server
    obj_sql/npc_chat.o: In function `npc_chat_defaults':
    /root/eAkbare/src/map/npc_chat.c:464: undefined reference to `pcre_free'
    /root/eAkbare/src/map/npc_chat.c:461: undefined reference to `pcre_compile'
    /root/eAkbare/src/map/npc_chat.c:462: undefined reference to `pcre_study'
    /root/eAkbare/src/map/npc_chat.c:463: undefined reference to `pcre_exec'
    /root/eAkbare/src/map/npc_chat.c:465: undefined reference to `pcre_copy_substring'
    /root/eAkbare/src/map/npc_chat.c:466: undefined reference to `pcre_free_substring'
    /root/eAkbare/src/map/npc_chat.c:467: undefined reference to `pcre_copy_named_substring'
    /root/eAkbare/src/map/npc_chat.c:468: undefined reference to `pcre_get_substring'
    collect2: ld returned 1 exit status
    make[1]: *** [../../map-server] Error 1
    make[1]: Leaving directory `/root/eAkbare/src/map'
    make: *** [map_sql] Error 2
    [root@eAkbare]#
    
    

  6. This error mean your system partially broken, look like it can find /bin/sh.

     

    Try open configure with text editor and replace in first line /bin/sh into /bin/bash, then save.

    and try run configure again.

     

     

     

    dos2unix configure
    ./configure
     

    This should solve configure error.

     

    then recompile the server

     

     

    oke thanks' compile not error

    how about this

     

            CC      status.c
            CC      storage.c
            CC      trade.c
            CC      unit.c
            CC      vending.c
            LD      map-server
    obj_sql/npc_chat.o: In function `npc_chat_defaults':
    /root/eAkbare/src/map/npc_chat.c:464: undefined reference to `pcre_free'
    /root/eAkbare/src/map/npc_chat.c:461: undefined reference to `pcre_compile'
    /root/eAkbare/src/map/npc_chat.c:462: undefined reference to `pcre_study'
    /root/eAkbare/src/map/npc_chat.c:463: undefined reference to `pcre_exec'
    /root/eAkbare/src/map/npc_chat.c:465: undefined reference to `pcre_copy_substring'
    /root/eAkbare/src/map/npc_chat.c:466: undefined reference to `pcre_free_substring'
    /root/eAkbare/src/map/npc_chat.c:467: undefined reference to `pcre_copy_named_substring'
    /root/eAkbare/src/map/npc_chat.c:468: undefined reference to `pcre_get_substring'
    collect2: ld returned 1 exit status
    make[1]: *** [../../map-server] Error 1
    make[1]: Leaving directory `/root/eAkbare/src/map'
    make: *** [map_sql] Error 2
    [root@eAkbare]#
    
    

  7. configure show error?

    it show you should fix this error.

    i try move to other VPS

    and this my error sir

     

     

    vsc2vd.png

     

     

    i try this command :

    # yum install dos2unix
    # dos2unix sysinfogen.sh
    # chmod +x sysinfogen.sh
    

    and same error

     

    i try to use antoher file [configure] [hercules]

    can compile

    8x2zic.jpg

     

     

    thanks for advance

     


  8. look like server cant find pcre.

    You run configure? or only make?

    Try start from ./configure

    And if it show error, need fix it first, and only after run make.

    yup,

    i use

    ./configure --with-pcre && make clean && make sql

     

    and try to

    ./configure

    make clean

    make sql

     

    same for error


  9. i found this error. maybe someone can help me :D

    make[1]: Entering directory `/root/hercules/3rdparty/mt19937ar'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/root/hercules/3rdparty/mt19937ar'
            MAKE    libconfig
    make[1]: Entering directory `/root/hercules/3rdparty/libconfig'
            CC      libconfig.c
            CC      grammar.c
            CC      scanctx.c
            CC      scanner.c
            CC      strbuf.c
    make[1]: Leaving directory `/root/hercules/3rdparty/libconfig'
            MAKE    common_sql
    make[1]: Entering directory `/root/hercules/src/common'
            AR      obj_all/common.a
            AR      obj_sql/common_sql.a
            AR      obj_all/common_mini.a
    make[1]: Leaving directory `/root/hercules/src/common'
            MAKE    login_sql
    make[1]: Entering directory `/root/hercules/src/login'
            LD      login-server
    make[1]: Leaving directory `/root/hercules/src/login'
            MAKE    char_sql
    make[1]: Entering directory `/root/hercules/src/char'
            LD      char-server
    make[1]: Leaving directory `/root/hercules/src/char'
            MAKE    map_sql
    make[1]: Entering directory `/root/hercules/src/map'
            LD      map-server
    obj_sql/clif.o: In function `clif_parse_GlobalMessage':
    /root/hercules/src/map/clif.c:9849: undefined reference to `npc_chat'
    obj_sql/HPMmap.o: In function `HPM_shared_symbols':
    /root/hercules/src/map/../common/HPMSymbols.inc.h:401: undefined reference to `npc_chat'
    /root/hercules/src/map/../common/HPMSymbols.inc.h:422: undefined reference to `libpcre'
    obj_sql/map.o: In function `map_load_defaults':
    /root/hercules/src/map/map.c:5777: undefined reference to `npc_chat_defaults'
    obj_sql/npc.o: In function `npc_unload':
    /root/hercules/src/map/npc.c:2285: undefined reference to `npc_chat'
    obj_sql/script.o: In function `op_2str':
    /root/hercules/src/map/script.c:3774: undefined reference to `libpcre'
    /root/hercules/src/map/script.c:3784: undefined reference to `libpcre'
    /root/hercules/src/map/script.c:3787: undefined reference to `libpcre'
    /root/hercules/src/map/script.c:3795: undefined reference to `libpcre'
    /root/hercules/src/map/script.c:3823: undefined reference to `libpcre'
    obj_sql/script.o:/root/hercules/src/map/script.c:3825: more undefined references to `libpcre' follow
    obj_sql/script.o:(.rodata+0x37e0): undefined reference to `buildin_defpattern'
    obj_sql/script.o:(.rodata+0x3800): undefined reference to `buildin_activatepset'
    obj_sql/script.o:(.rodata+0x3820): undefined reference to `buildin_deactivatepset'
    obj_sql/script.o:(.rodata+0x3840): undefined reference to `buildin_deletepset'
    collect2: ld returned 1 exit status
    make[1]: *** [../../map-server] Error 1
    make[1]: Leaving directory `/root/hercules/src/map'
    make: *** [map_sql] Error 2
    
    
    yum -y install pcre pcre-devel httpd-devel subversion gcc make
    error libpcre

    OS: centos 6

    fresh emu just edited define PACKETVER

     

     

    thanks for advance :D


  10.  

     

    Make sure your sysinfogen.sh exist in the hercules directory

     

    the file ready in my Hercules folder :huh:

    check in my attach file

    not yet experienced this yet, but search on internet shows that, if you have imported it from windows, then linebreaks are different(linux and windows handles it differently)

    So do these commands

    dos2unix sysinfogen.shchmod +x sysinfogen.sh
    Then , make all

     

     

    And if your system claims you haven't dos2unix, yum install dos2unix ;)

     

    thanks for reply brother

    OMG im forget this command :D

    ok thanks problem solve ;)

×
×
  • Create New...

Important Information

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