Jump to content

TMP4

Contributor
  • Posts

    1110
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Everything posted by TMP4

  1. 1. cmd_general.cpp: #define MAX_STAT 90 // Modifiy 90 to max stat 2. char.cpp: (GetLevel() < 91) PointChange(POINT_STAT, 1); // Modifiy 91 to max stat + 1 3. char.cpp: PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); // Modifiy 90 to max stat -------------- Edit: One thing I just noticed now. In the 3., the original code from kraizy.tgz is like this: if(iLv <= 90) PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); else PointChange(POINT_STAT, 270 - GetPoint(POINT_STAT)); I think now if you do /level 91 you get 267 point instead of 270. I don't know why Mali modified this but I'm gonna modify it back to it's original state. ("one dumb question" Even if it was dumb, you helped me discover this modification so thank you ) Edit: Mega archive updated. 2023.04.09: - Char.cpp CHARACTER::ResetPoint's POINT_STAT was modified, changed back to original code. (Line: 5934-5939)
  2. Hello. The Google Cloud provides you private networking, therefore it is similar to a home network when players outside the network can't get farther then the chraselect. You may ask why: It is simple. When you select your character, you're getting to put in to one core, but that core's ip address is private what you can't reach from outside of the server's local network. There's a solution for that, here it is: Your second problem: "Could not Load ThreeWayWar Setting file" That's the first file the server want to load. If you did not delete the file (forkedmapindex.txt) you may changed the locale for example but did not do it properly. You changed the english folder to hungary/germany/etc but the serverfile still wants to read it from the english folder. Of course there can be other reason, you modified the file and now it have wrong syntax etc.
  3. Commands are working fine. You mean the downloadable packages are removed from the mirrors after it's reached EOL. By the way if someone have the package in the cache folder then pkg install will work. Ofc it's not the case here since he does not have it. Then be clear, in your topic you only said you're looking for FreeBSD11.4. Did installation from the ports fails too? That uses multiple mirrors. If it fails, it'll write the filename (and the hash if I remember) so you can look the file up on the internet and download yourself, place it to /usr/ports/distfiles and continue the installation. (If you don't know how to install from ports, please look it up on Google.)
  4. If you really need it.. [Hidden Content]
  5. Your db syserr says it can't connect to mysql server on 127.0.0.1, while you say you're able to reach it from outside (from the internet). If you change 127.0.0.1 to your vps's public ip and metin2 & password to root and rootpassword in every config file and db/conf.txt then it would probably work. Should you do it? Just for testing, there's a reason metin2 uses a local user for the db (security). Also a local connection is probably faster I think. I'm not able to debug your FreeBSD's mysql server remotely. If It would be my vps, I would check first if "localhost" works instead of the 127.0.0.1, then check the metin2@localhost db user what is probably fine, then ask the hosting about are there any preinstalled firewall or port filter.
  6. I'm not seeing any error there but can you log in to mysql? (Via navicat/heidisql) Or just the Metin2 server can't connect to it?
  7. Download Alternative download links → Metin2 Download Recently I took out a legacy project what did not had txt protos. I looked for txt to sql converters, you can find a few, but none of them were perfect and they were closed source so I wasen't able to fix them. I wrote one for myself in PHP, so it is open source. Today I decided to share it, so I made a form for it too. There's not much to say, using the converter is pretty straightforward, check the screenshot below. It requires PHP 7.4 or greater.
  8. Your syserr says that it can't connect to your mysql server. Did you install the mysql server? Not the mysql data (metin2mysql.tar.gz) but the server. Install it with pkg install mysql56-server. If it's installed then check error logs of mysql server why it couldn't start.
  9. For 1-5 player you can choose any hosting.. [Hidden Content] CLOUD VPS S €5.99 / month
  10. There are multiple sash system, here's one for example: https://metin2.download/get/1r0L264uH9r0HR94kRSGzwtwsg45wzoX/ in char.cpp else if ((bPos == 1) && (m_bSashAbsorption)) { if ((pkItem->GetType() != ITEM_WEAPON) && (pkItem->GetType() != ITEM_ARMOR)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can absorb just the bonuses from armors and weapons.")); return; } else if ((pkItem->GetType() == ITEM_ARMOR) && (pkItem->GetSubType() != ARMOR_BODY)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can absorb just the bonuses from armors and weapons.")); return; } } You can modify it to else if ((bPos == 1) && (m_bSashAbsorption) && (pkItem->GetType() != ITEM_WEAPON)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can absorb just the bonuses from weapons.")); return; } To your other question about Magic Stone, your question does not reveal whether the character has a limit of 75 or the item. Anyway it is as easy as the sash question. What I suggest to you is to learn some basic programming. You can't be a metin2 developer if you don't know the basics of programming.
  11. Diagram view from db/usage.txt, where you can choose an interval for the view, maybe show some summary/analysis of the data, highliths of peak times etc. (usage.txt logs online player count for each hour.)
  12. I just created a guild and it does insert it's data to guild_grade right away. (guild id 2) If you missing these lines then ofc you can't invite anyone after restart since the leader have ADD_MEMBER and the other permissions set there, and after a full server restart it'll load from there. You have to find the error on your side. I know you said syserr is empty but check db's syserr too, since if an sql query fails, it'll log there and not to the game core.
  13. 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.
  14. 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.
  15. 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.
  16. Are u using 936 newcibn (chinese) too as OP? This is an important factor here.
  17. If I were you, I would first find out if this happens in a basic source files and client. If yes, then the research can continue here, if not, then not because this forum forbids you to share paid content (Unless it's leaked from Gameforge/Webzen ), without the files we cannot help, so you have to find another forum/ppl..
  18. 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.
  19. 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 [Hidden Content] 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.
  20. I completely understand you guys but my problem here is that Amazon/Google and Aeldra case is not the same. Google broke laws, they restricted competition and seperated the market on purpose. As of now Aeldra is just a dominant server. They did not broke any law yet like Google, not even if they really own metin2pserver.net. Let me quote from that factsheet: That's why I don't understand this rant topic about Aeldra. As I mentioned above Aeldra is just like Sony or Microsoft in the Metin2 scene.
  21. I understand what you're saying, but that's how businesses works in capitalism, and it's called free market. Better than communism I guess , where government forbid such actions and controls the market.
  22. If it's true then what? It's nothing illegal or morally questionable. It's like saying Apple - Samsung or Sony - Microsoft is bad because they're big and have influence. Can you prove it? If this is true and you can prove it, then a lot of people's opinions about the website may change. But until then, it's defamation.
×
×
  • 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.