Jump to content

ScriptMan

Silver
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

ScriptMan last won the day on November 17 2017

ScriptMan had the most liked content!

About ScriptMan

Informations

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ScriptMan's Achievements

Rising Star

Rising Star (9/16)

  • Very Popular Rare
  • Dedicated
  • Reacting Well
  • First Post
  • Collaborator

Recent Badges

1.5k

Reputation

  1. 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;
  2. WTF Bro? if (rVictim.GetActorType() == TYPE_ENEMY || rVictim.GetActorType() == TYPE_NPC) return FALSE;
  3. I didn't mean to attack you! Thank you for expressing your opinion! @ Owsap
  4. HD (1024x2048) Texture! [Hidden Content]
  5. Yes but! Use ctrl+g or h or j. And Dizer not use Costume mount system.
  6. 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 ..)
  7. Can you know, how to added? Someone?
  8. M2 Download Center Download Here ( Internal ) Download: workupload.com/file/wZymNkb Password: m2dl-cxlgizeh
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.