Code Monkey home page Code Monkey logo

bizhawk-co-op's People

Contributors

aofengen avatar bladefangft avatar bmclarnon avatar fenhl avatar krimtonz avatar kwlabuda avatar lumenthefairy avatar nlangille avatar raizuto avatar testrunnersrl avatar thills03 avatar trezc0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bizhawk-co-op's Issues

Error during sync

Error during sync: LuaInterface.LuaScriptException: bizhawk-co-op\ramcontroller\Metroid Zero Mission.lua:341: invalid arguments to method call: 50169686

Error 410 creating room

Hi,

I am getting an error code 410 when trying to create a room today.
I didn't have any problem creating rooms in the past weeks, so I might suspect something is up with the server for the connections.
My brother, with whom I am trying to play, has the same error code when searching for rooms.

Any help is appreciated and thank you for your hard work.

Error Creating or entering a Room

I am using BizHawk 1.12.0 and when creating or entering a room I get an error and it does not let me enter or create:


LuaInterface.LuaException: unprotected error in call to Lua API (0)
   in LuaInterface.Lua.PanicCallback (IntPtr luaState)
   in lua_error (lua_State *)
   in LuaInterface.ObjectTranslator.throwError (IntPtr luaState, Object e)
   in LuaInterface.Lua.SetPendingException (Exception e)
   in LuaInterface.LuaMethodWrapper.SetPendingException (Exception e)
   in LuaInterface.LuaMethodWrapper.call (IntPtr luaState)
   in LuaInterface.MetaFunctions.runFunctionDelegate (IntPtr luaState)
   in lua_resume (lua_State *, Int32)
   in BizHawk.Client.EmuHawk.EmuLuaLibrary.ResumeScript (Lua script)
   in BizHawk.Client.EmuHawk.LuaConsole. <> c__DisplayClass3c. b__35 ()
   in BizHawk.Client.Common.EnvironmentSandbox.Sandbox (Action callback)
   in BizHawk.Client.Common.LuaSandbox.Sandbox (Action callback, Action exceptionCallback)

Use 32 Bits

[QoL improvement] Show people in current room

It would be a nice quality of life improvement if the interface would either show a list of peoples names or at least the number of people in the current room. This helps to keep an overview for larger groups of people.

Bizhawk 2.4 crashes on creating a room.

produces a bunch of errors of the type: "Warning: Attempted read of 1591673 outside the memory size of 1048576". The first number is different from error to error, but the second is always the same.

Errors in lua console output when attempting to create a room

New install of bizhawk and the co-op scripts, followed all the set-up instructions including the confing and tools setup steps within bizhawk itself and changing the lua core to Lua+LuaInterface, and have a ROM of OoT running on bizhawk, when running the script and inputting the required information to start hosting a game, once the create button is clicked the following errors are thrown by the lua console.



NLua.Exceptions.LuaException: unprotected error in call to Lua API (0)
at NLua.Lua.PanicCallback(IntPtr luaState)
at lua_error(lua_State* )
at NLua.ObjectTranslator.throwError(IntPtr luaState, Object e)
at NLua.Lua.SetPendingException(Exception e)
at NLua.LuaMethodWrapper.call(IntPtr luaState)
at NLua.MetaFunctions.runFunctionDelegate(IntPtr luaState)
at lua_resume(lua_State* , Int32 )
at BizHawk.Client.EmuHawk.EmuLuaLibrary.ResumeScript(Lua script)
at BizHawk.Client.EmuHawk.LuaConsole.<>c__DisplayClass55_0.b__1()
at BizHawk.Client.Common.LuaSandbox.Sandbox(Action callback, Action exceptionCallback)

co-op room names

I've noticed that the room names have gotten a bit out of hand including people using straight up racial slurs as names for their rooms.

Script error: the domain CARTROM is not writable

This error occurs when any user connects to the session.

image

Steps to reproduce:

  1. Start game on host
  2. On host load script, run script, enter username and click host
  3. On host, pick settings as desired, start room
  4. Start game on remote
  5. On remote load script, run script, enter host ip and username and join room

At this point, on both host and remote the message "the domain CARTROM is not writable" appears many times. It displays around 140 times, though it seems the number varies (could this be the script attempting to edit the chest contents?)

When playing the game, both players have all chests which can result in obtaining the same item multiple times. (On my first play-though we managed to get the titan's mitts right off the bat this way) Otherwise the script still functions.

Details:
Ran the powershell script to install the emulator on both host and remote
Bizhawk 2.3.0
Both computers on same local network
Rom came from https://alttpr.com/en/randomizer

Connection issues after shutdown

Hello, I've recently run into an issue where I cannot connect with anyone after a shutdown.

I was having no problems joining a room with a fresh installation, but after finishing for the day and shutting off my computer and trying again the next day, the application "stops responding" and times out. It doesn't crash, merely freezes for an extended period of time (30+ seconds, audio loop) and eventually times out with the message connection failed: timeout.

I have tried wiping all the files and replacing them with fresh new files (the same as before) and this fixes it until I turn off my computer and start it back up. (This also removes all my progress.)
I've tried joining other rooms: same issue

Details
Windows 10 64 bit
Bizhawk 2.3 (With changes made from Bizhawk Co-op, all recommended steps followed)
OoT v1.0 w/ OoT Randomiser 3.0
Port (11100) has been opened and everything has been allowed through firewalls
Number of Players: 2
Host or Player: Player
Host is located in the same household as myself.

Let me know if any other information could be helpful

Should I be able to type in Host IP? (Metroid: Zero Mission)

Screenshot 2022-10-29 230355

I haven't tested any connectivity yet but the instructions mentioned to put in the IP of whoever's gonna be the host, though I can't type anything into the box. I don't know if it only allows you to when you click "Join Room" because whenever I click "Join Room", it immediately says "Error joining room [Code: 401]". Is this supposed to happen, and is there a fix?

coop lua incompatible with OoT Randomizer v7.1

is there a fix for this ?

logs:

[14:29:13] The RAM controller file could not be loaded: bizhawk-co-op\ramcontroller\Ocarina of Time.lua:42: This ROM is not compatible with this version of the co-op script
Script protocol version: 2
ROM protocol version: 4

LTTP out of sync without errors after a reconnect

Sometimes when somebody reconnects after a network problem or an emuhawk crash, they do so without error during consistency check whatsoever and by being "connected" to the room properly; but the person is just out of sync indefinitely with the other players.

His rupees, ammunitions and health are his own and he doesn't re-receive the items that were found before he got disconnected.

I was wondering if maybe it is linked to his save file ? Since he didn't get a chance to save for some time before being disconnect and having to reconnect to the room and therefore resetting the game.

Is there a way to force resync ?

Minor typo

The co-op script should be capatible for Bizhawk 1.12.0+ and 2.2.2+

Capatible isn't a word.

little question

With witch protocol of the OSI 4 the script works ?
Because I want to open the port with the right protocol, not with all .(precision is more secure)

Bizhawk laggs if script is loaded

If I loaded the script the OOT starts to lagg if the resolution is higher then 480x360.

Are there any configs to set to get a better performance? Without the co-op script loaded it runs without problems.

Graphic: NVidea 1060
CPU: AMD Ryzen

LTTP Co-op issues with keys (even jar/monster key drops)

tl;dr Keys obtained from jars and critters sometimes do not appear. These are the keys that are not supposed to be randomized. The only co-op setting we had toggled on was "Raid Boss."

Today I played my first lttp randomizer with a buddy and decided to do co-op. We set up 1.12 Bizhawk and everything looked great. The ONLY option we selected was "Raid Bosses"

Very early on we were a bit confused because my buddy got key-locked out of completing both the rescue Zelda sequence and the sewer sequence later (when we eventually got bracers and he could push the bookcase out of the way to reveal the sewers).

Over and over again I got key-locked out of dungeons which was annoying because we did raid boss HP with the intent to fight the bosses together. We just figured it was something to do with the co-op logic and worried less when the other one of us was able to finish the dungeon.

But then we finally hit a crystal dungeon (swamp) that BOTH of us were key-locked out of and a very observant viewer on twitch noticed something was very very wrong. Jars were not holding their expected keys for either of us. We finally realized we were hard locked out of completing the game and decided to completely shut down and restart bizhawk and the co-op script to see if that would fix anything.

We went back into the swamp and my buddy's key did NOT drop from the jar it was supposed to be in, but suddenly my previously missing key did. I had him re-try the Zelda rescue and sewer escape areas and he was able to find the previously missing keys and full clear them. I then got stuck in sewer again and my viewer said there was a jar I opened that should have had a key but didn't.

So basically, the keys confirmed to glitch out and not appear on some jars and from at least one critter in the sewers. A full reset seemed to make some of the missing keys be obtainable but keys started being unobtainable again shortly after restart. I can't find a full log of how the script split our items up to confirm things and the randomizer spoiler log also won't say because it doesn't know it was created for co-op. Otherwise I am happy to share whatever information you may deem useful to troubleshoot.

For what its worth, my buddy and I have done multiple multi-worlds in Ocarina of Time with no major issues. This was our first time in lttp co-op and thus trust this script more than the other one that is available since we're already familiar with it. We'd like to keep using it if it works properly!

Error during sync

I updated to the latest lua script and got this issue:

NLua.Exceptions.LuaScriptException: .\bizhawk-co-op\sync.lua:104: attempt to index upvalue 'ram_controller' (a nil value)

and

Error during sync: .\bizhawk-co-op\sync.lua:200: attempt to index upvalue 'ram_controller' (a nil value)

Problems Connecting with Another player on same network

Is there any way I can run the bizhawk to another player on the same network? I've tried "localhost" as IP and we've tried both of our IPv4 addresses. We can connect to the rooms in lua, but nothing in the games syncs with the other client.
-I have personally confirmed that everything is the same... (Same seeds, bizhawk version, and randomizer version.)
-Have also gone through all the Hamachi firewall settings here and disabled the firewall on both pcs and they are pinging each other just fine...
-Both PCs are running Windows 10
-If you need any more info, please let me know

Bizhawk co-op help

My connection on Iua keeps timing out between my friend and I. We have the same seed but different players for oot and we both used the coop installer so it does all the file ordering for us. We can host a server but we cannot join the other person's server. Any ideas on how to fix this.

Thank you
bizhawk coop help

ALTTP Item Removal?

I obtained the Magic Hammer from King Zora and My Friend obtained the crystal 7 from the Desert Palace Boss and right after we got them the console (the item drop info text) said,
"Magic Hammer Removed" and
"Crystal 7 Removed" then removed them from our inventories.
-More info
We were playing with 3 people this might have ruined something, the randomizer page said that it could be played with one or two players, this might have been the problem.

Script Error

I can't seem to Open the Script In lua,Even after booting the rom. it just gives me this error "NLua.Exceptions.LuaScriptException: [string "main"]:54: loop or previous error loading module 'bizhawk-co-op\host'"

[Suggestion] Making an Option for enabling Players to get all items

To be honest its kinda Frustating That you have to stay close to each other in,more Specifically Metroid Zero Mission to get all the items so it would be nice to have an option that allows Both/All the Players to get all the Items and erasing them Afterwards to other people

Dev v3.12.3 Coop Crashing on approaching chest

We've updated our Ocarina of Time.lua for 3.0 in our bizhawk-co-op folders and still continue to have issues. Had no issues prior to 3.0 so I'm thinking it's the lua. Everything is done with Bizhawk 2.3 if that matters.

When testing using the same Multiplayer Seed:
If I don't have lua open I can open chests.
If I have lua open and don't have other players in my room I can open chests.
If there is at least one other player in my room, my game crashes upon approaching a chest.

Error when joining a LAN room

When trying to setup a LAN room for the Oracles Multiworld I get the following Error: "Error in Listen: ...\Downloads\BizHawkRoot\bizhawk-co-op\sync.lua:49: bad argument #1 to 'lines' (bizhawk-co-op.lua: No such file or directory)" for the hosting side and: "Error during Join Server: .\bizhawk-co-op\sync.lua:49: bad argument #1 to 'lines' (bizhawk-co-op.lua: No such file or directory)" for the joining side.

Created globial variable "mainform"

When I try to create or join a OoT Multiworld server I get the error

"Error during Join Server: Created global variable "require_status".
Didn't you want this to be local?
If you actually wanted a global variable,
use the "declare" function instead."

If I first try to join a LttP server "which works" and then try to join a OoT Server I get the error

"The RAM controller file could not be loaded: ...zhawk-co-op\ramcontroller\Ocarina of Time.lua:205: bad argument #1 to 'create' (Lua function expected)" instead.

I even got the entire thing a friend uses and which works for him, and I still have the errors, can someone help me?

Resync items

Is there a way to force the script to resync the items in case some items were not sent? (OoTR specific)

Games got out of sync

Had an issue where one player got a key item for other. But we got disconnected from the room. We we got reconnected the item never popped. Tried both of us saving and restart the game. With no luck.

Did get this error in the lue console after we reconnected.

Configuration consistency check failed: Bad hash
[07:21:34] You are not both using the same sync code (perhaps one of you is using an older version?)
[07:21:34] Make sure your sync code is the same and try again. 

[Suggestion] Save servers

Don't think that it's a big thing to do nor it is important but it might be nice to add.
The possibility to save server settings (IP, pseudo, pass, port, script) so you just have to go to your saved servers list and click on it instead of retyping the whole thing.

Can't connect to friends

Greetings,

My friends and I wanted to try OOT Randomizer at 3. I tried joining their room after following the instructions but I only get these messages.

[01:23:22] Joined room (Custom IP)
[01:23:22] Checking configuration consistency...
[01:23:22] Configuration consistency check failed: Bad hash
[01:23:22] You are not both using the same sync code (perhaps one of you is using an older version?)
[01:23:22] Make sure your sync code is the same and try again.
[01:23:22] Server closed.

My two other friends can connect to each other but only I can't.
Do you know where the problem could be ?

Thanks in advance.

Lttp Co-op Not splitting items across players

Hey there, a friend and I were recently trying out this script for the first time but we noticed that items were not split between us but were present in both files. When we first have the second player connect to the host, we both see a long list of errors in the Lua Console: "CARTROM domain is not writable". This is repeatable 100% of the time.

The other features we tried - Ammo & Rupee sharing, and the general sharing of items and hearts seems to work perfectly. But we worried picking up too many hearts or other item dupes could make things... interesting.

Ram controller issue

So I've got the latest dev branch and co-op scripts but I keep getting this error:
NLua.Exceptions.LuaScriptException: .\bizhawk-co-op\sync.lua:104: attempt to index upvalue 'ram_controller' (a nil value)
as host and:
Error during sync: .\bizhawk-co-op\sync.lua:200: attempt to index upvalue 'ram_controller' (a nil value)
when connecting to someone else.

Everyone running new scripts

OoT Connection Issues

I have someone who hasn't been able to connect to my room, while others can join perfectly fine. The error is:
"Server: Created global variable "require_status".
Didn't you want this to be local?
If you actually wanted a global variable,
use the "declare" function instead."
It occurs when he tries to click Join Room with the information correctly put in on the most recent Lua script (i.e. correctly joining the room). Apparently a few others have had these issues in the OoT Multiworld server as well.

Controller Sensitivity Issue

I've been enjoying running multiworld OOT runs with my friends recently, except for one problem...

The sensitivity for the controller X and Y axis appears to be much too high, and cannot be cleanly adjusted.

We've tried adjusting the Sensitivity in both directions, along with the deadzones, and the controllers still do not properly act as intended.

For example, the Lost Woods Slingshot game it is near impossible to aim at the target (Without needing to climb down the ladder, and awkwardly aim upwards). The same goes for the Hookshot target in the second level of the Water Temple that you need to hit the eye switch first for.

We've tried the following controllers, with no changes;
RetroLink N64 Controller
Steam Controller
PS4 Controller
GameCube controller using Wii U adapter

Visual C++ 2012 Runtime not working

I've already run Visual C++ 2012 Runtime but it just doesn't works at all. I've even tried to repair the download, but nothing. I've also reseted and same.
Captura de pantalla 2022-03-14 a la(s) 2 46 39 p  m

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.