Forum
CS2D General Ideas for CS2D - READ THE FIRST POST (OP)!edited 2×, last 25.07.17 02:01:58 am
The user image can be searched, it consists of 2 parts, according to the profile page source code.
Take mine as an example:
As you can see, it is u131785_5932ae4b. The first part before the underline is: u + our usgn while the second part is just a random string.
The full part to the image would be: http://www.unrealsoftware.de/u_ava/u131785_5932ae4b.png
So, SQ's link would be:
So, to obtain one's user image, you could use the lua + php or whatever to search through USGN's file(I think there is a file that consists of all USGN user's public data, downloadable), and find a string that matches u+usgn and download the png file from usgn and display it.
Though I doubt this will be added officially. But, even voice chat is implemented so I won't 100% disagree with the opportunity.
Have a look at this page.
Another question: Can weapon.cfg further extending to modify weapon stats(like kill reward, range, ammo, weight), because it is server sided, files modified in client side would be useless anyway.
edited 1×, last 25.07.17 03:57:40 am
Instead of this I would suggest you to implement
player(id,"username"). The server would get username during validation USGN account and it would be very easy to handle I guess.
Edit: I ran into technical problems.
It gets few seconds lag when joining server with some people that uses USGNs
Screenshot:
edited 3×, last 25.07.17 04:29:44 am
Hajt has written
@ SQ: too much problems like TCP connection, additional traffic for the website which is pretty unstable nowadays.
That's not really the problem though. It's also just client side thing. I don't really like the way how it works, certainly can be improved. Though wanted to do something with steam profile pictures instead.
But I'd prefer it be a Steam integration. In fact I feel a lot of things could migrate in that direction. It doesn't really make sense to have two separate profile/account systems. But that's a discussion for another topic I suppose.