Git Product home page Git Product logo

erupe-legacy's Introduction

THIS IS A LEGACY REPO, PLEASE REDIRECT YOURSELF TO THE UPDATED REPO: ZeruLight/Erupe

Erupe

Feel free to contribute, make pull requests, open issues, etc.

Please be respectful of peoples wishes.

This project is in its infancy and has no reliable active developer, no documentation, and no support.

This project has been solely developed in my spare time for the educational experience of making a server emulator, which I haven't done before. Expectations regarding functionally and code quality should be set accordingly.

See original README here

General

WARNING: All current features can be assumed to be very limited or buggy.

Currently allows a JP MHF client (with GameGuard removed) to:

  • Login and register an account (registration is automatic if account doesn't exist).
  • Create a character.
  • Get ingame to the main city.
  • See other players walk around.
  • Do quests:
    • Only quests shipped with the game are on the counter.
    • Requires binary quest files not in the repository.
  • Use (local) chat.
  • Partial guild support.

Useful Resources

Server Setup Guide

The erupe server is still heavily in development and you should expect numerous bugs, crashes, and other unintended behavior during use.

Really take a moment to figure out why you want to do this setup, and if you're capable enough to do it. This guide tries to make everything as simple as possible, but will still require a fairly good understanding of how computers operate.

This server is experimental, many bugs, crashes, and other unintended behavior WILL occur. This is not suited for gameplay, you can play the game, but keep in mind the above. This is primarily for development and research purposes.

The Server is written in Go, so it basically should support any Operating system that can run golang and golang-migrate as well as postgres for the database-server. Here are a few Guides to help get you started on some different Operating Systems. If you feel like we miss an important OS feel free to add a Guide via Pull Request.

Client Setup Guide

The Monster Hunter Frontier Client heavily relies on Internet Explorer to work properly. So getting it to run on Linux might not be possible at all. If you have some idea how to maybe get it working on Linux as well please get in touch. For now the Client only works on Windows. Here is the Guide on how to set it up:

Troubleshooting

There are some common problems which can occur while trying to setup either the Server Side or the Client Side of this. If you run into a problem please refer to the Troubleshooting-Section of the documentation. It lists some common solutions. If you have a fix that is not listed there yet, please feel free to send a pull request. s

Credits

erupe-legacy's People

Contributors

andoryuuta avatar benjamin-bussey avatar cluster777 avatar ellie42 avatar megax1234 avatar ricochhet avatar sirfist avatar stefan240 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

erupe-legacy's Issues

entrance_server panic when attempting to get world data

Using Arch Linux, relevant output as follows.

2022-03-02T23:20:52.249+1100    INFO    main.sign       signserver/sign_server.go:93    Got connection to sign server   {"remoteaddr": "redacted:51268"}
2022-03-02T23:20:52.339+1100    INFO    main.sign       signserver/session.go:81        Got sign in request     {"reqUsername": "test", "reqPassword": "test", "reqUnk": ""}
2022-03-02T23:20:52.340+1100    INFO    main.sign       signserver/session.go:98        Account not found       {"reqUsername": "test"}
2022-03-02T23:20:52.340+1100    INFO    main.sign       signserver/session.go:102       Creating account        {"reqUsername": "test", "reqPassword": "test"}
2022-03-02T23:21:28.818+1100    DEBUG   main.entrance   entranceserver/entrance_server.go:112   Got entrance server command:
        {"raw": "00000000  41 4c 4c 2b 00                                    |ALL+.|\n"}
panic: runtime error: index out of range [3] with length 0

goroutine 99 [running]:
encoding/binary.littleEndian.Uint32(...)
        /usr/lib/go/src/encoding/binary/binary.go:64
github.com/Andoryuuta/Erupe/server/entranceserver.encodeServerInfo({0xc0001601b0, 0x2, 0x8f0d71})
        /home/wish/erupe2/server/entranceserver/make_resp.go:26 +0x44c
github.com/Andoryuuta/Erupe/server/entranceserver.makeResp({0xc0001601b0, 0x8f0d71, 0x8})
        /home/wish/erupe2/server/entranceserver/make_resp.go:83 +0x38
github.com/Andoryuuta/Erupe/server/entranceserver.(*Server).handleEntranceServerConnection(0xc000380080, {0x9abe60, 0xc0002df6e8})
        /home/wish/erupe2/server/entranceserver/entrance_server.go:114 +0x4a5
created by github.com/Andoryuuta/Erupe/server/entranceserver.(*Server).acceptClients
        /home/wish/erupe2/server/entranceserver/entrance_server.go:88 +0x114
exit status 2

Do I need to port forward to play with a friend?

I'm trying to figure out how multiplayer works but the tutorial doesn't do the best job of explaining on how to get that to work so sorry for creating this the issues tab but I didn't know where else to ask

Frida unable to spawn executable

This is on a Windows 11 x64 machine. I installed python 3.8.10 x64 and frida 56.0.0. I got through the tutorial to the point in the client setup where you need to patch the executable, but cannot seem to launch it with frida. I run in command prompt:

py no_gg_jp.py

But get the error:

c:\Users\me\Downloads\mhf\MHF-ZZ_Installed_Files>py no_gg_jp.py
Traceback (most recent call last):
  File "no_gg_jp.py", line 135, in <module>
    main()
  File "no_gg_jp.py", line 18, in main
    pID = frida.spawn(executable_name)
  File "C:\Users\me\AppData\Local\Programs\Python\Python38\lib\site-packages\frida\__init__.py", line 57, in spawn
    return get_local_device().spawn(*args, **kwargs)
  File "C:\Users\me\AppData\Local\Programs\Python\Python38\lib\site-packages\frida\core.py", line 26, in wrapper
    return f(*args, **kwargs)
  File "C:\Users\me\AppData\Local\Programs\Python\Python38\lib\site-packages\frida\core.py", line 149, in spawn
    return self._impl.spawn(program, argv, envp, env, cwd, stdio, aux_options)
frida.NotSupportedError: unable to spawn executable at 'mhf.exe': 0x000002e4

I can run the unpatched executable just fine from both command prompt and the file explorer. I also can successfully spawn frita processes of both 64 and 32 bit executables by running the following python commands in the respective folders:

import frida
frida.spawn("notepad.exe")

I have also tried with the 32 bit version of python 3.8. Do you have any other ideas I can try?

friend can't connect to my server

i have everything setup im pretty sure at least i have the port forwarding setup correctly i belive and the config for the server should be set up correctly but he gets this also his host file should be correct i just gave him mine since mine is workin
149424824-34a40fa6-80c3-4d2f-9397-b8235db682ce
g

Daily Quests are playable, BUT

This is just a bug report, afaik. On most daily quests I've played (only like 2 or 3 I've actually completed), after each completed quest the screen will fade to black like normal, but then the ending music loops and the game is stuck on that screen indefinitely, as far as I know (I let it run for about 5-ish minutes, no sign of stopping). As such, I think that the quest rewards are forfeit, and quitting out through task manager is the only way I've tried so far to close the game, works for me at least. The command window for the server is still going, but very slowly and it hasn't shown any sign of recognizing it's stuck, from what I can tell. Not sure if there's a fix for this, but just wanted to let people know, in case they were curious about it

