-
Content Count
69 -
Joined
-
Last visited
-
Days Won
5
Unknown last won the day on February 9 2022
Unknown had the most liked content!
Community Reputation
15 NeutralAbout Unknown
-
Rank
Pirate
Recent Profile Visitors
1,549 profile views
-
I've just set it to Chinese in order to see comments properly without changing encoding of files for translating. (Also no need to do anything with .res or ui) Well, since starting game.exe without parameter "startgame" returns 0 so debug auto stops, i commented that return 0 if(strParam.find("startgame")==-1) { LG("Error", RES_STRING(CL_LANGUAGE_MATCH_190)); //return 0; } After that it takes me to LEResManger const char* shader_file[] = { "eff1.vso", "eff2.vso", "eff3.vso", "eff4.vso", "font.vso", "shadeeff.vso", "minimap.vso", }; for( int i = 0; i < 7; i++ ) { _snprintf_s(path,DR_MAX_PATH, _TRUNCATE, "%s%s", path_info->GetPath( PATH_TYPE_SHADER ), shader_file[i] ); if( DR_FAILED( shader_mgr->RegisterVertexShader( shader_type[i], path, 0, decl_tab[i], decl_size[i],1 ))) { MessageBox(NULL,shader_file[i],"ERROR",0); return false; } if(i< 4) { _iVShaderNum++; _vecVShader.resize(_iVShaderNum); _vecVShader[_iVShaderNum - 1] = 0; shader_mgr->QueryVertexShader(&_vecVShader[_iVShaderNum - 1],shader_type[i]); }else { if(i==4) shader_mgr->QueryVertexShader(&_dwFontVS,shader_type[i]); if(i==5) shader_mgr->QueryVertexShader(&_dwShadeMapVS,shader_type[i]); if(i==6) shader_mgr->QueryVertexShader(&_dwMinimapVS,shader_type[i]); } } MessageBox(NULL,shader_file,"ERROR",0); So i got message box popped up says: Error eff1.vso I have no idea why this would happen, shader folder is there with all these files. Also tried getting similar/different shaders from other installer/patch. Same thing happens Do you have any idea why this would happen? lol
- 66 replies
-
- community source
- src
- (and 4 more)
-
I have some problems with 2.x source. Game.exe does not run. Do not know how to trace the problem here. Can you help me? PC -> Control Panel\Clock and Region -> Change system locale > Select Chinisese (Simplified, China) - So there won't be no problems with UI in chinese letters (it wont run otherwise) LightEngine compiles fine from folder Client\Engine\sdk 1>Embedding manifest... 1>Build log was saved at "file://c:\PKO 2.4\Client\Engine\sdk\temp\release\BuildLog.htm" 1>LightEngine - 0 error(s), 45 warning(s) ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== Game does not compile from folder client\client Renamed all MP to LE (unidentified identifiers) (No more errors of unidentified identifiers in Game Output log at this point) So what left is now: Error 6 error LNK2001: unresolved external symbol "protected: static class LETexSet * LETexSet::_Instance" (?_Instance@LETexSet@@1PAV1@A) Scene.obj Error 7 error LNK2001: unresolved external symbol "protected: static class LETexSet * LETexSet::_Instance" (?_Instance@LETexSet@@1PAV1@A) ChaScript.obj Error 8 error LNK2001: unresolved external symbol "protected: static class LETexSet * LETexSet::_Instance" (?_Instance@LETexSet@@1PAV1@A) UIScript.obj Error 9 error LNK2001: unresolved external symbol "protected: static class LETexSet * LETexSet::_Instance" (?_Instance@LETexSet@@1PAV1@A) GameAppFrameMove.obj Error 10 error LNK2001: unresolved external symbol "protected: static class LETexSet * LETexSet::_Instance" (?_Instance@LETexSet@@1PAV1@A) GameAppInit.obj Error 11 error LNK2001: unresolved external symbol "protected: static class LETexSet * LETexSet::_Instance" (?_Instance@LETexSet@@1PAV1@A) GameAppInterface.obj Error 12 error LNK2001: unresolved external symbol "protected: static class LETexSet * LETexSet::_Instance" (?_Instance@LETexSet@@1PAV1@A) UIRender.obj Error 13 error LNK2001: unresolved external symbol "protected: static class CEff_ParamSet * CEff_ParamSet::_Instance" (?_Instance@CEff_ParamSet@@1PAV1@A) GameAppMsg.obj Error 14 error LNK2001: unresolved external symbol "protected: static class CGroup_ParamSet * CGroup_ParamSet::_Instance" (?_Instance@CGroup_ParamSet@@1PAV1@A) GameAppMsg.obj Error 15 error LNK2001: unresolved external symbol "protected: static class CGroup_ParamSet * CGroup_ParamSet::_Instance" (?_Instance@CGroup_ParamSet@@1PAV1@A) EffectObj.obj Error 16 error LNK2001: unresolved external symbol "private: static class ui::UIClip * ui::UIClip::m_pClip" (?m_pClip@UIClip@ui@@0PAV12@A) UINumAnswer.obj Error 17 error LNK2001: unresolved external symbol "private: static class ui::UIClip * ui::UIClip::m_pClip" (?m_pClip@UIClip@ui@@0PAV12@A) UIRender.obj Error 18 error LNK2001: unresolved external symbol "protected: static class LETerrainSet * LETerrainSet::_Instance" (?_Instance@LETerrainSet@@1PAV1@A) Scene.obj Error 19 error LNK2001: unresolved external symbol "protected: static class LETerrainSet * LETerrainSet::_Instance" (?_Instance@LETerrainSet@@1PAV1@A) UIScript.obj Error 20 fatal error LNK1120: 5 unresolved externals C:\TOP Project\Client\Client\bin\system\Game.exe So I added these lines of code to because of errors above Scene.cpp - added this after headers LETexSet* LETexSet::_Instance = NULL ; LETerrainSet* LETerrainSet::_Instance = NULL ; EffectObj.cpp - after headers CEff_ParamSet* CEff_ParamSet::_Instance = NULL; GameAppMsg.cpp - after headers ui::UIClip* ui::UIClip::m_pClip = NULL; CGroup_ParamSet* CGroup_ParamSet::_Instance = NULL; Now everything compiles with no errors. 1>------ Build started: Project: kop, Configuration: Release Win32 ------ 1>Compiling... 1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release 1>cl : Command line warning D9025 : overriding '/GR-' with '/GR' 1>cl : Command line warning D9025 : overriding '/EHs' with '/EHa' 1>Scene.cpp 1>EffectObj.cpp 1>GameAppMsg.cpp 1>FlashPlayer.cpp 1>Linking... 1>LINK : warning LNK4199: /DELAYLOAD:d3d8.dll ignored; no imports found from d3d8.dll 1>LINK : warning LNK4199: /DELAYLOAD:dinput8.dll ignored; no imports found from dinput8.dll 1>Embedding manifest... 1>Build log was saved at "file://c:\PKO 2.4\Client\client\client\temp\Release\BuildLog.htm" 1>kop - 0 error(s), 5 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Game.exe: Running table_bin Running start_game 你好: 我发现了一个Bug,哈哈,你们赶快解决哈,Bug信息如下: Access Violation Call Stack: 0040c272 at 0040b8d0 WinMain Access Violation EIP=0x101d309a EBP=0x0019f740 ESP=0x0019f738 EFL=0x00210202 EAX=0x08cf9c80 EBX=0xddcbe0e1 ECX=0x0000001e EDX=0x00000000 ESI=0x08cf9c08 EDI=0xfa2c0580 CTF=0x0001007f Dump:ESP(0019f738) 80 05 2C FA 30 9A 9A 02 08 9C CF 08 82 5B 0B 10 ..,.0........[.. 80 05 2C FA 08 9C CF 08 78 00 00 00 BA 8D 46 11 ..,.....x.....F. 8C 37 66 00 30 9A 9A 02 D8 F9 19 00 01 00 00 00 .7f.0........... D0 49 27 10 00 00 00 00 54 00 00 00 08 9C 9A 02 .I'.....T....... 78 00 00 00 08 9C CF 08 D8 F9 19 00 1C 6A 0B 10 x............j.. C4 F8 19 00 FF 00 00 00 FF FF FF FF D8 B8 21 10 ..............!. 8C 37 66 00 CC F9 19 00 88 BF 20 10 FF FF FF FF .7f....... ..... 31 6A 0B 10 78 00 00 00 3A 83 46 11 48 95 9A 02 1j..x...:.F.H... 2023-03-08 09.30.48.965 Unknown Windwos VerUnknown Windows NT DirectX Ver:90000 DeviceType 1 AdapterOrdinal 0 Caps 20000 Caps2 200A0000 Caps3 A0 PresentationIntervals 8000000F CursorCaps 1 DevCaps 1BBEF0 PrimitiveMiscCaps 3F8CF2 RasterCaps C736193 ZCmpCaps FF SrcBlendCaps 1FFF DestBlendCaps 1FFF AlphaCmpCaps FF ShadeCaps 84208 TextureCaps 1EC45 TextureFilterCaps 703073F CubeTextureFilterCaps 3030300 VolumeTextureFilterCaps 7030700 TextureAddressCaps 3F VolumeTextureAddressCaps 3F LineCaps 1F MaxTextureWidth 4000 MaxTextureHeight 4000 MaxVolumeExtent 2000 MaxTextureRepeat 2000 MaxTextureAspectRatio 2000 MaxAnisotropy 10 MaxVertexW 10000000000.000000 GuardBandLeft -32768.000000 GuardBandTop -32768.000000 GuardBandRight 32768.000000 GuardBandBottom 32768.000000 ExtentsAdjust 0.000000 StencilCaps FF FVFCaps 100008 TextureOpCaps 3FFFFFF MaxTextureBlendStages 8 MaxSimultaneousTextures 8 VertexProcessingCaps 7B MaxActiveLights A MaxUserClipPlanes 6 MaxVertexBlendMatrices 4 MaxVertexBlendMatrixIndex 8 MaxPointSize 256.000000 MaxPrimitiveCount 555555 MaxVertexIndex FFFFFF MaxStreams 10 MaxStreamStride 1FC VS:FFFE0101 PS:FFFF0104 MaxVertexShaderConst 60 MaxPixelShaderValue 340282346638528860000000000000000000000.000000 您的联系方式:
- 66 replies
-
- community source
- src
- (and 4 more)
-
Unknown started following PKOdev.NET website for Tales of Pirates Server, Clean 2.4 source code using VS 2017, PKO 2.4(2.7) + IGS + Client - All You Need - Plug&Play Kit and and 6 others
-
Hi. Still got this? XD
-
https://gitlab.com/deguix/corsairs-online-public/-/archive/master/corsairs-online-public-master.zip?path=sql_scripts
-
Hi. Try this: https://mega.nz/folder/NdQVSI4T#aEJZEaBmqATeYLmoRnH7qg
-
Press Copy message and see what it says
- 1 reply
-
- 1
-
-
cant fined the function even it`s work on the game o.o
Unknown replied to Mario's topic in Questions & Help
This function should be located in GameServer/script/MisScript/NpcScript02.lua file -
Make the items bounded to character. Not tradable,sellable,dropable, bankable or whatever. This should be a pretty good approach to this?
- 38 replies
-
- pkodev.mod.loader
- client
- (and 4 more)
-
This works fine: https://gitlab.com/deguix/corsairs-online-public
-
Thank you very much!
-
Hi, i've been trying to launch game.exe with simple start bat. startup parameter: start system\game.exe startgame It seems that it wasnt changed to something else. So i keep getting this error Does anyone know how to fix/bypass this?