-
Posts
613 -
Joined
-
Last visited
-
Days Won
96 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by martysama0134
-
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)
-
It's not necessary, but it's still something that can be done quite easily. Some servers though disable the whole sequence.
-
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.
- 11 replies
-
- 148
-
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.
- 1 reply
-
- 192
-
official GameForge | ROOT Pack | 02-02-2018
martysama0134 replied to Abel(Tiger)'s topic in Metadata
Definitely DevDick. You can find him several times dicking around in this new leaked root: (screenshot by Syreldar) -
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
-
I never created nor sold that thing. I also hate using "attached braces". (code formatting style) What a pig.
-
Offline shop crash bug
martysama0134 replied to jkhan's topic in Community Support - Questions & Answers
In the relative .cpp file, you have something like: DirectQuery(query); so change it to: DirectQuery("%s", query); -
game.core whisper block help
martysama0134 replied to jkhan's topic in Community Support - Questions & Answers
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())) -
How To Make a "D:" Partition without to Reinstall your System
martysama0134 replied to .©ore™'s topic in Guides & HowTo
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 -
About top command and RAM memory
martysama0134 replied to Vassy's topic in Community Support - Questions & Answers
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) -
Time back after reboot
martysama0134 replied to DarkFire's topic in Community Support - Questions & Answers
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. -
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.
-
Colored Quest Scrolls System - V2
martysama0134 replied to martysama0134's topic in Features & Metin2 Systems
Remove "blink," to remove the flashing. -
official [Old][Archive] - [Official] Unpacked Updates Metin2.de
martysama0134 replied to Shogun's topic in Guides & HowTo
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 -
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.
-
[Bug]Dump_proto,Textures of mobs
martysama0134 replied to BackPlayer's topic in Community Support - Questions & Answers
mob_proto.txt has a column for resist claw, the dump_proto doesn't consider it, or vice versa. -
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.
-
Game.core problem
martysama0134 replied to meneleos's topic in Community Support - Questions & Answers
if (desc) desc->Packet(blabla); This is just an example. The rest is up to you.