Jump to content

martysama0134

Honorable Member
  • Posts

    613
  • Joined

  • Last visited

  • Days Won

    96
  • Feedback

    100%

Everything posted by martysama0134

  1. The "Chest Drop Preview" as idea is interesting: I don't think opening 200 boxes at once without delay would be as good as expected. It would be better adding another sliderbar to specify the relative delay (e.g. from 0.0 to 1.0s). (you can simply move the for loop in the OnUpdate function to accomplish such a thing quite easily) (and by reclicking the OpenChestButtonMultiple, you stop the unboxing process) Tips: Instead of "if not self.chestDrop.has_key(self.currentChest):" you can simply do "if self.currentChest not in self.chestDrop:" (has_key is a thing of the past, pre 2.2) Instead of "if 0 != self.tooltipItem:" you can simply do "if self.tooltipItem:" (python evalues as false even if it's 0 "" [] {} () set() None False)
  2. It's not necessary, but it's still something that can be done quite easily. Some servers though disable the whole sequence.
  3. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) I made a sequence generator script. This python script automatically generates the sequence table for `EterLib\NetStream.cpp` (in `s_bSequenceTable`) and `game\src\sequence.cpp` (in `gc_abSequence`). (the keys get changed every time you run the script) A sequence table is just a simple random generated array with 16x2048 bytes between 0x0 and 0xfe. Replacing the sequence table makes older/unwanted launchers unable to access the server.
  4. You need pre_qc.py. python pre_qc.py -ac (if you use mine; the quest list is specified in quest_list)
  5. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Some years ago I created a (python2) script to generate xtea keys randomly, here it is: It generates the code for EterNexus, for EterPack.cpp, and also the hex string you see inside the compiled launcher.
  6. Definitely DevDick. You can find him several times dicking around in this new leaked root: (screenshot by Syreldar)
  7. In reality, he was called warxwar in italian boards in 2009. I helped him a lot through these years. I taught him python and other stuff. (but he forgot them) Well, you can see the result now with this kind of thread ahah
  8. I never created nor sold that thing. I also hate using "attached braces". (code formatting style) What a pig.
  9. In the relative .cpp file, you have something like: DirectQuery(query); so change it to: DirectQuery("%s", query);
  10. In here: else if (MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName())) prChr is NULL, that's why it crashes. so, to fix it: else if (pkChr && MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName()))
  11. I use it like this: Inside C:\D\ a file mount_d.bat containing: @cd %~dp0 @subst d: . @pause and a file unmount_d.bat @subst d: /D @pause
  12. 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)
  13. 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.
  14. Updated on github with the 40k functions as well. (and also others used by me) [Hidden Content] Note: Also added some dumplist examples.
  15. M2 Download Center Download Here ( Internal ) 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) [Hidden Content] After that, restart notepad++, and it's done. 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.
  16. 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
  17. The idea behind isn't bad. Most probably, there will need extra python code for uiscript/localeui as well. (if you use utils.py 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.
  18. mob_proto.txt has a column for resist claw, the dump_proto doesn't consider it, or vice versa.
  19. 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.
  20. 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.
  21. 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.
  22. if (desc) desc->Packet(blabla); This is just an example. The rest is up to you.
×
×
  • 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.