Jump to content

Chookez

Member
  • Content Count

    16
  • Joined

  • Last visited

  • Yangs

    64 [ Donate ]

Community Reputation

5 Neutral

About Chookez

  • Rank
    Neutral
  • Birthday August 4

Profile Information

  • Gender
    Male
  • Location
    Hungary
  • About Me

    <p>
     
    </p>

    <p>
    <span style="background-color:#f8f9fa;color:#222222;font-size:28px;text-align:left;">I'm a beginner who hobby is developing different game servers.</span>
    </p>

Recent Profile Visitors

266 profile views
  1. Chookez

    open

    Hello all. Someone can give me some help in this code? if (!bFound) { TPacketGCEmpire pe; pe.bHeader = HEADER_GC_EMPIRE; pe.bEmpire = number(1, 3); d->Packet(&pe, sizeof(pe)); } I deleted the yellow empire from the client. So here's another statement that a user who doesn't have a character just enters the Red and Blue empires. pe.bEmpire = number(1, 3); 1 = Shinsoo 2 = Chunjo 3 = Jinno But i only want the first and third, not the second. Sorry for my very bad english.
  2. Chookez

    solved

    Thanks for the information.
  3. Chookez

    solved

    Hi guys. Is it possible to make NPCs visible in World Editor? If so how?
  4. Chookez

    open

    I'll try it soon, thanks in advance.
  5. case USE_EXTEND_TIME: { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) { return false; } if (item2->IsExchanging()) { ChatPacket(CHAT_TYPE_INFO, "You can't use it while trading."); return false; } if (item2->IsEquipped()) { ChatPacket(CHAT_TYPE_INFO, "You cannot use it on equipped item."); return false; } if (item2->GetType() != ITEM_COSTUME || (item2->GetSubType() != COSTUME_BODY && item2->GetSubType() != COSTUME_HAIR)) { return false; } item2->SetSocket(0, item2->GetSocket(0) + item->GetValue(0)); item->SetCount(item->GetCount() - 1); ChatPacket(CHAT_TYPE_INFO, "Item time has been extended!"); } break; Hi all. I need a little help. How do I fix the item's maximum 7 days? If the item is 7 days old, then you cannot increase your time any further. Thanks for help, and sorry for my bad english.
  6. Chookez

    c++

    It works for me, thanks. @ReFresh Yes, replace the function. Of course, if you've already changed something, check it out.
  7. Chookez

    map

    Nice work, but the link is dead.
  8. Chookez

    open

    Hi. I have a little problem with this quest: https://pastebin.com/6t3Z8tfC I'll kill the dragon and all monsters resurrect in the same way. Regen.txt: https://pastebin.com/P1BDdTNh Someone can help me?
  9. Thanks for sharing. Working perfectly.
  10. Chookez

    open

    I did not test it!!!!!! Open char.h and search: DWORD GetLastMoveTime() const { return m_dwLastMoveTime; } Add under: DWORD GetLastItemUseTime() const {return m_dwLastItemUseTime;} Search: DWORD m_dwLastMoveTime; Add under: DWORD m_dwLastItemUseTime; Open char.cpp file and search: m_dwPlayStartTime = m_dwLastMoveTime = get_dword_time(); Add under: m_dwLastItemUseTime = 0; Open char_item.cpp file and search: if (item->GetVnum() != 70302) { PIXEL_POSITION posWarp; int x = 0; int y = 0; double nDist = 0; const double nDistant = 5000.0; //±ÍČŻ±âľďşÎ if (item->GetVnum() == 22010) { x = item->GetSocket(0) - GetX(); y = item->GetSocket(1) - GetY(); } //±ÍČŻşÎ else if (item->GetVnum() == 22000) { SECTREE_MANAGER::instance().GetRecallPositionByEmpire(GetMapIndex(), GetEmpire(), posWarp); if (item->GetSocket(0) == 0) { x = posWarp.x - GetX(); y = posWarp.y - GetY(); } else { x = item->GetSocket(0) - GetX(); y = item->GetSocket(1) - GetY(); } } Add under: int CalcLastItemUseSec = (get_dword_time() - GetLastItemUseTime()) / 1000 + 0.5; if (CalcLastItemUseSec < 5) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("WAIT_5_SEC_TO_USE")); return false; }
  11. Chookez

    open

    Hello everyone. Someone can help me in C++ 1. How i can disable if you die then you can not put the equipped items into storage? 2. How i can disable equipped dragon stone can not storage? -----> "Can not store equipped DragonStone." Successsfully resolved! Please delete the topic.
  12. Hello everyone! I was browsing the web, but i did not find it, so I want to ask if there is someone have one normal plane ingame ItemShop? For that i mean: Anything like this would be perfect.
  13. Greetings! I have a question: How i can do in C++ write a function how one ITEM can reset COSTUME time? (Drawn to costume) Someone can help me? Sorry my bad english.
  14. In exchange.cpp change this: if (0 == s_vDSGrid[wBasePos]) to this: if (0 == s_vDSGrid[wPos])
  15. Chookez

    open

    Thank you for your help. Very big thanks dear ridetpro.
×
×
  • 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.