Jump to content

Cunoo

Inactive Member
  • Posts

    326
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Cunoo

  1. 7 hours ago, Maivin said:

    Yes, but without the need for them to be destroyed, every 1h they are automatically regenerated

    For what needed this regen function? Normal player dont has chance for destroy npc.. This is possible only from GM char (purge) and for this original regen working same as kill.. You have specified reason for new regen function?  This is for dungeon or what?

    Edit: So much servers has dungeon npc with kill after use in part and new regen.. If you want change 1h respawn without kill just edit time in source, but I dont know whats your reason for this..

    Edit2: I check your first post.. "
     I make the npcs self-refresh in the cities? "only npc" not all the contents of the map"

    City = Why? Not reason for this.. If server crash = automatic regen, normal player dont kill npc = Not reason for this.. All the contents of the map, this is what? Regen for NPC is only for NPC.. What is all contents of the map? We rlly dont understand you bro.. Specified more please your problem..

  2. HEllo everyone i using vanilla core and i have little problem i dont know why.. can anyone help me please ?
    error and screens:
    error :
    SYSERR: Jan 29 21:26:47 :: socket_connect: HOST localhost:26842, could not connect.
    SYSERR: Jan 29 21:26:50 :: socket_connect: HOST localhost:26842, could not connect.
    SYSERR: Jan 29 21:26:53 :: socket_connect: HOST localhost:26842, could not connect.
    SYSERR: Jan 29 21:26:56 :: socket_connect: HOST localhost:26842, could not connect.
    SYSERR: Jan 29 21:26:59 :: socket_connect: HOST localhost:26842, could not connect.
    SYSERR: Jan 29 21:27:02 :: socket_connect: HOST localhost:26842, could not connect.
    SYSERR: Jan 29 21:27:05 :: socket_connect: HOST localhost:26842, could not connect.


    g99 :
    SYSERR: Jan 29 21:46:32 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'time' at row 1 (query: INSERT INTO bootlog (time, hostname, channel) VALUES(NOW(), 'game99', 99) errno: 1264)
    SYSERR: Jan 29 21:51:35 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.

    DB :
    SYSERR: Jan 29 21:17:40 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Jan 29 21:17:40 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
    SYSERR: Jan 29 21:17:47 :: Process: FDWATCH: peer null in event: ident 20
    SYSERR: Jan 29 21:17:50 :: Process: FDWATCH: peer null in event: ident 21
    SYSERR: Jan 29 21:17:52 :: Process: FDWATCH: peer null in event: ident 22
    SYSERR: Jan 29 21:17:54 :: Process: FDWATCH: peer null in event: ident 20
    SYSERR: Jan 29 21:17:54 :: Process: FDWATCH: peer null in event: ident 23
    SYSERR: Jan 29 21:27:06 :: pid_init:
    Start of pid: 1300

    SYSERR: Jan 29 21:27:06 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Jan 29 21:27:06 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
    SYSERR: Jan 29 21:30:38 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan 29 21:34:34 :: pid_init:
    Start of pid: 919

    SYSERR: Jan 29 21:34:34 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Jan 29 21:34:35 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
    SYSERR: Jan 29 21:37:51 :: pid_init:
    Start of pid: 973

    SYSERR: Jan 29 21:37:51 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Jan 29 21:37:51 :: socket_bind: bind: Address already in use
    SYSERR: Jan 29 21:40:54 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan 29 21:46:22 :: pid_init:
    Start of pid: 919

    SYSERR: Jan 29 21:46:22 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Jan 29 21:46:22 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
    SYSERR: Jan 29 21:51:35 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan 29 22:00:52 :: pid_init:
    Start of pid: 930


    SYSERR: Jan 30 08:54:29 :: socket_connect: HOST localhost:26842, could not connect.
    SYSERR: Jan 30 08:54:29 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan 30 08:54:30 :: load: ANI directory = (null)
    SYSERR: Jan 30 08:54:30 :: pid_deinit:

    In conzole

    Assertion failed: (!ms_singleton), function singleton, file ./../../common/singleton.h, line 13.
    Abort trap

     

     

     

  3. 7 hours ago, Mind Rapist said:

    # python build_locale_string.py in your terminal, but this will only add the korean strings, you'll have to start translating each string seperately.

    Yes that I want! :D Great!

    @SussyFlore

    I know, but I must check all files.. Not good for my free time.. Better for me is generate LC_TEXT from source just all in locale_string and translate it.. Its so ugly if I have one language, but fastest.. Maybe only translate in english, because universal language, but for my language I  dont want it.. :D

  4. On 1/6/2019 at 5:24 AM, Mind Rapist said:

    I'm gonna make this as simple as it gets.

    Run the following commands as root:

    
    #service mysql-server stop
    #cd /var/db
    #tar -zcvf mysql.tar.gz ./mysql
    #rm -rf ./mysql

    Reboot your machine. Once mysql-server service runs without a /var/db/mysql folder, it automatically creates it's own.

    Run these now:

    
    #service mysql-server stop
    #/usr/local/bin/mysqld_safe --skip-grant-tables &
    #mysql -u root mysql
    > INSERT INTO mysql.user (host, user, password, select_priv, insert_priv, update_priv, delete_priv, create_priv, drop_priv, reload_priv, shutdown_priv, process_priv, file_priv, grant_priv, references_priv, index_priv, alter_priv, show_db_priv, super_priv, create_tmp_table_priv, lock_tables_priv, execute_priv, repl_slave_priv, repl_client_priv, create_view_priv, show_view_priv, create_routine_priv, alter_routine_priv, create_user_priv, event_priv, trigger_priv, create_tablespace_priv) VALUES ('%', 'root', PASSWORD('your-remote-root-password'), 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y',);
    > flush privileges;
    > exit;
    #killall mysqld
    #service mysql-server start

    WARNING: I'm using Maria-DB, not MySQL, which I'm strongly suggesting to do as well. If not, your system may defer from mine. There for you should check the INSERT command and modify it according to your fields. To see your fields type the command below right before INSERT INTO

    
    SELECT * FROM mysql.user;

    If you run this and see that a root user with % host is already there, INSERT won't work. Instead, change the password like this:

    
    > UPDATE mysql.user SET password=PASSWORD('your-specified-password') WHERE user='root';

    and after that continue as displayed above.

    When this is done and you check that you can log in MySQL from Navicat (or your software) copy the tar file in /var/db into your local drive and open it. In your FTP software, go in the folder /var/db/mysql and drag & drop everything from your tar file EXCEPT mysql folder!!!

     All this until now will definately solve your mysql database problem. For the other databases, download other Serverfiles and replace the tables that cannot be fixed. But again, DO NOT TOUCH mysql FOLDER! You can download any SF you want (Fliege, Maxmi, Invoice), the databases should be the same.

    I hope this was helpful.

    Best regards

    https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

    https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

    i using all time fliegefiles

    ERROR
    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'the manual that                                                                 ' at line 1
    mysql> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that                                                                                         corresponds to your MySQL server version for the right syntax to use near ')' at                                                                                         line 1
    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ERROR 1064 (42000): You have an error in your SQL syntax' at line 1
        -> mysql>

     

  5. 15 hours ago, DarkAng3l said:
    
    DROP TABLE IF EXISTS `bootlog`;
    CREATE TABLE `bootlog` (
      `time` datetime DEFAULT NULL,
      `hostname` varchar(255) DEFAULT NULL,
      `channel` tinyint(3) DEFAULT NULL
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPRESSED;

    Change ENGINE and CHARSET for your server.

    https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

    https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png  look at this 

    and when i open doesnt exist

  6. SYSERR: Aug 29 04:24:39 :: socket_bind: bind: Address already in use
    SYSERR: Aug 29 04:24:39 :: ChildLoop: AsyncSQL::ChildLoop : mysql_query error: Out of range value for column 'time' at row 1:
    query: INSERT INTO bootlog (time, hostname, channel) VALUES(NOW(), 'game1_1', 1)
    SYSERR: Aug 29 04:24:43 :: pid_init: 
    Start of pid: 88400

    SYSERR: Aug 29 04:24:43 :: socket_bind: bind: Address already in use
    SYSERR: Aug 29 04:24:43 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'time' at row 1 (query: INSERT INTO bootlog (time, hostname, channel) VALUES(NOW(), 'game1_1', 1) errno: 1264)
    SYSERR: Aug 29 04:24:45 :: pid_init:

    hello everyone can u help me with this ?

  7. HEllo everyone i have problem with connect in game after select character i got kick (40k) i just change in source and binnary source this:

    Serverside: desc_client.cpp

    if (!bSentBoot)
    {
    bSentBoot = true;
    TPacketGDBoot p;
    p.dwItemIDRange[0] = 0;
    p.dwItemIDRange[1] = 0;
    memcpy(p.szIP, "My IP", 16);
    DBPacket(HEADER_GD_BOOT, 0, &p, sizeof(p));
    }
    }

    TEMP_BUFFER buf;

    TPacketGDSetup p;

    memset(&p, 0, sizeof(p));
    strlcpy(p.szPublicIP, "My IP", sizeof(p.szPublicIP));
    Clientside: NetAddress.cpp


    void CNetworkAddress::GetIP(char* szIP, int len)
    {
    BYTE IPs[4];
    *((DWORD*)IPs)=m_sockAddrIn.sin_addr.s_addr;

    _snprintf(szIP, len, "My IP", IPs[0], IPs[1], IPs[2], IPs[3]);

    This is fix for select kick and dont work sysser (game1) written :
    SYSERR: Dec 6 01:21:37 :: socket_connect: HOST MyIP:14011, could not connect.
    I allow ports i dont understand please someone help me

  8. Its part in model.. You must edit in editor (blender/3ds max).. Granny viewer is only viewer.. You can view 3D model, not edit..

    Edit: I dont have tutorial, but see yt.. More guys showing how to create/edit models like metin..

    8 hours ago, Jawwad said:

     

    I tried to open that suit in 3ds max, but I get an error and the program closes, but, when I try to open an default suit like soccer or something else it's working.

     

    Do you have a tutorial for what you said there?

     

    I mean you need .gr2 plugin for 3ds max same for blender..  I´m not 3D modeller but I mean it is so..

    I see long time ago this files in this forum.. Search..

    Edit2: Maybe this model has protect for edit.. I dont know.. My idea..

  9. Hi guys,

    someone has fix for this error in client syserr?

    1204 10:13:00984 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3
    1204 10:13:07512 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/characterselect.mp3
    1204 10:13:20556 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/M2BG.mp3

    Where is problem? I have this .mp3 files in BGM.

    Edit: Oh, okay I know where is problem.. I dont have folder "miles" in client, but is packed in binary.. Mhm someone has better solution than disable error message in source??

  10. On 11/26/2018 at 10:39 PM, Caramelito said:

    I was wondering where is the bonus "defence against arrows" required by this type of monsters in the source.

    char_skill.cpp:

    if (pkChrVictim->IsNPC())
    		{
    			if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_WIND))
    			{
    				iDam = iDam * (100 - pkChrVictim->GetPoint(POINT_RESIST_WIND)) / 100;
    			}
    
    			if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_ELEC))
    			{
    				iDam = iDam * (100 - pkChrVictim->GetPoint(POINT_RESIST_ELEC)) / 100;
    			}
    
    			if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_FIRE))
    			{
    				iDam = iDam * (100 - pkChrVictim->GetPoint(POINT_RESIST_FIRE)) / 100;
    			}
    		}

    Maybe this is your problem?

    battle.cpp:

    if (pkVictim->IsNPC())
    	{
    		if (pkVictim->IsRaceFlag(RACE_FLAG_ANIMAL))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_ANIMAL)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_UNDEAD))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_UNDEAD)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_DEVIL))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_DEVIL)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_HUMAN))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_HUMAN)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_ORC))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_ORC)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_MILGYO))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_MILGYO)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_INSECT))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_INSECT)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_FIRE))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_FIRE)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_ICE))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_ICE)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_DESERT))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_DESERT)) / 100;
    		else if (pkVictim->IsRaceFlag(RACE_FLAG_TREE))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_TREE)) / 100;
    
    		iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_MONSTER)) / 100;
    	}


    Edit: Maybe if you use on monster arrow_defense bonus.. Working if you use ninja -> bow??

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