[Development] Source Mu Main 1.03.35 [Season 5.1 - Season 5.2]

Page 17 of 18 FirstFirst ... 79101112131415161718 LastLast
Results 401 to 425 of 436
  1. #401
    Member hoanmaster321 is offline
    MemberRank
    Feb 2015 Join Date
    Hà Nội, VietLocation
    98Posts
    item set now fix
    [img]https://imgur.com/a/iWSSkKM[/img]

  2. #402
    Member RealCoderZ is offline
    MemberRank
    Apr 2015 Join Date
    31Posts
    Quote Originally Posted by hoanmaster321 View Post
    item set now fix
    [img]https://imgur.com/a/iWSSkKM[/img]
    How did you fix it bro ?

  3. #403
    Member son1xx2 is offline
    MemberRank
    Jul 2019 Join Date
    51Posts
    Quote Originally Posted by RealCoderZ View Post
    How did you fix it bro ?
    Here
    ///////////////////////////////////////////////////////////////////////////////// 정보창 랜더링(도움말, 아이템, 스킬 정보창에 사용)///////////////////////////////////////////////////////////////////////////////char TextList[50][100];int TextListColor[50];int TextBold[50];SIZE Size[50];
    My project :D

  4. #404
    Member RealCoderZ is offline
    MemberRank
    Apr 2015 Join Date
    31Posts
    /////////////////////////////////////////////// //////////////////////////// Rendering of information windows (used for help, item, and skill information windows)/////// /////////////////////////////////////////////// ////////////////////char TextList[50][100];int TextListColor[50];int TextBold[50];SIZE Size[50];

    I already changed that but no fix :S

  5. #405
    Member son1xx2 is offline
    MemberRank
    Jul 2019 Join Date
    51Posts
    Quote Originally Posted by RealCoderZ View Post
    /////////////////////////////////////////////// //////////////////////////// Rendering of information windows (used for help, item, and skill information windows)/////// /////////////////////////////////////////////// ////////////////////char TextList[50][100];int TextListColor[50];int TextBold[50];SIZE Size[50];

    I already changed that but no fix :S
    you can post pictures

  6. #406
  7. #407
    Member son1xx2 is offline
    MemberRank
    Jul 2019 Join Date
    51Posts
    exactly, this error i asked before also in this post but no one knows, code this can fix:

    char TextList[50][100];
    int TextListColor[50];
    int TextBold[50];
    SIZE Size[50];


  8. #408
    Member hoanmaster321 is offline
    MemberRank
    Feb 2015 Join Date
    Hà Nội, VietLocation
    98Posts

  9. #409
    Member son1xx2 is offline
    MemberRank
    Jul 2019 Join Date
    51Posts
    Quote Originally Posted by hoanmaster321 View Post
    can share more :v

    VN: ông chỉnh giao diện kiểu lạ thế :)))~


  10. #410
    Member hoanmaster321 is offline
    MemberRank
    Feb 2015 Join Date
    Hà Nội, VietLocation
    98Posts
    Quote Originally Posted by son1xx2 View Post
    can share more :v

    VN: ông chỉnh giao diện kiểu lạ thế :)))~





    MuHelper full -- SS17


    Last edited by hoanmaster321; 4 Weeks Ago at 12:46 PM.

  11. #411
    C++ Developer zipper20032 is online now
    Grand MasterRank
    Oct 2006 Join Date
    0x198837ADLocation
    680Posts
    Got the ancient set options working now.


  12. #412
    Newbie Gleinder is offline
    MemberRank
    Apr 2013 Join Date
    16Posts
    Could you provide information on how you fixed the ancient Item like the photo above?

  13. #413
    Member MaxSpeed is online now
    MemberRank
    Jul 2015 Join Date
    45Posts
    Quote Originally Posted by hoanmaster321 View Post




    MuHelper full -- SS17


    you can share source change interface to EX, or select server, character to EX ?

  14. #414
    C++ Developer zipper20032 is online now
    Grand MasterRank
    Oct 2006 Join Date
    0x198837ADLocation
    680Posts
    Mu Helper in development


  15. #415
    Newbie Gleinder is offline
    MemberRank
    Apr 2013 Join Date
    16Posts
    zipper20032 You can show how you fixed the old items, Steps where to correct or images of the fix

  16. #416
    Member RealCoderZ is offline
    MemberRank
    Apr 2015 Join Date
    31Posts

    Cool

    Set Item FIX
    Thanks to @zipper20032 For Helping on that!

    Code:
    void CSItemOption::CheckItemSetOptions()
    {   
         BYTE byOptionList[30] = { 0, };    
         ITEM* itemTmp = NULL;    
    
         ZeroMemory(m_bySetOptionList, sizeof(BYTE) * 16);   
    
         for (int i = 0; i < MAX_EQUIPMENT_INDEX; ++i)   
         {       
               if (i == EQUIPMENT_WING || i == EQUIPMENT_HELPER)       
               {       
                    continue;       
               }        
    
                ITEM* ip = &CharacterMachine->Equipment[i];    
    
                if (ip->Durability <= 0)    
                {       
                      continue;     
                }  
    
                if ((i == EQUIPMENT_WEAPON_LEFT || i == EQUIPMENT_RING_LEFT) && itemTmp->Type == ip->Type && temTmp >ExtOption == (ip->ExtOption % 0x04))
                {
                      continue;
                }
    
                if (ip->Type > -1)
                {
                     checkItemType(byOptionList, ip->Type, ip->ExtOption);
                }
    
                if (i == EQUIPMENT_WEAPON_RIGHT || i == EQUIPMENT_RING_RIGHT)
                {
                      itemTmp = ip;
                      itemTmp->Type = ip->Type;
                      itemTmp->ExtOption = (ip->ExtOption % 0x04);
                }
          }
    
          calcSetOptionList(byOptionList);
          getAllAddStateOnlyAddValue(&CharacterAttribute->AddStrength, &CharacterAttribute->AddDexterity, &CharacterAttribute-      >AddEnergy, &CharacterAttribute->AddVitality, &CharacterAttribute->AddCharisma);
        
         WORD AllStrength = CharacterAttribute->Strength + CharacterAttribute->AddStrength;    
         WORD AllDexterity = CharacterAttribute->Dexterity + CharacterAttribute->AddDexterity;   
         WORD AllEnergy = CharacterAttribute->Energy + CharacterAttribute->AddEnergy;    
         WORD AllVitality = CharacterAttribute->Vitality + CharacterAttribute->AddVitality;    
         WORD AllCharisma = CharacterAttribute->Charisma + CharacterAttribute->AddCharisma;    
         WORD AllLevel = CharacterAttribute->Level;    ZeroMemory(byOptionList, sizeof(BYTE) * 30);    
    
         memset(m_bySetOptionList, 255, sizeof(BYTE) * 16);   
    
         for (int i = 0; i < MAX_EQUIPMENT_INDEX; ++i)
         {        
               if (i == EQUIPMENT_WING || i == EQUIPMENT_HELPER)
              {
                   continue;
              }
    
              ITEM* ip = &CharacterMachine->Equipment[i];
    
              if (ip->RequireDexterity > AllDexterity || ip->RequireEnergy > AllEnergy || ip->RequireStrength > AllStrength || ip->RequireLevel > AllLevel || ip->RequireCharisma > AllCharisma || ip->Durability <= 0 || (IsRequireEquipItem(ip) == false))                 {
                  continue;
             }
    
             if (((i == EQUIPMENT_WEAPON_LEFT || i == EQUIPMENT_RING_LEFT) && itemTmp->Type == ip->Type && itemTmp->ExtOption == (ip->ExtOption % 0x04)))
             {
                  continue;
             }
    
             if (ip->Type > -1)
             {
                      checkItemType(byOptionList, ip->Type, ip->ExtOption);
             }
    
             if (i == EQUIPMENT_WEAPON_RIGHT || i == EQUIPMENT_RING_RIGHT) 
             {
                      itemTmp = ip;
                      itemTmp->Type = ip->Type;
                      itemTmp->ExtOption = (ip->ExtOption % 0x04);
             }
         }
    
         UpdateCount_SetOptionPerEquippedSetItem(byOptionList, m_arLimitSetItemOptionCount, CharacterMachine->Equipment);           calcSetOptionList( byOptionList );
    }

  17. #417
    Newbie aiqiji is offline
    MemberRank
    Sep 2022 Join Date
    20Posts
    The compiled GS is blank after running, and disappears after a while, and there is no crashed dmp file



  18. #418
    C++ Developer zipper20032 is online now
    Grand MasterRank
    Oct 2006 Join Date
    0x198837ADLocation
    680Posts
    Quote Originally Posted by aiqiji View Post
    The compiled GS is blank after running, and disappears after a while, and there is no crashed dmp file

    This thread is about the source code for 5.2 main, not for GS.

    Anyway, you probably didn't start the CS/DS/JS apps.
    The JS should log the GS connection.

  19. #419
    Newbie aiqiji is offline
    MemberRank
    Sep 2022 Join Date
    20Posts
    Quote Originally Posted by zipper20032 View Post
    This thread is about the source code for 5.2 main, not for GS.

    Anyway, you probably didn't start the CS/DS/JS apps.
    The JS should log the GS connection.

    I am using the source code from this link to compile
    [Release] Original WZ Sources 1.00.98+MuServer 1.00.95+Main Cracked CHS Protocol S5.2 - RaGEZONE - The OG MMO development community

  20. #420
    Newbie datkool is online now
    MemberRank
    May 2019 Join Date
    12Posts
    Has anyone synchronized the client-server protocol?

  21. #421
    C++ Developer zipper20032 is online now
    Grand MasterRank
    Oct 2006 Join Date
    0x198837ADLocation
    680Posts
    You would need to debug your running GS to see where it gets stuck in the code.
    Also, in Visual Studio, you need to set the Working Directory path so after you compile and build the GS, it would start by using your server's data.
    Make sure your GS path for "data" folder is correct, or just copy & paste your freshly compiled GS to your GameServer folder.

  22. #422
    Member hoanmaster321 is offline
    MemberRank
    Feb 2015 Join Date
    Hà Nội, VietLocation
    98Posts
    Quote Originally Posted by datkool View Post
    Has anyone synchronized the client-server protocol?
    what ??? fb.com
    Last edited by hoanmaster321; 1 Week Ago at 02:38 PM.

  23. #423
    Newbie aiqiji is offline
    MemberRank
    Sep 2022 Join Date
    20Posts
    Quote Originally Posted by zipper20032 View Post
    You would need to debug your running GS to see where it gets stuck in the code.
    Also, in Visual Studio, you need to set the Working Directory path so after you compile and build the GS, it would start by using your server's data.
    Make sure your GS path for "data" folder is correct, or just copy & paste your freshly compiled GS to your GameServer folder.

    It has been fixed, there is no LOG folder in the GS directory. Where does the main set the connection IP?

  24. #424
    Elite Member pafa7a is offline
    Member +Rank
    Nov 2010 Join Date
    231Posts
    Quote Originally Posted by aiqiji View Post

    It has been fixed, there is no LOG folder in the GS directory. Where does the main set the connection IP?
    Search for "44405" and you will find the IP as well

  25. #425
    C++ Developer zipper20032 is online now
    Grand MasterRank
    Oct 2006 Join Date
    0x198837ADLocation
    680Posts
    Quote Originally Posted by aiqiji View Post

    It has been fixed, there is no LOG folder in the GS directory. Where does the main set the connection IP?
    It's in the source code. Search for this variable szServerIpAddress.

    char *szServerIpAddress = lpszServerIPAddresses[SELECTED_LANGUAGE];

    This code is taking the IP from some static definition based on the selected language define.
    You need to check what language have you selected in the source and where the IP is assigned to szServerIpAddress variable. There are many IPs set up in the source.



Advertisement