An error occurs when adapting the outer packaging

The following error occurred when attempting to adapt armor to the exterior.
(The "xxx" part is my personal folder name, so it is hidden)
The following is the log when the error occurred.
I would like to ask for your wisdom on how to solve this problem.

INFO main.channel.127.0.0.1:50011 channelserver/handlers.go:1862 Decompressing...
FATAL main.channel.127.0.0.1:50011 channelserver/handlers.go:1865 Failed to decompress platedata from db {"error": "EOF"}
github.com/Andoryuuta/Erupe/server/channelserver.handleMsgMhfSavePlateData
xxx/Erupe-master/server/channelserver/handlers.go:1865
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).handlePacketGroup
xxx/Erupe-master/server/channelserver/session.go:189
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).handlePacketGroup
xxx/Erupe-master/server/channelserver/session.go:194
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).handlePacketGroup
xxx/Erupe-master/server/channelserver/session.go:194
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).recvLoop
xxx/Erupe-master/server/channelserver/session.go:149
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).Start.func1
xxx/Erupe-master/server/channelserver/session.go:66
exit status 1

What is taking quest load screens so long?

i have opened the game 3 times and have tried 3 different quests and ive waited like over 20 minutes each time, so im just going to assume they just dont load. Is there something im doing wrong.

Error when I try to join a server

