Jump to content

Denizeri24

Member
  • Posts

    188
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Denizeri24

  1. 3 hours ago, I bims 1 WLAN said:

    I finished this, i have all config lvl 500

    In constants all to 500

     

    I do this:

     

    char.h
    
    Search:
    
    DWORD GetNextExp() const;
    
    
    
    Replace:
    
    		long long    GetNextExp();
    
    Done here..!
    
     
    
    char.cpp
    
    Search:
    
    DWORD CHARACTER::GetNextExp() const
    
    DWORD CHARACTER::GetNextExp() const
    {
        if (PLAYER_EXP_TABLE_MAX < GetLevel())
            return 2500000000U;
        else
            return exp_table[GetLevel()];
    }
    
    Replace:
    
    long long CHARACTER::GetNextExp()
    {
        if (PLAYER_EXP_TABLE_MAX < GetLevel())
            return 420000000000LLU;
        else
            return exp_table[GetLevel()];

    But after relog is my lvl 255 and EXP is -9

    From lvl 499 to 500 i need -EXP

    And i will maximum value higher than 4294967295

     

    check your database (mysql) level integer type, its probably TINYINT (BYTE / uint8_t) chech with SMALLINT

  2. 7 hours ago, blacklistt said:

    It has been 3 years since the issue. i am having this problem. I think that's enough time for you to tell the solution.

    check your mob_proto.txt, you have empty damage value

     

    for temporarily fix, change your function;

     

    CHARACTER::GetMobDamageMax()
    {
    	if (m_pkMobData->m_table.dwDamageRange[1] == 0)
    	{
    		return 1;
    	}
    	else
    	{
    		return m_pkMobData->m_table.dwDamageRange[1];
    	}
    }

     

  3. 12 hours ago, Ulthar said:

    Thanks for answer again.
    Im not getting game.core after the ch start, zero syserr, sero syslog.
    If i want to debug, gdb telling me: (i dont remember perfectly) gdb-> file game-> core game.core-> "cant debug stripped version" Well, i uploaded my not stripped version, and i got the game.core again. Tried the same way, and got the same thing... xD

    EDIT::

    root@:/usr/home/game/share/bin # file game
    game: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 9.2, stripped

    After i used this command, got this message. But after this, nothing happened. I dont have game.core, so i cant do: core game.core. 😕

    I cant run the game in gdb too.

     

     

    I didn't tell you to debug the core file, i told you to debug the game file.

     

    i change my words;

    try debugging --> learn debugging..

  4. 19 minutes ago, TMP4 said:

    Your question doesn't even accurate.
    As you told me yesterday, you want to sell turnkey Metin2 servers in your hosting.
    I'm 100% sure there is no way Webzen allow you to do that in any form in any country, because Webzen do that, you have to buy Webzen itself for doing such activity.

    But if you want a licensed, legal server to distribute Metin2 in a country where there are no current distributor, then that is totally possible.
    Price? Unique price offer most likely what is top secret, we have no information what amount did Z8 Games or TEC Interactive or Ongame or catv.net or even Gameforge paid/paying right now. I hope you are not offended but you most likely doesn't even have the money to hire a great lawyer who can do negotiations in your company's name with Webzen.

      Hide contents

    Again, as I said yesterday in my topic, some hungarian hostings used to offer a paid service for custom gameserver configurations for many game, including Metin2. In that way you bill a vps and a 'custom gameserver configuration' service to your costumer, so in paper you are ok. Just make sure to advertise that in a right way, not saying you are selling Metin2 servers, but your devs can help customer with Metin2 server too among other games. Still gray zone, but you have no better choice to do what you want.

     

    https://company.webzen.com/en/ip#

  5. 38 minutes ago, TMP4 said:

    I see your point and I did it, now the port version compiled with clang++-devel too.
    However it's still the same, auth crash and I getting lost my faith.

     

    etc/make.conf

    CFLAGS += -march=x86-64

    CXXFLAGS += -march=x86-64

    rebuild crpytopp (pkg delete crpytopp --> make clean --> make install) and game.

     

    If the error is not resolved, search this;

    Program terminated with signal SIGILL, Illegal instruction. Privileged opcode.

  6. 1 minute ago, TMP4 said:

    clang for the project (game,db) clang++-devel

    "and when you compile from ports, what you using compiler?"
    Can we choose? I just give cd /usr/ports/security/cryptopp && make install clean command.

    etc/make.conf

    CC = clang-devel

    CXX = clang++-devel

     

    Freebsd has changed default compiler (gcc to clang).

    The devel version is the developer version and the devel version does not come by default in operating systems.

     

    Clang-Devel --> Version 12 or 13

    Clang --> Version 8

    • Love 1
  7. 9 minutes ago, TMP4 said:

    pkg and the port version is the same, but I tried, same result, auth crash.

    What is weird is that when I installs it manually by download it from: 

    Hidden Content

    • Give reaction to this post to see the hidden content.

     and gmake & gmake install it works fine, auth does not crash. There is some difference in the port version and in the cryptopp.com version. As I said the lib (libcryptopp.a) size are different, but that mostly because of compression.

     

    To sum it up:

    • cd /usr/ports/security/cryptopp && make install clean (or via pkg) --> auth crash
    • Installing it by downloading & unzipping this: https://cryptopp.com/cryptopp850.zip and gmake and gmake install --> it works fine

    The result should be the same in either way, but it's not.

     

    whats your compiler? gcc or clang? and what versions?

     

    and when you compile from ports, what you using compiler?  The reason for getting errors in cryptopp is usually compiler diffs (optimizations) and c++ versions..

  8. 8 hours ago, Karbust said:

    The biggest map ever map is 16x16, which is 4 times the size of the desert (4x4), why the hell do you want a map 32x32?

    This is a 32 bit application, probably it's running out of memory. 32 bits applications can only use up to 2GB, or 4GB if compiled large addresses aware, which is the default, at least for the client source, which is also a 32 bit application.

    Summing up, don't be crazy and try to build a gigantic map that has absolutely zero use cases on metin2. Even the 16x16 I never saw any server using it...

    The size of the map will not affect the amount of memory. When you reduce the cache clear time, old area are deleted when the player moves away from the area. This way you can even use an 1024x1024 size map.

×
×
  • 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.