Jump to content

Snre3n

Members
  • Content Count

    55
  • Joined

  • Last visited

  • Days Won

    19

Snre3n last won the day on June 29

Snre3n had the most liked content!

Community Reputation

85 Good

5 Followers

About Snre3n

  • Rank
    Pirate

Recent Profile Visitors

2,253 profile views
  1. If you just want it to be smaller, maybe you can modify scaling in characterinfo.txt. Not sure what client you are using, so it might not work. In top-recode, the client source had it disabled, but easy to enable. In characterinfo.txt last 3 floats, eg, 1.0,1.0,1.0 for Long Haired Guy (ID 1) . In SceneCreateNode.cpp, function CCharacter* CGameScene::AddCharacter(int nScriptID) // added by clp 设置缩放 D3DXVECTOR3 scale(pInfo->scaling[0], pInfo->scaling[1], pInfo->scaling[2]); // Comment this out // 读表可能有问题。。暂时不支持缩放 //scale.x = 1.0f; //scale.y = 1.0f; //scale.z = 1.0f;
  2. @GustavoHMA Try building a simple C++ program ( Hello World) to see if that works. @Fritt If the issue is because of mismatch of common folder - diff & patch until they match.
  3. This should now compile, and run with provided client in OP. I have also written quick guides for each "step" in the process, I hope these will help the unexperienced to get started.
  4. Planning to re-upload files that should compile. I just snagged the files quickly and it seems like it did cause a few problems.
  5. With @KONG 's consent, CO Client source is being released. VS2003 instructions: 1) Download: Visual Studio 2003: https://drive.google.com/file/d/19PsTGwXYTUiCSq8ilw7DBAyy8pfIhKfU/view 2) Extract 3) Run to "Visual Studio 2003\Visual Studio .NET 2003Setup-NoPrereq.bat" Build Source: 1) Download: https://mega.nz/file/xkZCSABT#WUt1EbIX_oj8UDFIVUJLVt0scpqXO8KunOKOjEc6VE8 2) Extract 3) Open "Client\Client\proj\kop.sln" (Open in VS2003) 4) Set Release Configuration 5) Build Solution (shortcut: CTRL + Shift + B) Setup Client: 1) Download client provided by @Billie: https://mega.nz/file/YDBSgCBJ#-hA05hSYFCHO72LhOTV5mcQK4Rse1QxC1eof8sQD0iE 2) Extract 3) Copy "Game.exe" from "Client\Client\bin\system\" to "Corsairs Online - An Ocean Fantasy\system" 4) Copy "MindPower3D_D8R.dll" from "Client\engine\sdk\lib" to "Corsairs Online - An Ocean Fantasy\system"
  6. If you use source, I would start looking at these two functions: CNpcTradeMgr::LocalBuyFromNpc CBlackTradeMgr::SailToBuy
  7. @KONG Code provided is proof of concept only. Implementation:
  8. // Function: void CHeadSay::Render( D3DXVECTOR3& pos ); // Use this as a reference where to insert the code, its already in source. s_dwNamePartsColors[NAME_INDEX][0] = _dwNameColor; // const stNetChangeChaPart part = _pOwn->GetPart(); const int id = part.SLink[enumEQUIP_NECK].sID; switch (id) { case 6611: { // GM's Necklace in iteminfo s_dwNamePartsColors[NAME_INDEX][0] = COLOR_RED; } break; }
  9. //... static char buf[6]; const float seconds_remaining = _fPlayTime - _fCurTime; const int minutes = static_cast<int>(seconds_remaining / 60); const int seconds = static_cast<int>(seconds_remaining - (minutes * 60)); minutes > 1 ? _snprintf_s(buf, _TRUNCATE, "%.2d:%.2d", minutes, seconds) : seconds > 1 ? _snprintf_s(buf, _TRUNCATE, "%d", seconds) : _snprintf_s(buf, _TRUNCATE, "%.1f", seconds_remaining); CGuiFont::s_Font.BRender(0, buf, x, y, COLOR_RED, COLOR_BLACK); } // End of function void CAniClock::Render(int x, int y);
  10. @jdams1 1 ) Try opening Mangagement Studio as administrator. 2 ) If that doesn't work, make sure your database files is NOT read-only. Try suggestion 1 again.
  11. A growing collection of features/concepts developed and implemented in source code. Got any ideas? Let me know, it might end up here.
  12. Client source code, UIBourseForm.cpp. EDIT: Try adding this in traderoom.clu UI_SetIsShow(grdItemSale, TRUE)
  13. Changes in function bool CBlackTradeMgr::Init() - grdItemSale->SetIsHint(false); + grdItemSale->SetIsHint(true); EDIT: Tested with weapon.
×
×
  • Create New...