Giter Site home page Giter Site logo

gba-pk-multiplayer's Introduction

GBA-PK-multiplayer

This is a free mod that will in the future support interactions between all of the 3rd generation pokemon games. Alpha 3 currently allows 4 players to see and trade with each other in the game of Firered or Leafgreen. Updates and more information can be found on youtube, patreon or pokecommunity.

Patreon: https://www.patreon.com/user?u=81688818

Youtube: https://www.youtube.com/channel/UCdXg0-BF9FblZ2GTi3u4orQ

Pokecommunity: https://www.pokecommunity.com/showthread.php?t=484949

gba-pk-multiplayer's People

Contributors

thehuntermanx 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  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  avatar  avatar  avatar

gba-pk-multiplayer's Issues

Battle ?

When the battle feature will be up ?

[Question]: Can you change the nickname?

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Is there a way to change the nickname so it's not a jumble of random lowercase letters? It's not necessarily important but it'd be nice to have it use the names on the save files if possible.

Steps To Reproduce

This box is required to fill out and I'm not sure how to do something other than a bug report to ask this. Sorry, this is my first time using Github for this.

[BUG]: Could someone please tell me how to use ZeroTier with this?

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I have looked at other issues revolving around this and no one fully explains it. I cannot find any helpful Minecraft server videos that will help me. Could a kind soul please give me a step-by-step explanation of how to use it? I am hosting and I'm on a mac. My friend is on windows 10. I have already tried the installation guide and quite frankly, it's the vaguest thing ever. I'm overall just confused about the ip thing. I would prefer to use ZeroTier.

Steps To Reproduce

Download ZeroTier
Setup ZeroTier server
Both people connect to ZeroTier
Client side person places the ip in the lua file
Server side starts up game
Nothing happens

[BUG]: Help With Port

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Me and my buddy cannot get this to work at all, I have followed the video and everything, this is different to others as I would like to clarify does the port 4096 remain the same and only the IP gets change?

Steps To Reproduce

Download files

follow video

[BUG]: After using ZeroTierOne once (when it successfully worked) it doesn't work again

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

This issue is similiar to all the other issues, however I couldn't find any issue that had specifically the problem we have.
So we started playing this mod yesterday and we checked that hamachi doesn't worked so we switched over to ZeroTierOne which worked without any problems.
We played for a bit yesterday and decided to continue today.
As it turned out today my friend could't connect to me anymore.
We tried reversin the Client-Server configuration (using the ZeroTierOne IP's), setting up some allow rules for the firewall, and changing other firewall settings but to no avail.
From what I've checked port forwarding on my router is impossible unforunately.
A similiar issue can be found under #17

Steps To Reproduce

Both players are connected to ZeroTierOne
Both players can ping each other
Server Player starts up game and starts server script using his IP he got based of ZeroTierOne
Client Player starts up game and starts client script using Server Player's IP based of ZeroTierOne <- here it crashes

[BUG]: GBA-PK_Client Skript crashes emulator

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

After using GBA-PK_Client Skript the emulator froze and crashed shortly afterwards, this happend on the pc of me and my friend while the GBA--PK ServerSkript worked perfectly fine.

Steps To Reproduce

Open mGBA
Insert Pokemon Fire Red
Load the Skript GBA-PK_Client
Emulator crashes

[BUG]: Cancelling a Trade will Cause the Client to Freeze

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

When opening a trade via direct communication with a player in game, the game will state "Waiting for other player" and then a trade menu will open only on the Host's game. Furthermore, in the trade, you are only able to choose party Pokemon and not box Pokemon. I do not know if this is intended. However, after seeing that I could only choose party Pokemon, I cancelled the trade, and my trading partner (the client) was still stuck on the dialogue box "waiting for other player" while I was able to move around freely with no issues. The client is unable to perform any actions whatsoever and is permanently stuck. Unfortunately there is no way around this as making a save state at this point will throw you back into the dialogue freeze, so its best to manually save your game before initiating a trade.

Steps To Reproduce

  1. Initiate a trade via the p2p dialogue menu
  2. Cancel the trade when option is available

I can't figure how to make this work with Hamachi. I just can't connect to my friend.

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I can't figure how to make this work with Hamachi. I just can't connect to my friend.

We did everything and we can't just get it to work. If anyone knows how to do it please tell me. There is huge possibility that we are just dumb.

Steps To Reproduce

.

Issues using playit.gg

I usually use playit.gg as my replacement for port forwarding but I have seem to have hit a roadblock as I entered the port provided but cannot connect to the server, below are the port used and ip used to connect to the server, I dont know whether it is the protocol used or incorrect entering of the ip in the client file being "147.185.221.211:55476", 4096. Tried without the port to no avail .

Capture

[BUG]: Having bad stutters when attempting to run client script.

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

A friend and I tried to set everything up today once I found this existed. It works perfectly for me, but for my friend once he starts to run the lua script the emulator plays for a second then it's like it pauses for another few seconds then plays a second and repeats this cycle, and nothing gets done.

He can run mGBA just fine without attempting to run the script and it works perfectly fine, but as soon as he attempts to run the script it stutters as stated above. We both have the same exact emulator versions, script versions, and game versions.

He has tried to update his drivers and that does not change anything. Any help or thoughts on the issue would be helpful. Unsure if this a problem on his end or the scripts end.

Steps To Reproduce

Start mGBA.

Run Pokemon Fire Red, though not past the main menu with Charizard on it.

Attempt to start the Client lua script

Emulator starts stuttering extremely bad (Though only for my friend, and it works perfectly for me)

doesn't work properly

my friend and I were trying to play and suddently everytime he started the lua file it just said on my pc "user has succesfully connected" and then right after "user has timed out" on his pc it just said "you have been timed out" never even showed that he was connected to a server ("Connected to a server: no")
imagem_2022-11-21_142625922
imagem_2022-11-21_142636430
image

we also used hamachi

Trading causes softlock

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Sometimes when trading, either player (host or client) can be softlocked by the "waiting for other player" dialogue box after confirming a trade, forcing a reset as it cannot be cleared with any button. The trade screen where the pokemon is shown going between GBAs never appears. We are both using mGBA 0.11.7787-6aa558c4a and the alpha 2.6.1 version of the scripts on arch linux.

Steps To Reproduce

  1. Initiate a trade
  2. Confirm the trade

No connection and low fps

Whenever either me or my friend try to load the client we drop to almost no fps and it never says that the client has connected to the server, were using Radmin VPN

How to use with mobile? And a few other questions

I was absolutely stunned by your work. You're doing an amazing job
But is there a way to host the server completely on mobile and then join the server using mobile?
Also what does the person with the client lua have to do? does he have to load into a new game or his own save or is he stored in the savefile of the server?
Will the person who's joining the server have their progress saved? And where?

[BUG]: Pokemon Emerald Detected, script disabled

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

when i tried to put the server file or client file in the scripting area they just didnt work.

Steps To Reproduce

I did everything that the video said to do

[BUG]: Cant see my friend

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Me and my friend are connected but when start game we cant see eachothers in the game, i dont know why i think nobody has this problem.
If someone know how to fix that pls tell me.
(The problem can be caused by my friend connection i think cause if i look in the script screen i can see him to disconnect and riconnect sometimes.
immagine_2022-12-06_190809461
)

Steps To Reproduce

.

[BUG]: Trading doesn't work at all

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

When attempting to trade using the p2p dialogue, we are both able to select Pokemon to trade after waiting a very unreasonable amount of time. Usually it takes about 2 to 3 minutes for us to be able to select our Pokemon and sometimes we cannot select them at all as we will be stuck in a dialogue box. After three attempts, we were able to select our Pokemon, then after that the trade did not initiate even after waiting for up to five minutes. We were waiting with the dialogue box open, unable to do another. The game music still continued to play and NPCs moved around. We are using mGBA v. 0.10.1

Steps To Reproduce

  1. Connect to player for a trade
  2. Attempt a trade

[BUG]: Trade freezes game on "waiting for other player" dialog

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I'm playing with 3 friends on alpha 3, and we managed to exchange pokémon between us only once, if we try to trade again on the same session, one of the players will be stuck in the "waiting for other player" dialog, this can be reproduced by host and player / player and player interaction.

The way we find out to work around the problem is the host reloading the server script.

Steps To Reproduce

  1. Interact with other player on p2p dialogue and trade a pokemon once
  2. After the trade is complete, attempt to trade again with the same player

[SUGGESTION]: Add Discussions to the repository.

I would love a way for us to communicate a bit better and be able to ask questions about the script's progress. Plus some talk about the technical side. I've noticed a lot of people throwing "bug reports" complaining that they can't figure out how the script works and cant use features that aren't even finished yet. I would like to ask questions alpha V3 as well, but unfortunately the repositories doesn't have discussions enabled. It would also be a nice thing to have before we get a pokecommunity forum. If there is already something like this that exists, please let me know.

[BUG]:

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

so ive port frowarded properly according to the internet (mind you it was 2 different sites and it was the same steps) and i followed the tutorial video on the page and i cannot connect with a friend they cannot connect to my server script, it doesnt even register them looking for my server file.... ive not tried 3rd party programs as i was told by the tutorial that port forwarding was good enough so if i need a 3rd party program let me know i guess

Steps To Reproduce

i download game after port forwarding and run scripts for server and my friend runs scripts for client with the port forwarded port and ip and it doesnt do anything

French Version

Is there any solution to play with the mod on a french ROM version ?

Can i make host without port forwarding?

  1. Watch a video guide for port forwarding Minecraft.
  2. Whoever does the port forwarding has to have the server file.
  3. Whoever connects has to have the client file.
  4. Change the port from the video to the one for Pokemon.
  5. Change the IP in the client file to the visible IP of the host.
  6. Make sure the host has a static IP.

Originally posted by @ArtMatters in #3 (comment)

I've seen this message but when i go to host the game with the script it request me to make port forwarding but it doesnt work in my router, so my question is can i make host without port forwarding??
EDIT:
NEVER MIND THE #17 HAS RESOLVE MY PROBLEM (i use zerotier)

[BUG]: PVP doesnt work

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Cant initiate battle with other player

Steps To Reproduce

Try to battle

[BUG]: A question regarding compatibility

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Less a bug and more a question of compatibility, is this usable with other versions of firered? I found this through smallant's video and in it he is playing with someone else using a fire red that has randomized pokemon for all as well as a 'kill' feature to faint pokemon. I managed to get this to connect using a base firered, but when attempting to have the client connect to a fire red that was more modified(a randomizer and gens 1-8) the client would just freeze and stutter every second without making an attempt to connect. I changed nothing with either lua between the ROMs, so why did one work but not the other? Even in the gba scripts window did the script recognize the game as fire red and didnt show any errors.

I am just a lil confused on the exact extent of modfying one can do to the fire red rom before it becomes unable to load right. Anyhelp would be greatly appreciated.

Steps To Reproduce

  • Run gba
  • launch modified fire red rom
  • start server lua
  • start client lua

[BUG]: stuck in npc dialouge

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Okay so thank you so much for enabling me to play multiplayer firered but, I have run into a problem of being stuck in NPC dialogue. I really don't want to restart and I would like help. When I hit any button nothing happens. B, A, Start, Select, nothing.
Screenshot 2023-02-19 at 8 40 31 AM

Steps To Reproduce

Open MGBA
Load up legal rom
Load save state
Stuck in NPC dialouge, the girl on top of celadon shopping center.

[BUG]: Client Shows as Connected then Repeatedly Timed out on Server

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I have tried both Port-forwarding and Hamachi. I have a lot of experience port-forwarding, so I know that is not the issue. When the client connects to my server using my public IP, it shows on my script menu that the client has connection, but then has timed out. It will do this numerous times and the connection will never actually be stable. On the client side, it shows that no connection has taken place whatsoever. It gives them a random username even after entering the Client's own. And on top of that, it says "Connected to server: no" even though on the Server side it shows that the connection was attempted and then timed out.

At no point are we able to see or communicate with each other in game. We are playing across the country, so this is not a LAN issue. Furthermore, its not a firewall issue as I host Minecraft and DayZ servers with minimal connection problems. We have checked both script files repeatedly for misspellings or wrong information, and that is not the case. I have found zero information online about this - only people complaining about the issue in YouTube comments, but no answers or responses.

This issue is repeatably and makes it impossible for us to play at all.

Steps To Reproduce

  1. Run mGBA and launch your ROM
  2. Run the script
  3. Nothing works

[BUG]: When a Player is on the Same Coordinate Tile in a Different Location, You Can Still Interact with the Tile as if The Player is There

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

My friend (client) is inside the Pokemon Center in Pewter City. They are currently standing in front of the Pokemon Center Counter actively engaged in dialogue with the nurse. I am outside of Mt. Moon on the Pokemon Center right of the rocks. I randomly decided to test the matching coordinates of both locations, and I am able to interact with the rock pictured below as if it was my friend.

Doesn't seem to actually cause any issues outside of a small inconvenience say for example if a hidden item happens to be in a location coordinate relative to where your friends are.

image

Steps To Reproduce

  1. Find your friends' coordinate
  2. Locate that coordinate on a different map
  3. Interact with the coordinate

can't connect over the internet (port forwarding)

I found my private ip in settings where it says "IPv4 Adress:"
and the public ip, i just googled whats my ip

I can't connect a device over the internet
I port forwarded with my IPv4 address (private) and both protocols for port 4096
i tried to join the server when the client having the private ip and the public one. both of them didn't work
the public ip didn't work when trying to connect to in the same pc but the private one did
i don't know what to do.

if anyone can make a video for this it would be really helpful
or you can explain please

ps:
i watched the instruction video and i still don't know how i can connect internationally

2nd ps:
i got it working after following the tutorial here
https://www.youtube.com/watch?v=X8ry7c7HJIo
The part of the "Allow trough firewall"

3rd ps:
if anyone is interested, i can make a video tutorial on installing and connection

[BUG]: Client timing out after refresh

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

image
Closed out mGBA to try and change my nickname on the server, now it will not let friend join and keeps timing them out. Reverting to the non-nicknamed one seems to have fixed the issue even though i would like to customize my name on the connected game

Steps To Reproduce

Play game
Work fine
Save and exit
Edit .lua file to have new nickname (5 character long)
Game now not connecting properly

[Question/Bug]: Connection between server & clients over the Internet

Hi there,

I did everything what stands in your installation tutorial but what IP can I add in the server/client tab, when I want a connection over internet and port forwarding?
forward the port to my local network IP yes, but can I use a DynDNS Server as IP or did the client has to use the IP given from the internet to get through me?

tl;dr
Did/Can this configuration work?

Server: Local IP, Port & Port forwarding
Client: Current Internet IP, Port or DynDNS-Name, Port

Also can we use a custom username? Or can you implement it so that we can choose our username at script execution?

Thanks in advance. :)

