-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will online battles be implemented? #4
Comments
None of the standard link cable / wireless adapter features work online. Those communication sync up constantly so would fail due to network latency. Getting online trading working meant writing a writing a new trade function that doesn't care about latency. The same would be required for all the other link cable features and some of them are quite difficult. For example I wrote function to try and make online battles work without needing to constantly communicate but every time someone did a turn with multiple actions (e.g baton pass, where you do a move, then switch) the games would end up out of sync with each other. I will probably get record mixing and online battles working in the future but that would be 2025 |
Appreciate the reply, great job on what you've got so far. Going to try and get it to work on my expansion fork. |
Not tried building on the expansion myself but MelonSpeedruns sent me a change they'd done to get it compiling.
|
Thank you I tried a few times but got hung up on some compiling errors regarding FillEreaderTrainerWithPlayerData and Task_StartNetworkTask. Thank you again |
I don't think This section can be removed too because it won't work for the expansion
As for FillEreaderTrainerWithPlayerData it would need to not be marked as static or unused anymore and also declared in battle_tower.h |
I made the above changes and appears i'm down to 2 things. I guess I just don't know what to put for "i" and where to change it, and i'm not sure how to change FillEreaderTrainerWithPlayerData from static. |
That looks like 1 actual issue and 2 warnings that are stopping the compile because it's running in strict mode.
Basically, the compiler is warning you something is wrong because the constant gets defined then overwritten before it's even used. To fix this you could change line 48 to be
The compiler is warning you because the variable is being created for no reason. You can just delete
The compiler is saying that the function To let
|
Thank you. I will try this tomorrow. Appreciate the help |
Hey that actually worked. I have the emerald expansion 1.9.3 and your net demo compiled together. |
Is it possible to connect to players online from the Pokemon center?
The text was updated successfully, but these errors were encountered: