-
Posts
620 -
Joined
-
Last visited
-
Days Won
18 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by arves100
-
-
- 6
- 1
-
Metin2 can support different fonts, you just have to call SetFontName("(Font name):(size)") and it will do the job of loading the font for you.
The way the client loads fonts it's oddly complex, but the fonts are loaded as long the first time that the client requires it and then cache em.
The client looks for (font name).fnt, ".fnt" is an internal extension used for identify what font to load (they do not exist in any EterPack nor they actually should unless you really want to)
After all the class complex structure, we finally know that CGraphicText is the one responsable for texts and CGraphicFontTexture is the one who loads the texture.
CGraphicText::OnLoad is called and it creates our FontTexture, specifically it calls CGraphicFontTexture::Craete
From this function, we understand that GDI+ is being used to load fonts (sigh),
the responsable in font creation is CGraphicFontTexture::GetFont(WORD codePage).
The simpliest solution I can think of is having your users to install the font you'd like to and call SetFontName (Python).
If you really want to load TTF, you actually have to load somewhere your font somewhere by using AddFontMemResourceEx. This would also help you packing your font in EterPacks.
Once the font is loaded, you would have to store the HANDLE inside "m_fontMap"
Metin2 will take care of freeing the memory for you and load the font once it's cached. GDI can load TTF so that's not an issue.
Oh, he's asking about ADDING a new font not changing it.
-
On 7/4/2020 at 2:56 PM, Poeta said:
Version of Files : XXX
Hello everyone im having this error and when i log on my P Server and i teleport my client crash and close instantly
Im kind of new on the area but after a few changes.. i tried to use old backups from 5days and even 1 week ago but i always get the same error.. After teleport to any map my client just close and i get this message on sysser:
0704 13:39:25410 :: no argument name
0704 13:39:25410 :: !! PARSING ERROR - Unknown Arguments : 9, |6;Cancel0704 13:40:01438 :: no argument name
0704 13:40:01438 :: !! PARSING ERROR - Unknown Arguments : 9, |6;CancelCan someone help me with that problem?
Thanks, Sincerly,
PoetaI have to admit, I never encountred this error,
this good guy comes from EterLib\parser, this a TXT parser for events that can happen in the Metin2 Client.
An example of such event can be the empire description, where there was actually a command to wait a couple of sec untill continuing the text rendering.
Under normal sources (no additional system or anything else), this error is only related to TXT parsed by your locale, either "RegisterEventSet" or "RegisterEventSetFromString" (as far as I was able to quickly read).
The ones that gets registred are Empiredesc and Jobdesc, so I am pretty sure you have those files wrong. (Keep in mind that bad codepage can also cause an issue in parsing special character) or you are using an unknown command not handled by the parser.
- 1
-
1. Last version should be fine, but keep in mind that Gcc9 has issues with FreeBSD (at least with my experiments) so use clang
2. You can run on Windows or FreeBSD the server, at your choice. (FreeBSD is highly recomendded caues it's the one used for prod.)
-
2 hours ago, asdfghjkesha said:
I don’t know if this is newer/older or same with yours but here’s the one I had. I didn’t test or even scan it though. There are many metin1 private servers still running in China.
https://mega.nz/file/D4FWhAib#FSOFcmGzBLg6d9TNdnrt62imN3TiKE3oAwo91jjI5KMThanks! Will check them out and report if there's anything new.
2 hours ago, asdfghjkesha said:I don’t know if this is newer/older or same with yours but here’s the one I had. I didn’t test or even scan it though. There are many metin1 private servers still running in China.
https://mega.nz/file/D4FWhAib#FSOFcmGzBLg6d9TNdnrt62imN3TiKE3oAwo91jjI5KMThis files are the same files that I've posted with the following changes:
- There's like a GM NPC or something similar that I've not seen in the release I have downloaded
- It includes the FreeBSD 5 Virtual Machine file that I've not included in my release (it was too heavy :/)
The version is the same MTS 2 0.9.5 (at least client side)
- 1
-
Spoiler
Hey guys, Scamming INC. is now accepting professional scammers to work and scam at the company, make sure to fill the document there and answer this thread.
- 1
-
-
1 minute ago, TMP4 said:
Btw did you actually set up the serverfile and client or that picture is from google?
I actually setted up the server files and confirmed it worked.
- 1
-
1 hour ago, TMP4 said:
Sadly it seems to not run on my current pc. Just black screen either way i try, however i can hear the login screen's music
RIP You have to change the color to 16ppp, files are for FreeBSD 5
- 1
-
6 hours ago, TMP4 said:
o_O it is a Metin1 (metin.co.kr) serverfile+client (for real)
-
M2 Download Center
Download ( Latest Version )
THIS FILES ARE FOR METIN1 (METIN.CO.KR) NOT METIN2!!!!!!
Downloaded from a Chinese forum/website.
Year: 2008
They might contain unauthorized program, virus or anything, expect stuff.
https://mega.nz/file/55tj1Y4Z#XkCW6oxtDWVEhg-TOFya40ENWTy84JYmU39sZfQjqXk
Password: gkr40g3grgk)$j
小窗口登录 -> Windowed
全屏登录 -> Fullscreen
Read 安装教程_文字.
- 2
- 1
- 1
- 1
- 1
- 11
-
16 hours ago, Syrex said:
hey
when i login to game , and select character , game exit and show this message:
and show this in syserr
0601 00:08:18497 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=137) - Strange Skill Need Weapon(CLAW)
0601 00:08:18498 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139) - Strange Skill Need Weapon(CLAW)
Claw skill bla bla is simply remove CLAW skills in skill txts
- 1
-
8 hours ago, 3r01n34 said:
Thank you for first,
And can you tell me how can I find this packets like "interfacemodule.py " how can I get the functions ?The packets that send the password request are in srcs
-
Bruh your client is crashing go to Debug mode
-
If the system was not released online (thus you have bought it) you have to ask the original creator.
-
You can't really input the password because it's called from a packet sent by the server, you have to manually hook/modify interfacemodule.py "def AskSafeboxPassword(self):", in particular scrap the password part and set it manually.
-
1 minute ago, xAres said:
Finally we got all the scamming power ever since @PACI is out!
You tagged the scam master? If it wasn't for him I woudln't be able to get that certificate. But, Paci scammer is deprecated, Ares is the new scammer master.
-
-
Hello, I know this files were released and released a lot of times, but I've decided to slim them for new comers or people who are interested in looking at them.
It's basically, the 2014 krazy sources with every binary/compiled object cleaned up. Tools+Client+Server of mainline, mainline_cythonized, dev, dev_wolf_branch, mainline_w20, mainline_w21, mainline_released included.
The archive size is 32MB
Link:
Password: ke5389JIEGH@r
Good luck.
- 161
- 1
- 4
- 4
- 2
- 1
- 1
- 1
- 5
- 2
- 70
- 1
- 20
- 138
-
-
#Updated
#Update as @Karbustpointed out, the tutorial was missing two lines in PythonNonPlayer.cpp and ItemManager.cpp make sure to download the new 7z file that contains the update.
-
Hello, today is MCSP release date. Have fun.
Some notes, if you like to implement new algorithms:
Open CryptAlgorithms.h and define a new class with new stuff, like I did with LZO and Snappy.
Make sure to modify Crypt.h "enum class CryptationTypes"
Oh btw, you need to add Snappy in your Extern.
How you may ask?
Download
Install https://cmake.org/download/
Use cmake-gui to generate stuff, open snappy.sln and build it in release.
Copy the .h files inside a newly created "snappy" folder in Extern/iniclude
Go to (cmake build folder)/Release and copy your snappy.lib into Extern/lib
If you use the vcpkg method: vcpkg install snappy:x86-windows-static
Ready!
- 62
- 1
- 1
- 14
- 3
- 36
-
On 4/21/2020 at 12:45 AM, johnis said:
Thanks for the upload you literally saved me.
@Kazuhiri go right click on MilesLib > Properties >C/C++ > Preprocessor > Preprocessor definitions and add WINDOWS_IGNORE_PACKING_MISMATCH
rebuilt and you should be fine
Bruh no, just remove "#include <mss.h>" in MilesLib StdAfx.h (root of cause issues: miles sound system 6 bad defines generates some incompatibility with last msvc headers I don't remember what header, note: this errors does not happend with Miles 9)
- 1
-
cpp module responsible for mob creation and locating on map?
in Community Support - Questions & Answers
Posted
mob_manager.cpp : rengen & groups
char_manager.cpp : spawning code
different files then performs the spawning:
dungeon.cpp : Dungeon spawning
char_item.cpp : Item that spawns mobs
char_state.cpp : Spawns from stones