Restructure repository to include all source folders

Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-29 20:17:20 +09:00
parent 5d3cd64a25
commit dd97ddec92
11602 changed files with 1446576 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
#include "stdafx.h"
#include <Log/ServerLog.h>
#include <Utility/Math/Math.h>
#include <Character/ModifyCharacter.h>
bool CSkillID::ReadSkillScript(char* szScriptName)
{
const int MAX_LINE = 4096;
const char SKILL_ID_LEN = 32;
const char SKILL_TYPE_LEN = 32;
char cLineBuffer[MAX_LINE];
char cSkillID[SKILL_ID_LEN];
char cSkillType[SKILL_TYPE_LEN];
unsigned short BeforeID = 0, AfterID = 1;
FILE* lpStream = fopen(szScriptName, "rt");
if(NULL == lpStream)
{
ERRLOG1(g_Log, "<EFBFBD><EFBFBD>ų <20><>ũ<EFBFBD><C5A9>Ʈ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>. <20><><EFBFBD>ϸ<EFBFBD>: %s", szScriptName);
return false;
}
fgets(cLineBuffer, MAX_LINE, lpStream); // ù <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (<28>÷<EFBFBD><C3B7><EFBFBD>)
while(!feof(lpStream))
{
fgets(cLineBuffer, MAX_LINE, lpStream);
sscanf(cLineBuffer, "%s %s", cSkillID, cSkillType);
if(stricmp(cSkillType, "ITEM")) // <20><>ųŸ<C5B3><C5B8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ƴ<EFBFBD> <20><><EFBFBD>
{
if((*cSkillID == '0') && (*(cSkillID + 1) == 'x')) // 0x<30><78> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD> üũ
{
AfterID = Math::Convert::Atos(cSkillID);
if(AfterID != BeforeID)
{
insert(AfterID);
BeforeID = AfterID;
}
}
}
*cLineBuffer = *cSkillID = 0;
}
fclose(lpStream);
return true;
}