Jump to content

Mali

Honorable Member
  • Posts

    916
  • Joined

  • Days Won

    866
  • Feedback

    100%

Everything posted by Mali

  1. M2 Download Center Download Here ( Internal ) Download Here ( GitHub )
  2. Yes, size only change for 1 character.
  3. yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeessssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss I said fixed
  4. -And push every time ? Wrong! Not every time if ch isn't exist in vector control: find(looked.begin(), looked.end(), ch) == looked.end()
  5. Fixed and added english lc (change uiinventory, game.py locale_game.txt)
  6. #Update: Added Highlight system fix(not tested) Removed "%s received", "Received Item: %s, %s " messages
  7. #Update: Edited stackable items Sort Type->Alphabet fixed(string) also you can change for GetVnum()
  8. M2 Download Center Download Here ( Internal ) Download Here ( GitHub )
  9. I can't sorry :/ you need to change all server src side, delete old codes
  10. 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; }
  11. Okey okay ok I will add but now I'm going to sleep
  12. Thanks bro but this part is wrong if (stch) { ..... .... stch->ChatPacket(CHAT_TYPE_WHISPER, "%s: %s", ch->GetName(), message.c_str()); ch->ChatPacket(CHAT_TYPE_WHISPER, "To %s: %s", stch->GetName(), message.c_str()); .... } else if (stch == ch) You can use this: if (stch) { if (stch == ch) bla bla ..... .... stch->ChatPacket(CHAT_TYPE_WHISPER, "%s: %s", ch->GetName(), message.c_str()); ch->ChatPacket(CHAT_TYPE_WHISPER, "To %s: %s", stch->GetName(), message.c_str()); .... }
  13. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Usage: @name message
  14. But you can't set settings from txt, if you know that use why do you wrote?
×
×
  • 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.