-
Posts
1543 -
Joined
-
Last visited
-
Days Won
33 -
Feedback
0%
WeedHex last won the day on June 4 2021
WeedHex had the most liked content!
About WeedHex
Informations
-
Country
Italy
-
Nationality
Italian
Recent Profile Visitors
5203 profile views
WeedHex's Achievements
-
official How To Storing Affects for Check later
WeedHex replied to xP3NG3Rx's topic in Programming & Scripts
I don't think so, if you don't abuse of it. If I remember well the effects are loaded in another step, after the entergame. -
WeedHex started following HWID ban and How To Storing Affects for Check later
-
official How To Storing Affects for Check later
WeedHex replied to xP3NG3Rx's topic in Programming & Scripts
Check it in delay with a timer. -
DirectQuery
-
WeedHex started following I can't start MYSQL. , Moving server from FreeBSD 11.2 to 13.2 - lib needed , Memory allocation for beginner and 3 others
-
Memory allocation for beginner
WeedHex replied to 7teendev's topic in Community Support - Questions & Answers
Using Visual Studio features. -
Quest - Levelup at first login
WeedHex replied to Jimmermania's topic in Community Support - Questions & Answers
Try to use int pc_set_level(lua_State * L) -
How do you generate the fake characters? I doubt you connected 180 clients You should be sure that your "clones" are same of real players in level of heaviness. Very curious about it, keep it up
-
Talk to the AI, better than waiting here.
-
official SungmaHee Tower Official Servers (C++, Python)
WeedHex replied to Rakancito's topic in Features & Metin2 Systems
Checking the pointer from the beginning, but controlling it again before destroy and then using again. The guy meant this with the arrows. I agree about the use of LUA for dungeons. It's much faster and already prepared for use, without risk of memory, at the end it's linking c++, you got less lines and more order/safety. Obv it's good for pratice c++ doing as you did. Thanks for the share, will be very useful for my Yohara -
I heard many people receiving handshake from Belize location >_< However I don't think your core crash is related to that syserr. Analyze with #dbg your core crash first of all. About handshake you can decide to blacklist the intrusive ip. Activate a firewall leaving public only the needed ports, and put some limit or check.
-
fix Fix - Quest item.set_socket(0, Value)
WeedHex replied to ScriptMan's topic in Programming & Development
It was blocking also Set Value to 0. if (value == NULL) return 0; My version: int item_set_socket(lua_State* L) { LPITEM item = CQuestManager::instance().GetCurrentItem(); if (!item) return 0; if (lua_isnumber(L, 1) && lua_isnumber(L, 2)) { const auto idx = static_cast<int>(lua_tonumber(L, 1)); if (idx < 0 || idx >= ITEM_SOCKET_MAX_NUM) return 0; // Value can be 0 or negative. const auto value = static_cast<int>(lua_tonumber(L, 2)); item->SetSocket(idx, value); } else sys_err("Passing bad argument from LUA."); return 0; } -
cmd_general.cpp