Jump to content

Zevilke

Member
  • Posts

    19
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Zevilke

  1. Finally i found it. 

    at the client source: InstanceBase.cpp 
    find this: bool CInstanceBase::IsAttackableInstance(CInstanceBase& rkInstVictim)

    and after     

    if (GetVirtualID() == rkInstVictim.GetVirtualID())
            return false;

    put this two lines: 

        if (IAbstractPlayer::GetSingleton().IsSamePartyMember(GetVirtualID(), rkInstVictim.GetVirtualID()))
            return false;
     

    Hope it will help for all, who want to make the same feature! :D

  2.     int iIndex;
        if (!PyTuple_GetInteger(poArgs, 0, &iIndex))
            return Py_BadArgument();

    but you can start to find the problem's reason. This condition says that you want to use a bad argument in the slots (it's a handling problem).

    If i were you, i'd check the system from the start point. f. e. everywhere has the shop array the same size. can the items pass into the slots etc.

     

    I don't use this system, but if you attach the release we can debug it

  3. ...

        if (pkVictim->GetParty() && pkVictim->GetParty() == pkChr->GetParty())
        {
            if (pkChr->GetEmpire() != pkVictim->GetEmpire())
                    return false;
            // Cannot attack same party on any pvp model
        }
        else
        {
            if (pkVictim->IsKillerMode())
            {
                return true;
            }

            if (pkChr->GetAlignment() < 0 && pkVictim->GetAlignment() >= 0)
            {
                if (g_protectNormalPlayer)
                {
                // ąüąýŔÚ´Â ĆňČ­¸đµĺŔÎ ÂřÇŃ»ç¶÷Ŕ» °ř°ÝÇŇ Ľö ľř´Ů.
                if (PK_MODE_PEACE == pkVictim->GetPKMode())
                    return false;
                }
            }


            switch (pkChr->GetPKMode())

    ...

     

    here is the part of my function. Your suggestion was there in the else condition, :)

  4.     if (pkVictim->GetParty() && pkVictim->GetParty() == pkChr->GetParty())
        {
            return false;
            // Cannot attack same party on any pvp model
        }
     

    i found this condition that place, if i'm right, it should have block hurt others, but the problem still alive. 

  5. Hello community!

    I made a 2x2 map, but sometimes the server makes the client kicked. 
    with some syslog line: SECTREE DIFFER: Admin 221x346 was 221x345  

    I hope you can give me some advice! :D
    Thanks :) Have a nice day

    sometimes get kicked from map with this syserr:  Sync: cannot find tree at -2147483648 -2147483648 (name: Admin)

  6. Dear Guys,

    I've done my start map CapeDragonHead. It's working fine, but when i finished my dungeon, and call d.exit_all() function my client get kick.

    After when i relog, i'm at the start position.

    i get this error on the ch core: 

    SYSERR: Mar 22 20:25:27.856863 :: GetValidLocation: cannot find sectree_map by map index 301
    SYSERR: Mar 22 20:25:27.856938 :: PlayerLoad: InputDB::PlayerLoad : cannot find valid location 1082600 x 1793300 (name: [SA]Admin)
     

    Client atlasinfo and the serverside coordinates are the same.

    Sorry for my bad english

    Best wishes,

    Zevilke

×
×
  • 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.