Contributor TMP4 11029 Posted December 19, 2022 Author Contributor Share Posted December 19, 2022 19 hours ago, Pseudabo said: @ TMP4 I thought it might not be a bad idea to change the command clear to clean, because in freebsd clear is for console.. Not too much, but can be more friendly. Yeah you're right. 2022.12.19: - Changed the command name clear to clean and clear.sh to clean.sh just to be match. Clear command is used to clear the console output, now you can use it if you want. 1 1 Link to comment Share on other sites More sharing options...
mylove 3 Posted December 25, 2022 Share Posted December 25, 2022 i want learn thanks for you 1 1 Link to comment Share on other sites More sharing options...
Klugscheisser 2 Posted December 27, 2022 Share Posted December 27, 2022 Thanks for this project 1 1 Link to comment Share on other sites More sharing options...
garofolo 12 Posted December 28, 2022 Share Posted December 28, 2022 (edited) Does anyone have any idea why when I add bonuses to my costumes they show duplicates? Edited December 28, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted December 28, 2022 Author Contributor Share Posted December 28, 2022 (edited) 4 hours ago, garofolo said: Does anyone have any idea why when I add bonuses to my costumes they show duplicates? This error does not exists in this serverfile, therefore you did some bad modification i guess in uitooltip.py. Edited December 28, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Active Member Ulas 173 Posted December 30, 2022 Active Member Share Posted December 30, 2022 (edited) If you're check ProtoReader.cpp can saw big problem string arSize[] = { "SAMLL", "MEDIUM", "BIG"}; Change: string arSize[] = { "SMALL", "MEDIUM", "BIG"}; And have one problem myshop_pricelist doesnt work. Edited December 30, 2022 by Ulas 2 Link to comment Share on other sites More sharing options...
Pepejson 0 Posted January 2, 2023 Share Posted January 2, 2023 Thank you very much, will get to these files after a little bit of c++ learning - after I'll go back to rain files times - the thing all begins here with my IT, sv administration, programming etc. Link to comment Share on other sites More sharing options...
AthenaBazooka 0 Posted January 3, 2023 Share Posted January 3, 2023 Hey @ TMP4 is it possible to Compile the Server SRC with VS22 if yes how. Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted January 3, 2023 Author Contributor Share Posted January 3, 2023 1 hour ago, AthenaBazooka said: Hey @ TMP4 is it possible to Compile the Server SRC with VS22 if yes how. Yes but I don't have a tutorial and not gonna make one. However here's Mali's topic: You can check his project structure and copy things. Link to comment Share on other sites More sharing options...
Active Member Ulas 173 Posted January 3, 2023 Active Member Share Posted January 3, 2023 On 12/30/2022 at 11:39 PM, Ulas said: If you're check ProtoReader.cpp can saw big problem string arSize[] = { "SAMLL", "MEDIUM", "BIG"}; Change: string arSize[] = { "SMALL", "MEDIUM", "BIG"}; And have one problem myshop_pricelist doesnt work. Sorry my fault I don't saw config db/Main.cpp in have g_iItemPriceListTableCacheFlushSeconds Link to comment Share on other sites More sharing options...
AthenaBazooka 0 Posted January 3, 2023 Share Posted January 3, 2023 (edited) 11 hours ago, TMP4 said: Yes but I don't have a tutorial and not gonna make one. However here's Mali's topic: You can check his project structure and copy things. Thanks but i found one more problem. German Translation didden work, im tryed all I replaced locale_string and did all like on ur readme. Edited January 4, 2023 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
catiswater77 1 Posted January 4, 2023 Share Posted January 4, 2023 (edited) @ TMP4small bug on Help window Quote Edited January 4, 2023 by catiswater77 Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Pseudabo 32 Posted January 4, 2023 Share Posted January 4, 2023 On 12/30/2022 at 9:39 PM, Ulas said: If you're check ProtoReader.cpp can saw big problem string arSize[] = { "SAMLL", "MEDIUM", "BIG"}; Change: string arSize[] = { "SMALL", "MEDIUM", "BIG"}; And have one problem myshop_pricelist doesnt work. I already shared this in topic.. Btw. You must change dump proto too, not only source.. Link to comment Share on other sites More sharing options...
Active Member Ulas 173 Posted January 4, 2023 Active Member Share Posted January 4, 2023 (edited) On 12/15/2022 at 10:47 PM, Filiq said: i'm trying for some hours to put the serverfile on a server, and i just get socket_connect: HOST 127.0.0.1:15000, could not connect. i changed ips, ports nothing.. dosen't work anything syserr db SYSERR: Dec 15 21:43:16 :: Start: TABLE_POSTFIX not configured use default SYSERR: Dec 15 21:43:54 :: pid_init: Start of pid: 2080 Don't need sql_mode Change size(enum) -> size(Set) Change setRaceFlag Change in MySQL value setRaceFlag 'ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT','TREE','ATT_ELEC','ATT_FIRE','ATT_ICE','ATT_WIND','ATT_EARTH','ATT_DARK' 5 hours ago, Pseudabo said: I already shared this in topic.. Btw. You must change dump proto too, not only source.. Thx I don't saw Edited January 4, 2023 by Ulas Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted January 4, 2023 Author Contributor Share Posted January 4, 2023 (edited) 21 hours ago, AthenaBazooka said: Thanks but i found one more problem. German Translation didden work, im tryed all I replaced locale_string and did all like on ur readme. Please try again, german language works for me: You can check the vid, I'm changing the lang to hungarian but it's the same for german, just use de files instead of hu: https://youtu.be/gzo6JK8_K9Y?t=481 10 hours ago, catiswater77 said: @ TMP4small bug on Help window I know about this one, there are other occurances when the thinboard windows sticks to the mouse. It's this buggy in every client unless someone fixed it somehow. No plan for me to try fix it, but if there's a public fix, I can apply if somebody give a link. --------------------------- On 12/30/2022 at 9:39 PM, Ulas said: If you're check ProtoReader.cpp can saw big problem string arSize[] = { "SAMLL", "MEDIUM", "BIG"}; Change: string arSize[] = { "SMALL", "MEDIUM", "BIG"}; And have one problem myshop_pricelist doesnt work. SAMLL is a typo, it's an enum so the word does not matter. Also size is unused column. I may correct the word, idk. I treat this things like Easter eggs of Ymir, this is my favorite of them: Spoiler I will try to check & fix myshop_pricelist in the next days. It's unused but I know it never worked correctly. Edited January 4, 2023 by Metin2 Dev Core X - External 2 Internal 1 1 Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted January 5, 2023 Author Contributor Share Posted January 5, 2023 (edited) Mega archive updated: 2023.01.05: - Size column's "SAMLL" value changed to "SMALL" (Dump_proto's ItemCSVReader.cpp and DB's ProtoReader.cpp) - Fixed myshop_pricelist (needs item 71049), tutorial: https://pastebin.com/kNb0Zh7A - SetRaceFlag column in mob_proto was missing some value, here's a query: ALTER TABLE `mob_proto` MODIFY COLUMN `setRaceFlag` set('ANIMAL','UNDEAD','DEVIL','HUMAN', 'ORC','MILGYO','INSECT','FIRE','ICE','DESERT','TREE','ATT_ELEC','ATT_FIRE','ATT_ICE', 'ATT_WIND','ATT_EARTH','ATT_DARK') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '' AFTER `mount_capacity`; - Space between level and alignment (PythonTextTail.cpp CPythonTextTail::ArrangeTextTail) 2023.01.07: - Added locale_string.txt translation for "şŻ°ć ˝ĂĹł ĽÓĽşŔĚ ľř˝Ŕ´Ď´Ů"; (6-7 bonus). Edited January 7, 2023 by TMP4 2 Link to comment Share on other sites More sharing options...
covfefe 32 Posted January 6, 2023 Share Posted January 6, 2023 (edited) Alchemy shows different values than what is in BaseApplys, anyone else noticed this? Edited January 6, 2023 by covfefe Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted January 6, 2023 Author Contributor Share Posted January 6, 2023 (edited) 6 hours ago, covfefe said: Alchemy shows different values than what is in BaseApplys, anyone else noticed this? Do you mean that for example the diamond type have 10 int in your dragon_soul_table.txt but a minimum diamond have 1, and maxed out diamond have 12 int? The txt does not contains the max value, the source does a calculation in DSManager::PutAttributes depending on the grade and level of the dragon stone. If that's not what you meant, please explain. Edited January 6, 2023 by TMP4 Link to comment Share on other sites More sharing options...
porexemplo 13 Posted January 7, 2023 Share Posted January 7, 2023 ld-elf32.so.1: /usr/local/lib/liblcms2.so.2: unsupported file layout After install this files on a VPS with FreeBSD 12 x64 What pkg commands to this files on a VPS I tried to update Libs with others and the error is the same. Link to comment Share on other sites More sharing options...
cherabomba 4 Posted January 7, 2023 Share Posted January 7, 2023 34 minutes ago, porexemplo said: ld-elf32.so.1: /usr/local/lib/liblcms2.so.2: unsupported file layout After install this files on a VPS with FreeBSD 12 x64 What pkg commands to this files on a VPS I tried to update Libs with others and the error is the same. Have you already installed lua 5.3? if yes, install FreeBSD 13. Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted January 7, 2023 Author Contributor Share Posted January 7, 2023 (edited) 1 hour ago, porexemplo said: ld-elf32.so.1: /usr/local/lib/liblcms2.so.2: unsupported file layout After install this files on a VPS with FreeBSD 12 x64 What pkg commands to this files on a VPS I tried to update Libs with others and the error is the same. There are 2 problems here. 1.) The precompiled game and db was compiled in FreeBSD 13.1 so it won't work on FreeBSD 12. You can update your system to 13.1 or you have to recompile the game and db in a FreeBSD 12.x version. 2.) Metin2 (game,db file) is an x32 application with x32 dependencies. Just like windows, you can run x32 applications on x64 systems, don't worry. The problem here is the dependencies. Pkg installs x64 packages (libs/dependencies) while Metin2 needs x32 dependencies. I attached a libs.zip in the mega archive with tutorial to install x32 dependencies manually what is a dirty method but it is what it is. There's no plan for me to port it to x64, that wouldn't be "reference" anymore and I may does not even have the knowledge to fix everything what needs to be changed during the process. Edited January 7, 2023 by TMP4 Link to comment Share on other sites More sharing options...
porexemplo 13 Posted January 7, 2023 Share Posted January 7, 2023 2 hours ago, TMP4 said: There are 2 problems here. 1.) The precompiled game and db was compiled in FreeBSD 13.1 so it won't work on FreeBSD 12. You can update your system to 13.1 or you have to recompile the game and db in a FreeBSD 12.x version. 2.) Metin2 (game,db file) is an x32 application with x32 dependencies. Just like windows, you can run x32 applications on x64 systems, don't worry. The problem here is the dependencies. Pkg installs x64 packages (libs/dependencies) while Metin2 needs x32 dependencies. I attached a libs.zip in the mega archive with tutorial to install x32 dependencies manually what is a dirty method but it is what it is. There's no plan for me to port it to x64, that wouldn't be "reference" anymore. Thanks for the elaborated reply @ TMP4 I bought a VPS from BF, and they don't have a 13.0+ ISO (I already talk to the team, asking for) I'm trying to update the BSD to 13, but it takes a long time. Furthermore, I'm not sure if they blocked the OS update. Should it work on FreeBSD 11 x32 ? Or I have to compile? Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted January 7, 2023 Author Contributor Share Posted January 7, 2023 1 minute ago, porexemplo said: Thanks for the elaborated reply @ TMP4 I bought a VPS from BF, and they don't have a 13.0+ ISO (I already talk to the team, asking for) I'm trying to update the BSD to 13, but it takes a long time. Furthermore, I'm not sure if they blocked the OS update. Should it work on FreeBSD 11 x32 ? Or I have to compile? No it won't work on FreeBSD11. I'm sure it is harder to recompile it in FreeBSD11.x so do not downgrade your system. My personal opinion if a hosting does not let you use custom ISO and does not update the installable os every few months, just leave. You gonna use 12.0 when 14.0 releases soon? Link to comment Share on other sites More sharing options...
porexemplo 13 Posted January 7, 2023 Share Posted January 7, 2023 2 hours ago, TMP4 said: No it won't work on FreeBSD11. I'm sure it is harder to recompile it in FreeBSD11.x so do not downgrade your system. My personal opinion if a hosting does not let you use custom ISO and does not update the installable os every few months, just leave. You gonna use 12.0 when 14.0 releases soon? Thank you. Can you check if the shut.sh on your files are working well? #!/bin/sh echo -e "All Processes Terminated" killall game db I think I made this change, and it worked like a charm. Link to comment Share on other sites More sharing options...
Contributor TMP4 11029 Posted January 7, 2023 Author Contributor Share Posted January 7, 2023 (edited) 16 minutes ago, porexemplo said: Thank you. Can you check if the shut.sh on your files are working well? #!/bin/sh echo -e "All Processes Terminated" killall game db I think I made this change, and it worked like a charm. The close.sh what calls the shut.shs in the cores what reads pid files for checking the needed pid to kill is original code. I think Ymir made this because they run multiple metin2 servers in one machine and killall game db would kill every server. Only problem with the original way if someone runs a clean.sh that deletes the pid file.. So close.sh will not work and they have to stop the server in another way (like killall game db in console). Excluding pid files from clean.sh can solve this problem. While yes if you have 1 server on the machine killall game db works fine, but I keep it original. Edited January 7, 2023 by TMP4 1 Link to comment Share on other sites More sharing options...
Recommended Posts