Jump to content

LordZiege

Seller
  • Posts

    146
  • Joined

  • Last visited

  • Feedback

    0%

1 Follower

About LordZiege

Informations

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

LordZiege's Achievements

Proficient

Proficient (10/16)

  • Very Popular Rare
  • Reacting Well
  • Dedicated
  • First Post
  • Collaborator Rare

Recent Badges

368

Reputation

  1. Since the repo is away, can you share that via metin2.download?
  2. bool CPetActor::Update(DWORD deltaTime) { bool bResult = true; // Ce ÁÖRÎRE Á×lú°LlS, LNCZµC CeRÇ »óL°? RE»óÇD´U¸é CeR» lrlÚ. (NOTE: °??u°?´U RE·± Rú·± RERZ·Î LNCZµC CeRE DEAD »óLÂz? süÁö´Â °cze°? RÖR?-_-;) // CeR» LNCZÇN lCRELURE lr°LlS, l»°? °?Ár »óL°? lC´D¶ó¸é CeR» lrlÚ. if (m_pkOwner->IsDead() || (IsSummoned() && m_pkChar->IsDead()) || NULL == ITEM_MANAGER::instance().FindByVID(this->GetSummonItemVID()) || ITEM_MANAGER::instance().FindByVID(this->GetSummonItemVID())->GetOwner() != this->GetOwner() ) { this->Unsummon(); return true; } #ifdef __PET_PICKUP if (this->IsSummoned()){ this->PickUpItems(900); // 900 = RANGE this->BringItem(); } #endif if (this->IsSummoned() && HasOption(EPetOption_Followable)) bResult = bResult && this->_UpdateFollowAI(); return bResult; } Try with this. Before it called BringItem but PickUpItems sets the item pointer you want to use in BringItem, so i changed the lines.
  3. You need to configure proxy ip in source, should be inimplemented already in martys files i think. If not, this should do the trick
  4. And whats on that line? Can you put your petsystem.cpp here or via pastebin?
  5. Use gdb and analyze the dump.
  6. Wait for Gameforge to get the license and making a speed/event server out of it.
  7. Hello, i got a weird crash with AddressSanitizer enabled on Windows, so im here to share a fix. (Not sure if its 100% correct, but fixxed the unknown crash ASAN reported.) in shopex.cpp search: memcpy(pack_tab.name, shop_tab.name.c_str(), SHOP_TAB_NAME_MAX); and replace with: memcpy(pack_tab.name, shop_tab.name.c_str(), sizeof(shop_tab.name));
  8. Thanks for release, but as far as i know it will not work with directx8, cause CreateOffscreenPlainSurface is not present there. Little snippet where you can capture the whole screen with directx8 (not only game window sadly) bool CPythonGraphic::SaveScreenShot() { HRESULT hr; D3DDISPLAYMODE mode; if (FAILED(hr = ms_lpd3dDevice->GetDisplayMode(&mode))) { TraceError("CPythonGraphic::SaveScreenShot() - GetDisplayMode failed!"); return false; } LPDIRECT3DSURFACE8 surf; if (FAILED(hr = ms_lpd3dDevice->CreateImageSurface(mode.Width, mode.Height, D3DFMT_A8R8G8B8, &surf))) { TraceError("CPythonGraphic::SaveScreenShot() - CreateImageSurface failed!"); return false; } if (FAILED(hr = ms_lpd3dDevice->GetFrontBuffer(surf))) { TraceError("CPythonGraphic::SaveScreenShot() - GetFrontBuffer failed!"); surf->Release(); return false; } else { if (!CreateDirectory("screenshot", NULL) && ERROR_ALREADY_EXISTS != GetLastError()) { TraceError("CPythonGraphic::SaveScreenShot() - Failed to create or find screenshot folder failed!"); return false; } SYSTEMTIME st; GetSystemTime(&st); char szFileName[MAX_PATH]; sprintf_s(szFileName, "screenshot/screenshot_%04d%02d%02d_%02d%02d%02d.bmp", st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond); D3DXSaveSurfaceToFile(szFileName, D3DXIFF_BMP, surf, NULL, NULL); } if (surf) { surf->Release(); surf = nullptr; } return true; }
  9. He already had a function for removing skills by clicking the affect icon. I adapted/expanded the function.
  10. This does not help.with my problem but thank you!
  11. Hi guys, when switching from dynamic python library to static one, everthings working fine for now. (python version 2.7.6, the same version as the dynamic one that was in my client before). But everytime i close my client, this syserr shows up and i dont know how fix it. Anyone maybe has an idea?
  12. Check syserr on game core and db, maybe its a bad query for the player table
  13. You could find the problem easier, if you'd follow this. As @ Draveniou1also mentioned, you need to debug the client through visual studio to find the point where it fails.
×
×
  • 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.