!
!
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
a file for binaries, one for names, and one for memory adresses
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
so, to clarify it, there are 3 files, each with only one big line with elements separated by " "
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
but it won't be the same result? atm i use \n for endline and " " for elements
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
i also use json for some parts of my code, but i would really need to make it as txt, at least this part, so i will save half the size of the file, there will be many post requests involving those files....
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
:d it was working when i did the first version that was reading values from exe directory, but i wanted to move them to a webserver, and it become a big mess
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
in all 3 files, the elements are separated by space, and all of them are on a single line
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
Bob 42 cars cooking Agnes 14 fitness rugby
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
like this
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
it may look like a mess, but i'm better at php than c#, and i did a panel to manage all that mess.
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
yep, all files have the elements separated by space.... this is an exemple of server[x].txt : "0x01CC7A6C 0x01BDB658 0xC 0x18 0x200 0x204 0x208 0x0 0x4B0 0x4B4 0x4B8 0x640 0x180 0x20 0x50 0x019EA0C4 0x0 0x0 0x0 0x0 0x0 0x7A0 0x5C 0x01CC79EC 0x60 0x7E4 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0"
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
i'll try it, thanks❤️
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
i'll try that, i started by reading the files from a txt file in main directory, so my next step was to move that code to webserver, and continue improving it
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
yep, i had to remove that to get the index outside array
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
https://paste.mod.gg/oyofkxceyggu/0 on line 94 & 103, 94 says there is not enough configuration, but i debugged the arrays & data received and worked even on index 1(server2.txt)
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
i tried it, it reads all the values fine, but still triggers that index outside array
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
if i select index0, it will load server1 perfectly, but if i select index 1, it fails to read server2.txt wich has exactly the same content
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
i'm aware that the code looks really messy 😄 but i can't understand where i check a wrong index, i only use index+1 once when reading server txt file, cuz they start from server1, and index is 0 based..
52 replies
CC#
Created by ! on 12/11/2023 in #help
C# array problem // Error loading configuration : Index was outside the bounds of the array
i want to read all elements inside the txt files from a webserver, so i can change anything names without recompiling source..
52 replies