Metin2 client source code

09/10/2016 16:40 CatalinWeb#1
Hi guys,

Can somebody provide a link for the client source code of metin2?

I just got the server source code and there are many references to LUA. Yet, I can't see any .lua files and I don't know if they are supposed to be on the client and how they interact with each other. Can't wait to see how my childhood game was made.

Sample of lua:
Code:
void RegisterITEMFunctionTable()
	{

		luaL_reg item_functions[] =
		{
			{ "get_id",		item_get_id		},
			{ "get_cell",		item_get_cell		},
			{ "select",		item_select		},
or:
Code:
	int item_get_value(lua_State* L)
	{
		CQuestManager& q = CQuestManager::instance();
		LPITEM item = q.GetCurrentItem();

		if (!item)
		{
			lua_pushnumber(L, 0);
			return 1;
		}
Best Regards,
Catalin
09/10/2016 22:46 BladeTiger12#2
Actually: [Only registered and activated users can see links. Click Here To Register...]

But I have a good day. Here: [Only registered and activated users can see links. Click Here To Register...]
09/10/2016 22:51 CatalinWeb#3
Hei man, thank you. The link didn't work because the forum doesn't care about the # sign when redirecting. Anyway, here it is: [Only registered and activated users can see links. Click Here To Register...]

I still couldn't find the reason they would use lua. :/ Any ideas on that?

EDIT: found out it uses a LOT of python. I am surprised.