ChucklesTheBeard
ChucklesTheBeard
CC#
Created by bf8 on 1/1/2024 in #help
Does anyone know how to use this cue4parse
googling the name suggests it's against unrealengine's tos to use it, so you may have trouble finding support on this discord server
3 replies
CC#
Created by Baboy on 12/25/2023 in #help
Null Reference Exception
(as to how you do that... no idea, that's probably a unity thing)
48 replies
CC#
Created by Baboy on 12/25/2023 in #help
Null Reference Exception
until it's set to something, you can't call methods on it
48 replies
CC#
Created by Baboy on 12/25/2023 in #help
Null Reference Exception
CookieText hasn't been set to anything in this code, so far
48 replies
CC#
Created by poseidon on 12/14/2023 in #help
sql connection error
From whenever that error is thrown
18 replies
CC#
Created by poseidon on 12/14/2023 in #help
sql connection error
Check if the connection was already open
18 replies
CC#
Created by poseidon on 12/14/2023 in #help
sql connection error
sqlconnection.open() allegedly only throws invalidoperationexception if 1: there's no server or datasource in the connection string or 2: the connection is already open
18 replies
CC#
Created by AceChewy on 8/8/2023 in #help
❔ Ideas to improve existing code
ok my bad, the whole database isn't erased, but the whole Tasks table is.
17 replies
CC#
Created by AceChewy on 8/8/2023 in #help
❔ Ideas to improve existing code
AddTask calls SaveTasksToDatabase which runs DELETE FROM Tasks ...
17 replies
CC#
Created by AceChewy on 8/8/2023 in #help
❔ Ideas to improve existing code
consider not erasing and rewriting the entire database every time a task is added
17 replies
CC#
Created by D12 on 8/3/2023 in #help
❔ Basic C# Getting Null Result when trying to index attribute of an object.
Unity's JsonUtility does not support array as it is still new
(answered Mar 27, 2016) apparently still the case eh? when
37 replies
CC#
Created by D12 on 8/3/2023 in #help
❔ Basic C# Getting Null Result when trying to index attribute of an object.
wonder if it just doesn't like the nested class?
37 replies
CC#
Created by D12 on 8/3/2023 in #help
❔ Basic C# Getting Null Result when trying to index attribute of an object.
If that works, no idea. If it doesn't, also no idea, but you might be able to figure it out.
37 replies
CC#
Created by D12 on 8/3/2023 in #help
❔ Basic C# Getting Null Result when trying to index attribute of an object.
(can you feed a ServerInfo into ToJson)
37 replies
CC#
Created by D12 on 8/3/2023 in #help
❔ Basic C# Getting Null Result when trying to index attribute of an object.
does it work the other way around?
37 replies
CC#
Created by D12 on 8/3/2023 in #help
❔ Basic C# Getting Null Result when trying to index attribute of an object.
googling the error message reveals that it doesn't support arrays as the base type; you'll need to wrap it in something like { "Servers": [{...}] }
37 replies
CC#
Created by JJ on 8/3/2023 in #help
❔ WPF, .NET] using DBMS
CSV is just a text file with special meaning assigned to certain characters, but it's one of the most common formats I have to deal with on a daily basis. ¯\_(ツ)_/¯
9 replies
CC#
Created by D12 on 8/3/2023 in #help
❔ Basic C# Getting Null Result when trying to index attribute of an object.
https://docs.unity3d.com/ScriptReference/JsonUtility.FromJson.html only says it allows fields (as in public string ServerName;), it doesn't mention properties (as in public string ServerName{ ... };) so presumably they're not supported.
37 replies
CC#
Created by JJ on 8/3/2023 in #help
❔ WPF, .NET] using DBMS
I'd "usually" use text files for that sort of thing because it's the sort of program one might write when very new to the language. These days I'd probably use sqlite
9 replies