_Yank: You didn't understand what I wrote. The point is that reason doesn't appear if someone gets banned while it works correctly if someone gets kicked. Forum
General
Ideas for CS2D - READ THE FIRST POST (OP)!
_Yank: You didn't understand what I wrote. The point is that reason doesn't appear if someone gets banned while it works correctly if someone gets kicked.
edited 2×, last 25.07.17 12:01:58 am
mrc: It looks like people want CS2D to be a totally new game. 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.
Talented Doge: That would not work simply because files cannot be downloaded on-the-go (players get them before they join the server). Also, it isn't that easy to have external libs and such to work with CS2D's lua flawlessy (you also often compromise your script compability and stability).
Talented Doge: is right, it looks very easy though. I don't even need to update network code to make this work in-game. But it's not really useful though.
Talented Doge: You don't need to grab data in source code because there is an API e.g. http://www.unrealsoftware.de/getuserdata.php?id=131785&data=avatarHave a look at this page.
player like usgnimage to get it. 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 01: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 02:29:44 am
SQ: Please just drop this idea. It causes too much problems like TCP connection, additional traffic for the website which is pretty unstable nowadays.
Hajt has written@
SQ: too much problems like TCP connection, additional traffic for the website which is pretty unstable nowadays.
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.
Ideas for CS2D - READ THE FIRST POST (OP)!


Offline
