• Content count

  • Joined

  • Last visited

martysama0134 last won the day on April 9

martysama0134 had the most liked content!

Community Reputation

608 Unstoppable

About martysama0134

  • Rank

Profile Information

  • Gender
    Not Telling
  1. 1gb of ram is too low. It's not even worth mentioning. You can easily run a full metin2 server with at least 2gb of ram. (kimsufi ks-1 costs €5/mo) One of the reasons you can get lag on crappy machines is also the i/o usage. You can check it with top -m io (100% doesn't mean full 100% usage, but only the program that is taking much resource so far... usually sendmail, which you can disable)
  2. killall game will trigger the core shutdown event, and it will take at maximum 300 seconds to save all (items, players) and then stop the game. (without - is -1 by default, -9 will force the closure losing items; e.g. killall -9 game db) After that, you can kill db. Don't ever use reboot to restart the server. It will restart the server without stopping any process. It could corrupt mysql's database as well. You should use shutdown -r now to restart. It will wait until all the processes are stopped. It usually takes 1 second though. Don't use it to safely stop metin2 since you need to stop the game cores before db, and not randomly.
  3. Updated on github with the 40k functions as well. (and also others used by me) Note: Also added some dumplist examples.
  4. [How-To] Notepad++ Syntax Highlighting Metin2 Quests Lua After a while, I found back my modded notepad++ langs.xml containing all the old metin2 lua functions in there. It's dated 2012 (I've added the recent langs.xml lua tags few hours ago for lua 5.2 as well), but I'll update it soon with the 40k functions and mine as well. (on github) How to "install" it? Well, open %appdata%\Notepad++\langs.xml and replace the <Language name="lua" ...> section with this: (it doesn't allow me to use <!-- --> comments though) After that, restart notepad++, and it's done. Result: Enjoy your Christmas Abione. Note: Some people should already have tried to do so in the past, but this is the nicest way I like.
  5. Remove "blink," to remove the flashing.
  6. They should be so laggy in game. The update should also include some new "shop sign" as well. I'm tempted to make an update for it, but they look so toxic haha
  7. The idea behind isn't bad. Most probably, there will need extra python code for uiscript/localeui as well. (if you use btw) Most importantly, if you all want to use this, be sure to change some details, because the release is public and the script kiddos will surely figure out what you're using, and will try to bypass it.
  8. mob_proto.txt has a column for resist claw, the dump_proto doesn't consider it, or vice versa.
  9. Navicat is very user-friendly, HeidiSql isn't much. Even though HeidiSql is way better improved than Navicat and has a lot of features (which most of the people on Metin2 would never use, because they don't even know what mysql even is), people will prefer to use the second. If HeidiSql were to remake the skin better then... Navicat will be gone.
  10. My skype is on my daemonservice thread. Remove yours in here otherwise you get a warning. Try to do what I told you in db/src/Makefile game/src/Makefile CFLAGS variable.
  11. It's usually ok. If you use gcc >=4.8, you can even use -static-libstdc++ in CFLAGS (by default, in freebsd 9.x, it's gcc4.2). There are a lot of ways to solve it, like symlinking.
  12. You can even use the -static flag in CFLAGS to have 0 libs requirement.
  13. if (desc) desc->Packet(blabla); This is just an example. The rest is up to you.
  14. The desc->Packet() call in the Broadcast function will make the crash because DESC is NULL.
  15. Someone on another board asked me how to use it, so I made a shortcut for it: Instead of send_letter("XXX") you use send_letter_ex("XXX", "green,blink,ex", "scroll_open_green.tga") if you want green icon, green text, and the icon blinking. OR add these in questlib.lua function send_letter_blue(name) send_letter_ex(name, "ex", "scroll_open_blue.tga") end function send_letter_golden(name) send_letter_ex(name, "ex", "scroll_open_golden.tga") end function send_letter_green(name) send_letter_ex(name, "ex", "scroll_open_green.tga") end function send_letter_purple(name) send_letter_ex(name, "ex", "scroll_open_purple.tga") end function send_letter_blue_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_blue.tga") end function send_letter_golden_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_golden.tga") end function send_letter_green_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_green.tga") end function send_letter_purple_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_purple.tga") end function send_letter_blue_text(name) send_letter_ex(name, "blue,ex", "scroll_open_blue.tga") end function send_letter_golden_text(name) send_letter_ex(name, "golden,ex", "scroll_open_golden.tga") end function send_letter_green_text(name) send_letter_ex(name, "green,ex", "scroll_open_green.tga") end function send_letter_purple_text(name) send_letter_ex(name, "purple,ex", "scroll_open_purple.tga") end function send_letter_blue_blink_text(name) send_letter_ex(name, "blink,blue,ex", "scroll_open_blue.tga") end function send_letter_golden_blink_text(name) send_letter_ex(name, "blink,golden,ex", "scroll_open_golden.tga") end function send_letter_green_blink_text(name) send_letter_ex(name, "blink,green,ex", "scroll_open_green.tga") end function send_letter_purple_blink_text(name) send_letter_ex(name, "blink,purple,ex", "scroll_open_purple.tga") end So you would just need to replace send_letter("something") with send_letter_green_text("something") for text and icon green.