blizzless-diiis icon indicating copy to clipboard operation
blizzless-diiis copied to clipboard

Trying on lan

Open markomarjanovic83 opened this issue 2 years ago • 3 comments

Hi guys, when i try to connect to server from another pc with win10 it gets error like this:

An unhandled exception occured at initialization. Please report this to the developers. System.InvalidOperationException: Encountered unescaped ']' token at position 24 at bool Spectre.Console.MarkupTokenizer.ReadText() in //src/Spectre.Console/Internal/Text/Markup/MarkupTokenizer.cs:32 at Paragraph Spectre.Console.MarkupParser.Parse(string text, Style style) in //src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:59 at Spectre.Console.Markup..ctor(string text, Style style) in /_/src/Spectre.Console/Widgets/Markup.cs:42 at void DiIiS_NA.Core.Logging.AnsiTarget.LogMessage(Level level, string logger, string message) in D:\Igre\blizzless-diiis-community\src\DiIiS-NA\Core\Logging
AnsiTarget.cs:145 at void DiIiS_NA.Core.Logging.LogRouter.RouteMessage(Level level, string logger, string message) in D:\Igre\blizzless-diiis-community\src\DiIiS-NA\Core\Logging
LogRouter.cs:24 at void DiIiS_NA.Core.Logging.Logger.Log(Level level, string message, object[] args) in D:\Igre\blizzless-diiis-community\src\DiIiS-NA\Core\Logging\Logger.cs:301 at void DiIiS_NA.Core.Logging.Logger.Info(string message) in D:\Igre\blizzless-diiis-community\src\DiIiS-NA\Core\Logging\Logger.cs:124 at void DiIiS_NA.REST.RestSession.ReadHandler(int transferredBytes) in D:\Igre\blizzless-diiis-community\src\DiIiS-NA\REST\RestSession.cs:74 at void DiIiS_NA.REST.SocketBase.ReadHandlerInternal(SocketAsyncEventArgs args) in D:\Igre\blizzless-diiis-community\src\DiIiS-NA\REST\SocketBase.cs:103 at void DiIiS_NA.REST.SocketBase.<AsyncRead>b__7_0(object sender, SocketAsyncEventArgs args) in D:\Igre\blizzless-diiis-community\src\DiIiS-NA\REST\SocketBase.cs:51 at void System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state) at void System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state) at void System.Net.Sockets.SocketAsyncEventArgs.<>c.<.cctor>b__176_0(uint errorCode, uint numBytes, NativeOverlapped* nativeOverlapped) at void System.Threading.PortableThreadPool.IOCompletionPoller.Callback.Invoke(Event e) at void System.Threading.ThreadPoolTypedWorkItemQueue`2.System.Threading.IThreadPoolWorkItem.Execute() at bool System.Threading.ThreadPoolWorkQueue.Dispatch() at void System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Shutting down... ---------------------------------------- 79%

I have configured server with this config.ini:

; Settings for Bnet [Battle-Server] Enabled = true BindIP = 192.168.1.29 WebPort = 9800 Port = 1119 BindIPv6 = ::1 MotdEnabled = true Motd = Welcome to Blizzless Diablo 3!

; ------------------------ ; [IWServer] ; IWServer = false

; ------------------------ ; REST services for login (and others) [REST] IP = 192.168.1.29 Public = true PublicIP = 192.168.1.29 PORT = 80

; ------------------------ ; Game server options and game-mods. [Game-Server] Enabled = true CoreActive = true BindIP = 192.168.1.29 WebPort = 9001 Port = 1345 BindIPv6 = ::1 DRLGemu = true ; Modding of game RateExp = 1 RateMoney = 1 RateDrop = 1 RateChangeDrop = 1 RateMonsterHP = 1 RateMonsterDMG = 1 ; Percentage that a unique, legendary, set or special item created is unidentified ChanceHighQualityUnidentified = 80 ; Percentage that normal item created is unidentified ChanceNormalUnidentified = 5 ; Amount of times user can resurrect at corpse ResurrectionCharges = 5 BossHealthMultiplier = 2 BossDamageMultiplier = 1 AutoSaveQuests = true

; ------------------------ ; Network address translation [NAT] Enabled = false PublicIP = 127.0.0.1

; ------------------------ ; Where the outputs should be. ; Best for visualization (default): AnsiLog (target: Ansi) ; Best for debugging: ConsoleLog (target: console) ; Best for packet analysis: PacketLog (target: file) ; Logging level (ordered): ; Rarely used: RenameAccountLog (0), ChatMessage (1), BotCommand (2), ; Useful: Debug (3), MethodTrace (4), Trace (5), ; Normal and human-readable: Info (6), Success (7), ; Errors: Warn (8), Error (9), Fatal (10), ; Network Logs: PacketDump (11)

[AnsiLog] Enabled = true Target = Ansi IncludeTimeStamps = true MinimumLevel = MethodTrace MaximumLevel = Fatal

[ConsoleLog] Enabled = false Target = Console IncludeTimeStamps = true MinimumLevel = Debug MaximumLevel = PacketDump

[PacketLog] Enabled = true Target = file FileName = packet.log IncludeTimeStamps = true MinimumLevel = Debug MaximumLevel = PacketDump

markomarjanovic83 avatar Feb 19 '23 16:02 markomarjanovic83

Have you find what is wrong with server? Or I have done something wrong?

markomarjanovic83 avatar Mar 04 '23 12:03 markomarjanovic83

I did an explanation in https://github.com/blizzless/blizzless-diiis/issues/51 Should be clear. Took me a little time as my Amd ryzen are parked and my I7 blew her motherboard 2 weeks ago so I am sitting with an AMD FM1 A8-3870K with and RX 470 and 8gb ram. The server killed this pc. Go it setup on my server.

PS: There is no guide I could find on how to setup lan for diiis. Server setup was easy like 5 min. Files messing around was another problem all my it self 👯

Klariska avatar Mar 20 '23 15:03 Klariska

I guess server should be binded still on 127.0.0.1 (in config). But on second pc client just should try to connect 192.168.1.29.

Sh4d0v avatar Apr 05 '23 15:04 Sh4d0v