Ahoj,
Po delší době jsem se dostal k WoW-ku a chci si vytvořit server. Dříve jsem zkoušel TrinityCore a Mangos, jenže ty my nepřišli moc dobré, protože se mi úplně hnusí C++. WCell jsem našel asi před týdnem, díky tomu že jsem hledal nějaký server psaný v C#, který je podle mně odost lepší než C++. Dnes jsem to vyzkoušel a no, AuthServer(Console) funguje, ale potom co spustím RealmServer(Console), tak skončí na Initialize World Events. Pak to začne vyhoazovat chyby:
(2011-10-15 17:59:08.3764) [Error] Step 'Initialize performance counters' (Initialize) failed to finish
(2011-10-15 17:59:08.3934) [Error] LogStacktrace at offset 101 in file:line:column C:\WCell\Utilities\WCell.Util\NLog\LogUtil.cs:190:4
LogException at offset 221 in file:line:column C:\WCell\Utilities\WCell.Util\NLog\LogUtil.cs:155:5
ErrorException at offset 146 in file:line:column C:\WCell\Utilities\WCell.Util\NLog\LogUtil.cs:97:4
ErrorException at offset 63 in file:line:column C:\WCell\Utilities\WCell.Util\NLog\LogUtil.cs:92:4
Execute at offset 208 in file:line:column C:\WCell\Core\WCell.Core\Initialization\InitMgr.cs:334:17
Execute at offset 300 in file:line:column C:\WCell\Core\WCell.Core\Initialization\InitMgr.cs:302:17
PerformInitialization at offset 367 in file:line:column C:\WCell\Core\WCell.Core\Initialization\InitMgr.cs:280:6
Start at offset 222 in file:line:column C:\WCell\Core\WCell.Core\ServerApp.cs:248:4
Start at offset 46 in file:line:column C:\WCell\Services\WCell.RealmServer\RealmServer.cs:175:4
Start at offset 63 in file:line:column C:\WCell\Services\WCell.RealmServer\Program.cs:33:4
Main at offset 147 in file:line:column C:\WCell\Applications\WCell.RealmServerConsole\Program.cs:42:4
(2011-10-15 17:59:08.3934) [Error]
(2011-10-15 17:59:08.3934) [Error] System.Reflection.TargetInvocationException: Cíl vyvolání způsobil výjimku. ---> System.InvalidOperationException: Nelze načíst data Názvu čítače, protože byl z registru načten neplatný index 义塄( .
v System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
v System.Diagnostics.PerformanceCounterLib.get_NameTable()
v System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
v System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
v System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
v WCell.RealmServer.Stats.PerformanceCounters.Initialize() v C:\WCell\Services\WCell.RealmServer\Stats\PerformanceCounters.cs:řádek 124
--- Konec trasování zásobníku pro vnitřní výjimku ---
v System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
v System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
v System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
v System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
v System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
v WCell.Core.Initialization.InitMgr.Execute(InitializationStep step) v C:\WCell\Core\WCell.Core\Initialization\InitMgr.cs:řádek 334
(2011-10-15 17:59:08.3934) [Error]
(2011-10-15 17:59:08.3934) [Error] MyRealm - WCell RealmServer (v0.5.0.0)) - Debug
(2011-10-15 17:59:08.3934) [Error] OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - CLR: 4.0.30319.239
(2011-10-15 17:59:08.3934) [Error] Using: MySQL5Dialect
(2011-10-15 17:59:08.3934) [Error]
(2011-10-15 17:59:08.3984) [Error] Nelze načíst data Názvu čítače, protože byl z registru načten neplatný index 义塄( .
(2011-10-15 17:59:08.3984) [Error]
Initialization Step failed - Do you want to repeat and continue (y) [or cancel startup (n)]? (y/n)
A v logu Fatal (Konečné chyby):
(2011-10-15 17:21:25.3530) [Fatal] Step 'Initialize performance counters' (Initialize) was required to proceed; stopping!
(2011-10-15 17:21:25.3530) [Fatal] Failed to fully process all required initialization steps!
Jestli náhodou používáte WCell a víte jak opravit tuto chybu, tak my prosím poraďte...
Díky
Natlaid