Cod Waw Multiplayer

0 views
Skip to first unread message

Rachelle Kun

unread,
Aug 4, 2024, 8:05:52 PM8/4/24
to pestmelliti
Allof our multiplayer games are free-to-play, and most of them are available to play in your web browser. Free-to-play games are entirely free, but some offer the option to buy cosmetic items and occasionally other in-game items.

Multiplayer games host two or more players that compete and cooperate. The games are usually online, with the option to play solo. Many multiplayer games feature competition from gamers worldwide. Others are simple, addictive, and fun games that are great for people of all ages.


While I see multiplayer mode as one of the most innovative features ever for design processes and collaboration (especially during pandemic remote work), it has also created several anxiety triggers for me due to excessive-always-on collaboration. Every time I see an avatar or a cursor popping out, my anxiety hits me badly.


On several occasions I found myself being real-time pixel pushed/maneuvered during video calls. On others, I woke the next day to find my designs completely changed (blessed be version history). Also, people clicking and editing the same elements, at the same time as me, is disturbingly annoying and feels like a tug of war.


As far as being able to turn off multiplayer mode, how would you see that working? Would it be a temporary thing? Would editors who have access to the file no longer be able to access it? Would this action be limited to the file owner, or would anyone be able to turn it off?


About the draft mode, it works best for my freelance or personal work. During my last two professional experiences, which my team used Figma, this feature was used by bosses and upper-level coworkers to micromanage my online presence by following me via observe mode.


One of them had dedicated monitors, creepy. So I thought this was stepping into some serious privacy issues, besides the whole anxiety thing. In some companies, upward feedback is not accepted, so you just have to accept things or look for another job.


Hi @Leonidas I tried these two first one is Real-time Multiplayer with Colyseus Learn PlayCanvas and this one is not working for me then I started using photon one Real-time Multiplayer with Photon Learn PlayCanvas this one is working but when Its showing error with with ammo.wasm files so basically if i try to implement the photon multiplayer in my project which has a rigidbody player with collision it gives this error when i try to play it.

image1263209 32.8 KB

(This is when I tried the photon tutorial)

Here is my project link PlayCanvas HTML5 Game Engine


@Vivek_Chaini I ran your code that you have in the link above. Seemed to handle FPS controller fine. How are you launching the second instance of the game? Here are the steps I used to test it out on the same machine.


1.) Loaded project above in edit mode.

2.) Clicked launch and created a new room and moved my player to another point on the plane.

3.) I right clicked on the Editor tab in my browser and selected duplicate.

4.) I clicked on the duplicated tab which shows the editor.

5.) Clicked launch and then joined existing room.


I found that when I was moving one player it was best to escape out of that game before I went to the other tab. There was something that was a little fishy about the position of each player at times but they did not follow each other around.


Let me know if this fixes it for you. Actually there is also some other issues with player. You probably have to make the same changes to it as well @poliveira? This is what I did to player that is disabled.




Does anyone have access to the multiplayer functionality? I've watched the Dev Day last August and submitted a request to join the beta, but have not heard anything back since then. I can't find any related posts online either. Can anyone advise?


@AlexS I submitted the typeform for two company domains digitalflowconsulting.retool.com and mlgroup.retool.com , are you able to help get those approved for beta? Multiplayer would be very helpful right now!


sorry to ping everyone but just wanted to say @AlexS we are loving multiplayer. seems like a significant technical achievement to show live cursors in app editor, it's been great for screen sharing and multiplayer also helps us safe-guard against conflicting edits.


I am starting multiplayer functionality and followed a few tutorials and read quite a bit at this point but am running into issues. The symptoms I have currently are this; 1-> Starting as a server or setting it up to click as server does not impact authority

2-> The host client gets full authority (I put this hear because when I instantiate them both at same time, they both are hosts until I click join, I later changed it to neither are hosting and start it lobby style but same errors creep up)

3-> lots of errors,


when I try to give my camera set_multiplayer_peer, or similar it really doesnt like it, and if I make the camera a child of the character body things get alot more messed up lol. any advice on how to get both spawners to have permission?


Your set authority looks wrong. There would be no way for the replication to take effect that way on the remote side. This is because after you give authority on the host, that player will wait for info from remote. Then the remote side is spawned waiting for the host to send info. They both wait on each other.


I have confirmed that the MultiplayerSpawner can spawn multiple things together. I dont have enough time to test everything tonight, but by sunday I should be able to take more of a look at what needs to be done. Free time is a luxary!


I think i found the source of most of my issues. I had the idea since I was running both clients as Host first and then they both generate a body while they are host that might of been the root issue. So following the advice I just simply had the body delete itself before hosting (visual under).

Host->Spawn body->waiting->(still has body)+spawn new body->host controls body


I created a chatbox just to type and have a bigger picture.

what I think is happening is rather odd. The host starts off as 1 (they all technically do). A new one joins in, loses its 1 number and gets unique id (all good, this is why I thought it was done and good). add client 2 and Host + client 1 have the same name now? add client 3 and host does the same thing but client 1 and 2 all have matching names with client 3 being the only unique.


to me this tells me thier names are changing after being set up but according to Godot they still have the same names

I started doing print functions and added some new code to try and narrow down to problem once and for all


The thing im following uses 3 tags here and it doesnt complain for them.

(at this point I am trying to follow a tutorial to try and increase my understanding but seems my attempts just are narrowing the problems)

I still seem to be failing to set the name properly? I tried putting it in an index but it just shows the problems ive been having more obviously.


I found some time to mess with the code today. I still am so confused about the whole authority thing. I have a body being generated by the spawner, and according to the prints they are being named correctly. All clients (host included) see all bodies but only the host moves (the clients arent moved by the host now though). The camera of the clients moves automatically to the host. I put in an ingame chat to see what is going on with the whole authority thing.


Just so you are aware when running multiple windows from the editor they will share the output for print statements, it will be hard to separate messages unless they have identifying information which game instance they come from.


You are potentially checking too early for the client instances authority will still be host auth at this point. Client instance operator_id will not have been set yet? (Unless there is code, not shown, setting the operator_id on the spawned client instance?)


A multiplayer video game is a video game in which more than one person can play in the same game environment at the same time,[1] either locally on the same computing system (couch co-op), on different computing systems via a local area network, or via a wide area network, most commonly the Internet (e.g. World of Warcraft, Call of Duty, DayZ). Multiplayer games usually require players to share a single game system or use networking technology to play together over a greater distance; players may compete against one or more human contestants, work cooperatively with a human partner to achieve a common goal, or supervise other players' activity. Due to multiplayer games allowing players to interact with other individuals, they provide an element of social communication absent from single-player games.


The history of multiplayer video games extends over several decades, tracing back to the emergence of electronic gaming in the mid-20th century. One of the earliest instances of multiplayer interaction was witnessed with the development of Spacewar! in 1962 for the DEC PDP-1 computer by Steve Russell and colleagues at the MIT. During the late 1970s and early 1980s, multiplayer gaming gained momentum within the arcade scene with classics like Pong and Tank. The transition to home gaming consoles in the 1980s further popularized multiplayer gaming. Titles like Super Mario Bros. for the NES and Golden Axe for the Sega Genesis introduced cooperative and competitive gameplay. Additionally, LAN gaming emerged in the late 1980s, enabling players to connect multiple computers for multiplayer gameplay, popularized by titles like Doom and Warcraft: Orcs & Humans.

3a8082e126
Reply all
Reply to author
Forward
0 new messages