Best regards,
^SWHSmash

Android Multiplayer

Are you going to release an android emulator for 4 player pokemon battles?

Issue figuring out how to have friend connect to my server

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I open a server while my friend opens a client, and being unexperienced with stuff like this we aren't exactly sure how to connect to each other and would just like to know how to do that, Thanks!

Steps To Reproduce

I open server side

Friend opens client side

Where do we go from there

[BUG]: Trading turns traded pokemon into invalid pokemon

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Sometimes when trading, the traded pokemon you receive will show up as the question mark placeholder pokemon and will become an empty slot in the party screen. The empty slot prevents moving the selection past it.
Pokemon_-_FireRed_Version_USA_Europe_Rev_1-0

edit: after further attempts, we found that the pokemon can also sometimes turn into a bad egg instead of a blank space in the party

Steps To Reproduce

  1. Initiate a trade
  2. Complete the trade

[BUG]: Server script breaks with nickname longer than 4 characters, causing repeated 'connection timeout' when clients connect

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

After some talking through some issues, I have noticed a problem. There is a major bug inside the script causing a lot of users to not be able to connect to their friends. A large percentage of people who have used this script probably unknowingly run into this bug and just gave up straight away, it's a bit of a problem at the moment.

If the server script's nickname is LONGER than 4 characters, every time a client connects the server fails to send back to the client that it has successfully received the client's message mid-handshake. My theory is that this is because the server's name is too long for the packet being sent to the client, therefore failing to send a packet back to client then the server says the client connection is 'timing out' and the client is thinking it hasn't connected to the server because the server has failed to respond back to the client.
(P.S While this is not a cause of this bug but is related, I found that the client's nicknames do not use the string entered into the top of the script and always get randomized regardless)

I would say that there's really only two solutions to this, to either throw a error/warning at the user if a username is longer than 4 characters or just make it so the program supports longer names. Or you could just, only use the first 4 characters of the nickname entered as a quick fix, but I think the error idea would be better.

Here are a list of some of the issues that have most likely been caused by this bug or are related to this issue...
#39
#36
#32
#20
#11
#6
#1 (Literally the first issue is caused by this very bug)

Steps To Reproduce

  1. Start the server with more than 4 characters set as the nickname
  2. Get a client to connect
  3. Just wait for a bit and... tada!
    image

battling doesnt work[BUG]:

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

battling doesnt work only trading

Steps To Reproduce

tried to battle

Not allowing over 2 players

When trying to have a third person (2 not including host) join the server script is saying "A player is unable to join due to capacity limit", I was under the impression this allowed 4 players.

[BUG]: Friend can't join (we use Hamachi)

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

We use Hamachi and whenever we put in the same ip and then run the script, his crashes and we tried to add ":4096" right after the ip in the speech marks in the code and then he doesn't crash but instead the client script cannot find a connection.

is there something wrong in the code or inside Hamachi?
a response would be greatly appreciated. Many thanks >=]

