Jump to content

[40250] Reference Serverfile + Client + Src [15 Available Languages]


TMP4

Recommended Posts

HU:

Szia!
volna egy kis problémám a 4 leltárral a hiba pedig az lenne, hogy elvileg „tökéletesen működik” csak valamiért nem talál meg egy használatban 
lévő tárgyakat mit lehet ilyenkor csinálni?

 

EN:

Hi! there would be a little problem with the 4 inventory and the mistake would be that in principle it “works perfectly” just for some reason you can’t find it in one use what can be done in such cases?

Kép a hibáról:

https://metin2.download/picture/8tdJNnQ7M6dqh9ySX4q3hSTMxxzv1wU9/.png

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Contributor
3 hours ago, Zhyte said:

HU:

Szia!
volna egy kis problémám a 4 leltárral a hiba pedig az lenne, hogy elvileg „tökéletesen működik” csak valamiért nem talál meg egy használatban 
lévő tárgyakat mit lehet ilyenkor csinálni?

 

EN:

Hi! there would be a little problem with the 4 inventory and the mistake would be that in principle it “works perfectly” just for some reason you can’t find it in one use what can be done in such cases?

Kép a hibáról:

https://metin2.download/picture/8tdJNnQ7M6dqh9ySX4q3hSTMxxzv1wU9/.png

 

 

Your serverside have 2 inventory. Maybe you forgot to recompile the game file?

  • dbclean
  • dbcompile
  • gameclean
  • gamecompile
Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

HU:

Szia ismét segítségre van szükségem!

be szerettem volna rakni a hatodik skilleket, ami meg is történt félig sikerült is (harcos, ninjánál).

Itt működnek a skillek

De a suráknál és sámánoknál nem jelennek meg.

valamint mindegyik kasztnál el van csúszva vagy fel van cserélődévé a skill tábla iconjai mit lehet ilyenkor csinálni? mit rontottam el?

 

EN:

Hi I need help again I wanted to put in the sixth skills, which was half-done (warrior, ninja). This is where the skills work But they do not appear in shuras and shamans and the icons on the skill board are slipped or replaced for each caste, what can you do? what have I done wrong?

 

Kép a hibáról:

 

Image of the error:

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

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Contributor
3 hours ago, chr1sey said:

@ TMP4i solved the problem with the 4th inventory. However, I modified give_basic_weapon from folder server/quest,but it still gives me the suitcase and It doesn't work. What "give_basic_weapon" have I to modify specificly?

In 2012 Ymir & Gameforge introduced the Apprentice Chests and they put those in give_basic_weapon_new.quest.
You can find the quests in use in the locale_list file.

Link to comment
Share on other sites

  • Contributor
11 hours ago, SmyleMDFK said:

TMP4 You know that server have problem with peer map's  , if you make one account at red and one at blue and take the command /u , you dont see that account.

/u only works in the same core. Red and Blue maps are in different core in this serverfile for load balancing.
/w works in the same channel if you want to know the player count in that ch, but that's not showing the names.

It is how these command worked since the first Rain serverfiles. Not gonna modify it. If you wanna improve it, you can, open source.

Peer to peer communication working fine, whisper, shout, adding as friend etc works fine with different cores and channels too.

 

  • Good 1
Link to comment
Share on other sites

@ TMP4whenever i modify something i need to reset tables in navicat (account,common,player) bcs it gives me connection refused in putty, its ok but when i try to modify some items bonus or anything in item/mob proto working until THE NEXT CHANGE when i need to reset again the tables (bcs of connection refused in putty) and i lost all the progress/edits in protos. 

there is a fix or smth?

 

Link to comment
Share on other sites

  • Contributor
53 minutes ago, p0NDENUSH said:

@ TMP4whenever i modify something i need to reset tables in navicat (account,common,player) bcs it gives me connection refused in putty, its ok but when i try to modify some items bonus or anything in item/mob proto working until THE NEXT CHANGE when i need to reset again the tables (bcs of connection refused in putty) and i lost all the progress/edits in protos. 

there is a fix or smth?

 

Maybe your modifications are bad?

Show examples.

Link to comment
Share on other sites

2 minutes ago, TMP4 said:

Maybe your modifications are bad?

Show examples.

Cant be bad bcs they work -drop edits/proto bonuses (after i reset tables) and they are “saved”  but like i said i dont want to reset them almost everytime 

5 minutes ago, TMP4 said:

Maybe your modifications are bad?

Show examples.

i want to made custom bonuses of effect items like lolly and “itemshop rings” i know how to change description of items but like i said its all good when i change in item proto but in future if somehow i made a bad edit in smth else and i need to reset navicat tables i lose the progres of what i say and edit in proto..

Link to comment
Share on other sites

  • Contributor
3 hours ago, p0NDENUSH said:

Cant be bad bcs they work -drop edits/proto bonuses (after i reset tables) and they are “saved”  but like i said i dont want to reset them almost everytime 

i want to made custom bonuses of effect items like lolly and “itemshop rings” i know how to change description of items but like i said its all good when i change in item proto but in future if somehow i made a bad edit in smth else and i need to reset navicat tables i lose the progres of what i say and edit in proto..

Protos are in txts in 40k and will be mirrored in each start to the database.
(metin2/server/share/conf/item_proto.txt)

Link to comment
Share on other sites

Hi tmp4,

I was trying to increase the pull range by editing FuncAggregateMonster. But it seems that there is something other than the DISTANCE_APPROX check limiting the max range.

struct FuncAggregateMonster
{
	LPCHARACTER m_ch;
	FuncAggregateMonster(LPCHARACTER ch)
	{
		m_ch = ch;
	}
	void operator()(LPENTITY ent)
	{
		if (ent->IsType(ENTITY_CHARACTER))
		{
			LPCHARACTER ch = (LPCHARACTER) ent;
			if (ch->IsPC())
				return;
			if (!ch->IsMonster())
				return;
			if (ch->GetVictim())
				return;
			if (DISTANCE_APPROX(ch->GetX() - m_ch->GetX(), ch->GetY() - m_ch->GetY()) < 20000)
				if (ch->CanBeginFight()) 
				{
					ch->AddAffect(AFFECT_MOV_SPEED, POINT_MOV_SPEED, 700, AFF_MOV_SPEED_POTION, 500, 0, true);
					ch->BeginFight(m_ch);
				}
		}
	}
};

I added a movementspeed Affect and got very weird behaviour. The movementspeed bonus is applied to mobs way further than the "standard" pull range, yet no mobs outside of the standard pull range get aggressive towards my character.

Do you know what's causing this?

EDIT: 
Oh and I am posting this here, because the same code snipped works on other serverfiles.

Edited by Elowinz
Link to comment
Share on other sites

Hi @ TMP4, i have a problem with the DB, when i start MySQL 8.0 on FreeBSD 13.1 x64:

 

# service mysql-server start
Starting mysql.
 # service mysql-server status
mysql is not running.

 

in my /var/db/mysql  *.err :

Spoiler

