[Release] X-Team Sources (S4, S6, S8)

Page 49 of 53 FirstFirst ... 3941424344454647484950515253 LastLast
Results 721 to 735 of 791
  1. #721
    Account Upgraded | Title Enabled! nofeara is offline
    True MemberRank
    Nov 2009 Join Date
    418Posts

    Re: Source [MUEMU]

    how to force run launcher using main.dll anyone?

    - - - Updated - - -

    Muahahahahaha i just found the freaking solution:


  2. #722
    Don't be afraid to ask! RevolGaming is offline
    WTF? Overkill!Rank
    Jun 2012 Join Date
    1,482Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    how to force run launcher using main.dll anyone?

    - - - Updated - - -

    Muahahahahaha i just found the freaking solution:

    Its another way.. but its not 100% good. its just ask for mu.exe, but if you want to FORCE your users to update their client anytime, you need to make it good, and the good way is what I wrote.

  3. #723
    Account Upgraded | Title Enabled! JoJoGy is offline
    True MemberRank
    Sep 2012 Join Date
    MoonLocation
    300Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    how to force run launcher using main.dll anyone?

    - - - Updated - - -

    Muahahahahaha i just found the freaking solution:


    This step dont gives me nothing, its same like enable it on MAIN_INFO function [MainInfo]
    LauncherType = 0 ---->1

    After this changes game stop opens from launcer to!

    Who have solution to make work launcher like only way how enter in game? I mean when opening main.exe and request will redirect to Launcher, first will update game client , second game opens. How to fix this?
    Last edited by JoJoGy; 31-03-18 at 02:50 PM.
    >>>>if(sad == true) { sad.stop.(); beawesome<<<<

  4. #724
    Account Upgraded | Title Enabled! nofeara is offline
    True MemberRank
    Nov 2009 Join Date
    418Posts

    Re: Source [MUEMU]

    Quote Originally Posted by JoJoGy View Post
    This step dont gives me nothing, its same like enable it on MAIN_INFO function [MainInfo]
    LauncherType = 0 ---->1

    After this changes game stop opens from launcer to!

    Who have solution to make work launcher like only way how enter in game? I mean when opening main.exe and request will redirect to Launcher, first will update game client , second game opens. How to fix this?
    you should make LauncherType = 0 (not 1) in MainInfo.ini then //that string from main.dll

    it works so fine look here: https://www.youtube.com/watch?v=uYh0yt0GUDU

  5. #725
    Account Upgraded | Title Enabled! nofeara is offline
    True MemberRank
    Nov 2009 Join Date
    418Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    Stat Reset Fruit does not give 100 reset stats or 200. Its just zero xD.



    oh lol, i think all stat reset fruits are mixed up, they are doing what they suppose to do but not what the value they should be deducting...

    talking about s6.
    uhm guys does anyone know how to fix this xD, i am playing with the source code but can't get it right

    - - - Updated - - -

    Ok just got some freaking workaround but i think this is not just it. It somehow works but not really the original:

    Code:
    bool CFruit::UseFruitResetPoint(LPOBJ lpObj,int type,int amountrf) // OK
    {
        PMSG_FRUIT_RESULT_SEND pMsg;
    
        pMsg.header.set(0x2C,sizeof(pMsg));
    
        if(lpObj->Level < 10)
        {
            pMsg.result = 5;
            DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
            return 0;
        }
    
        if(type == 4 && lpObj->Class != CLASS_DL)
        {
            pMsg.result = 5;
            DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
            return 0;
        }
    
        for(int n=0;n < INVENTORY_WEAR_SIZE;n++)
        {
            if(lpObj->Inventory[n].IsItem() != 0)
            {
                pMsg.result = 16;
                DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
                return 0;
            }
        }
    
        int* stat;
    
        switch(type)
        {
            case 0:
                stat = &lpObj->Strength;
                break;
            case 1:
                stat = &lpObj->Dexterity;
                break;
            case 2:
                stat = &lpObj->Vitality;
                break;
            case 3:
                stat = &lpObj->Energy;
                break;
            case 4:
                stat = &lpObj->Leadership;
                break;
            default:
                pMsg.result = 38;
                DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
                return 0;
        }
    
        if((*stat) <= gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))
        {
            pMsg.result = 38;
            DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
            return 0;
        }
    
        amountrf = (100);
            //[original code]((((*stat)-amount)<gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))?((*stat)-gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type)):amount);
        if((*stat) <= gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))
        {
            pMsg.result = 38;
            DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
            return 0;
        }
    
        (*stat) -= amountrf;
    
        if((*stat) <= gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))
        {
            pMsg.result = 38;
            DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
            return 0;
        }
    
        lpObj->LevelUpPoint += amountrf;
    
        pMsg.result = 6;
    
        pMsg.value = amountrf;
    
        pMsg.type = ((type<4)?(3-type):type);
    
        #if(GAMESERVER_EXTRA==1)
        pMsg.ViewValue = amountrf;
        pMsg.ViewPoint = lpObj->LevelUpPoint;
        pMsg.ViewStrength = lpObj->Strength;
        pMsg.ViewDexterity = lpObj->Dexterity;
        pMsg.ViewVitality = lpObj->Vitality;
        pMsg.ViewEnergy = lpObj->Energy;
        pMsg.ViewLeadership = lpObj->Leadership;
        #endif
    
        DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
    
        gObjectManager.CharacterCalcAttribute(lpObj->Index);
        return 1;
    }
    hope someone cleans that up xD.

  6. #726
    Registered kod-the-one is offline
    MemberRank
    Apr 2009 Join Date
    RomaniaLocation
    24Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    uhm guys does anyone know how to fix this xD, i am playing with the source code but can't get it right

    - - - Updated - - -

    Ok just got some freaking workaround but i think this is not just it. It somehow works but not really the original:



    hope someone cleans that up xD.
    Hmm, wouldn't have been much easier to change durability for the reset fruits in items.txt ?

  7. #727
    Account Upgraded | Title Enabled! nofeara is offline
    True MemberRank
    Nov 2009 Join Date
    418Posts

    Re: Source [MUEMU]

    Hello FOlks!

    Uhm how to configure maximum zen deposit on vault? I think its stucks around 90 million?

    how to add minimap to s6 files? Where to look for "Offset.h"?

  8. #728
    Registered kod-the-one is offline
    MemberRank
    Apr 2009 Join Date
    RomaniaLocation
    24Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    Hello FOlks!

    Uhm how to configure maximum zen deposit on vault? I think its stucks around 90 million?

    how to add minimap to s6 files? Where to look for "Offset.h"?
    #define MAX_WAREHOUSE_MONEY 100000000
    Go to Warehouse.h and on line 11 you should have this, change the value of the numbers to what ever you like.

  9. #729
    Member Darking is offline
    MemberRank
    Jan 2017 Join Date
    73Posts

    Re: Source [MUEMU]

    Quote Originally Posted by kod-the-one View Post
    Go to Warehouse.h and on line 11 you should have this, change the value of the numbers to what ever you like.
    How about in Season 6 how to edit maximum zen? in vault and inventory?

  10. #730
    Registered kod-the-one is offline
    MemberRank
    Apr 2009 Join Date
    RomaniaLocation
    24Posts

    Re: Source [MUEMU]

    Quote Originally Posted by Darking View Post
    How about in Season 6 how to edit maximum zen? in vault and inventory?
    Without open source not sure you can do much :) but for vault, read the comment above :) and for inventory open User.h and modify this ammount

    #define MAX_MONEY 2000000000
    You can also change ammount of zen in trade, open Trade.h and look for that below.

    #define MAX_TRADE_MONEY 1000000000
    p.s. you using these source files? dont want to look stupid

  11. #731
    Account Upgraded | Title Enabled! nofeara is offline
    True MemberRank
    Nov 2009 Join Date
    418Posts

    Re: Source [MUEMU]

    Quote Originally Posted by kod-the-one View Post
    Without open source not sure you can do much :) but for vault, read the comment above :) and for inventory open User.h and modify this ammount



    You can also change ammount of zen in trade, open Trade.h and look for that below.



    p.s. you using these source files? dont want to look stupid
    i forgot to edit my post sorry, i already solved this one... but regarding the minimap thing for season 6? Do you know how? and also do you know how to bypass 5 party limit and create more than 5 players in party?

  12. #732
    Registered kod-the-one is offline
    MemberRank
    Apr 2009 Join Date
    RomaniaLocation
    24Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    i forgot to edit my post sorry, i already solved this one... but regarding the minimap thing for season 6? Do you know how? and also do you know how to bypass 5 party limit and create more than 5 players in party?
    Party.h

    #define MAX_PARTY_USER 5
    Then in Party.cpp add new m_PartyInfo with ascending index number, you can find that in bool CParty::Create in line 119

    gObj[aIndex].PartyNumber = count;
    this->m_PartyInfo[count].Count = 1;
    this->m_PartyInfo[count].Index[0] = aIndex;
    this->m_PartyInfo[count].Index[1] = -1;
    this->m_PartyInfo[count].Index[2] = -1;
    this->m_PartyInfo[count].Index[3] = -1;
    this->m_PartyInfo[count].Index[4] = -1;
    - - - Updated - - -

    Question: Why all get likes and me not?
    Last edited by allexander; 05-06-18 at 09:32 PM.

  13. #733
    Registered kod-the-one is offline
    MemberRank
    Apr 2009 Join Date
    RomaniaLocation
    24Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    i forgot to edit my post sorry, i already solved this one... but regarding the minimap thing for season 6? Do you know how? and also do you know how to bypass 5 party limit and create more than 5 players in party?
    For minimap check in client_EX401 for Minimap.cpp and Minimap.h you should have all there.
    Last edited by allexander; 05-06-18 at 09:33 PM.

  14. #734
    Account Upgraded | Title Enabled! nofeara is offline
    True MemberRank
    Nov 2009 Join Date
    418Posts

    Re: Source [MUEMU]

    Quote Originally Posted by kod-the-one View Post
    Party.h



    Then in Party.cpp add new m_PartyInfo with ascending index number, you can find that in bool CParty::Create in line 119



    - - - Updated - - -



    Answered to you in page 128 regarding max money

    Question: Why all get likes and me not?
    Added your deserving like thumb ^_^.

    The party leader get kick out when adding the 6th character.

    This is what i did within the source:




  15. #735
    Registered kod-the-one is offline
    MemberRank
    Apr 2009 Join Date
    RomaniaLocation
    24Posts

    Re: Source [MUEMU]

    Quote Originally Posted by nofeara View Post
    Added your deserving like thumb ^_^.

    The party leader get kick out when adding the 6th character.

    This is what i did within the source:



    Party.cpp change this->GCPartyResultSend(aIndex,4);

    if(this->IsParty(lpTarget->PartyNumber) != 0)
    {
    this->GCPartyResultSend(aIndex,4);
    return;
    }
    With this

    if(this->IsParty(lpTarget->PartyNumber) != 0)
    {
    this->GCPartyResultSend(aIndex,9);
    return;
    }
    Q: Do you have any error logs in GS when adding 6th member to the party? did you checked server CFG files for any party settings?

    Q: Did you try changing MAX_PARTY_DISTANCE ?



Advertisement