Jump to content

cBaraN

Silver
  • Posts

    164
  • Joined

  • Last visited

  • Days Won

    3

cBaraN last won the day on October 15 2018

cBaraN had the most liked content!

About cBaraN

Informations

  • Gender
    Not Telling

Social Networks

Recent Profile Visitors

4,827 profile views

cBaraN's Achievements

Collaborator

Collaborator (7/14)

  • Dedicated Rare
  • First Post
  • Collaborator
  • Week One Done
  • One Month Later

Recent Badges

87

Reputation

1

Community Answers

  1. Sorry, ido not keep old files on my computer, im not a good archivist
  2. Reinterpretation If im not mistaken, the "last_play" column already existed in cache memory. Why did you need an interrogation? # NOTE: If not, then i added it myself, im sorry. It would make more sense if you replace it with the value in memory, if any.
  3. You can edit the variable by function. prLevel->SetColor(140.0f / 255.0f, 200.0f / 255.0f, 255.0f / 255.0f, 1.0f); prLevel->SetOutLineColor(140.0f / 255.0f * 0.5f, 200.0f / 255.0f * 0.5f, 255.0f / 255.0f * 0.5f, 1.0f);
  4. First of all, thank you for informing me. I've had a pest attack before. So I had to solve a similar attack with "Pf Sense". However, if you proceed with a logical way, you seem to have overlooked the slightest roughness. 1 - DB Core crashes at a request of 600 - 700 instant. 2 - In case of any malicious attack, you can receive 3,000 requests in 5 minutes and this attack will suffice for DB core to crash. 3 - Why not check the contents of the package? My opinion; I think it would be more efficient if you do the operations on the Game core instead of DB core.
  5. I got rid of this problem before YMIR (Now Webzen). ??
  6. game.py search def OnPickMoney(self, money): add oldGold = player.GetElk() - money self.interface.SetLastGold(oldGold) interfaceModule.py search def IsEditLineFocus(self): ... add def SetLastGold(self, amount): self.wndInventory.lastGold = amount uiInventory.py search tooltipItem = None add lastGold = None search self.tooltipItem = None add self.lastGold = None search def RefreshStatus(self): replace money parts (final [Hidden Content]) iLastGold = self.GetLastGold() iGoldNow = player.GetElk() gIncrease = 1 if (not (iGoldNow - iLastGold) / 10000 > 0) else 10000 for goldLoop in range(iLastGold, iGoldNow + 1, gIncrease): goldLoop = goldLoop iGoldNow = iGoldNow self.wndMoney.SetText(localeInfo.NumberToMoneyString(goldLoop)) if (goldLoop == iGoldNow): break self.wndMoney.SetText(localeInfo.NumberToMoneyString(iGoldNow)) [Hidden Content]
  7. You can edit, this is just for example. Of course, it makes sense to use python, but some users are having problems. (Client crash etc..) Tag dont matter, you can live happier only if you focus on your own life. Unless you try to make bad comments. im sorry sometimes i write variables once and always copy and paste xD #NOTE: I can't help and log in because of my personal business. But a little code, I wanted to give this example, you can change the logic and use it in a healthy way.
  8. Userinterface/PythonApplicationModule.cpp // Add #include <Shellapi.h> // Search PyObject* appExit(PyObject* poSelf, PyObject* poArgs) { CPythonApplication::Instance().Exit(); return Py_BuildNone(); } // Add PyObject * appOpenWebBrowser(PyObject * poSelf, PyObject * poArgs) { char * szURL; if (!PyTuple_GetString(poArgs, 0, &szURL)) return Py_BuildException(); char * getChormeURL; _snprintf(getChormeURL, sizeof(getChormeURL), "%s --non-incognito", szURL); ShellExecuteA(0, 0, "chrome.exe", getChormeURL, 0, SW_SHOWMAXIMIZED); return Py_BuildNone(); } // Search { "Exit", appExit, METH_VARARGS }, // Add { "OpenURL", appOpenWebBrowser, METH_VARARGS }, For Ex: app.OpenURL('www.norsmt2.com')
  9. Naber candan baran hande yenere devam mı?

  10. You have a point about that. However, this core-down is not always happening. You have to try hard to crash the game file if you have time. The problem is only starting when the quest contains a select command at least I have that problem. This problem does exist in the default source codes too. By the way, thank you for your comment.
  11. I and the other servers' author are having a strange problem which crashes the game file. I solved the problem in a few days. I won't tell you how to do it because most people will try to do it. The problem is starting with accessing invalid address in the memory. It might cause lag or something else. The game file can't access m_stCurQuest (because it's invalid). The problem only happens when the quest contains select at least I have that problem. I just added a string variable in QuestState called quest_name. If quest_name is not empty, the game file will use quest_name of QuestState instead of GetCurrentQuestName(). Open "quest.h" file, search "int st;" and under; std::string quest_name; Open "questlua.cpp" file, search "qs.suspend_state = SUSPEND_STATE_SELECT; and under; qs.quest_name = GetCurrentPC() ? GetCurrentPC()->GetCurrentQuestName() : "no_quest"; Open "questlua_quest.cpp" file, search "QuestState* pQS = pPC->GetRunningQuestState();" and under; std::string stQuestName = pPC->GetCurrentQuestName(); if (pQS->quest_name.length() != 0) stQuestName = pQS->quest_name;
  12. Hi devs, The system is so simple, you will see the yellow title if that item contains your name otherwise you will see the red title. UserInterface/PythonTextTail.cpp in search #include "PythonSystem.h" Add : #include "PythonPlayer.h" Try PythonTextTail.cpp in search pTextTail->pOwnerTextInstance->SetColor(1.0f, 1.0f, 0.0f); Under add : CInstanceBase * pInstanceBase = CPythonCharacterManager::Instance().GetMainInstancePtr(); if (pInstanceBase) { if (strcmp(pInstanceBase->GetNameString(), c_szName)) pTextTail->pOwnerTextInstance->SetColor(1.0f, 0.0f, 0.0f); } and build client.. System screen;
×
×
  • 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.