2022-05-13T15:58:26.6NZ mysqld_safe Logging to '/var/db/mysql/AwakenII.err'.
2022-05-13T15:58:26.6NZ mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
2022-05-13T15:58:27.503003Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
2022-05-13T15:58:27.503113Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503182Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503322Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2022-05-13T15:58:27.503703Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503802Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
2022-05-13T15:58:27.503891Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503940Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.504068Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2022-05-13T15:58:27.504387Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.512483Z 0 [System] [MY-010116] [Server] /usr/local/libexec/mysqld (mysqld 8.0.29) starting as process 28069
2022-05-13T15:58:27.645031Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/db/mysql/auto.cnf' is ignored.
2022-05-13T15:58:27.646034Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/db/mysql/auto.cnf' has been removed.
2022-05-13T15:58:27.647228Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 87008867-d2d5-11ec-92c9-dca632fa7384.
2022-05-13T15:58:27.673038Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
2022-05-13T15:58:27.673202Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-05-13T15:58:28.267872Z 1 [ERROR] [MY-012263] [InnoDB] The Auto-extending innodb_system data file '/var/db/mysql/ibdata1' is of a different size 1152 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
2022-05-13T15:58:28.268142Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2022-05-13T15:58:28.271297Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
2022-05-13T15:58:28.272647Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-05-13T15:58:28.273443Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-05-13T15:58:28.287337Z 0 [System] [MY-010910] [Server] /usr/local/libexec/mysqld: Shutdown complete (mysqld 8.0.29)  Source distribution.
2022-05-13T15:58:28.6NZ mysqld_safe mysqld from pid file /var/db/mysql/AwakenII.pid ended
 

 

i can change the my.conf configuration for reduce the ibdata1 dimension to 18M but if i change this, return the error "Redo log is compatible for MySQL ver 5.7 bla bla bla..."

Help me pleasee.
 

Link to comment
Share on other sites

  • Management
6 minutes ago, soxis94 said:

Hi @ TMP4, i have a problem with the DB, when i start MySQL 8.0 on FreeBSD 13.1 x64:

 

# service mysql-server start
Starting mysql.
 # service mysql-server status
mysql is not running.

 

in my /var/db/mysql  *.err :

  Hide contents

2022-05-13T15:58:26.6NZ mysqld_safe Logging to '/var/db/mysql/AwakenII.err'.
2022-05-13T15:58:26.6NZ mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
2022-05-13T15:58:27.503003Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
2022-05-13T15:58:27.503113Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503182Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503322Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2022-05-13T15:58:27.503703Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503802Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
2022-05-13T15:58:27.503891Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503940Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.504068Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2022-05-13T15:58:27.504387Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.512483Z 0 [System] [MY-010116] [Server] /usr/local/libexec/mysqld (mysqld 8.0.29) starting as process 28069
2022-05-13T15:58:27.645031Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/db/mysql/auto.cnf' is ignored.
2022-05-13T15:58:27.646034Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/db/mysql/auto.cnf' has been removed.
2022-05-13T15:58:27.647228Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 87008867-d2d5-11ec-92c9-dca632fa7384.
2022-05-13T15:58:27.673038Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
2022-05-13T15:58:27.673202Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-05-13T15:58:28.267872Z 1 [ERROR] [MY-012263] [InnoDB] The Auto-extending innodb_system data file '/var/db/mysql/ibdata1' is of a different size 1152 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
2022-05-13T15:58:28.268142Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2022-05-13T15:58:28.271297Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
2022-05-13T15:58:28.272647Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-05-13T15:58:28.273443Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-05-13T15:58:28.287337Z 0 [System] [MY-010910] [Server] /usr/local/libexec/mysqld: Shutdown complete (mysqld 8.0.29)  Source distribution.
2022-05-13T15:58:28.6NZ mysqld_safe mysqld from pid file /var/db/mysql/AwakenII.pid ended
 

 

i can change the my.conf configuration for reduce the ibdata1 dimension to 18M but if i change this, return the error "Redo log is compatible for MySQL ver 5.7 bla bla bla..."

Help me pleasee.
 

MySQL 8 is good, but... You need to modify some SQL queries (wrap some column names) in Metin2 sources to be compatible with MySQL 8, and password function.

Link to comment
Share on other sites

  • Contributor
4 minutes ago, soxis94 said:

Hi @ TMP4, i have a problem with the DB, when i start MySQL 8.0 on FreeBSD 13.1 x64:

 

# service mysql-server start
Starting mysql.
 # service mysql-server status
mysql is not running.

 

