[Include] safeDialogs - Complete protection against spoofed dialog data!
#13

Quote:
Originally Posted by GoldenLion
View Post
I printed out the stuff to show you what's up.
This is what the dialog looks like in-game: https://gyazo.com/8f43f40824ac5c85f6e216325d005fcb
This is what it printed when I clicked on the mask:
Code:
inputtext: Mask
tempDListString: {FFFFFF}Mask	  1	0.10 lbs
As you can see the inputtext is the text before the first '\t' and tempDListString is the whole inputtext so strcmp always fails. Also inputtext doesn't include the color so it will call OnDialogSpoof whenever you use a color in any dialog.
The first issue you stated was fixed on v1.0.1 of this include because strings would be compared up to the length of inputtext only. Color embedding is something I've forgot - fixed now!

v1.0.2 has been released!
- Fixes false calls on dialog lists having color embedding.
- Include is completely stand-alone now. It requires no script_compatibility include since it was a problem for users using YSI.

Please re-download the latest commit of this include. If you find any more issues, please post on this topic as it'd really be helpful.
Reply


Messages In This Thread
safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 04.02.2017, 13:13
Re: safeDialogs - Complete protection against spoofed dialog data! - by Naruto_Emilio - 04.02.2017, 14:02
Re: safeDialogs - Complete protection against spoofed dialog data! - by HydraHumza - 04.02.2017, 14:07
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 04.02.2017, 14:51
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 04.02.2017, 14:53
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 04.02.2017, 15:00
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 04.02.2017, 15:21
Re: safeDialogs - Complete protection against spoofed dialog data! - by PrO.GameR - 04.02.2017, 15:32
Re: safeDialogs - Complete protection against spoofed dialog data! - by Private200 - 04.02.2017, 15:37
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 04.02.2017, 17:52
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 04.02.2017, 18:21
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 04.02.2017, 19:07
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 05.02.2017, 03:36
Re: safeDialogs - Complete protection against spoofed dialog data! - by PrO.GameR - 05.02.2017, 12:40
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 06.02.2017, 15:35
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 08.02.2017, 17:17
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 12.02.2017, 18:30
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 12.02.2017, 23:58
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 13.02.2017, 10:48
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 14.02.2017, 14:50
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 14.02.2017, 14:58
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 14.02.2017, 15:02
Re: safeDialogs - Complete protection against spoofed dialog data! - by GoldenLion - 15.02.2017, 15:24
Re: safeDialogs - Complete protection against spoofed dialog data! - by Naruto_Emilio - 20.02.2017, 20:20
Re: safeDialogs - Complete protection against spoofed dialog data! - by iKernel - 20.02.2017, 22:26
Re: safeDialogs - Complete protection against spoofed dialog data! - by Lordzy - 21.02.2017, 02:43
Re: safeDialogs - Complete protection against spoofed dialog data! - by Naruto_Emilio - 23.02.2017, 11:02
Re: safeDialogs - Complete protection against spoofed dialog data! - by TheLeech - 11.03.2017, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)