error
This error just started appearing when I try to join a server. I was able to play just fine before. I don't know why this is happening. Please help!

unknown error windows after setting up erupe launcher

o/
sorry for any typos, im not a native speaker

by setting up erupe's server and launcher, two error panels appear after selecting the default character
unknown
i haven't installed any of the frontier documents in C: disk, so it may be some host problem, even that i put the locals on system32
Sem título
alll the informations in the launcher configuration appear as a "???????" thing, just the 'high grade edition' and 'internet explorer' are there, and changing any of these, the first error window and also this appears
Sem título
none of the powershell windows seems to identify the error, as the server is just saying 'password match!' and the launcher 'patch complete'

cant download client patcher from the link in the guide

its litterally all i need to do to get the game to run but both links take me to a error 404 page and says this is not the page your looking for, ive resetted the page and have no idea what to do. can someone send me a link so i can get it.
thanks

shows full staff

My server can enter the room with a local client, but my friend enters the room and shows full staff
1

does the client patcher script to fix high grade error still exsist?

mhfo.dll unpacked.
[{'type': 'error', 'description': "Error: unable to find module 'mhfo.dll'", 'stack': "Error: unable to find module 'mhfo.dll'\n at value (frida/runtime/core.js:336)\n at onEnter (/script1.js:79)", 'fileName': 'frida/runtime/core.js', 'lineNumber': 336, 'columnNumber': 1}] => None
to fix this error

Infinite loading screen to Mezeporta

So, I have the game working up until after character creation
After I confirm the character and then confirm the weapon, I end up getting to the loading screen just before Mezeporta square
And it stays there, I've tried waiting 20+ minutes hoping it was just taking a while to load but nothing
I go to check on the erupe server cmd prompt and at the bottom I see
[]Recovered from panic pq: column "gcp" does not exist

What exactly do I do to fix this?

english patch files

If anyone still has the english patch files, if you could provide them, I would appreciate it. You could either create a new pull request with the files under the archive folder, or just send them via any other service, and i'll add them to the repo.

Weapons

Any ideas as to why the Tonfas/ Magnet spike are not Showing up in the game?
image

Step 7 of setting up the server on Ubuntu 18.04 doesn't work

Hi there,

I followed your documentation of setting up the server on Ubuntu to the latter, but I struggle with the final step.
Here's me running the the last command.
image

Then I tried this to solve it:
image

Obviously that also didn't work.

I'm stumped here. What can I do?

no_gg_jp.py either not patching or something else

image

cmd goes immediately from one to the other which leads me to believe its just not able to do what it needs to do

image

this shows up afterwards

figure i fucked something up but ive looked through the client setup guide about 10 times at this point

Keep getting HTTP 404 when running no_gg_jp.py

whenever I try to start the game it gives me the HTTP 404 page. I added the right things to the hosts file and made sure there were no #'s before the entries. The server seems to start just fine and when I try to start the game the server cmd says:
127.0.0.1 - - [22/Jan/2022:02:20:56 +0800] "GET /serverlist.xml HTTP/1.0" 200 113
Can anyone help me fix this?

Edit: I tried adding 127.0.0.1 www.mhf-z.jp to the hosts file and after starting the game I got a different screen that said "Can't reach this page" and "make sure the web address https://www.mhf-z.jp is correct". Idk if this is progress or not.

Gameguard-patcher script (no_gg_jp.py) does not work with python 3.10

