Jump to content

C. Alexandru-Sorin

Inactive Member
  • Posts

    18
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by C. Alexandru-Sorin

  1. Hello!

    Sorry for another topic, it was deleted because I put a link to another forum.

     

    info core:

     

    - Skill Sura - fix.
    - auth_brazil - removed.
    - xtrap - removed.
    - limit time - removed. game does not expire again.
    - invisible bug - fix.
    - add /unban <name character>
    - INTERNAL_IP - fix.
    - Enable 0 yang item in shop.
    - Remove 3% tax.
    - add: pc.get_coins() ( account.account -> coins )
    - locale_string.txt - characters fix.
    - exp table: share/locale/alexso/exp.txt
    - changelog: share/locale/alexso/changelog.txt
    - add /ban <namecharacter> <time> <reason>
    - /war - fix.
    - /dice - removed.
    - Stone bug - fix.
    - Bonus bug - fix.
    - Ymir license - removed.
    - crash bug - fix.
    - tics did not updated - fix
    - Add global chat. ( CONFIG: chat_global: 1 - activ, 0 - inactiv )
    - add rates 1000%
    - CONFIG: time_exchange_bonus: 0 - dezactived, 10 - wait 10 minutes.
    - -32K HP - fix
    - Shutdown command - fix.
    - Fix 6/7 on costumes - fix.
    - change equipment with full inventory - fix.
    - Add unlimited members guild.
    - Fix skillbok deleted.
    - fix create guild on lv 1.
    - Fix War skill bug.
    - Add exchange effect ( CONFIG: show_exchange_effect: 0 - inactive, 1 - active.
    - add CONFIG: exp for read skillbok: exp_for_fb: 20000
    - Fix pc.set_level()
    - Fix belt inventory
    The core game is used by me to my server and I can say that it works perfectly.

    A lot of people say that I published this game because it has backdoor capabilities. It is not true!

    If you find problems, I'll solve it!

    Other opinions?

    Download: https://mega.co.nz/#!CVdUEZZD!EhC6R_1UApIYdQa5YiryIYel1TSXUWF5MSj2NYpgN1M

    Libs: https://mega.co.nz/#!HANCSDJD!_BTOtzjFwcAZVYczsN3VEKGkWozH4VtfvqbzQ1aH6yQ

    • Love 2
  2.  

    Fix: 

    if pc . count_item ( 50513 ) < 1 then

    say_title ( "Bug Controls" )

    say ( "Object, drag it to the inventar." )

    return

    end

     Evidence that work: Click YouTube

     

    Best Regards 

    Can BARAN...

     

    You could fix it by this way too:

        int item_remove(lua_State* L)
        {
            CQuestManager& q = CQuestManager::instance();
            LPITEM item = q.GetCurrentItem();
            if (item != NULL) {
                if (q.GetCurrentCharacterPtr() == item->GetOwner()) {
                    // ITEM_MANAGER::instance().RemoveItem(item);
                    CQuestManager::instance().GetCurrentCharacterPtr()->RemoveSpecifyItem(item->GetVnum(), 1);
                } else {
                    sys_err("Tried to remove invalid item %p", get_pointer(item));
                }
                q.ClearCurrentItem();
            }
            
            return 0;
        }

    I don't know if it's gonna work by that way

     

     

    It`s not realy a fix but..

     

        static bool CanMoveIntoBeltInventory(LPITEM item)
        {
            bool canMove = true;
    
            if (item->GetType() == ITEM_QUEST)
            {
                canMove = false;
                break;
            }
    
            return canMove;
        }  

    It`s not tested and the fix is made by a e*pvp member.

     

    It would be easier to change the function void CHARACTER::RemoveSpecifyItem(DWORD vnumDWORD count)

    to count belt items too, because if you can see it has only one for loop for inventory items

     

    Hi Denis,
    I just tried your version, but does not work!
    Delete just what's in inventory, not in the belt inventory.
    The Belt Item Inventory remains permanently.
  3. my error ...

    gmake[1]: Leaving directory `

    I need help, I can not ...

    root@AleXso:/usr/ports/lang/gcc48 # cd /usr/src/novaline/Server
    root@AleXso:/usr/src/novaline/Server # gmake
    Makefile:47: warning: overriding recipe for target `libserverkey'
    Makefile:13: warning: ignoring old recipe for target `libserverkey'
    gmake: Warning: File `Makefile' has modification time 28114 s in the future
    gmake -C libthecore/src dep
    gmake[1]: Entering directory `/usr/src/novaline/Server/libthecore/src'
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -MM *.c > Depend
    gmake[1]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
    gmake -C libthecore/src clean
    gmake[1]: Entering directory `/usr/src/novaline/Server/libthecore/src'
    rm -f *.o
    rm -f ../lib/libthecore.a
    gmake[1]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
    gmake -C libthecore/src
    gmake[1]: Entering directory `/usr/src/novaline/Server/libthecore/src'
    gmake ../lib/libthecore.a
    gmake[2]: Entering directory `/usr/src/novaline/Server/libthecore/src'
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c socket.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c fdwatch.c
    fdwatch.c: In function 'void fdwatch_clear_event(fdwatch*, socket_t, unsigned int)':
    fdwatch.c:163: warning: comparison between signed and unsigned integer expressions
    fdwatch.c:165: warning: comparison between signed and unsigned integer expressions
    fdwatch.c: In function 'int fdwatch_check_event(fdwatch*, socket_t, unsigned int)':
    fdwatch.c:173: warning: comparison between signed and unsigned integer expressions
    fdwatch.c:175: warning: comparison between signed and unsigned integer expressions
    fdwatch.c: In function 'int fdwatch_get_ident(fdwatch*, unsigned int)':
    fdwatch.c:207: warning: comparison between signed and unsigned integer expressions
    fdwatch.c: In function 'void* fdwatch_get_client_data(fdwatch*, unsigned int)':
    fdwatch.c:225: warning: comparison between signed and unsigned integer expressions
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c buffer.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c signal.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c log.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c utils.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c kstbl.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c hangul.c
    hangul.c: In function 'const char* first_han(const BYTE*)':
    hangul.c:47: warning: deprecated conversion from string constant to 'char*'
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c heart.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c main.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c tea.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c des.c
    DES_table.h:164: warning: 'KeyPerm' defined but not used
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c gost.c
    g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c memcpy.c
    if [ ! -d ../lib ]; then mkdir ../lib; fi
    ar cru ../lib/libthecore.a socket.o fdwatch.o buffer.o signal.o log.o utils.o kstbl.o hangul.o heart.o main.o tea.o des.o gost.o memcpy.o
    ranlib ../lib/libthecore.a
    chmod 700 ../lib/libthecore.a
    gmake[2]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
    gmake[1]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
    gmake -C libgame/src dep
    gmake[1]: Entering directory `/usr/src/novaline/Server/libgame/src'
    touch Depend
    g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -MM *.cc > Depend
    gmake[1]: Leaving directory `/usr/src/novaline/Server/libgame/src'
    gmake -C libgame/src clean
    gmake[1]: Entering directory `/usr/src/novaline/Server/libgame/src'
    rm -f *.o
    rm -f ../lib/libgame.a
    gmake[1]: Leaving directory `/usr/src/novaline/Server/libgame/src'
    gmake -C libgame/src
    gmake[1]: Entering directory `/usr/src/novaline/Server/libgame/src'
    gmake ../lib/libgame.a
    gmake[2]: Entering directory `/usr/src/novaline/Server/libgame/src'
    g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -c grid.cc
    g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -c attribute.cc
    g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -c targa.cc
    if [ ! -d ../lib ]; then mkdir ../lib; fi
    ar cru ../lib/libgame.a grid.o attribute.o targa.o
    ranlib ../lib/libgame.a
    chmod 700 ../lib/libgame.a
    gmake[2]: Leaving directory `/usr/src/novaline/Server/libgame/src'
    gmake[1]: Leaving directory `/usr/src/novaline/Server/libgame/src'
    gmake -C liblua clean
    gmake[1]: Entering directory `/usr/src/novaline/Server/liblua'
    cd include; gmake clean
    gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/include'
    gmake[2]: Nothing to be done for `clean'.
    gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/include'
    cd src; gmake clean
    gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src'
    rm -f lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o ../lib/liblua.a
    gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src'
    cd src/lib; gmake clean
    gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src/lib'
    rm -f lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o ../../lib/liblualib.a
    gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src/lib'
    gmake[1]: Leaving directory `/usr/src/novaline/Server/liblua'
    gmake -C liblua
    gmake[1]: Entering directory `/usr/src/novaline/Server/liblua'
    cd include; gmake all
    gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/include'
    gmake[2]: Nothing to be done for `all'.
    gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/include'
    cd src; gmake all
    gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src'
    gcc -O2 -g -Wall -I../include      -c -o lapi.o lapi.c
    gcc -O2 -g -Wall -I../include      -c -o lcode.o lcode.c
    gcc -O2 -g -Wall -I../include      -c -o ldebug.o ldebug.c
    gcc -O2 -g -Wall -I../include      -c -o ldo.o ldo.c
    gcc -O2 -g -Wall -I../include      -c -o ldump.o ldump.c
    gcc -O2 -g -Wall -I../include      -c -o lfunc.o lfunc.c
    gcc -O2 -g -Wall -I../include      -c -o lgc.o lgc.c
    gcc -O2 -g -Wall -I../include      -c -o llex.o llex.c
    llex.c: In function 'read_string':
    llex.c:285: warning: case label value is less than minimum value for type
    gcc -O2 -g -Wall -I../include      -c -o lmem.o lmem.c
    gcc -O2 -g -Wall -I../include      -c -o lobject.o lobject.c
    gcc -O2 -g -Wall -I../include      -c -o lopcodes.o lopcodes.c
    gcc -O2 -g -Wall -I../include      -c -o lparser.o lparser.c
    gcc -O2 -g -Wall -I../include      -c -o lstate.o lstate.c
    gcc -O2 -g -Wall -I../include      -c -o lstring.o lstring.c
    gcc -O2 -g -Wall -I../include      -c -o ltable.o ltable.c
    ltable.c: In function 'luaH_mainposition':
    ltable.c:108: warning: cast from pointer to integer of different size
    ltable.c:110: warning: cast from pointer to integer of different size
    gcc -O2 -g -Wall -I../include      -c -o ltests.o ltests.c
    gcc -O2 -g -Wall -I../include      -c -o ltm.o ltm.c
    gcc -O2 -g -Wall -I../include      -c -o lundump.o lundump.c
    gcc -O2 -g -Wall -I../include      -c -o lvm.o lvm.c
    gcc -O2 -g -Wall -I../include      -c -o lzio.o lzio.c
    if [ ! -d ../lib ]; then mkdir ; fi
    ar rcu ../lib/liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o
    ranlib ../lib/liblua.a
    gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src'
    cd src/lib; gmake all
    gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src/lib'
    gcc -O2 -g -Wall -I../../include         -c -o lauxlib.o lauxlib.c
    gcc -O2 -g -Wall -I../../include         -c -o lbaselib.o lbaselib.c
    gcc -O2 -g -Wall -I../../include         -c -o ldblib.o ldblib.c
    gcc -O2 -g -Wall -I../../include         -c -o liolib.o liolib.c
    liolib.c: In function 'g_iofile':
    liolib.c:251: warning: value computed is not used
    liolib.c: In function 'f_lines':
    liolib.c:286: warning: value computed is not used
    gcc -O2 -g -Wall -I../../include         -c -o lmathlib.o lmathlib.c
    gcc -O2 -g -Wall -I../../include         -c -o ltablib.o ltablib.c
    gcc -O2 -g -Wall -I../../include         -c -o lstrlib.o lstrlib.c
    gcc -O2 -g -Wall -I../../include         -c -o loadlib.o loadlib.c
    ar rcu ../../lib/liblualib.a lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o
    ranlib ../../lib/liblualib.a
    gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src/lib'
    gmake[1]: Leaving directory `/usr/src/novaline/Server/liblua'
    gmake -C db/src dep
    subversion/svn/info-cmd.c:663,
    subversion/libsvn_client/info.c:290,
    subversion/libsvn_wc/info.c:529,
    subversion/libsvn_wc/node.c:505,
    subversion/libsvn_wc/wc_db.c:8458,
    subversion/libsvn_wc/wc_db_wcroot.c:629: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
    svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
    subversion/svn/info-cmd.c:663,
    subversion/libsvn_client/info.c:290,
    subversion/libsvn_wc/info.c:529,
    subversion/libsvn_wc/node.c:505,
    subversion/libsvn_wc/wc_db.c:8458,
    subversion/libsvn_wc/wc_db_wcroot.c:629: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
    svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
    gmake[1]: Entering directory `/usr/src/novaline/Server/db/src'
    makedepend -fDepend  -I../../../Extern/include/boost -I../../../Extern/include -I/usr/local/include -I../../libmysql/5.x-5.1.35 -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p.obj/ Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp AuctionManager.cpp ProtoReader.cpp CsvReader.cpp  2> /dev/null
    gmake[1]: Leaving directory `/usr/src/novaline/Server/db/src'
    gmake -C db/src clean
    subversion/svn/info-cmd.c:663,
    subversion/libsvn_client/info.c:290,
    subversion/libsvn_wc/info.c:529,
    subversion/libsvn_wc/node.c:505,
    subversion/libsvn_wc/wc_db.c:8458,
    subversion/libsvn_wc/wc_db_wcroot.c:629: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
    svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
    subversion/svn/info-cmd.c:663,
    subversion/libsvn_client/info.c:290,
    subversion/libsvn_wc/info.c:529,
    subversion/libsvn_wc/node.c:505,
    subversion/libsvn_wc/wc_db.c:8458,
    subversion/libsvn_wc/wc_db_wcroot.c:629: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
    svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
    gmake[1]: Entering directory `/usr/src/novaline/Server/db/src'
    gmake[1]: Leaving directory `/usr/src/novaline/Server/db/src'
    gmake -C db/src
    subversion/svn/info-cmd.c:663,
    subversion/libsvn_client/info.c:290,
    subversion/libsvn_wc/info.c:529,
    subversion/libsvn_wc/node.c:505,
    subversion/libsvn_wc/wc_db.c:8458,
    subversion/libsvn_wc/wc_db_wcroot.c:629: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
    svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
    subversion/svn/info-cmd.c:663,
    subversion/libsvn_client/info.c:290,
    subversion/libsvn_wc/info.c:529,
    subversion/libsvn_wc/node.c:505,
    subversion/libsvn_wc/wc_db.c:8458,
    subversion/libsvn_wc/wc_db_wcroot.c:629: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
    svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
    gmake[1]: Entering directory `/usr/src/novaline/Server/db/src'
    compile Config.cpp
    compile NetBase.cpp
    compile Peer.cpp
    compile PeerBase.cpp
    compile Main.cpp
    compile Lock.cpp
    compile DBManager.cpp
    DBManager.cpp: In member function 'void CDBManager::SetLocale(const char*)':
    DBManager.cpp:172: error: 'class CAsyncSQL' has no member named 'SetLocale'
    DBManager.cpp:173: error: 'class CAsyncSQL' has no member named 'SetLocale'
    DBManager.cpp:174: error: 'class CAsyncSQL' has no member named 'SetLocale'
    gmake[1]: *** [.obj/DBManager.o] Error 1
    gmake[1]: Leaving directory `/usr/src/novaline/Server/db/src'
    gmake: *** [db] Error 2
    root@AleXso:/usr/src/novaline/Server #
    
  4. Hi Vanilla,
    I have a problem with the db cache, when I want to stop it I get an error:
    metin2# ./db
    /libexec/ld-elf.so.1: /usr/local/lib32/metin2/libstdc++.so.6: Undefined symbol "_ThreadRuneLocale"
    

    and..

    metin2# ldd db
    db:
            libstdc++.so.6 => /usr/local/lib32/metin2/libstdc++.so.6 (0x2813d000)
            libz.so.6 => /usr/local/lib32/metin2/libz.so.6 (0x2823a000)
            libm.so.5 => /lib/libm.so.5 (0x2824e000)
            libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28263000)
            libthr.so.3 => /lib/libthr.so.3 (0x2826e000)
            libc.so.7 => /usr/local/lib32/metin2/libc.so.7 (0x28283000)
    metin2#
    

    can you help me?

     

     
    metin2# uname -a
    FreeBSD #edited 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     [email protected]:/usr/obj/usr/src/sys/GENERIC  i386
     

     

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.