-
Posts
136 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by LordZiege
-
Uninstalling LibJPEG and Taking Screenshots with DirectX9
LordZiege replied to blaxis's topic in Programming & Scripts
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; } -
Python static syserr when closing Client
LordZiege replied to LordZiege's topic in Community Support - Questions & Answers
Up -
Python static syserr when closing Client
LordZiege replied to LordZiege's topic in Community Support - Questions & Answers
Up -
Python static syserr when closing Client
LordZiege replied to LordZiege's topic in Community Support - Questions & Answers
This does not help.with my problem but thank you! -
Restart the core and lose skills
LordZiege replied to shenhui1986's topic in Community Support - Questions & Answers
Check syserr on game core and db, maybe its a bad query for the player table -
Game Crashes After Typing in the Chat !
LordZiege replied to Anoyes's topic in Community Support - Questions & Answers
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. -
Unknow header / packet errors
LordZiege replied to Synthia's topic in Community Support - Questions & Answers
Looks like your client and server are not compatible. Its not normal that you have so much packet errors. The reason why, is that the client sends packets to the server, but the server didnt know that packet. (Maybe its missing at server side or have another number) -
Game Crashes After Typing in the Chat !
LordZiege replied to Anoyes's topic in Community Support - Questions & Answers
Create a debug binary and run it through visual studio oder attach the process of the debug binary to visual studio. Then you will find the source parts which cause the crashes. -
Costume Mount System Warp&Login Problem
LordZiege replied to blaxis's topic in Community Support - Questions & Answers
that gif is a known bug from that mount system renewal, thats why this system is shit. not the only bug, also there are attributes duplications etc. -
I found a little bug, if you have the same item as drop, both with count 1 but different pct, the target info only show the one with higher pct, but not that one with lower pct. Anyone has fixxed that problem? (When you make different counts, it works, only problem is with same count), mob_drop_item: [Hidden Content] ingame: [Hidden Content]
-
[NEED HELP] Inventory Refresh Problem
LordZiege replied to WizKid's topic in Community Support - Questions & Answers
Maybe next time you should buy the special inventory and not using released one -
i found a litle problem with very long bonuses
-
Try with: if (GetNewPetSystem() && GetNewPetSystem()->IsActivePet())
-
Debug game.core file?
-
How they enter then via backdoor? If its available on the internet, its easy to scan for open ports and brute force on that ports (ssh, mysql, etc.)
-
Thats mostly when you use insecure mysql server installation with default mysql users. In 99% of time, its not a backdoor, only your own fault.
-
Syserr is empty in client? Did you changed something related to refreshbagslot in uiinventory?
-
Debug the game.core file and you'll get your answer