-
Posts
6 -
Joined
-
Last visited
-
Feedback
0%
Await's Achievements
-
Await changed their profile photo
-
Bug no exp when kill mob
Await replied to Malbeth's topic in Community Support - Questions & Answers
Have you entered some sort of anti-exp code? -
M2 Download Center Download Here ( Internal ) Through this piece of code you will be able to attach the specular on NPCs and Monsters. // 1. Search: bool CInstanceBase::Create(const SCreateData& c_rkCreateData) { [...] return true; } // 2. Add this piece of code above the return true; struct SAttachSpecularData { DWORD race; float specularPower; }; const int SPECULAR_MAX_NUM = 5; static SAttachSpecularData structInfo[SPECULAR_MAX_NUM] = { { 101, 0.09f }, { 102, 0.06f }, { 9001, 0.04f }, { 9002, 0.01f }, { 9005, 0.09f }, // { npc_vnum, specular }, Warning: When you add new NPCs / Monsters inside the structure, you must increase the SPECULAR_MAX_NUM }; for (DWORD i = 0; i < SPECULAR_MAX_NUM; i++) { if (GetRace() == structInfo[i].race) { SMaterialData data; data.pImage = NULL; data.isSpecularEnable = TRUE; data.fSpecularPower = structInfo[i].specularPower; data.bSphereMapIndex = 1; m_GraphicThingInstance.SetMaterialData(0, NULL, data); } } Credit: @VegaS™
- 12 replies
-
- 124
-
Could you show the entire code you wrote for this button? You called the Hide() function, if you don't also call the Show() function the button will always be hidden
-
Exchange windows with limit yang problem
Await replied to thanato1994's topic in Community Support - Questions & Answers
I don't see any particular errors in the attached file. Check def __OnValueUpdate(self): in the uiCommon.py file. It should be: def __OnValueUpdate(self): ui.EditLine.OnIMEUpdate(self.inputValue) text = self.inputValue.GetText() money = 0 if text and text.isdigit(): try: money = long(text) except ValueError: money = 199999999 self.moneyText.SetText(self.moneyHeaderText + localeInfo.NumberToMoneyString(money)) -
Problem with dungeoninfosystem
Await replied to Neverr's topic in Community Support - Questions & Answers
This error occurs when there is no code inside interfaceModule and the function is called, in our case from game.py You have to add code like this: (It's only an example) # Find def __init__(self): ... self.wndGuildBuilding = None # Add self.wndDungeonInfo = None # Find def __MakeWindows(self): ... self.wndChatLog = wndChatLog # Add self.wndDungeonInfo = uiDungeonInfo.DungeonInfo() self.wndDungeonInfo.Load() Contact the guy where you bought the system, he will surely give you a hand -
Exchange windows with limit yang problem
Await replied to thanato1994's topic in Community Support - Questions & Answers
This problem could be caused by the fact that you have not changed the byte limits within the uiexchange.py file