Just hash the usernames into an int. The chance of collisions is small and being an int it will be hard to find in the code. We do this for goldeneye source
ZuM wrote: > Well, probably it will be hard coded on the code right? > > Also all the options presented here would be easily hackeable, IF the user > wants, but of course it will stop anyone who doesn't know or doesn't want to > waste time to hack it, so i believe that any of them is suitable :). > > 2009/9/18 Tobias Kammersgaard <[email protected]> > > >> What happens if someone modifies that list of Steamids? I'm assuming it'll >> be an offline list? >> >> /ScarT >> >> >> 2009/9/18 Jonas 'Sortie' Termansen <[email protected]> >> >> >>> Heimo Stieg skrev: >>> >>>> You have also other options: >>>> Check the steam account name( just check the folders ) >>>> Read the steamid out of the registry or the log files >>>> BIOS or motherboard serial number ( use WMI for that ) >>>> >>> Kyle '1/4 Life' and I decided on detecting the Steam Account Names using >>> the current working directory using the command _getcwd() and then >>> parsing the string to isolate the Steam Username and then comparing it >>> to a list of usernames. Quite simple, really. It's easy to hack using a >>> hex editor, but we decided it's reliable enough for our needs. >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders >>> >>> >>> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

