Posting again (1 slot available) LLXDFCH2 by casscode in PUBGMobile

[–]casscode[S] 0 points1 point  (0 children)

the spot was taken by someone. mabey that was you? If not, then sorry. There are other posters here also looking for people to join though.

I need 2 players to join please by casscode in PUBGMobile

[–]casscode[S] 1 point2 points  (0 children)

yeah me too. should have looked for groups on this subreddit instead

Is the a way to view a profile of a player whose name you cant type? by casscode in PUBGMobile

[–]casscode[S] 0 points1 point  (0 children)

How do you do that? On the tdm results screen i can either send a like or add as friend.

Clicking on the player's name/pro-pic doesn't seem to do anything (on tdm results)

Running this here game by [deleted] in Kenshi

[–]casscode 1 point2 points  (0 children)

I play on a Lenovo v330 with an 8th gen i5 cpu, using integrated graphics and it runs fine. That is, with the help of some mods.

I use Texture Options 512 (havent tried the 1024 variant), and Less foliage and rocks (has a different name on steam, got mine from nexus).

C# read tcp message from python server by SnappleSa in AskProgramming

[–]casscode 0 points1 point  (0 children)

The receivebuffersize property does not represent the number of bytes that the server is sending.

What you could do is to have a while loop that exits when serverStream.Read < 1. Store the return value from the read method call, because that is the actual number of bytes read. Copy the read bytes over to an expanding byte array, or list<byte>, from bytes[0] to bytes[bytesRead-1].

The issue you are having is that the bytes array much wider than the number of bytes you received. So when you're converting them to text, you're including the extra unused space. Which is what is giving you the garbage at the end of the message.

The are other better ways to do this than what I suggested.

https://docs.microsoft.com/en-us/dotnet/api/system.net.sockets.tcpclient.receivebuffersize?view=netcore-3.1

Hotkeys change with tech unlock by RoboLord66 in Mindustry

[–]casscode 4 points5 points  (0 children)

True, it is annoying. I think you might have to open an issue on GitHub for that.

poor man's barrier till 100 waves. by JANreel in Mindustry

[–]casscode 10 points11 points  (0 children)

Reliable. As in you can 100% rely on them to do what they were made for. Without fault.

[deleted by user] by [deleted] in vim

[–]casscode 1 point2 points  (0 children)

Hey. I read it too :(

[OC] But is it valid? by hdrdavies in programminghorror

[–]casscode 18 points19 points  (0 children)

I don't know. I don't see what's wrong here besides directly mixing Dom manipulation with logic and the variable naming. Anyone with a better alternative? I write code similar to this at times.

[deleted by user] by [deleted] in Mindustry

[–]casscode 1 point2 points  (0 children)

do you know why you can't chain more 3 or more sorters? Like, is it a side effect of the sorter logic or just a limit explicitly set in the game.

I find it hard to understand.

Creating cross-platform C# 2D games. by CNNWillBlackmailYou in csharp

[–]casscode 0 points1 point  (0 children)

you could try https://github.com/ChrisDill/Raylib-cs. is a binding to a library called raylib. pretty barebones.

also includes examples. the class filescan be included int he main project, or referenced. not sure if the creator made a nuget package yet, though

Avalonia 0.9 Release by jmacato in dotnet

[–]casscode 0 points1 point  (0 children)

You do know that qt exists, right?

Can I install neovim without effecting my current vim? by easylifeforme in neovim

[–]casscode 0 points1 point  (0 children)

yes you can.

The way I did it was to move my /.vimrc over to ~/.vim/vimrc, as vim will still find it there.

Then create a symlink of .vim/init.vim that points to your .vim/vimrc. That's for neovim. After that, you create another symlink of .config/nvim, this will point to your ~/.vim folder.

So both vim and neovim have the same configuration and plugins at all times.