zTeam source + fixes STABLE

Page 11 of 11 FirstFirst ... 34567891011
Results 151 to 161 of 161
  1. #151
    Proficient Member AsTy is offline
    MemberRank
    Sep 2006 Join Date
    160Posts

    Re: zTeam source + fixes STABLE


  2. #152
    Proficient Member AsTy is offline
    MemberRank
    Sep 2006 Join Date
    160Posts

    Re: zTeam source + fixes STABLE

    Quote Originally Posted by kessiler View Post
    I would mount a server for me, but I gave up.
    The all the time I keep the code from my github based zteam server.
    I'm posting the link here for anyone.
    If they want me to correct something too, just open an issue in the repository that'll fix it.
    The link is here
    Hugs
    does this support windows server 2003?

    - - - Updated - - -

    How to set muhelper level use to 1 ? can't find this in cpp
    Last edited by AsTy; 30-11-14 at 12:49 PM.

  3. #153
    Apprentice kessiler is offline
    MemberRank
    Dec 2011 Join Date
    5Posts

    Re: zTeam source + fixes STABLE

    Quote Originally Posted by AsTy View Post
    does this support windows server 2003?

    - - - Updated - - -

    How to set muhelper level use to 1 ? can't find this in cpp

    Yes. I use it in windows Server 2003.

  4. #154
    Account Upgraded | Title Enabled! Maddox is offline
    MemberRank
    Feb 2014 Join Date
    937Posts

    Re: zTeam source + fixes STABLE

    confuse about zTeam S6 files there are more post but no 1 know what is latest or better to use :D....

    any want to share his/her Updated source with fixes that posted in different thread of zTeam season 6?

    suggestion? ^^

    thanks :)
    Last edited by Maddox; 01-12-14 at 07:29 AM.

  5. #155
    Proficient Member AsTy is offline
    MemberRank
    Sep 2006 Join Date
    160Posts

    Re: zTeam source + fixes STABLE

    Quote Originally Posted by kessiler View Post
    Yes. I use it in windows Server 2003.

    i compiled it on windows 7 with studio 2012, try to run it on win2003 server
    framework 4.0
    redistable 2012

    where is the problem?
    Attached Thumbnails Attached Thumbnails 32.png  

  6. #156
    Account Upgraded | Title Enabled! rusolp is offline
    MemberRank
    Mar 2008 Join Date
    $db->play_lifeLocation
    319Posts

    Re: zTeam source + fixes STABLE

    Hi there, im trying to add vip bonus for npc reset..

    I make this in joinserver:

    if (Result == ACC_REQ_SUCCESS) {
    gDataBase.ExecFormat("SELECT DATEDIFF(day,getdate(),out__days) as datevip FROM MEMB_INFO WHERE memb___id=LOWER('%s')", szAccountID);
    OutDays = gDataBase.GetInt("datevip");


    if (BlocCode > 0)
    {
    Result = ACC_REQ_ACC_BANNED;
    }
    else
    {
    UserNumber = gJoinServer_Manager.AddUser(aIndex, szAccountID, szIp, lpMsg->Number, DBNumber);
    if (UserNumber == -1)
    {
    Result = ACC_REQ_20000;
    }
    }
    }
    }
    else
    {
    LogAddC(eError, "[Error] Account [%s] does not exits", szAccountID);


    Result = ACC_REQ_WRONG_ID;
    }
    }
    else
    {
    LogAddC(eError, "[Error] Failed ExecFormat [%s]", szAccountID);


    Result = ACC_REQ_TEMP_BLOCK;
    }


    gDataBase.Clear();
    }
    else
    {
    LogAddC(eError, "[Error] Account [%s] already connected", szAccountID);


    Result = ACC_REQ_ALREADY_CONNECT;
    }
    }
    else
    {
    LogAddC(eError, "[Error] Account [%s] antihack check fail", szAccountID);


    Result = ACC_REQ_TEMP_BLOCK;
    }


    JOIN_SERVER_ACC_REQ_RESULT Msg = { 0 };
    Msg.h.Set(0x01, sizeof(JOIN_SERVER_ACC_REQ_RESULT));
    Msg.Result = Result;
    Msg.aIndex = Number;
    Msg.UserNumber = UserNumber;
    Msg.DBNumber = DBNumber;
    Msg.IsVip = OutDays;
    Msg.Magumsa = 0;
    Msg.m_iPCRoom = 1;
    memcpy(Msg.AccountID, szAccountID, sizeof(Msg.AccountID));
    memcpy(Msg.JoominNumber, JoominNumber, sizeof(Msg.JoominNumber));
    gJoinServer_Manager.DataSend(aIndex, (LPBYTE)&Msg, Msg.h.Size);
    But now im not sure how to get this from gameserver.. when i compile the gameserver, not show any error, but it always give me "0" as vip status (instead of 30 vip days for example)...

    ResetSystem.cpp
    lpUser->LevelUpPoint = 500 * (lpUser->Reset + 1);

    if( lpUser->IsVip > 0 )
    {
    lpUser->LevelUpPoint = 1000 * (lpUser->Reset + 1);
    }
    user.h
    struct OBJECTSTRUCT{
    int IsVip;
    SProtocol.h
    struct SDHP_IDPASSRESULT
    {
    PBMSG_HEAD h;
    unsigned char result; // 3
    short Number; // 4
    char Id[10]; // 6
    int UserNumber;
    int DBNumber;
    char JoominNumber[13];
    int ukn_30;//NEW
    int IsVip;
    BYTE PcBangRoom;//NEW
    };
    SProtocol.cpp
    void JGPAccountRequest(SDHP_IDPASSRESULT * lpMsg)
    {
    char szId[11];
    int aIndex;
    char szJN[14]="";

    memset(szId, 0, sizeof(szId));
    memcpy(szId, lpMsg->Id , sizeof(lpMsg->Id));
    memcpy(szJN, lpMsg->JoominNumber , sizeof(lpMsg->JoominNumber));


    aIndex = lpMsg->Number;
    IsVip = lpMsg->IsVip;

    I hope someone can teach me, cuz im newbie in this things..

  7. #157
    selling server files is against RZ rules LTPTeam is offline
    MemberRank
    Feb 2013 Join Date
    UkraineLocation
    551Posts

    Re: zTeam source + fixes STABLE

    Quote Originally Posted by rusolp View Post
    Hi there, im trying to add vip bonus for npc reset..

    I make this in joinserver:



    But now im not sure how to get this from gameserver.. when i compile the gameserver, not show any error, but it always give me "0" as vip status (instead of 30 vip days for example)...

    ResetSystem.cpp


    user.h


    SProtocol.h


    SProtocol.cpp



    I hope someone can teach me, cuz im newbie in this things..

    Can you release joinserver source?

  8. #158
    Account Upgraded | Title Enabled! rusolp is offline
    MemberRank
    Mar 2008 Join Date
    $db->play_lifeLocation
    319Posts

    Re: zTeam source + fixes STABLE

    Quote Originally Posted by cocs55 View Post
    Can you release joinserver source?
    Here you can download: http://forum.ragezone.com/f508/couga...world-1037477/.

  9. #159
    Proficient Member AsTy is offline
    MemberRank
    Sep 2006 Join Date
    160Posts

    Re: zTeam source + fixes STABLE

    how to disable level 80 for mu helper start ?

  10. #160
    selling server files is against RZ rules LTPTeam is offline
    MemberRank
    Feb 2013 Join Date
    UkraineLocation
    551Posts

    Re: zTeam source + fixes STABLE

    Quote Originally Posted by rusolp View Post
    Thanks)
    Do you have ExDB source?

  11. #161
    Member amocthong is offline
    MemberRank
    May 2014 Join Date
    71Posts

    Re: zTeam source + fixes STABLE

    please share me hp bar code like clip



Page 11 of 11 FirstFirst ... 34567891011

Advertisement