ScriptMan
Silver-
Posts
33 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by ScriptMan
-
Hello! Today I found that in lua the modification of item.set_socket(0, value) does not work. Fixed: int item_set_socket(lua_State* L) { CQuestManager& q = CQuestManager::instance(); if (q.GetCurrentItem() && lua_isnumber(L, 1) && lua_isnumber(L, 2)) { int idx = (int)lua_tonumber(L, 1); int value = (int)lua_tonumber(L, 2); if (idx >= 0 && idx < ITEM_SOCKET_MAX_NUM) q.GetCurrentItem()->SetSocket(idx, value); } return 0; } Original: int item_set_socket(lua_State* L) { CQuestManager& q = CQuestManager::instance(); if (&q == NULL) return 0; LPITEM item = q.GetCurrentItem(); if (item == NULL) return 0; if (item && lua_isnumber(L, 1) && lua_isnumber(L, 2)) { int idx = (int) lua_tonumber(L, 1); int value = (int) lua_tonumber(L, 2); if (idx == NULL) return 0; if (value == NULL) return 0; if (idx >=0 && idx < ITEM_SOCKET_MAX_NUM) item->SetSocket(idx, value); } return 0; } Explanation: If the socket index is 0, it returns and does not run the code... fck logic. if (idx == NULL) return 0;
-
WTF Bro? if (rVictim.GetActorType() == TYPE_ENEMY || rVictim.GetActorType() == TYPE_NPC) return FALSE;
-
official Skill Book Combination System
ScriptMan replied to Owsap's topic in Features & Metin2 Systems
I didn't mean to attack you! Thank you for expressing your opinion! @ Owsap -
official Skill Book Combination System
ScriptMan replied to Owsap's topic in Features & Metin2 Systems
@ Owsap Why man why? -
HD (1024x2048) Texture! [Hidden Content]
- 24 replies
-
- 43
-
RAD Game Tools - Granny Animate Studio
ScriptMan replied to DerBerSerKer's topic in Tools & Programs
reup pls -
Yes but! Use ctrl+g or h or j. And Dizer not use Costume mount system.
-
No no. Here is problem this: Base Riding code added for your character riding bonus: str vit etc point.. If you using this code... pc.mount() So.. Now stop riding and check your Character window ingame. (Bonus cp. VIT, INT, STR ..)
-
Dungeon Join Function "Party & Lonely" With "Coords"
ScriptMan replied to Metin2 Dev's topic in Quest Functions & Features
Yes, i am not support! -
Dungeon Join Function "Party & Lonely" With "Coords"
ScriptMan replied to Metin2 Dev's topic in Quest Functions & Features
I am tested.. Bullshit. -
game.py--> import constInfo
-
Can you know, how to added? Someone?
-
M2 Download Center Download Here ( Internal ) Download: workupload.com/file/wZymNkb Password: m2dl-cxlgizeh
- 7 replies
-
- 1530
-
This is working?
-
Okay card building error
ScriptMan replied to ScriptMan's topic in Community Support - Questions & Answers
Solved! 100% working! Thy for more help.... -
Okay card building error
ScriptMan replied to ScriptMan's topic in Community Support - Questions & Answers
Okay this problem solved! Now what is this? How to fix? -
Hey Metin2dev! How to fix the problem? I added this code: Okay Card System Official What is this error? Here is my code: questlua_pc.cpp. Sorry my english language. I little bit speaking english. questlua_pc.cpp
-
Ahh link dead... Please, upload this design me.