ubis / Freya

Freya - Cabal Online MMORPG OpenSource Server Emulator
MIT License
46 stars 18 forks source link

Can't Download Libraries #2

Closed BladeKing1 closed 1 year ago

BladeKing1 commented 3 years ago

I receive this error, "go get: malformed module path "loginserver": missing dot in first path element", after typing the "go get -v loginserver" command as the installation page says. I have Go installed, and my GOPATH is correct.

BladeKing1 commented 3 years ago

Any help would be greatly appreciated.

DJ-Rei commented 1 year ago

I received the same error initially and when I took a look at the source code and wiki, it (Freya) uses extremely outdated functions and deprecated features of GoLang. I am currently in the process of fixing all of these (even though this isn't my project, I will still contribute to it). Also, the last time this project got updated looks like it was over a year ago from the time of my posted reply. I will try to get this to work. Ultimately, the key word is TRY

ubis commented 1 year ago

Hi,

I could migrate Freya to go modules. I'm still quite surprised that Freya received any attention, it's been years since I've worked on it.

ubis commented 1 year ago

It should be buildable in go_modules branch:

Screenshot 2023-07-25 at 08 39 14

Although I think overall project structure can be improved further, I will not merge go_modules branch into development, yet.

@DJ-Rei Do you have EP8 client? Could you check if it's working?

ubis commented 1 year ago

I've checked with EU & NA EP8 clients, both are working.

This is fixed since 33f5a3844c308bc0cb72bccff61fcb8af99b436e.

DJ-Rei commented 1 year ago

Thanks. It has been years since I wound up working with GoLang so I have seen no issues with the code you made. I obviously didn't know about half of the features that got added and/or deprecated. I was spending way more time than I wanted to trying to figure this out, but I still stuck with it because I wished to contribute to something new.

ubis commented 1 year ago

You can peek into entering_world_new branch, recently I've added ability to enter the world, show online players, chat (normal & trade) as well as player movement.

DJ-Rei commented 1 year ago

Do you maybe want to continue this talk off this issue topic? Just so we don't clutter an issues even more. I have an IRC channel if you wanted to use that or I can use discord if needed. [@reij2125 is my discord tag] [#freya under irc.libera.chat IRC server]