-
Posts
94 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by flatik
-
-
13 minutes ago, SCOOB said:
Edit: It does not work, the skills disappear and on old account I get UNKNOWN PACKET HEADER.
GIF: https://metin2.download/video/hqmgJNMnQrJw4E3fgrHmGUZCB4SNEKKh/.mp4
I did the issues.cpp part of the tutorial, but that did not change anything.
I didn't really look into the source code, but the packet error made it easy to find the cause.
You also need to rewrite TPlayerSkill in binary source code.- 1
-
On 10/18/2022 at 8:04 PM, bossy_max said:
is there an arrangement for vs13?
why are you using the old version?
2022 in visual studio is 64bit, it won't freeze up all the time. -
nice!
- 1
-
On 9/24/2021 at 5:30 PM, Karbust said:
I keep getting this error in Debug mode:
std::shared_ptr<CGrannyMotion> CGraphicThing::GetMotionPointer(int iMotion) { assert(CheckMotionIndex(iMotion)); //line 131 if (iMotion >= m_pgrnFileInfo->AnimationCount) return NULL; if (m_motions.empty()) return NULL; return m_motions.at(iMotion); }
Any idea?
Thank you
There is an error message because the weapon has no animation.
try:
std::shared_ptr<CGrannyMotion> CGraphicThing::GetMotionPointer(int iMotion) { if (!CheckMotionIndex(iMotion)) return nullptr; if (m_motions.empty()) return nullptr; return m_motions.at(iMotion); }
- 1
-
-
Try change toolset to xp version?
-
i think the 6 slot solution is incomplete
-
if you don't understand, you don't need to update.
it won't get any better.
- 1
-
2 hours ago, Brayle said:
Thats not how it works..
If you publish something even for free you are responsible for it therefore it is your responisibility to help your clients.
Just don't publish something for free if you don't take the responisibility over your clients.Like Martysama.. he asks money but he helps his clients..
-
cannot find the text in the locale_string.txt file.
try check encoding
-
If you don't understand it, it was unnecessary to switch to c ++ 17.
-
-
do_safebox_size small fix:
void CInputDB::SafeboxLoad(LPDESC d, const char * c_pData { *** BYTE bSize = std::clamp<BYTE>(p->bSize, 0, 3); *** }
ACMD(do_safebox_size) { char arg1[256]; one_argument(argument, arg1, sizeof(arg1)); int size = 0; if (*arg1) str_to_number(size, arg1); size = std::clamp(size, 0, 3); ch->ChatPacket(CHAT_TYPE_INFO, "Safebox size set to %d", size); ch->SetSafeboxSize(size * SAFEBOX_PAGE_SIZE); }
-
packet problem.
it is up to you to find the cause.
Check the tutorial again.
-
bye!
-
-
char optstring[9] = "npverltI"; while ((ch = getopt(argc, argv, optstring)) != -1)
or set c ++latest to c ++ 17 or c ++ 14...
- 1
-
Hi all!
This is recommended for those who are testing or running on windows. The reason for the error is that they have a 100% chance of dropp.
C++11.Based on the video, you can watch:
number_ex old version:
https://metin2.download/video/404cFTu02qN7zGDbO2RA8za82mHM6xzq/.mp4
number_ex fixed:
https://metin2.download/video/8084RGh8gld28tLTsoYfx1ITK5W1fWxC/.mp4
FIX:
#include <random> int number_ex(int from, int to, const char* file, int line) { if (from > to) { int tmp = from; sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line); from = to; to = tmp; } int returnValue = 0; std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> distrib(from, to); if ((to - from + 1) != 0) returnValue = distrib(gen); else sys_err("number(): devided by 0"); return returnValue; }
- 2
- 3
- 10
-
if the platform toolset has changed, the library must also be updated.
-
It’s 2020, it’s not true that no one can understand the mistake.
-
faster loading is more useful
why is client size so important?
- 2
-
The item_table structure does not match.
check dump_proto ...
-
1. check cpp files is in visual studio.
2. removed function from cpp files: if the function is in a header (xy.h) and you called it, it will not build ...
-
add the compatible library
windows serverfiles unknown packet headers
in Community Support - Questions & Answers
Posted
_USE_32BIT_TIME_T macro enabled?