Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scripts.log:
- 31.08.2015 07:44:18: JustYou (127.0.0.237:8080) GUIDBLABLA - #49 " 26) == 1)
- ||
- profilenamespace getvariable ["BIS_fnc_init_displayErrors",false]
- ) then {
- ("BIS_fnc_error" call (uinamespace get"
- so we see it is triggered with #49.
- #0 would be not the first but the second line in our scripts.txt. Why? because line 1 is //new2 which is not being taken into count because of the // infront of the line.
- so #49 + 2 -> Line 51. which is this:
- 7 isPlayer
- Triggered because the word d_isplayEr_rors contains "isPlayer"
- to white-list the log entry now you simply select everything from beginning to the end like this
- " 26) == 1)
- ||
- profilenamespace getvariable ["BIS_fnc_init_displayErrors",false]
- ) then {
- ("BIS_fnc_error" call (uinamespace get"
- replace \r with nothing
- http://p.infiSTAR.de/31-08-15_07-50-41.png (there is no space, it is just NOTHING)
- " 26) == 1)
- ||
- profilenamespace getvariable ["BIS_fnc_init_displayErrors",false]
- ) then {
- ("BIS_fnc_error" call (uinamespace get"
- now this is still multiple lines and the exception has to be in one line so we need to replace the existing backslash expression \n with a written out \n
- http://p.infiSTAR.de/31-08-15_07-50-24.png
- " 26) == 1)\n||\n\nprofilenamespace getvariable ["BIS_fnc_init_displayErrors",false]\n) then {\n("BIS_fnc_error" call (uinamespace get"
- since we can not have QUOTATIONS within these QUOTATIONS we need to "backslash" existing ones. But only the normal quotations, not the single ones (normal: ", single: ')
- " 26) == 1)\n||\n\nprofilenamespace getvariable [\"BIS_fnc_init_displayErrors\",false]\n) then {\n(\"BIS_fnc_error\" call (uinamespace get"
- You can just select everything within the quotes and replace " with \\" (if you still have http://p.infiSTAR.de/31-08-15_07-55-29.png enabled in your notepad++)
- At the end we just add this new line to our existing line like this:
- 7 isPlayer !=" 26) == 1)\n||\n\nprofilenamespace getvariable [\"BIS_fnc_init_displayErrors\",false]\n) then {\n(\"BIS_fnc_error\" call (uinamespace get"
- This could have also done inappropriate by just doing it like:
- 7 isPlayer !"BIS_fnc_init_displayErrors"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement