narcisxb 26 Posted February 25, 2023 Share Posted February 25, 2023 can you run it on FreeBSD 13.0? Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted February 25, 2023 Author Contributor Share Posted February 25, 2023 32 minutes ago, narcisxb said: can you run it on FreeBSD 13.0? Yes but you may need to recompile everything, the main project, and cryptopp and DevIL lib in extern. If you don't know how & what then just update your vps to 13.1 then it should work without doing anything. 1 Link to comment Share on other sites More sharing options...
Pseudabo 32 Posted February 27, 2023 Share Posted February 27, 2023 (edited) Edit: Nothing, sorry for spam, its only my fault, bad backup.. Edited February 27, 2023 by Pseudabo Link to comment Share on other sites More sharing options...
avertusss 8 Posted March 3, 2023 Share Posted March 3, 2023 I don't know why but when i want to restart server db doesn't start(connection refused). I need to restart whole vps xD db.core Core was generated by `./db'. Program terminated with signal SIGSEGV, Segmentation fault. Address not mapped to object. warning: Section `.reg-xstate/100104' in core file too small. #0 0x20784912 in strtoul_l () from /lib/libc.so.7 [Current thread is 1 (LWP 100104)] (gdb) bt full #0 0x20784912 in strtoul_l () from /lib/libc.so.7 No symbol table info available. #1 0x20784b15 in strtoul () from /lib/libc.so.7 No symbol table info available. #2 0x00499c0b in mysql_set_character_set () No symbol table info available. #3 0x004a0b90 in CAsyncSQL::QueryLocaleSet() () No symbol table info available. #4 0x00427f02 in CDBManager::SetLocale (this=0xffbfeb38, szLocale=0x5bd4ed <g_stLocale+1> "latin1") at DBManager.cpp:172 n = 2 stLocale = "latin1" #5 0x0042c366 in CClientManager::InitializeLocalization (this=0xffbfe42c) at ClientManager.cpp:3862 locale = { szValue = "english\000\001\207\001\000\000\000\000\000\001\000\000\000\001A\203 \340A\203 \b\207\001", szKey = "LOCALE\000 \204\201\203 \250\266\177 T\020c L\340\277\377\343bb \000\000\000"} col = 2 n = <optimized out> szQuery = "SELECT mValue, mKey FROM locale\000\204G@\000eG@\000\204G@\000\210\225~ `\340\277\377\333\361s \360A\177 t߿\377\004\000\000\000\210\225~ \00--Type <RET> for more, q to quit, c to continue without paging-- 2\000\000\000\000\000\000\000\001\000\000\000\023\000\000\000\037\000\000\000\037", '\000' <repeats 23 times>, "\017\000\000\000\004\000\000\000\001\000\000\000\000\000\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\004\000\000\000\001\000\000\000\000\000\000\000\321lf \000\000\000\000\321lf ", '\000' <repeats 20 times>, "\250\266\177 \000"... pMsg = 0x2086c3f0 row = <optimized out> #6 0x0042b835 in CClientManager::Initialize (this=0xffbfe42c) at ClientManager.cpp:103 szBindIP = "p\340\277\377\355\255s \360A\177 T\020c \204\340\277\377\306\357a \360A\177 \000\000\000\000\210\225~ \224\340\277\377\277Hk \001\000\000\000\210\225~ \324\340\277\377\201\024s \001\000\000\000\250\266\177 \000\000\000\000Эs \360A\177 \000\000\000\000\360A\177 l\200~ eG@\000\226\030\240>\226\030\240>\250U\177 eG@\000C\342\277\377\360\340\277\377\223\062G\000\360A\177 " tmpValue = <optimized out> iChinaEventServer = <optimized out> #7 0x0042721e in Start () at Main.cpp:409 szBuf = "\000\024\343\277\377\b\000\000\000`\342\277\377H?L \004\200L \000\360\020~s\221b `\342\277\377\b\000\000\000\a\000\000\000\327&@\000\304I<\a0\270\202\r$tL \001", '\000' <repeats 11 times>, "x\343\277\377\000\000\000\000\000\000\000\000(\000\000\000\220pM \210\225~ @\343\277\377\005qx \220pM \200\003\240 \254qM \\rM \b\000\000\000$\343\277\377\216\222b \004\200L H?L X\343\277\377\264\031K \327&@\000\000@\203 \000@\203 T\020c 4\343\277\377\022\221b 0A\203 T\020--Type <RET> for more, q to quit, c to continue without paging-- Any ideas? Link to comment Share on other sites More sharing options...
narcisxb 26 Posted March 3, 2023 Share Posted March 3, 2023 how did you compile the server source on a 64bit freebsd on your vm?! Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 4, 2023 Share Posted March 4, 2023 What wrong with 4 Inventory? I quip sword but i can see on my char. and when i look on the 3 inventory i see my sword.. I dont know where is problem. Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted March 4, 2023 Author Contributor Share Posted March 4, 2023 4 hours ago, GoldCash said: What wrong with 4 Inventory? I quip sword but i can see on my char. and when i look on the 3 inventory i see my sword.. I dont know where is problem. Your serverside have 2 inventory then if you see your equipment in the 3rd inventory on client. Maybe you forgot to recompile game&db? Gameclean gamecompile dbclean dbcompile 11 hours ago, avertusss said: I don't know why but when i want to restart server db doesn't start(connection refused). I need to restart whole vps xD db.core Core was generated by `./db'. Program terminated with signal SIGSEGV, Segmentation fault. Address not mapped to object. warning: Section `.reg-xstate/100104' in core file too small. #0 0x20784912 in strtoul_l () from /lib/libc.so.7 [Current thread is 1 (LWP 100104)] (gdb) bt full #0 0x20784912 in strtoul_l () from /lib/libc.so.7 No symbol table info available. #1 0x20784b15 in strtoul () from /lib/libc.so.7 No symbol table info available. #2 0x00499c0b in mysql_set_character_set () No symbol table info available. #3 0x004a0b90 in CAsyncSQL::QueryLocaleSet() () No symbol table info available. #4 0x00427f02 in CDBManager::SetLocale (this=0xffbfeb38, szLocale=0x5bd4ed <g_stLocale+1> "latin1") at DBManager.cpp:172 n = 2 stLocale = "latin1" #5 0x0042c366 in CClientManager::InitializeLocalization (this=0xffbfe42c) at ClientManager.cpp:3862 locale = { szValue = "english\000\001\207\001\000\000\000\000\000\001\000\000\000\001A\203 \340A\203 \b\207\001", szKey = "LOCALE\000 \204\201\203 \250\266\177 T\020c L\340\277\377\343bb \000\000\000"} col = 2 n = <optimized out> szQuery = "SELECT mValue, mKey FROM locale\000\204G@\000eG@\000\204G@\000\210\225~ `\340\277\377\333\361s \360A\177 t߿\377\004\000\000\000\210\225~ \00--Type <RET> for more, q to quit, c to continue without paging-- 2\000\000\000\000\000\000\000\001\000\000\000\023\000\000\000\037\000\000\000\037", '\000' <repeats 23 times>, "\017\000\000\000\004\000\000\000\001\000\000\000\000\000\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\004\000\000\000\001\000\000\000\000\000\000\000\321lf \000\000\000\000\321lf ", '\000' <repeats 20 times>, "\250\266\177 \000"... pMsg = 0x2086c3f0 row = <optimized out> #6 0x0042b835 in CClientManager::Initialize (this=0xffbfe42c) at ClientManager.cpp:103 szBindIP = "p\340\277\377\355\255s \360A\177 T\020c \204\340\277\377\306\357a \360A\177 \000\000\000\000\210\225~ \224\340\277\377\277Hk \001\000\000\000\210\225~ \324\340\277\377\201\024s \001\000\000\000\250\266\177 \000\000\000\000Эs \360A\177 \000\000\000\000\360A\177 l\200~ eG@\000\226\030\240>\226\030\240>\250U\177 eG@\000C\342\277\377\360\340\277\377\223\062G\000\360A\177 " tmpValue = <optimized out> iChinaEventServer = <optimized out> #7 0x0042721e in Start () at Main.cpp:409 szBuf = "\000\024\343\277\377\b\000\000\000`\342\277\377H?L \004\200L \000\360\020~s\221b `\342\277\377\b\000\000\000\a\000\000\000\327&@\000\304I<\a0\270\202\r$tL \001", '\000' <repeats 11 times>, "x\343\277\377\000\000\000\000\000\000\000\000(\000\000\000\220pM \210\225~ @\343\277\377\005qx \220pM \200\003\240 \254qM \\rM \b\000\000\000$\343\277\377\216\222b \004\200L H?L X\343\277\377\264\031K \327&@\000\000@\203 \000@\203 T\020c 4\343\277\377\022\221b 0A\203 T\020--Type <RET> for more, q to quit, c to continue without paging-- Any ideas? About a year ago someone asked me for help having exactly the same issue like you. He had a vps with 1 (weak) core cpu and 2gb of ram. We switched to a better vps and it got solved, he could start the db every time. (We switched to https://contabo.com/en/vps/ CLOUD VPS S €5.99 / month) If you want to ask me why it happens, I think it's because of the mysql_set_character_set mysql command what db do at start, when the db do it second time the mysql server maybe "reject" it or something. This is just an assumption. Do you want to run the sf on a similarly weak vps? What is your vps's specs? 9 hours ago, narcisxb said: how did you compile the server source on a 64bit freebsd on your vm?! The VM is 32 bit. This does not have 64 bit port. But you can run 32bit applications on x64 system. If you really want to compile on 64 bit then you have 2 choice: -Buy a paid serverfile what src's already moved to 64bit: Owsap's OSF, or Marty V10 (latter not released yet) -Make a 32bit jail on your 64bit FreeBSD and compile there. Link to comment Share on other sites More sharing options...
strangerino 2 Posted March 4, 2023 Share Posted March 4, 2023 Hello, I have installed this serverfile and did some changes to the game file. Now whenever I start the game, it throws me an error saying (ld-elf32.so.1: Shared object "libIL.so.1" not found, required by "game"). I have got DevIL installed and same for tiff. pkg install devil pkg install tiff Both of them are running the latest version, but it still outputs the same error message... What could be wrong? Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted March 4, 2023 Author Contributor Share Posted March 4, 2023 17 minutes ago, strangerino said: Hello, I have installed this serverfile and did some changes to the game file. Now whenever I start the game, it throws me an error saying (ld-elf32.so.1: Shared object "libIL.so.1" not found, required by "game"). I have got DevIL installed and same for tiff. pkg install devil pkg install tiff Both of them are running the latest version, but it still outputs the same error message... What could be wrong? It's not found. You can use the locate command (locate libIL.so.1) to check if you have anywhere that lib in your system. It's like search in windows. But 2 important thing to mention. 1. Recently I changed DevIL from dynamic to static lib, so it does not need shared object (.so) files anymore, it's "embedded" to the game file. 2. Latest version of DevIL is bugged, and you have to fix it, so drop pkg version and use your own. (It's fixed on my latest version) So I suggest you to have a look at Changelog and apply updates. Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 5, 2023 Share Posted March 5, 2023 On 3/4/2023 at 9:34 AM, TMP4 said: Your serverside have 2 inventory then if you see your equipment in the 3rd inventory on client. Maybe you forgot to recompile game&db? Gameclean gamecompile dbclean dbcompile About a year ago someone asked me for help having exactly the same issue like you. He had a vps with 1 (weak) core cpu and 2gb of ram. We switched to a better vps and it got solved, he could start the db every time. (We switched to https://contabo.com/en/vps/ CLOUD VPS S €5.99 / month) If you want to ask me why it happens, I think it's because of the mysql_set_character_set mysql command what db do at start, when the db do it second time the mysql server maybe "reject" it or something. This is just an assumption. Do you want to run the sf on a similarly weak vps? What is your vps's specs? The VM is 32 bit. This does not have 64 bit port. But you can run 32bit applications on x64 system. If you really want to compile on 64 bit then you have 2 choice: -Buy a paid serverfile what src's already moved to 64bit: Owsap's OSF, or Marty V10 (latter not released yet) -Make a 32bit jail on your 64bit FreeBSD and compile there. I just saw that you also wrote to someone to try recompile, so I tried that too, but still nothing Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted March 5, 2023 Author Contributor Share Posted March 5, 2023 (edited) 2 hours ago, GoldCash said: I just saw that you also wrote to someone to try recompile, so I tried that too, but still nothing Here is a video tutorial for 4 inventory installation I just recorded for you: I still think you did not recompile. Do a dbclean gameclean command too. Don't forget to recompile clientside. Edited March 5, 2023 by TMP4 1 1 Link to comment Share on other sites More sharing options...
narcisxb 26 Posted March 5, 2023 Share Posted March 5, 2023 I have a big issue with translating serverside quests and strings. No matter how I configure my text editors it never saves diacritics (accents) in Romanian. I tried everything, 3 or 4 editors (vscode, sublime, notepad++) and it always goes back to default after I save with the correct encoding. Any idea on how to do this?! It just looks terrible without these accents. Link to comment Share on other sites More sharing options...
blanco 181 Posted March 5, 2023 Share Posted March 5, 2023 19 minutes ago, narcisxb said: I have a big issue with translating serverside quests and strings. No matter how I configure my text editors it never saves diacritics (accents) in Romanian. I tried everything, 3 or 4 editors (vscode, sublime, notepad++) and it always goes back to default after I save with the correct encoding. Any idea on how to do this?! It just looks terrible without these accents. the client doesn't support characters like ș and ț (ă â î work fine if i'm not mistaken) you're gonna have to use the turkish alternatives, which work just fine: ş and ţ Link to comment Share on other sites More sharing options...
narcisxb 26 Posted March 5, 2023 Share Posted March 5, 2023 (edited) 43 minutes ago, blanco said: the client doesn't support characters like ș and ț (ă â î work fine if i'm not mistaken) you're gonna have to use the turkish alternatives, which work just fine: ş and ţ the client works just fine, item names for example show those characters. It s those server files that just won't save with the correct encoding. The issue affects only quest names and text and other strings like NPCs text and NPCs dialogue! This is not a client issue. Also does anyone know how to completely get rid of dragon soul? (ctrl+o hotkey, button and quest) Edited March 5, 2023 by narcisxb Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 5, 2023 Share Posted March 5, 2023 3 hours ago, TMP4 said: Here is a video tutorial for 4 inventory installation I just recorded for you: I still think you did not recompile. Do a dbclean gameclean command too. Don't forget to recompile clientside. I think there was a mistake in Visual Coda and therefore I finally used notpad ++ now and everything works Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 6, 2023 Share Posted March 6, 2023 I see when i add 4th inventory then i see after exiting/Changing Char./Logout chinese symbols instead my language What i try --> Used original local_string from VPS TMP4, used notepad++ and used Visual Studio Code Now i dont know where is problem Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted March 6, 2023 Author Contributor Share Posted March 6, 2023 (edited) 1 minute ago, GoldCash said: I see when i add 4th inventory then i see after exiting/Changing Char./Logout chinese symbols instead my language What i try --> Used original local_string from VPS TMP4, used notepad++ and used Visual Studio Code Now i dont know where is problem It's not about locale_string, but 1 step behind, the cpp files itself. If you open them via notepad++ and you did not turn off autodetect character encoding, then every korean word will get corrupt, so it'll not find their pair in locale_string. As I know you're not able to correct the corrupted korean letters once you saved the file. So you should turn off notepad++ auto character encoding, redownload char_item and exchange.cpp from the mega archive, do the 4 inventory modification again, and clean and recompile game and db. Spoiler Edited March 7, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Pseudabo 32 Posted March 6, 2023 Share Posted March 6, 2023 (edited) 3 hours ago, TMP4 said: It's not about locale_string, but 1 step behind, the cpp files itself. If you open them via notepad++ and you did not turn off autodetect character encoding, then every korean word will get corrupt, so it'll not find their pair in locale_string. As I know you're not able to correct the corrupted korean letters once you saved the file. So you should turn off notepad++ auto character encoding, redownload char_item and exchange.cpp from the mega archive, do the 4 inventory modification again, and clean and recompile game and db. Reveal hidden contents You could use the tool from this forum and translate the source in english... The default locale_string would look like english -> own language.. I did it a long time ago and it solves the encoding problems + better understanding code.. Edited March 7, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted March 7, 2023 Author Contributor Share Posted March 7, 2023 6 hours ago, Pseudabo said: You could use the tool from this forum and translate the source in english... The default locale_string would look like english -> own language.. I did it a long time ago and it solves the encoding problems + better understanding code.. I know but it's name is reference for a reason Link to comment Share on other sites More sharing options...
Pseudabo 32 Posted March 7, 2023 Share Posted March 7, 2023 4 minutes ago, TMP4 said: I know but it's name is reference for a reason I don't see why it shouldn't continue to be so... In part, there are things you've done that I wouldn't consider reference anymore... I think this particular one is trivial and should be standard... At least 90% of users would appreciate it. It's not a game changer, just a text change. Hand on heart, who wants to have Korean in a source that nobody understands? We all program in English, I consider it standard, and this is just one of the few things you could do that would be appreciated. Translated with www.DeepL.com/Translator (free version) Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted March 7, 2023 Author Contributor Share Posted March 7, 2023 (edited) 11 minutes ago, Pseudabo said: I don't see why it shouldn't continue to be so... In part, there are things you've done that I wouldn't consider reference anymore... I think this particular one is trivial and should be standard... At least 90% of users would appreciate it. It's not a game changer, just a text change. Hand on heart, who wants to have Korean in a source that nobody understands? We all program in English, I consider it standard, and this is just one of the few things you could do that would be appreciated. Translated with www.DeepL.com/Translator (free version) What I did was 95% of bug fixes and 5% of switchable extension like enable_proxy_ip or enable_port_security or autodetect_internal_ip (I think that's all btw). These extension does not modifiy base structures at all and most people need it. They can be disabled and removed easily. They wasent installed originally if you check changelog but there was a demand for them. In the other hand modifying korean string does affect the base (even if its positive to some ppl.) and you can't revert it easily, that's why I dont want to change them to english. Edited March 7, 2023 by TMP4 Link to comment Share on other sites More sharing options...
Karl 3 Posted March 8, 2023 Share Posted March 8, 2023 (edited) EDIT: I have just downloaded the new version and still can't compile it, getting the same errors. I have an older version (6-8 months older) and I can't compile it anymore. This worked just fine in the last 2 months, I think the issue might be related to visual studio. Any idea how to solve it? I used the clean source without anything modified and it still can't build it (2 months ago it could) Edited March 8, 2023 by Karl Core X - External 2 Internal Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 9, 2023 Share Posted March 9, 2023 On 6. 3. 2023 at 19:39, TMP4 said: Nejde o locale_string, ale o 1 krok pozadu, samotné soubory cpp. Pokud je otevřete přes notepad++ a nevypnuli jste kódování autodetekce znaků, každé korejské slovo se poškodí, takže nenajde jejich pár v locale_string. Jak vím, po uložení souboru nemůžete opravit poškozená korejská písmena. Takže byste měli vypnout automatické kódování znaků v notepad++, znovu stáhnout char_item a exchange.cpp z mega archivu, znovu provést úpravu inventáře 4 a vyčistit a překompilovat hru a db. Skrýt obsah You dont have mega arch. and i go to try it Link to comment Share on other sites More sharing options...
Contributor TMP4 10998 Posted March 9, 2023 Author Contributor Share Posted March 9, 2023 (edited) 39 minutes ago, GoldCash said: You dont have mega arch. and i go to try it For mega archive I meant mega.nz. This is the hidden content, please Sign In or Sign Up Edited March 9, 2023 by TMP4 6 1 1 4 Link to comment Share on other sites More sharing options...
TonisBoss 16 Posted March 9, 2023 Share Posted March 9, 2023 I got a strange bug with guild. When I own guild after reboot I can't invite a player, also when I try to change leader with the item(71099),the new leader can't invite anyone else. guild_member and guild in Navicat are updated correctly. The only thing that make me think about the problem is guild_grade because it's empty. There are no syserr for the error. Thank you in advance. Link to comment Share on other sites More sharing options...
Recommended Posts