Jump to content

spectrum

Member
  • Posts

    46
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by spectrum

  1. i think you need auto for itertype I have c ++ 17 and it didn't cause this problem bool CArenaMap::AddArena (DWORD mapIdx, WORD startA_X, WORD startA_Y, WORD startB_X, WORD startB_Y) { auto iter = m_listArena.begin(); for (; iter != m_listArena.end(); iter++) { if ((CArena*) (*iter)->CheckArea (startA_X, startA_Y, startB_X, startB_Y) == false) { sys_log (0, "CArenaMap::AddArena - Same Start Position set. stA(%d, %d) stB(%d, %d)", startA_X, startA_Y, startB_X, startB_Y); return false; } } m_dwMapIndex = mapIdx; CArena* pArena = M2_NEW CArena (startA_X, startA_Y, startB_X, startB_Y); m_listArena.push_back (pArena); return true; }
  2. it's missing itertype(m_listArena) iter = m_listArena.begin(); on top for (; iter != m_listArena.end(); iter++)
  3. bool CArenaMap::AddArena(DWORD mapIdx, WORD startA_X, WORD startA_Y, WORD startB_X, WORD startB_Y) { itertype(m_listArena) iter = m_listArena.begin(); for (; iter != m_listArena.end(); iter++) { if ((CArena*)(*iter)->CheckArea(startA_X, startA_Y, startB_X, startB_Y) == false) { sys_log(0, "CArenaMap::AddArena - Same Start Position set. stA(%d, %d) stB(%d, %d)", startA_X, startA_Y, startB_X, startB_Y); return false; } }
  4. I create the shop and after I go through the map the name of the shopoffline does not remain fixed by the store
  5. i have problem when i moved player the offline shop name does not remain fixed by the shop [Hidden Content] is there a solution please?
  6. most don't know how to upgrade to c ++ 17 or change the code to have like GF but they still want to be on serverside, so very good idea UP
  7. thats problem it is the number bonus, check number bonus
  8. it is in intrologin.py no game.py , try to use lentile def Connect(self, id, pwd): if constInfo.SEQUENCE_PACKET_ENABLE: net.SetPacketSequenceMode() [Hidden Content] and more the first remove this bullshit it is IraWork
  9. the problem that many do not check if you have an item on position 1 (example 19 level 1 sword) level 1 sword occupies position 1 and 6 in the safebox - deposit adding another weapon on slot 6 overlap normal : [Hidden Content] bug : [Hidden Content]
  10. dont't read for (const auto& format : FormatTable) more precisely auto error : locale.cpp:169: error: 'format' has not been declared a solution plizz?
  11. Hello all ! I have one question , any have tutorial or anyting for make update directx 8 > directx10 and SpeedTree? thanks !
  12. take out HEADER_GD_BLOCK_COUNTRY_IP the sistem and auction_manager all .much better work the server.
  13. for all guys don't understend . take the good cod if (pAttacker->GetPoint(POINT_HIT_HP_RECOVERY) && number(0, 4) > 0) // 80% E¢ç¡¤u { int i = ((iCurHP>=0)?MIN(dam, iCurHP):dam) * pAttacker->GetPoint(POINT_HIT_HP_RECOVERY) / 100; //@fixme107 if (i) { CreateFly(FLY_HP_SMALL, pAttacker); pAttacker->PointChange(POINT_HP, i); } } if (pAttacker->GetPoint(POINT_HIT_SP_RECOVERY) && number(0, 4) > 0) // 80% E¢ç¡¤u { int i = ((iCurHP>=0)?MIN(dam, iCurHP):dam) * pAttacker->GetPoint(POINT_HIT_SP_RECOVERY) / 100; //@fixme107 if (i) { CreateFly(FLY_SP_SMALL, pAttacker); pAttacker->PointChange(POINT_SP, i); } }
×
×
  • 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.