Legion
Compare Strings better way.
Ok so this is my code currently:
https://pastebin.com/yjeAYvw2
So my matchingElements string array is getting filled with only with a first element in ServerMods .txt how would i go and get all of the mods that mached in that array ?
59 replies
Compare Strings better way.
So i tried doing this:
And it returns like this:
Checking 'CBA_A3' -> Match Found: False
Checking 'ace' -> Match Found: False
Checking 'Enhanced Movement' -> Match Found: False
Checking 'KAT - Advanced Medical' -> Match Found: False
Checking 'Enhanced Movement Rework' -> Match Found: False
Checking 'DUI - Squad Radar' -> Match Found: False
Checking 'Task Force Arrowhead Radio (BETA!!!)' -> Match Found: False
Checking '3den Enhanced' -> Match Found: False
Checking 'Better Inventory' -> Match Found: False
Checking 'cTab NSWDG Edition' -> Match Found: False
Checking 'Better CAS Environment (BCE)' -> Match Found: False
Checking 'Zeus Enhanced' -> Match Found: False
Checking 'BackpackOnChest - Redux' -> Match Found: False
Checking 'Ghost recon 3rd Person Camera' -> Match Found: False
Checking 'Immerse' -> Match Found: False
Checking 'Suppress' -> Match Found: False
Checking 'RHSAFRF' -> Match Found: False
Checking 'RHSUSAF' -> Match Found: False
Checking 'RHSGREF' -> Match Found: False
....
But there should be there.
59 replies
Compare Strings better way.
I tried to do it like this:
But i have error:
Value cannot be null.
Parameter name: text
C:\Users\jorda\source\repos\TestConsole\TestConsole\bin\Debug\TestConsole.exe (process 24124) exited with code 0 (0x0).
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
59 replies
Compare Strings better way.
I cant match with the hole name becouse in Html file the mods is called like this:
@LAMBS_Danger.fsm
But on the server is called like this:
@LAMBS_Dangerfsm
And there are couple of mods that dont mach the nameing convetion.
Basicly i was comparing them with the name in html and geting the value name from server mod.59 replies