Skip to content

u/splad

In this archive from Apr 2012 to Mar 2020

10
posts
95
comments
2
media
1.6k
score
4 saved before deletion

And my last post was deleted at least 4 times by auto-moderator before it could be viewed, which required manual intervention by mods. I stopped participating mostly because I saw the overall quality of the sub drastically reduced over the course of many months as content control became extremely draconian and authoritarian. I've been a member since very early in the life of this community.

1 points

Which strategy have you used?

##Strategy 1

  • Install VS 2015
  • Install unreal
  • Install VS 2017
  • Success! this works fine

##Strategy 2

  • Install unreal
  • Install VS 2017
  • Success! this works fine

##Strategy 3

  • Install VS 2015
  • Install VS 2017
  • Uninstall VS 2015
  • Install Unreal
  • This will never work. You need to format your computer and reinstall windows. This is where I am.
7 points

I tried using Unreal engine and found it was impossible to set up visual studio because the VS support for VS 2017 was horrible. I once instealled VS 2015 on my computer and then later uninstalled it, so last time I checked I could not use Unreal Engine without reformatting my entire computer or building UE from source and fixing the errors they left in the compilation toolchain.

Has that improved at all in this update?

4 points

Well okay sure, it requires a diffuse map which has at least the idea of light or geometry drawn into it which maybe is pushing the limits for the term.

It's a tool for making a normal map from an image that was otherwise going to be used without a normal map by someone who doesn't have the skills or the tools to make a normal map.

The point is it takes as input only the image which you want to have a normal map applied to

3 points

I would argue that the failing and trying again part is equally important. I worry that people are afraid to try for fear their project will fail, but looking back I think I learned as much from my failed projects as I ever did from google and documentation and teachers combined.

Your good ideas don't go away when you can't make them work, they just go to the back of your mind and lurk there waiting until new information or a new understanding gives them an opportunity to come back in a newer better form.

4 points

I think the standard (most widely used) method for planning a game works like this:

  • Make a list of parts you think a full game will need. (screen manager, network state control, particle system, bindable controls etc.)
  • Start building a game.
  • Realize you left something out and give up on the project.
  • Add to your list and repeat the process until you find yourself building a complete game.

That's the method I used.

20 points

Wayward Terran Frontier

A space exploration RPG with emphasis on engineering and multiplayer


Summary: Design a massive battleship and explore the stars with friends looking for loot. Multiplayer allows you to command a single ship as a team and share all of the profits from combat and exploration.

Download the Alpha(win only)

I launched a kickstarter! So that is very exciting.

I've been making a series of tutorial videos:

The kickstarter has been slow, but man do I have a lot to say about the process. It has absorbed all of my time trying to do publicity etc.

Project Website

Kickstarter


Twitter | Youtube | Indie DB | Greenlight

2 points

Wayward Terran Frontier

A space exploration RPG with emphasis on engineering and multiplayer


Download the Alpha(win only)

I launched a kickstarter! So that is very exciting.

Some new gifs:

A new video:

Aside from that I spent over 120 hours working on a silly kickstarter video, so you should check that out.

Project Website

Kickstarter


Twitter | Youtube | Indie DB | Greenlight

15 points

Making the item appear generic until someone clicks it is actually one of the most common optimizations for this problem and I believe it is exactly what WOW does instead of letting NPCs drop loot directly(you loot glittering corpses). I have seen this solution in many MMO games.

You still rarely see MMO games where players have any ability (no matter how insignificant) to change the global environment because data about changes to the world tends to scale out of control so fast.

Voxel games are a pretty exciting solution to that problem. You optimize the game world so that the level geometry is generic the same way your solution makes items generic(voxels), and then you put them on a grid so there is an upper bound on the amount of data that can exist in the system. Once you handle that upper bound you know the world can change in any way you like without crashing the server.

3 points

At the very root of the issue is this: If 2 clients are expected to observe or interact with each other in ANY way, then information MUST move between them. You can optimize until you send as much information with as few bytes as possible, but eventually you hit a wall where the data can not get any smaller and you have to make trade-offs of functionality vs stability.

If everyone sees everyone, then data must move from everyone to everyone, and most MMO architectures simply can't handle that extremely rare situation. So they try to prevent or minimize it.

In EVE online the game actually moves in slow motion, giving the server more time to transfer data. Other games use phasing systems where the server is aware of how many people can see each other at once and people get secretly divided into groups and sent to separate servers. By checking against buddy lists, these systems can be pretty transparent to users most of the time. Finally, the simplest solution is instancing where each zone has a hard cap on the number of people in it. Dynamic solutions can get very complex even using intelligent algorithms to predict who cares about what so that out of 1000 people you update only the 20 that are most relevant to you, but those can break down when 1000 people really are relevant to you so once again you have to make hard decisions about gameplay.

7 points

Imagine as a simple example, a request of some early players of World of Warcraft when it was in vanilla: Why can't we just throw items on the ground from our inventory?

It seems like a simple problem to solve, in their previous games (diablo 2 for instance) this was actually a common occurrence, so why couldn't they do it in WoW?

The answer is worst-case scalability issues. A WOW server could support a (thousand or so?) players at the time, so lets imagine what sorts of network traffic gets added just by allowing a player to take a rusty dagger and throw it on the ground in Iron Forge.

First of all, you obviously want everyone nearby to see this item when it gets thrown on the ground, so you are going to have to encode some sort of message that describes an item being thrown on the ground which presumably the server will be forwarding to everyone in the area. This message is going to have to tell the clients what item to draw on the ground, so it has to send enough data to describe a rusty dagger, its 3d position and orientation, and perhaps it's source(for animation) to everyone in the zone, and that method has to be received by (worst-case) everyone on the server at once without causing the game to gind to a halt.

Okay, so worst case you can easily send 1000 messages describing an item being dropped on the ground, but you have thousands of people in hundreds of instances, do you send every person information about every item dropped? What if everyone drops an item at the same time? Now you are sending far too much information for a real time application and everyone has to spend a good 15 seconds downloading all the new items, certainly you can't expect the game to constantly pause to transfer all that data, so you need to filter drops by region so only people who can actually see the dagger will be sent the messages. Now worst case, everyone stands in the same place and drops and item, and everyone spends 15 seconds with their game locked up, but that is very unlikely so you allow it to happen. Nobody is surprised when everyone on a WOW server stands in the same spot and spams their abilities and then the server crashes.

Since you are filtering item drop messages by region, you now have to consider a new problem: what if you walk into a room where an item was once dropped? how will the client know what items are there? Well clearly the server has to keep a database of all items that were dropped, and check boundary conditions to see when players enter a region with an item on the ground so they can be sent that message they missed, but now you have more problems because items on the ground could build up over time. Lets set aside the difficulty of comparing the locations of thousands of players to the locations of hundreds of thousands of items every update and wonder for a moment: What happens when a thousand people each drops 10 items in the same area? That is a lot of data to download when you enter that area, are you going to sit and look at a loading screen for every area? Well WOW already has such a loading screen for things like player equipped items and positions, but those are things that are 1 per player currently in the zone and you can see how long you have to load when going to a completely new area. Now imagine that with items on the ground you have a worst case of unlimited number, per person on the server over all time periods for every zone. Now you have a worse case where the game never loads because people are throwing items on the ground faster than any individual can download the new messages.

You might try to solve this issue via network topology and client-load balancing, but now you are facing programming problems like "how do we distribute a database of items across an arbitrary number of unreliable clients as they connect and disconnect in real time so that they can share information with their peers who they may or may not be able to form connections to" and suddenly you understand that this is a hell of a lot harder than diablo 2 where you have 10 players in a server and you just send the message to everyone every time something happens.

TL/DR: when you have more than a thousand sources of information and more than a thousand destinations for that information any tiny change in the encoding of the information can cause instant lag death.

255 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.