Jump to content

margoss

Inactive Member
  • Posts

    10
  • Joined

  • Last visited

  • Feedback

    0%

About margoss

Informations

  • Gender
    Male

Recent Profile Visitors

917 profile views

margoss's Achievements

Rookie

Rookie (2/16)

  • Collaborator
  • Reacting Well
  • First Post
  • Conversation Starter
  • Week One Done

Recent Badges

1

Reputation

  1. [FIX] Drops von Pets Vorhin meinte n Kumpel so, dass es den Bug gibt, dass wenn Pets Mobs killen der Name vom Pet über den gedropten Items steht und man diese nicht aufheben kann.Naja habs kurz gebastelt.Da es nur ne kleinigkeit is schenk ichs euch mal. Autor: xCPx EPVP service.h: add: #define __FIX_PET_ATTACK char.h: search: #ifdef __PET_SYSTEM__ private: bool m_bIsPet; public: void SetPet() { m_bIsPet = true; } bool IsPet() { return m_bIsPet; } #endif add below: #ifdef __FIX_PET_ATTACK private: LPCHARACTER m_Owner = NULL; public: void SetOwner(LPCHARACTER owner) { m_Owner = owner; } LPCHARACTER GetOwner() { return m_Owner; } #endif char.cpp: search: #ifdef PET_SYSTEM m_petSystem = 0; m_bIsPet = false; #endif add below: #ifdef __FIX_PET_ATTACK m_Owner = NULL; #endif PetSystem.cpp: in: DWORD CPetActor::Summon(const char* petName, LPITEM pSummonItem, bool bSpawnFar) search: if (0 != m_pkChar) { m_pkChar->Show (m_pkOwner->GetMapIndex(), x, y); m_dwVID = m_pkChar->GetVID(); return m_dwVID; } replace it with: if (0 != m_pkChar) { #ifdef __FIX_PET_ATTACK m_pkChar->SetOwner(m_pkOwner); m_pkChar->SetPet(); #endif m_pkChar->Show (m_pkOwner->GetMapIndex(), x, y); m_dwVID = m_pkChar->GetVID(); return m_dwVID; } search: m_pkChar->SetEmpire(m_pkOwner->GetEmpire()); add below: #ifdef __FIX_PET_ATTACK m_pkChar->SetOwner(m_pkOwner); #endif item.cpp: in: void CItem::SetOwnership(LPCHARACTER ch, int iSec) add at the beginning of the function: #ifdef __FIX_PET_ATTACK if(ch) { if (ch->IsPet()) { LPCHARACTER owner = ch->GetOwner(); if(owner) ch = owner; } } #endif
  2. Unknown packet header: 101, last: 75 69 Help ? Guild not work ....!!
  3. The error occurs every second in putty.
  4. Warning: Using a password on the command line interface can be insecure. How to fix ? thx...
  5. Denic Cikiec I can not find lib_staff I create? I created lib_staff and put path and still the same error. Thanks for the answer =)
  6. Thx I have one problem Error 1 fatal error LNK1104: cannot open file 'python22.lib' UserInterface UserInterface txh Sanchez
  7. Hi I have a problem with these errors: [Hidden Content] thx
×
×
  • 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.