in my /var/db/mysql  *.err :

  Reveal hidden contents

2022-05-13T15:58:26.6NZ mysqld_safe Logging to '/var/db/mysql/AwakenII.err'.
2022-05-13T15:58:26.6NZ mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
2022-05-13T15:58:27.503003Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
2022-05-13T15:58:27.503113Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503182Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503322Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2022-05-13T15:58:27.503703Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503802Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
2022-05-13T15:58:27.503891Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.503940Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.504068Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2022-05-13T15:58:27.504387Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2022-05-13T15:58:27.512483Z 0 [System] [MY-010116] [Server] /usr/local/libexec/mysqld (mysqld 8.0.29) starting as process 28069
2022-05-13T15:58:27.645031Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/db/mysql/auto.cnf' is ignored.
2022-05-13T15:58:27.646034Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/db/mysql/auto.cnf' has been removed.
2022-05-13T15:58:27.647228Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 87008867-d2d5-11ec-92c9-dca632fa7384.
2022-05-13T15:58:27.673038Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
2022-05-13T15:58:27.673202Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-05-13T15:58:28.267872Z 1 [ERROR] [MY-012263] [InnoDB] The Auto-extending innodb_system data file '/var/db/mysql/ibdata1' is of a different size 1152 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
2022-05-13T15:58:28.268142Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2022-05-13T15:58:28.271297Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
2022-05-13T15:58:28.272647Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-05-13T15:58:28.273443Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-05-13T15:58:28.287337Z 0 [System] [MY-010910] [Server] /usr/local/libexec/mysqld: Shutdown complete (mysqld 8.0.29)  Source distribution.
2022-05-13T15:58:28.6NZ mysqld_safe mysqld from pid file /var/db/mysql/AwakenII.pid ended
 

 

i can change the my.conf configuration for reduce the ibdata1 dimension to 18M but if i change this, return the error "Redo log is compatible for MySQL ver 5.7 bla bla bla..."

Help me pleasee.
 

MySQL 8.0 is not supported. You have to do several changes to make it usable. For start, I suggest this topic:

Any questions please open a topic in q&a.

Link to comment
Share on other sites

On 7/10/2022 at 10:24 AM, TMP4 said:

MySQL 8.0 is not supported. You have to do several changes to make it usable. For start, I suggest this topic:

Any questions please open a topic in q&a.

Tnx for the reply, i've controlled source file, but in this release ([40250] Reference Serverfile + Client + Src [15 Available Languages] by @ TMP4)

if i'm not wrong, the file are updated to mysql 8.0 or not ? because in the file game src the password function are not present. 

Link to comment
Share on other sites

  • Contributor
3 hours ago, soxis94 said:

Tnx for the reply, i've controlled source file, but in this release ([40250] Reference Serverfile + Client + Src [15 Available Languages] by @ TMP4)

if i'm not wrong, the file are updated to mysql 8.0 or not ? because in the file game src the password function are not present. 

Password function is a mysql function, not from the metin2 server.

This serverfile is not prepared to use mysql 8.0.

Use 5.5 or 5.6

Edited by TMP4
Link to comment
Share on other sites

On 7/16/2022 at 10:23 AM, xPaukex said:

i need help when i start server change ip in root pack root and metin2 dont open how i need help

 

bro seems you doing somthing wrong in server file. I had the same issue when i set wrong IP or delete name servers. I packed it again in root folder and i got black screen once trying to launch. Check twice your changes

  • Think 1
Link to comment
Share on other sites

Announcements



  • Similar Content

  • Activity

    1. 11

      Metin2 Closed Beta Content (2003-2004)

    2. 11

      Metin2 Closed Beta Content (2003-2004)

    3. 0

      Football Ground

    4. 11

      Metin2 Closed Beta Content (2003-2004)

    5. 0

      Error compile binary Zentoria2

    6. 11

      Metin2 Closed Beta Content (2003-2004)

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.