Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/17/15 in all areas

  1. 2 points
  2. M2 Download Center Download Here ( Internal ) I just taked a look at AsyncSQL.H dunno. The formatting certainly isn't. Also, abusing stdafx out-of-tree. Ugh. And OS-specific synch. Reserved identifiers. C-style structs. Mixing tabs and spaces. DWORD. Fucking m_sem not even used. Copying full async resultset into a container eagerly? Oh. And using mySql Storing SQLResult* in a vector, not honouring Rule Of Three. The fucking type not even polymorphic, so use vector, or stable_vector if you must. Not typedeffing the container or using auto for the iterators. Using strange names for iterators (past?). Nohting ever initializes m_pkSQL. So that's encapsulation disavowed then. What happened to smart pointers... uiResultsPos in the database layer?!?!##!@# Not using prepared statements and bound arguments. C-style error handling through multiple non-encapsulated field. Read: missing errorhandling. CAsyncSQL2 - naming fail. CAsyncSQL looks somewhat saner. Possibly because it was nicked from somewhere? :))) Nice explain , here you have an improved async sql. IMPROVED Soon other libs re
    1 point
  3. Indeed, it was... Une grosse pensée et toutes mes condoléances vont vers les victimes de cet horrible attentat, à leurs proches et à leurs familles.
    1 point
  4. If you have COSTUME_MOUNT enabled, put in gametype.h, this: const DWORD c_New_Equipment_Start = c_Equipment_Start + 22; like this: const DWORD c_New_Equipment_Start = c_Equipment_Start + 23; And let me explain you why. You have start index at costume system 19. Costume body = slot 19, costume hair 20. After, belt/ring system starts at index 21, but if you add shoulders + mount at costume system, 19 + 4 = 23. So, belt system start index will be 23 from now, untill you'll add some new slots to costume system. I hope that you'll learn C++ very soon.
    1 point
  5. The novaline source db work well you just have to go on your DBManager and change like that. Search: void CDBManager::SetLocale(const char * szLocale){ sys_log(0, "SetLocale start %s",szLocale ); for (int n = 0; n < SQL_MAX_NUM; ++n) { m_mainSQL[n]->SetLocale("latin1"); m_directSQL[n]->SetLocale("latin1"); m_asyncSQL[n]->SetLocale("latin1"); } sys_log(0, "End setlocale %s", szLocale); } And change like that: void CDBManager::SetLocale(const char * szLocale) { for (int n = 0; n < SQL_MAX_NUM; ++n) { //Nothing to do here } }
    1 point
  6. [Hidden Content] here is a fix
    1 point
×
×
  • 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.