Skip to content

got EOF or empty keyname While Reading csgo_english.txt (KeyValues) #258

Description

@Alamer99

Heres My Code:
static void Main(string[] args) { KeyValue csgo_english = new KeyValue(); csgo_english.ReadFileAsText(@"C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\resource\csgo_english.txt"); }

It Ends Up With An Error

System.Exception was unhandled
HResult=-2146233088
Message=RecursiveLoadFromBuffer: got EOF or empty keyname
Source=SteamKit2
StackTrace:
at SteamKit2.KeyValue.RecursiveLoadFromBuffer(KVTextReader kvr)
at SteamKit2.KeyValue.RecursiveLoadFromBuffer(KVTextReader kvr)
at SteamKit2.KVTextReader..ctor(KeyValue kv, Stream input)
at SteamKit2.KeyValue.ReadAsText(Stream input)
at SteamKit2.KeyValue.ReadFileAsText(String filename)
at Parse_CSGO_Language_File.Program.Main(String[] args) in c:\users------\documents\visual studio 2015\Projects\Parse CSGO Language File\Parse CSGO Language File\Program.cs:line 16
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions