Questions tagged [online-game]

"Online" games are played over the internet (as opposed to "offline" on a local machine) and usually allow multiple players to interact with one another in some way. Popular examples include first-person shooters and massively-multiplayer RPGs.

online-game
Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

Creating a new 3rd party program for a game

So I am trying to make a program like STO Keyibds, https://sourceforge.net/projects/sto-keybind/, but for Linux. STO Keybinds won't work and I want to build my programming skills and want to make this ...
Hunter White's user avatar
0 votes
0 answers
304 views

Mirror Error: "TargetRPC {functionFullName} can't be sent because it was given a null connection. Make sure {name} is owned by a connection

enter image description here public void CmdCreateSelection() { List<GameObject> myLocalList = new(); for (int i = 0; i < cardsPrefab.Count; i++) { ...
Oleksii's user avatar
-1 votes
1 answer
56 views

Does cloud servers access everywhere in the world

I made a game with unity. Now I am make it online with darkrift2, Darkrift gave me a server, I need to put it to rented cloud server. I want access hole world. Should I put the server to multiple ...
Kaan Selçuk Karaböce's user avatar
0 votes
0 answers
207 views

Socket an invalid argument was supplied in python

import socket from _thread import * import pickle server = "192.168.0.171" port = 5555 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: s.bind((server, port)) except socket....
Davon Mike's user avatar
0 votes
2 answers
84 views

How to avoid Realtime database onWrite trigger function callback iterate data but data has changed

I am making a 1 vs 1 game matching system with the help of realtime database. When user sign in, it will generate a record in users table. When there are 2 player user status are placeholder then ...
Dong Wang's user avatar
  • 344
2 votes
0 answers
149 views

Java Robot for online game

I'm new in java and trying to make bot for online game and get some practice. And i have some questions, how to make my KeyListener to work when my program (java) minimized so i can minimize my java ...
Contriver Contriver's user avatar
0 votes
0 answers
249 views

Fastpaced online game (2D platformer) - Networking Server/Client

I started a new project, a fast-paced online game (some sort of 2D MOBA). I encountered a problem with the part of netcode about client prediction & server reconciliation. Game Mechanics: 2D - ...
saqirmdev's user avatar
1 vote
1 answer
553 views

Receiving data from server in while loop Shows window not responding

I am making a beginner online multiplayer Tic Tac Toe game which runs on local server. I am having 2 issues with my code.I have divided my game folder into 6 python files: Client1.py:- This file is ...
harsh jain's user avatar
0 votes
0 answers
28 views

Laser does not shoot after I added a player

I've been trying to make a game where a character shoots a laser, but for some reason when you press Q, which is the firing key, the laser doesn't shoot, which is weird because I have tried this code ...
Joshua Hurley's user avatar
-1 votes
1 answer
36 views

Why do I get the Error: "Cannot read property 'style' of null" on line 216 because of something also on lines 190, 200, 213?

* I can't figure out why I get the following error on my console: "Cannot read property 'style' of null" on line 216(near the bottom, I have put a comment) because of something also on lines 190, 200, ...
Joshua Hurley's user avatar
-1 votes
1 answer
1k views

Zooming image on coordination with javascript

what I'm trying to develop is a kind of online minigame, but I'm stuck on the zoom part. In my case there will be an html image with scattered eggs which will be part of the image. The player will ...
fabio del carlo's user avatar
-1 votes
1 answer
174 views

HTML quiz game with Canvas

Hi I'm trying to create an html quiz game with canvas, but I'm new to this thing and I didn't find any documentation to this particular thing. Game summary The game is set into 5 scenes, every scene ...
fabio del carlo's user avatar
1 vote
0 answers
183 views

Use redis for object oriented proggramming

I have created an online game which is written in object oriented programming and node.js . after clustering I decided to make these clusters stateless and save game objects in redis . How can that be ...
user6608656's user avatar
1 vote
0 answers
146 views

How to make a "Find Match" like Mobile Legends or some other MOBA game?

I'm trying to create a lobby system that will find a match like other MOBA Games. Like when 10 players is finding a match, it will start the game and when there's only 9 players the system will still ...
PrinceZero101's user avatar
1 vote
2 answers
2k views

Managing multiple games with Node.js and Socket.io

I am a newbie in node.js and socket.io. So I made a small project and tested some things with a small real-time chat, which works very nice. But I ask me, what's the best way to manage multiple games ...
NeoJones's user avatar
0 votes
1 answer
162 views

Update database when user is no more online

I am currently working on a Javascript multiplayer game. When users want to play, they enter a waiting room where they wait for players to play with. It is stored in a SQL database this way : I have ...
MuZak's user avatar
  • 191
0 votes
1 answer
215 views

Constant connection to server online

So, I've been looking into online games and I was wondering how they managed to have such a fast, seemingly constant connection to the server. I've already tried just sending a bunch of ...
Ghibbbeey's user avatar
0 votes
1 answer
102 views

What is the cons of using unity built in network manager?

Why do Unity game developers implement server by themselves instead of using unity built-in NetworkManager? It seems like multi online games can easily be developed by using NetworkManager, but why ...
tink's user avatar
  • 39
1 vote
1 answer
124 views

best way to see if user is online in android application

I am making a game where to players play together in a game through internet,so i wanted to check to see if one of them left the game so i notify the other player . currently i have written a code ...
Moeinh77's user avatar
  • 367
2 votes
0 answers
856 views

Simple matchmaking algorithm for 2 player online game

I am looking for a simple matchmaking algorithm for 2 player online game. Which one has better performance? (I use vps, centos and php) User one sends a request to server for game and because there ...
Payam Roozbahani's user avatar
0 votes
1 answer
43 views

How do i test that an inputted username and password is registered

I am creating an online game that required a signup. I am using a google form for the sign up and a google spreadsheet to store the data. I also have a login form, but no way to test that the inputted ...
zcool 99's user avatar
0 votes
2 answers
790 views

Data type between client and server in websocket games

I'm playing around with websockets using socket.io. I've made a chat room, but I want to make a real time game. The socket.io docs say that any data type can be sent over websockets, so I'm wondering ...
Caleb Bertrand's user avatar
-3 votes
1 answer
1k views

Free word list for word game [closed]

I am building a word game in English. Is there a free list of words that I can download and use of a free service that can help validate the word entered by the user?
Karthick S's user avatar
  • 3,234
1 vote
1 answer
3k views

Create room with unity networking

hi and firstly sry for my english ... i newly start creating a multiplayer game with unity i download unity master server and facilitator from here and run them in my own server for creating an online ...
user5184542's user avatar
0 votes
1 answer
28 views

Online game's alive connections count

In online multiplayer games where the world around you changes frequently (user gets updates from the server about that) - how many alive connections usually are made? For example WebSockets can be ...
Alexey's user avatar
  • 2,722
-1 votes
1 answer
64 views

Is it better to sort from server and distribute to clients or send unsorted and let clients sort it?

This is an online game and I was paid to implement a game event, which is a Player versus Player game system. In my design I have a server side class (named PvpEventManager which is the event ...
Vinícius's user avatar
  • 15.6k
1 vote
0 answers
65 views

Entity Framework in an N-tier online game

I am trying to find a good design pattern for an online game (for an educational project, not commercial). Lets say I have a table of Players, and a table of Maps in my DB. So the entity framework ...
Bugale Bugalit's user avatar
1 vote
1 answer
68 views

Need help identifying a bit manipulation technique

I need help identifying the following technique. Is a lengthy read so please try to follow. My question is if this is a known standard, does it have a name, can anyone relate or seen this before. What ...
Hydrogen-4's user avatar
1 vote
1 answer
75 views

Where to Store User Specific Online Game Data

I am trying to create an online board game using Play framework. This is my first such application. It is important to have good response time for the end users. Lets imagine a game like monopoly ...
Srijith K's user avatar
1 vote
1 answer
2k views

Can I create a online game using meteor like slither.io?

I'm wondering about meteor reactivity and I have an idea about one online game like slither.io. Can I create online game because meteor optimistic UI offers simpliest way to update data without ...
user avatar
0 votes
1 answer
911 views

How to change the turn of a player in an online multiplayer game in Unity [closed]

I'm new in Unity and I'm trying to create an online multiplayer game. This game is a tanks fight. The tank is prefab and it's called to be created twice. When you press the Space keyCode the tank ...
Anna's user avatar
  • 126
0 votes
1 answer
38 views

Are there other ways to route packets once received?

So I'm working on the networking system for a project of mine (A game, if such information is relevant.) I'm using tcpip v6 and I've decided on basically having the packet's format be 2 bytes: ...
Nemo's user avatar
  • 102
1 vote
1 answer
235 views

call js function in php with multiple parameter

hello everyone i try to write a php game and my problem is i want to call call js function in my php code amd i wrote echo "<tr><td><p class='tttex'>".$str1."</p></td>&...
cheamin's user avatar
  • 33
0 votes
1 answer
405 views

Multiplayer game participant matching for 3 or more users

I am building a small hobby website, primarily in Python and SQL on the back end, and I am not sure how to approach a problem conceptually. What is an efficient way to get three or more players ...
JStewy's user avatar
  • 3
-1 votes
1 answer
78 views

Forbid copying and "search by" text in HTML page [closed]

I have a simple online game where the people have to answer on questions. They have max 30 seconds to make an answer and I found that most of people using "copy and paste" to simply copy a question to ...
Epsiloncool's user avatar
  • 1,463
5 votes
0 answers
872 views

What design patterns/architectures are used for achievements processed in online games

One thing that has always made me curious is how online games are able to process in real-time really novel or unique achievements and instantly give you a badge. Simple things like get 10 kills or ...
MonkeyBonkey's user avatar
  • 47.2k
0 votes
2 answers
527 views

Thread local variable

I'm developing a server for a multiplayer game, where I want to give each player his own Lua thread, that I'd like to fill with some unique globals, e.g. the player's name and id. Basically, I want to ...
Mars's user avatar
  • 932
0 votes
1 answer
69 views

MySQL Performance for Online Games Highscore Lists

I have a question about making "Highscore-Lists". Lets say I have an online game with 1.000.000 active users. Each user has points from 0 to X. Now, I want to show a ranking-list. It would be insane ...
SomehowLuke's user avatar
-1 votes
1 answer
210 views

Server for online game

I want to make a multi-player online game which will require some fast data exchange between users (that's why i need UDP). So, I probably need to have an UDP Socket Server that will receive data from ...
T.Vert's user avatar
  • 279
2 votes
2 answers
679 views

Best approach to create online game? [closed]

I have developed a simple card game based on Scopy. Now I want to upgrade my application for 1 vs 1 online game. I'm not new to Java, I know sockets. I was wondering if there is a better way to start ...
giuseppe trubia's user avatar
1 vote
1 answer
910 views

Developing the server-side of a online multiplayer game

I have some key question in developing the server of a multiplayer game. I need the best concept then I will use that in both C# and PHP. Currently I want to make a game like this: The button racket ...
ConductedClever's user avatar
0 votes
2 answers
114 views

Why this code doesn't work when "cout"s are commented?

I'm writing a server for an online game based on IOCP, and the core codes handling game message is something like below: CMessage ret; int now_roomnum = recv_msg->para1; int now_playernum = ...
DarkZero's user avatar
  • 2,304
0 votes
1 answer
82 views

Why this online game go out of sync after some time?

I'm making a simple online game and I'm suffering from out-of-sync issues. The server is implemented with IOCP, and since the game will be held almost always in LAN, the delay is relatively small. ...
DarkZero's user avatar
  • 2,304
0 votes
1 answer
269 views

How to reliably deploy a game server jar to a machine?

Well i have a game server now up and running on my local development machine but i want to deploy it to a real servermachine. The easiest way would be to just transfer the jar file to the server and ...
laubed's user avatar
  • 248
1 vote
1 answer
533 views

Security to prevent hacks in a game with node server

I am making a browser card game. Each player has a number of purchased cards out of a big pool of available cards. I need to make sure a player can not hack the cards he uses from the browser, so the ...
ilyo's user avatar
  • 36.2k
2 votes
1 answer
4k views

Autohotkey: Scrape text from window (LOTRO)

I am fairly advanced with my LOTRO scripting, but sadly, have not figured out a way to capture data from the chatbox. I am trying to write an external mapping application and would like to have ...
MaurerPower's user avatar
  • 2,054
0 votes
1 answer
677 views

html5 canvas or dom for online backgammon game

I'm starting to develop an online backgammon game. I 'm not sure whether to use html5 canvas or use dom and css. could you tell me the pros and cons of each approach for moving and animating pieces?
arash shahzamani's user avatar
1 vote
1 answer
729 views

Why can not I open a UDP connection on the client side (in browser)?

I know that there WebSockets. I looked at it from itself is an example of language dart. void initWebSocket([int retrySeconds = 2]) { var reconnectScheduled = false; outputMsg("Connecting to ...
Dima00782's user avatar
  • 171
3 votes
1 answer
3k views

NAT Traversal using only free STUN and TURN servers in C#

I am trying to make an online game application, which communicates with another pc peer-to-peer over the Internet. Since both pc's are likely to be under NAT, and since I cannot afford an external ...
eivour's user avatar
  • 1,707
1 vote
0 answers
46 views

Use local images in Internet Explorer control for windows phone

I'm planning to create a game for Windows Phone. To make it simpler to port it, I want it to be HTML-based and as it's an online game, it get's the html pages via http. But to minimize the data use, I ...
jalgames's user avatar
  • 779