Jump to content

Nolwarg

Inactive Member
  • Posts

    9
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Nolwarg

  1. Dnia 28.05.2018 o 01:33, WeedHex napisał:

    i saw. 

     

    I suggest to comment:

     

    1.                 LogManager::instance().LevelLog(this, val, GetRealPoint(POINT_PLAYTIME) + (get_dword_time() - m_dwPlayStartTime) / 60000);
    2.                 LogManager::instance().CharLog(this, GetGold() + amount, "OVERFLOW_GOLD", "");

     

    And look if error happen again.

    Are you serious?:<

  2. 1 godzinę temu, Mali61 napisał:

    c++ version

    
    #include <iostream>
    #include <ctime>
    using namespace std;
    int main()
    {
        srand( time( NULL ) );
        char list[] = {"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y"};
        int maxStr = 10;
        std::string random_word = "";
        for (int i = 0; i < maxStr; ++i) {
            int randa = rand() % sizeof(list);
            if (list[randa] == ',') {
                i--;
                continue;
            }
            random_word += list[randa];
        }
        cout<<random_word;
    
        return 0;
    }

     

    for what you used comma in table??

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