[Development] Community Edition Season6 Episode3 z-Team

Page 7 of 24 FirstFirst 12345678910111213141517 ... LastLast
Results 91 to 105 of 358
  1. #91
    selling server files is against RZ rules LTPTeam is offline
    MemberRank
    Feb 2013 Join Date
    UkraineLocation
    551Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by wesker View Post
    i use Avast I.S.; and can't open connectserver (win32:Malware-gen)
    it is normal?
    yes it's normal.

  2. #92
    Srsly? I have a title :D quskevel is offline
    MemberRank
    Jan 2013 Join Date
    United KingdomLocation
    275Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    oh lol my issues source work with 2010///

    any one have problem with teleport to Kanturu Remains?

  3. #93

    re: [Development] Community Edition Season6 Episode3 z-Team

    i have a problem.
    tried with or without socketitem.cpp .h in zclient.dll


    a socketed item dropped in raklion , i take it in inventory , drop it or sell it evertything ok

    i switch character and then i get this error : Strengthened items can't be stored or can't be sold..

    after 5 minutes or 2-3 switches i can drop it or sell it and so on...

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

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by quskevel View Post
    oh lol my issues source work with 2010///

    any one have problem with teleport to Kanturu Remains?
    Release you sources

  5. #95
    Srsly? I have a title :D quskevel is offline
    MemberRank
    Jan 2013 Join Date
    United KingdomLocation
    275Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by cocs55 View Post
    Release you sources
    Im use source with last update noone changed in BUGS only added my customs from s4.6...


    KantruRemains uses with client<-> server if MAPID - 24 in movereq

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

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by quskevel View Post
    Im use source with last update noone changed in BUGS only added my customs from s4.6...


    KantruRemains uses with client<-> server if MAPID - 24 in movereq
    strange that you do not crash ...

  7. #97
    Alpha Member ianvalls90 is offline
    MemberRank
    Apr 2007 Join Date
    ArgentinaLocation
    1,829Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    @cocs55 : stop asking for peoples sources.dude....we're all basically working with same things.....
    I already stated that the crash you mention, i dont have it....using sources posted here.....

  8. #98
    Account Upgraded | Title Enabled! walter29 is offline
    MemberRank
    Dec 2007 Join Date
    316Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by cocs55 View Post
    Link off


    ------------

    link back to normal now
    Last edited by walter29; 29-07-14 at 04:49 PM.

  9. #99
    Apprentice Tomy73 is offline
    MemberRank
    Jun 2014 Join Date
    6Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by cocs55 View Post
    thank you, and you can declare an identifier?
    I would appreciate

    1>dllmain.cpp(89): error C2065: gSocketItem: необъявленный идентификатор
    1>dllmain.cpp(89): error C2228: выражение слева от ".Load" должно представлять класс, структуру или объединение
    dllmain.cpp

    // ----
    LoadLibrary("ttlci.dll");
    // ----
    gSocketItem.Load();
    VMEND

  10. #100
    Valued Member wesker is offline
    MemberRank
    Aug 2006 Join Date
    110Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    The Main.exe no open in w8.1 x64, but in compatibility mode yes open.
    which is the IP and Serial Main to change?
    When entry with the client, the server does not appear to click.

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

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by ianvalls90 View Post
    @cocs55 : stop asking for peoples sources.dude....we're all basically working with same things.....
    I already stated that the crash you mention, i dont have it....using sources posted here.....
    i'm using sources ftom this topic.

    - - - Updated - - -

    Quote Originally Posted by walter29 View Post
    Link off


    ------------

    link back to normal now
    Link work fine

  12. #102
    Srsly? I have a title :D quskevel is offline
    MemberRank
    Jan 2013 Join Date
    United KingdomLocation
    275Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    Kundun Trash Item (from event item bag) Count and Kundun Ancient Drop Item Count (Static)
    Go to your server and open CommonServer.cfg:
    find KundunHPLogSaveTime, type enter and paste this:
    KundunDropItemCount = 7
    KundunDropAncItemCount = 1

    Your CommonServer.cfg like this:
    KundunMarkDropRate = 15
    KundunRefillHPSec = 600
    KundunRefillHP = 30000
    KundunRefillHPTime = 600
    KundunHPLogSaveTime = 120
    KundunDropItemCount = 7
    KundunDropAncItemCount = 1

    Go to your source code and open it.
    Open FileName - gObjMonster.cpp and find int iMaxNumOfRewardItem = 3; (or int iMaxNumOfRewardItem)
    change it to int iMaxNumOfRewardItem = g_bKalimaKundunItemCount;

    After this type enter and add new line:
    int iMaxNumOfAncientItem = g_bKalimaKundunAncItemCount;
    Your source look like this:

    int iMaxNumOfRewardItem = g_bKalimaKundunItemCount;
    int iMaxNumOfAncientItem = g_bKalimaKundunAncItemCount;

    Below it find
    MakeRewardSetItem(MaxHitUser, cDropX, cDropY, 1, lpObj->MapNumber);

    and delete from it all code about SetItem:

    Your source look like this:
    for ( int i=0; i < iMaxNumOfRewardItem; i++ )
    {
    BYTE cDropX = lpObj->X;
    BYTE cDropY = lpObj->Y;


    if ( CHECK_LIMIT(MaxHitUser, OBJMAX) )
    {


    LogAddTD("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);


    KUNDUN_EVENT_LOG.Output("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);
    }
    else
    {
    LogAddTD("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);


    KUNDUN_EVENT_LOG.Output("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);
    }


    if ( !gObjGetRandomItemDropLocation(lpObj->MapNumber, cDropX, cDropY, 4, 4, 10))
    {
    cDropX = lpObj->X;
    cDropY = lpObj->Y;
    }

    if ( OBJMAX_RANGE(MaxHitUser ))
    {
    LogAddTD("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);
    KUNDUN_EVENT_LOG.Output("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);
    }
    else
    {
    LogAddTD("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);
    KUNDUN_EVENT_LOG.Output("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);
    }


    KundunEventItemBoxOpen(lpTargetObj, lpObj->MapNumber, cDropX, cDropY);
    }


    after it:
    add below new code - new code:
    for ( int i=0; i < iMaxNumOfAncientItem; i++ )
    {
    BYTE cDropX = lpObj->X;
    BYTE cDropY = lpObj->Y;


    if ( !gObjGetRandomItemDropLocation(lpObj->MapNumber, cDropX, cDropY, 4, 4, 10))
    {
    cDropX = lpObj->X;
    cDropY = lpObj->Y;
    }


    if ( lpObj->Class == 275 )
    {
    MakeRewardSetItem(MaxHitUser, cDropX, cDropY, 1, lpObj->MapNumber);


    LogAddTD("[ЎЫKundun EVENT] Drop SetItem ");
    KUNDUN_EVENT_LOG.Output("[ЎЫKundun EVENT] Drop SetItem ");


    continue;
    }
    }

    so ok we are create all function, but need read it from config.


    Go to GameMain.h
    and add it:
    extern int g_bKalimaKundunItemCount;
    extern int g_bKalimaKundunAncItemCount;

    after this:
    extern int g_iBlockRaklionMapEnter;

    Go to GameMain.cpp
    and add it:
    int g_bKalimaKundunItemCount;
    int g_bKalimaKundunAncItemCount;

    after this:
    BOOL g_bRaklionSelupanDropZen;

    so,
    add it:
    g_bKalimaKundunItemCount = GetPrivateProfileInt("GameServerInfo","KundunDropItemCount",20, gDirPath.GetNewPath("commonserver.cfg"));
    g_bKalimaKundunAncItemCount = GetPrivateProfileInt("GameServerInfo","KundunDropAncItemCount",1, gDirPath.GetNewPath("commonserver.cfg"));


    after this:
    g_iBlockRaklionMapEnter = GetPrivateProfileInt("GameServerInfo","BlockRaklionMapEnter",0, gDirPath.GetNewPath("commonserver.cfg"));







    And Congulation you have full config kundun drop (how many items from it drop(Anc/normal))

  13. #103
    Account Upgraded | Title Enabled! walter29 is offline
    MemberRank
    Dec 2007 Join Date
    316Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    @4FUNer
    would you please give more detail on how you raised the CraftSystem event?
    Therefore tried to activate and it's not working, including the source of ferifiquei zcliente to see if it was putting the files in the correct location more unfortunately I'm not having success.

  14. #104
    Member Wayne Sniper is offline
    MemberRank
    Apr 2013 Join Date
    79Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    how to make 3 socket the 5 socket?

  15. #105
    Apprentice aecrimch is offline
    MemberRank
    Dec 2007 Join Date
    842Posts

    re: [Development] Community Edition Season6 Episode3 z-Team

    Quote Originally Posted by quskevel View Post
    Kundun Trash Item (from event item bag) Count and Kundun Ancient Drop Item Count (Static)
    Go to your server and open CommonServer.cfg:
    find KundunHPLogSaveTime, type enter and paste this:
    KundunDropItemCount = 7
    KundunDropAncItemCount = 1

    Your CommonServer.cfg like this:
    KundunMarkDropRate = 15
    KundunRefillHPSec = 600
    KundunRefillHP = 30000
    KundunRefillHPTime = 600
    KundunHPLogSaveTime = 120
    KundunDropItemCount = 7
    KundunDropAncItemCount = 1

    Go to your source code and open it.
    Open FileName - gObjMonster.cpp and find int iMaxNumOfRewardItem = 3; (or int iMaxNumOfRewardItem)
    change it to int iMaxNumOfRewardItem = g_bKalimaKundunItemCount;

    After this type enter and add new line:
    int iMaxNumOfAncientItem = g_bKalimaKundunAncItemCount;
    Your source look like this:

    int iMaxNumOfRewardItem = g_bKalimaKundunItemCount;
    int iMaxNumOfAncientItem = g_bKalimaKundunAncItemCount;

    Below it find
    MakeRewardSetItem(MaxHitUser, cDropX, cDropY, 1, lpObj->MapNumber);

    and delete from it all code about SetItem:

    Your source look like this:
    for ( int i=0; i < iMaxNumOfRewardItem; i++ )
    {
    BYTE cDropX = lpObj->X;
    BYTE cDropY = lpObj->Y;


    if ( CHECK_LIMIT(MaxHitUser, OBJMAX) )
    {


    LogAddTD("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);


    KUNDUN_EVENT_LOG.Output("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);
    }
    else
    {
    LogAddTD("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);


    KUNDUN_EVENT_LOG.Output("[ЎЪKundun EVENT] In KALIMA(7), ItemDrop MaxHitUser [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);
    }


    if ( !gObjGetRandomItemDropLocation(lpObj->MapNumber, cDropX, cDropY, 4, 4, 10))
    {
    cDropX = lpObj->X;
    cDropY = lpObj->Y;
    }

    if ( OBJMAX_RANGE(MaxHitUser ))
    {
    LogAddTD("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);
    KUNDUN_EVENT_LOG.Output("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, gObj[MaxHitUser].AccountID, gObj[MaxHitUser].Name);
    }
    else
    {
    LogAddTD("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);
    KUNDUN_EVENT_LOG.Output("[ЎЫKundun EVENT] Drop Item [%d][%s][%s]",
    i, lpTargetObj->AccountID, lpTargetObj->Name);
    }


    KundunEventItemBoxOpen(lpTargetObj, lpObj->MapNumber, cDropX, cDropY);
    }


    after it:
    add below new code - new code:
    for ( int i=0; i < iMaxNumOfAncientItem; i++ )
    {
    BYTE cDropX = lpObj->X;
    BYTE cDropY = lpObj->Y;


    if ( !gObjGetRandomItemDropLocation(lpObj->MapNumber, cDropX, cDropY, 4, 4, 10))
    {
    cDropX = lpObj->X;
    cDropY = lpObj->Y;
    }


    if ( lpObj->Class == 275 )
    {
    MakeRewardSetItem(MaxHitUser, cDropX, cDropY, 1, lpObj->MapNumber);


    LogAddTD("[ЎЫKundun EVENT] Drop SetItem ");
    KUNDUN_EVENT_LOG.Output("[ЎЫKundun EVENT] Drop SetItem ");


    continue;
    }
    }

    so ok we are create all function, but need read it from config.


    Go to GameMain.h
    and add it:
    extern int g_bKalimaKundunItemCount;
    extern int g_bKalimaKundunAncItemCount;

    after this:
    extern int g_iBlockRaklionMapEnter;

    Go to GameMain.cpp
    and add it:
    int g_bKalimaKundunItemCount;
    int g_bKalimaKundunAncItemCount;

    after this:
    BOOL g_bRaklionSelupanDropZen;

    so,
    add it:
    g_bKalimaKundunItemCount = GetPrivateProfileInt("GameServerInfo","KundunDropItemCount",20, gDirPath.GetNewPath("commonserver.cfg"));
    g_bKalimaKundunAncItemCount = GetPrivateProfileInt("GameServerInfo","KundunDropAncItemCount",1, gDirPath.GetNewPath("commonserver.cfg"));


    after this:
    g_iBlockRaklionMapEnter = GetPrivateProfileInt("GameServerInfo","BlockRaklionMapEnter",0, gDirPath.GetNewPath("commonserver.cfg"));







    And Congulation you have full config kundun drop (how many items from it drop(Anc/normal))
    it seems i did something wrong...
    these are my compile errors...
    Error 1 error LNK2001: unresolved external symbol "int g_bKalimaKundunAncItemCount" (?g_bKalimaKundunAncItemCount@@3HA) E:\zteam2\zGameServer\GameServer\GameMain.obj GameServer
    Error 3 error LNK2001: unresolved external symbol "int g_bKalimaKundunItemCount" (?g_bKalimaKundunItemCount@@3HA) E:\zteam2\zGameServer\GameServer\GameMain.obj GameServer
    Error 5 error LNK1120: 2 unresolved externals E:\zteam2\zGameServer\Release\GameServer.exe GameServer
    Error 2 error LNK2001: unresolved external symbol "int g_bKalimaKundunAncItemCount" (?g_bKalimaKundunAncItemCount@@3HA) E:\zteam2\zGameServer\GameServer\gObjMonster.obj GameServer
    Error 4 error LNK2001: unresolved external symbol "int g_bKalimaKundunItemCount" (?g_bKalimaKundunItemCount@@3HA) E:\zteam2\zGameServer\GameServer\gObjMonster.obj GameServer
    can you share your complete files?



Advertisement