As I updated the documentation for installing this server I ran into a problem. Using python script for patching GameGuard out of the mhf.exe (This script does not work, when the user installed python 3.10. Running the script just throws this error:

***
Failed to load the Frida native extension: DLL load failed while importing _frida: The specified module could not be found.
Please ensure that the extension was compiled for Python 3.x.
***

Traceback (most recent call last):
  File "C:\Users\$USER\Desktop\Launcher\no_gg_jp.py", line 12, in <module>
    import frida
  File "C:\Users\$USER\AppData\Local\Programs\Python\Python310\lib\site-packages\frida\__init__.py", line 24, in <module>
    raise ex
  File "C:\Users\$USER\AppData\Local\Programs\Python\Python310\lib\site-packages\frida\__init__.py", line 7, in <module>
    import _frida
ImportError: DLL load failed while importing _frida: The specified module could not be found.

Either the script or frida itself is not compatible with python 3.10 as it seems. My guess would be the script, but I sadly don't really know python. An easy workaround her is to use python 3.8 for the time being. I added how to install python 3.8 for now until this is fixed.

Server Selecting Issue - Copying/Backing Up Save Data?

I've encountered the same error present in Issues #47, #32, #21, and #14. Unable to get past the server select screen, and as far as I know, it cannot be fixed without deleting Erupe itself and the setup with it, which includes the save data, from what I can tell. Is there a method to preserve the save data? I know there is a savedata folder in the main Erupe folder, but I do not know if that's the only place where save data is stored or referenced.

There's also the matter of keeping the data in the postgre-created Erupe server itself. I fear if I only back up the save data folder, it might be inaccessible without also backing up all the data in the Erupe server - login info, etc. Would anyone here happen to be knowledgeble in this sort of thing? Already put in quite a few hours into my save, and if there's a way to preserve that progress, I'm all ears.

[DISC] Improve the documentation / add more troubleshooting

Hey there,
I want to start a discussion here maybe on what to do next in terms of having better documentation on this project as a whole.
Sadly I can't really help out with any coding in this endeavour, since I don't anything about go or network architecture to begin with.

So I will likely focus my efforts on documenting stuff and maybe some troubleshooting here and there. Anyway lets get to the point of this. I want to hear from you:

  • How can the documentation on installing a server be improved? Is there something that is maybe not easy to get behind? (Although this guide assumes some knowledge on what a server and client are and what they do). I think the guide should be fairly easy to follow, since it is a step by step guide really. Maybe something still needs more explanation? please tell me.
  • I have seen People having difficulties getting the server running. Are there any other step I should include into the Troubleshooting-Section of this repo?

Error after selecting server

So I have been able to play the Erupe version before, I'm at the Espinas urgent. However, today, when I go to select a server, I get this error. I can log in and get past the title screen just fine. I haven't changed any settings or files.
frontier error 2

Right stick doesn't work when using controller

Hi, I found that the right stick is not working when I play with the controller, how to fix it?
I ruled out a problem with the controller, because it is normal when testing outside the game, so I need your help.
model is Xbox One controller

Looking forward to your reply

Where is character data stored?

I think I corrupted my character data somehow. the game crashed after I bought something from the nPoints shop and now it gives a gamegaurd error when I try to connect to a server. I think I have to delete my character or maybe somehow revert it to a previous save but idk where the data for characters is stored.

Error at Capcom Online Games logo

I was able to manage to setup the server but when I tried to run the python launcher, this happen
it gives me error messages exactly at Capcom Online Games logo, probably in Japan locale because I did not install the language yet

GFHWdb0Gzw
rtAx3MXUyX

Can't to change other styles

When i tried switch to Extrem style,the server crashed
image
It seems that when I'm lying in bed, the server will crashes
image
This is the server's log
image
If this problem is not solved, it will not work properly in the next game,and I hope someone can solve it

ModuleNotFoundError

I've followed the Windows Client Installer guide to the t, but when I attempt to run the (normal version) client patcher through an admin cmd I get the following issue:
ModuleNotFoundError: No module named 'frida'

Is this something other people have gotten, or have I fucked something up like I always do?

Error when trying to select a character through Erupe Simple Launcher

I believe this same issue was brought up in the original github page for Erupe, but I'm still having problems. I've gotten all the MHF-ZZ installed files from the link in the Client Setup Guide except for the actual mhfStartup.exe (which is not mentioned in the guide, I believe), and gotten all the tools specified from the Server Setup Guide, and implemented all of them correctly (to my knowledge). I managed to create a user (verified this by using pgAdmin 4, and found that data for a user had been created), but whenever I try to select it, the launcher crashes, and leaves me with this gibberish error message. I was talking to a person about it who knew his stuff when setting up Frontier stuff thru Erupe, but didn't know how to fix it, and guessed it was missing game files. Does anyone know what this issue might be caused by?

Thanks,
DaraAmadyura

Monster Hunter Frontier Z Launcher Release Ver   2 016 1_17_2022 6_38_20 AM

Monster Hunter Frontier Z 1_17_2022 6_38_41 AM

Not able to Connect?

Constantly getting a Http 404 screen

image

Just want to know exactly where did i go wrong at with this?

No sound ingame

Everything works perfectly but i don't have any sound ingame

unksdsdsdnown

i've watch everything on my computer to see if it was my fault but i don't see anything

Tower equipment cannot be upgraded will cause crash

150820 allocmemsize2022-01-15T19:38:11.386-0700 INFO main.channel.127.0.0.1:63030 channelserver/handlers.go:1077
Updating save with blob
2022-01-15T19:38:11.392-0700 INFO main.channel.127.0.0.1:63030 channelserver/handlers.go:1094 Wrote recompressed savedata back to DB.
2022-01-15T19:38:11.393-0700 INFO main.channel.127.0.0.1:63030 channelserver/handlers.go:1108 Setting db field {"gr_override_level": 11009}
CharID: '1'
Opcode: MSG_MHF_SAVE_SCENARIO_DATA
Data:
00000000 00 da 01 fc 00 2f 00 00 00 0a 00 00 00 00 00 00 |...../..........|
00000010 00 00 00 00 00 e9 01 fa 00 3d 00 00 00 0d 01 00 |.........=......|
00000020 15 64 02 01 06 02 0a 22 02 05 00 00 00 fc 01 ff |.d....."........|
00000030 00 19 00 1b 01 63 6d 70 20 32 30 31 31 30 31 31 |.....cmp 2011011|
00000040 33 20 20 20 00 00 02 02 28 00 ff 00 ff 00 2e 00 |3 ....(.......|
00000050 10 |.|

CharID: '1'
Opcode: MSG_MHF_SAVE_PLATE_DATA
Data:
00000000 00 e9 01 fa 00 3d 00 00 00 0d 01 00 15 64 02 01 |.....=.......d..|
00000010 06 02 0a 22 02 05 00 00 00 fc 01 ff 00 19 00 1b |..."............|
00000020 01 63 6d 70 20 32 30 31 31 30 31 31 33 20 20 20 |.cmp 20110113 |
00000030 00 00 02 02 28 00 ff 00 ff 00 2e 00 10 |....(........|

2022-01-15T19:38:11.394-0700 INFO main.channel.127.0.0.1:63030 channelserver/handlers.go:1862 Decompressing...
2022-01-15T19:38:11.394-0700 FATAL main.channel.127.0.0.1:63030 channelserver/handlers.go:1865 Failed to decompress platedata from db {"error": "EOF"}
github.com/Andoryuuta/Erupe/server/channelserver.handleMsgMhfSavePlateData
C:/Erupe-master/server/channelserver/handlers.go:1865
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).handlePacketGroup
C:/Erupe-master/server/channelserver/session.go:189
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).handlePacketGroup
C:/Erupe-master/server/channelserver/session.go:194
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).handlePacketGroup
C:/Erupe-master/server/channelserver/session.go:194
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).recvLoop
C:/Erupe-master/server/channelserver/session.go:149
github.com/Andoryuuta/Erupe/server/channelserver.(*Session).Start.func1
C:/Erupe-master/server/channelserver/session.go:66
exit status 1

Video Guide?

I've seen several people in the MH Twitter community say they'd like to see a video guide being made for setting up Erupe, and I've been able to make this work with the help of this guide and a few other people in the community. I myself would be willing to put together a guide for that, with the help of the people involved in the current Erupe team. That being said, would making a video guide for this even be a good idea? I know the private server being made by Fist's team is in the works and should be out relatively soon, so I'm wondering if it'd be worth it to try and throw together a guide for this, or if more effort should be put into improving the already-existing guide on this repo.

Error after selecting broken character

So I'm trying to use the Erupe version of Frontier. I've been able to turn on the server, disable GameGuard, enter my username and password into the launcher, and select the broken character. However after that, I keep getting the below error. I've been troubleshooting with someone on Twitter for a day and change now, and nothing we've tried has worked. I tried reinstalling all the files, restarting my laptop, changing my region and timezone to both Japan and Taiwan, updating Python to 3.9.6, and clearing my Internet Explorer cache, and still nothing has worked. Any help on this would be greatly appreciated!
Frontier Error

Continuous login boost does not take effect

As the title says, the continuous login boost does not work. Even if you activate the effect, if you reopen the screen again, it will not be activated. I went to the quest to make sure, but the boost effect was not activated

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.