Jump to content

M.Sorin

Member
  • Posts

    279
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Posts posted by M.Sorin

  1. Acum 7 ore, JeeX a spus:

    omg - brain.exe

                    case AFFECT_BLEEDING:
                        event_cancel(&m_pkBleedingEvent);
                        break;

    Nice. I think you need some brain.exe 2.0. I said goodaffects ffs.

    https://metin2.download/picture/p5QhCbHnubm65F2hQbJ9w8ZltMm3N0NN/.png

    https://metin2.download/picture/AyeMBD2DlX8J81QEHfRL8r705jb5Aq95/.png

     

    • Love 1
    • Love 1
  2. PyObject * itemGetApplyPoint(PyObject * poSelf, PyObject * poArgs)
    {
    	int iValueIndex;
    	if (!PyTuple_GetInteger(poArgs, 0, &iValueIndex))
    		return Py_BadArgument();
    
    	CItemData * pItemData = CItemManager::Instance().GetSelectedItemDataPointer();
    	if (!pItemData)
    		return Py_BuildException("Not yet select item data");
    
    	CItemData::TItemApply ItemApply;
    	if (!pItemData->GetApply(iValueIndex, &ItemApply))
    		return Py_BuildException();
    
    	return Py_BuildValue("ii", ItemApply.bType, ItemApply.lValue);
    }

    Didn`t test it , but it should work.

    • Love 1
  3. La 11/12/2017 la 22:46, Chris90909090909090 a spus:

    error

     

     


    AutoNotice.cpp: In member function 'void CAutoNotice::HourlyAnnouncement(int, int)':
    AutoNotice.cpp:54:12: error: 'AutoNoticeSettings' is not a class or namespace
      if ((bool)AutoNoticeSettings::ENABLE_HOURLY_ANNOUCEMENT == true)
                ^
    AutoNotice.cpp:60:11: error: 'AutoNoticeSettings' is not a class or namespace
      if ((int)AutoNoticeSettings::HOURLY_MINUTE == minute)
               ^
    AutoNotice.cpp: In member function 'void CAutoNotice::SpecialHourAnnoucement(int, int, int, int)':
    AutoNotice.cpp:72:12: error: 'AutoNoticeSettings' is not a class or namespace
      if ((bool)AutoNoticeSettings::ENABLE_SPECIAL_HOUR_ANNOUCEMENT == true)
                ^
    AutoNotice.cpp: In member function 'void CAutoNotice::TimeIntervalAnnoucement(int, int, int, int)':
    AutoNotice.cpp:130:12: error: 'AutoNoticeSettings' is not a class or namespace
      if ((bool)AutoNoticeSettings::ENABLE_TIME_INTERVAL_ANNOUCEMENT == true)
     

    Use c++11.

×
×
  • 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.