Steps To Reproduce

. Download scrips
. Use Hamachi ip in both client and server ip area
. Open server first
. Friend opens client script and it crashes
. Friend cannot connect

[BUG]: Doesn't work at all.

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Not able to connect to each other even though we did everything right.

Steps To Reproduce

My friend and I have watched a tutorial and did everything the exact same way as the people in the video did and it doesn't work. I downloaded the Server and Client lua files, I changed the IP to the Hamachi iPv4 for both, then sent my friend the client file. We both opened Fire Red, I started my script, he started his after, and it didn't connect, only leaving him with a "Connected to server: No" message. We tried Alpha 3, then tried Alpha 2.6.1 and it gave me the "Player 2 Disconnected" message, but still wouldn't let my friend connect. The IP is correct and we didn't touch anything else in the lua file. We also tried connecting to my personal IP address and it still didn't work.

Repeated time out and reconnect

Using mgba 0.10.0 and radmin when my friend joins it says a player joined and then it says "A player that is already in the game is trying to join!" then right after that is just repeatedly keeps saying they timed out and then successfully connected right after. It even does this when I try setting both client and server ip's to 127.0.0.1 and running 2 emulators on my computer.

[BUG]: Battling doesnt work.

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

When me and my friend try to battle each other it says that nothing happened? can this be fixed?

Steps To Reproduce

.

Battling NPCs

I saw SmallAnt's video about this and in his and his friend's game the NPCs would only ever fight one of them then were defeated. Me and my brother got it all to work but the NPCs fight both of us. Wondering how to make ours so only one can fight them so it feels more like we are in the same game or maybe I misunderstood. Thanks

Is the project still active?

I have great intrest in this project. I'm playing on a modded version of FR but I really miss the opportunity to battle that, I understood, will come in alpha 4. Is this active?

I dont know how to trade

So I have been playing with my friend, but we cant trade, I have tried to do it in a PokeCenter, but it just says "Please wait" for both of us, is this a bug or am I not doing it right?

[BUG]: Unknown game. Script disabled in Pokémon fire red.

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

When i put the script server in the emulator it doesnt upload correctly so the emulator show "Unknown game. Script disabled".
Im using the Alpha 3.0 realase.

Steps To Reproduce

I've just did the same things like the tutorial and like i already said when i put the script in the emulator it show me an error.

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.