Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. fixed yesterday but now problem with compat7x //pkg install compat7x-amd64 everything installed but anyway this error https://imgur.com/XSoy2OF that means i have bad libs ?
  3. Today
  4. like the Bundle? if yes , for using in a quest, you need change the type of item
  5. it is necessary to check what kind of weapon it is. and normal weapons use subtypes for that
  6. add somelog on AddItemData and see where it gets stuck
  7. Use this select query in input_auth, you need select the ID.. I'm not sure how ( i did not checked whole matrix_card logic) . Input_auth.cpp "SELECT id, PASSWORD('%s'), password, social_id, status, availDt - NOW() > 0," db.cpp { if (!row[col]) { sys_err("error column %d", col); M2_DELETE(pinfo); break; } DWORD dwID = 0; str_to_number(dwID, row[col++]); }
  8. Hi, I just saw weird phenomena in the sky. Maybe 50+ lights looks like star.. But I used google and these lights are satellite starlink.. What do you think about this? And how will it change our lives? We do you think we'll have an artificial sky?
  9. Yesterday
  10. pkg install python27 didn't work too?
  11. Start with the basics to learn the logic behind of programming, exercise a lot, without basics you can do nothing. Don't jump into the deep water if you can't swim.
  12. for mysql it worked and for python 2.7? once again same error
  13. I'm just trying learn something, what is wrong about it ? This is not a constructive reply.
  14. I have small bug who can fix it, i'm gonna pay. 1. After i go all set skill damage, recharging is not giving damage second set skills
  15. Great Job! I recommend it, 100% professional.
  16. //char.cpp // Under : // cannot_dead = false; m_iLastAttackTime = {}; //char.h // If you don't know where to add this rm -rf your m2 server public: void SetLastAttackTimeNew(CHRONO_steady_clock_point last_atk) { m_iLastAttackTime = last_atk; } CHRONO_steady_clock_point GetLastAttackTimeNew() { return m_iLastAttackTime; } protected: CHRONO_steady_clock_point m_iLastAttackTime; // char_battle.cpp // Under : // int iRet; // // if (bType == 0) // { if ( pkVictim->IsPC() ) SetLastAttackTimeNew(CHRONO_steady_clock_now); //char_horse.cpp //Under //bool CHARACTER::StartRiding() //{ constexpr std::chrono::duration<double> interval_seconds{ 10.0 }; const auto elapsed_time = std::chrono::duration_cast<std::chrono::seconds>(CHRONO_steady_clock_now - GetLastAttackTimeNew()); const auto seconds_left = std::chrono::duration_cast<std::chrono::seconds>(interval_seconds - elapsed_time).count(); if (seconds_left > 0) { ChatPacket(CHAT_TYPE_INFO, "DONT_TRY_TO_RUN_AWAY_WITH_MOUNT_OR_HORSE_WAIT_%d_SECONDS", seconds_left); return 0; } //MountSystem.cpp //Under: // void CMountSystem::Mount(DWORD mobVnum, LPITEM mountItem) // { constexpr std::chrono::duration<double> interval_seconds{ 10.0 }; const auto elapsed_time = std::chrono::duration_cast<std::chrono::seconds>(CHRONO_steady_clock_now - m_pkOwner->GetLastAttackTimeNew()); const auto seconds_left = std::chrono::duration_cast<std::chrono::seconds>(interval_seconds - elapsed_time).count(); if (seconds_left > 0) { m_pkOwner->ChatPacket(CHAT_TYPE_INFO, "DONT_TRY_TO_RUN_AWAY_WITH_MOUNT_OR_HORSE_WAIT_%d_SECONDS", seconds_left); return; } //StdAfx.h #include <chrono> #define CHRONO_steady_clock_point std::chrono::steady_clock::time_point #define CHRONO_steady_clock_now std::chrono::steady_clock::now()
  17. Version of Files : XXX hi friend, i have i simple question. 1. Description of the problem / Question : in default source, what the affect flag is used for when we have affect type? this question arose when we saw that we have: AFF_STUN( affect flag) and AFFECT_STUN(affect type) 4. Screenshots ? http://prntscr.com/twqpdh Thanks, Sincerly, Marggraf
  18. if it's just a visual bug, check root/uitooltip.py . else check the char_item
  19. SELECT name FROM player.player ORDER BY level DESC...or you can copy from a public homepage
  20. Many players are doing this shit with lot of flame too xD
  21. you can make a variable when an attack is made with global time, and then check in cmd_general do_ride
  1. Load more activity


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