Page 1 of 2

Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 16 Aug 2014, 22:04
by Qcode
NOTE: THIS PRODUCT IS NOT STABYOURSELF.NET AFFILIATED. ALL QUESTIONS/CONCERNS SHOULD GO IN THIS THREAD



Screenshots+Logo:
(Click to enlarge)
Image
Image
Image
Image
Image
Image
Gameplay footage of 1-1 to 8-4
Setting up a server is pretty simple, just port forward your ip that you want to host on. If you need more detailed instructions, there's videos in the spoiler.

Setting up a server:
Port Forwarding:

Hamachi:

OLD TEST VIDEOS:
Very first 1-1 footage



Test of world 1

All my own network code, no old stuff was used.
I'd recommend only 4 players for now, larger groups should work, but there's possibility for bugs and crashes.
Downloads:
Windows
Mac
Source

Use love 0.8 for the source version, found here https://love2d.org/forums/viewtopic.php?t=8750

If you want to keep up on my other projects you can follow me on Twitter
Hope you enjoy!

Re: Mari0 1.6 Online 1-1 Test Footage

Posted: 16 Aug 2014, 22:13
by Sergione
As the online?

I want so much have it!!!!! :D

Qcode

Posted: 16 Aug 2014, 22:42
by B-Man99
Qcode is love.
Qcode is life.

Re: Mari0 1.6 Online 1-1 Test Footage

Posted: 20 Aug 2014, 23:27
by TurretBot
>tfw not se

Re: Mari0 1.6 Online 1-1 Test Footage

Posted: 21 Aug 2014, 02:51
by renhoek
Could you guys quit spamming,


So out of curiosity how long have you been working on this? I'd imagine it would've taken months since this is a pretty big task.

Re: Mari0 1.6 Online 1-1 Test Footage

Posted: 21 Aug 2014, 03:09
by Qcode
I've been learning about networking for the last two months, but I've only really been specifically working on this project for a month.

Shoutout to all those in the steam chat who were there to help me test online moving text simulator 2014 when I first started.

Re: Mari0 1.6 Online 1-1 Test Footage

Posted: 21 Aug 2014, 11:35
by HugoBDesigner
So, I asked Qcode yesterday if it was possible to play online via Hamachi (so you didn't have to port forward you internet or anything like this). Turns out it worked fine! So I can't wait to try it out, it's gonna be the best thing that happened to Mari0 so far!

Re: Mari0 1.6 Online 1-1 Test Footage

Posted: 23 Aug 2014, 10:55
by Villager103
Qcode, you have just beaten Maurice at his own game. Congrats.

Re: Mari0 1.6 Online 1-1 Test Footage

Posted: 23 Aug 2014, 14:53
by alesan99
Villager103 wrote:Qcode, you have just beaten Maurice at his own game. Congrats.
Well, Maurice also managed to get online multiplayer to work, but I think he had problems with entity syncing it think.

Spectacular job anyway Qcode. Hopefully you change your mind and release it.

Re: Mari0 1.6 Online- World 1 Test Footage

Posted: 25 Aug 2014, 00:42
by Qcode
I hope to release it eventually. These videos are just examples of the progress I've made so far.

EDIT:

Got a lot of progress made recently, here's all of world 1:


Re: Mari0 1.6 Online- World 1 Test Footage

Posted: 26 Aug 2014, 22:57
by 4matsy
Awesome. :D

I like how you've already got in-game chat working, too. :o Can't wait till this is complete. :3

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 00:39
by Qcode
Updated the main post, has some downloads.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 00:44
by Pyromaniac
Neato

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 00:44
by Turtle95
How did you solve the timer issue on Server and Client, Q?

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 00:48
by Qcode
Just synced the time when the level is finished so that they shouldn't start at radically different times if one's running faster than another.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 03:09
by mindnomad
Wow, so far this is pretty amazing. Granted, there are still some things that need fixing, it's still pretty amazing. There are a few things that bother me though...

-Generally how chat is handled, sometimes it just blends in with the background of the game and it can get hard to read. And in lobby chat, it doesn't continue on the next line, but it just goes off screen.
-Maybe having the mod remember your last used nick or something? or choose from a list?

That's all I can think of at the moment.
Overall, this mod is just incredible. I'm really hoping I can play with more peeps later on :)

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 07:00
by Mari0Maker
Really amazing mod, nice job on it.
I can't wait for more than four players to add to the chaos.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 16:35
by Turtle95
Mari0Maker wrote:Really amazing mod, nice job on it.
I can't wait for more than four players to add to the chaos.
Yes, that was a lot of fun. Also, disconnecting a client crashes the server (iirc, when I disconnected from Luna's server it crashed her). Some suggestions:

1) Holding tab opens up the player card menu (displays each player running with their ping next to them (regardless if it says host), and set the Host name in their card to a red color to indicate them as admin (and see #2)

2) Perhaps chat commands? It sounds dumb and unneeded but what if someone's being a prick and just doesn't stop spamming the chat? You could do /kick <nick> {reason}* or /ban <nick> {reason}* and write their name in the ban.txt or server.txt for those banned**.

*< > means required, { } optional

**Some example commands:
/setAdmin <Nick> --sets that player as admin for the server to use admin commands (useful if host goes AFK and their trusted other admins are not those others can do something about what may be going on (kick a troll, etc)

/kick <Nick> --kicks the player, optional reason argument shown as a Notice ("You were kicked by <Admin:Nick()>)

/ban <Nick> {length} {reason} --bans the player, optional reason argument shown as a Notice ("You were banned by <Admin:Nick()>) for a optional length of time in minutes.

/restartLevel --restart the current level if something goes wrong (Luna's server bugged out with infinite lives--we couldn't do anything until the server restarted

/disconnect --disconnect from the server

/changeMappack <Mappack Name> --change the mappack on next Level Load (ie finish level 2-1, but instead goes to 1-1 of the new mappack, cause you all got bored of doing the mappack or you didn't like it anymore and want to try a new one

/vote <y/n> --for voting commands like /changeMappack (yes/no or y/n to vote yes or no)

Bolded: Admin-Only, Italics: Vote
3) Change the chat font to something like Coolvetica because it's the Stabyourself font. Also give the in-game chat a black background so it can show up easier on backgrounds (so that you can see it on a white background), or maybe more of an 'official' looking text chat by giving it a UI (like a small 220x100px rectangle with a scrollbar, and textbox) and not a small, simple look.

4) Possibility to change the Magic DNS (Luna seemed to always get 'Happy Table', isn't it supposed to be random?)

5) Remembering last used Nick

Also, I do know it's not official stuff QCode, but I think that this can really make your Mari0 +Online better.

I have some ideas how to make the Chat UI (using Hugo's rounded rectangle function for fanciness) and also regarding server-options.txt (for which using JSON to save the server data (last used Nick, bans, etc) would be x10 easier than splitting strings, tbh). But use whatever you think is best for this :)

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 20:36
by Emy25000
YES ! Finally Mari0 Multiplayer ! Good job Qcode ! I don't know what to say !

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 05 Sep 2014, 21:46
by 4matsy
This mod is amazing and Qcode should get all the medals and trophies and prizes and internets for this. :3

When I first attempted to run the Windows binary version, it complained that DevIL.dll was missing. I threw in a copy of it from my LÖVE 0.8.0 installation and all was well in Mari0land. :D

Also, if you try to play the regular game mode (not online), pressing the "use" key crashes the game:
Image
Though, judging by the error text, this apparently doesn't happen during online play, which is kinda the whole point of the mod, so...*shrug* :p

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Sep 2014, 05:09
by MM102
Image
got while playing 3-4 of this
it was a maze gate level with 4 players
renhoek said he got to the end of the level and went to 4-1 but it crashed when he got the flag in 4-1
meanwhile we were all back in 3-4 and it became glitchy as all hell

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Sep 2014, 16:52
by Mari0Maker

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Sep 2014, 17:40
by Finland Ram
Hey guys! I just downloaded this and I was wondering if anyone would wanna host a game and invite me?

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Sep 2014, 20:23
by 4matsy
MM102 wrote:got while playing 3-4 of this
it was a maze gate level with 4 players
renhoek said he got to the end of the level and went to 4-1 but it crashed when he got the flag in 4-1
meanwhile we were all back in 3-4 and it became glitchy as all hell
I wonder if it has anything to do with Ren's high ping compared to everyone else in the game (the end of the video Mari0Maker posted just below your post shows the incident in question). One of my non-Stabyourself forums friends and I had a similar experience during our initial test run of the mod last night. :s
I hosted since I was the faster connection, as my friend has satellite internet, and thus a 700+ ping. :o We played, just the two of us, on the SMB1 mappack, and somehow, as with you guys, I managed to leave him behind in a glitchy 3-4 while I progressed on to 4-1 (and, eventually, 4-2, at which point it got even glitchier for him, he said). o_O
Strangely, when I took the warp from 4-2 to 8-1, things slowly began to sync back up, and within 30 to 45 seconds or so, everything was normal for him again. The remainder of world 8 played out normally, and the game was completed without crashing or anything seriously going weird, except for the 3-4 incident. :o

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Sep 2014, 22:17
by MickeyDorfling
Finland Ram wrote:Hey guys! I just downloaded this and I was wondering if anyone would wanna host a game and invite me?
I'm keen! :)

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Sep 2014, 22:34
by Qcode
There's a new update for all downloads. Should fix that weird level desync bug, also all the crashes in this album http://imgur.com/a/TqXj9

I'd recommend anyone who wants to play to download the newest version, should be a lot more stable than the first build.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 07 Sep 2014, 09:29
by TripleXero
Just a fun suggestion, add a counter to the top under each person's lives showing who won how many times

EDIT: I made a mod of a mod, you could say. I made a new HUD that fits in there a bit better and shows player names

Image Image

Everyone playing doesn't need it, since it won't affect gameplay at all. When I played with the others for the screenshots they didn't have it

http://www.mediafire.com/download/29bj3 ... ew_Hud.zip

Also, if you make a file called nickname.txt in the Mari0 save folder, you can make it always load a certain name. It was just a quick add and not the point of the mod

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 07 Sep 2014, 10:59
by Automatik
TripleXero wrote:Just a fun suggestion, add a counter to the top under each person's lives showing who won how many times
Also, the life counter could become a death counter if infinite lifes is checked.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 07 Sep 2014, 13:06
by TripleXero
Image

http://www.mediafire.com/download/37g1o ... Hud_v2.zip

Fixed overlap with having three people playing with long names, and added death counter if infinitelives is on. And cool tiny little skulls

EDIT:

Image

Added a win counter and made it give you a crown if you hit the flag/axe first. It also win-death counts on levelscreen, even if infinitelives is off

EDIT 2! If you used the old download for this, I accidentally put a zip in the zip so it was twice the size and the levelscreen was set to 24 seconds not 2.4

http://www.mediafire.com/download/6azam ... _v3.5.love

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 07 Sep 2014, 19:39
by Qcode
Since some people seemed eager to mod the chatbox, I've updated the downloads with a fix for the chatbox. Nothing graphical has been changed, but there was some problems in which it would only sync to one person in a group.

anyone wanna play with me

Posted: 12 Sep 2014, 00:23
by himynameis456
hey i downloaded this a few days ago but i got no one to play with wanna play with me

Posted: 12 Sep 2014, 01:55
by himynameis456
PLEASE

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 12 Sep 2014, 03:10
by HansAgain
1. Don't you have any friends who likes Mari0 too?
2. Don't you have friends? (Joke question, of course you do)
3. No need to despair, there are a lot of users here if your friends don't want to play, but don't force them if they don't want to play with you.

I haven't posted how much i like this mod, but i really like it.

Re: anyone wanna play with me

Posted: 12 Sep 2014, 14:00
by alesan99
himynameis456 wrote:hey i downloaded this a few days ago but i got no one to play with wanna play with me
I recommend you get on steam, go to the stabyourself steam group, and chat there if you want to play.
If you don't have steam I'm not sure what you can do.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 15 Sep 2014, 03:55
by Qcode
New update!
-Optimization
-More than 4 players (unstable warning)
-Fixed bug where bricks wouldn't break when a koopa hits them
-More chat fixes, nothing graphical yet though
-Fixed thing where a player could be a dick and go down a pipe after the flag was grabbed
-General other crashes fixed

All downloads are updated.

EDIT: Some new stuff added
-Chat fonts changed to coolvetica cause people like complaining about fonts a lot.
-Version checker to remind you if you're running an old version

All downloads are updated.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 16 Sep 2014, 08:30
by TripleXero
Image Image

I brought my HUD and stuff to the newest version, and other stuff, too. Everyone playing doesn't need this to use it, one person could use this and one could use the unmodified version. It should also still say when it's outdated because I didn't mess with any of Qcode's code, but I don't know how he set that up so it could also not work. All the HUD stuff I added is also based around 4 Players so if you're going to be playing with 5 or more, don't use this it might crash. https://www.mediafire.com/?pgx3hm3svqrtiy9

EDIT: That first screenshot is a mix of two screenshots because I thought it'd be better to not have two level screen pictures, but no, it's messed up. The "Gaming Starting..." only shows up right when the game first starts on 1-1. Also it doesn't say "Gaming Starting" anymore because I noticed I can't English

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 20 Sep 2014, 21:14
by Qcode
Update:
General crashes and stuff
Bug where p1's hat would be put on everyone in the loading screen.
GUI changed in the lobby to add page system
Infinite time in lobby
Death counter instead of lives counter in infinite lives mode

Added new cooperative mode: All players control the same set of portals (Suggested by Jorichi)
Added new competitive mode: One mario tries to get as far as possible, while other players control the portals, trying to kill the running mario (Suggested by Turret)

All downloads are updated.

EDIT:
Small update released, not completely necessary but is useful
-Fixed crashes when joining without internet connection
-Fixed bug where player angle wasn't sent
-Added notices to when server isn't found
-Fixed major crash for > 4 players

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 21 Sep 2014, 14:11
by sewer56lol
Qcode wrote:Update:
General crashes and stuff
Bug where p1's hat would be put on everyone in the loading screen.
GUI changed in the lobby to add page system
Infinite time in lobby
Death counter instead of lives counter in infinite lives mode

Added new cooperative mode: All players control the same set of portals (Suggested by Jorichi)
Added new competitive mode: One mario tries to get as far as possible, while other players control the portals, trying to kill the running mario (Suggested by Turret)

All downloads are updated.

EDIT:
Small update released, not completely necessary but is useful
-Fixed crashes when joining without internet connection
-Fixed bug where player angle wasn't sent
-Added notices to when server isn't found
-Fixed major crash for > 4 players
Broken
- Aiming your portals, both on joystick and mouse in single player mode. :D

Still Broken
In SP pressing the use key brings... actually nevermind we already know.

(Well it's a MP mod anyway so there's no reason to play SP in the first place).

Potential Issues
Chat is only programmed for one keyboard layout, well this isn't really an issue as you won't be really using signs anyway, looking at the way it is written for symbols right now I'd say bother with the important stuff first OP, living with slightly different keys than on your keyboard can't be that bad.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 21 Sep 2014, 14:42
by Qcode
Just fixed the first two problems, will be included in a future update.
Yeah, I was talking to Camewel when I coded this and he mentioned the potential symbol issue, but I don't really have any solution for right now. The two options I have to fix it are update to love 0.9, or make it so you enter in your own key bindings for symbols. I'll think about it.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 21 Sep 2014, 14:59
by sewer56lol
Playing locally - on one machine.



Surely this can't go wrong.


(After what happened in that video I went for it and played a 6 man game locally for fun, it went fine on controller, but anything past it gave errors on button release).
After I did a 10ish one on keyboard, anything past that got glitchy (probably as I got to 100% CPU usage - 4790k enjoyed it :D) although it was still fun.

Edit : Fixed link, HTTPS was the issue.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 21 Sep 2014, 19:36
by Qcode
Alright, new version uploaded:
-Fixed single player aiming
-Fixed use key in single player
-Added classic mode which disables portals and uses no-portal gun sprite (suggested by Xero)
-Fixed crash when the port field was empty
-Added more messages for reason to disconnects (full server, server not found, etc.)
-Fixed bug where closing the chat with escape would bring up the pause menu
-Changed pause menu, now server host can send everyone back to lobby to start a new mappack/gamemode

All downloads are updated

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 21 Sep 2014, 20:47
by HugoBDesigner
I know this has been suggested before, but host commands (and maybe even client commands) would be really neat! You already have the chat system, so it wouldn't be so hard. Here are some ideas (only suggestions, I'm not demanding anything. Your mod is awesome and I want you to work on things just if you feel comfortable doing so):

Code: Select all

Host commands:
/kick [username]
/ban [username] --this would probably keep track of the IP, otherwise the user could simply change username
/unban [username]
/restart --restarts level
/reset --goes back to lobby, kinda pointless since you have this on the pause menu
/give [username] life [amount] --I don't want it to sound like Mari0 +Portal, but it'd be nice to give players lives (even when they lost all lives), so people can still play together even if someone had a game over
/pause [username/all] --just in case you need everyone to wait for some reason, this'd be nice to have everyone paused in a way they can't unpause
/unpause [username/all]
/cheats [true/false] --allow or disallow people giving lives to themselves

Client/Host commands:
/tell [username/all] --username for private message, all for an "announcement" sort of thing
/give life [amount] --to give life to yourself
That's all I can think of now. Some are not SOOO useful, but I think it'd be nice to have :)

Keep up the good work, Qcode! We're LOVING this mod!

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 25 Sep 2014, 06:47
by MM102
so that trailer Qcode put up has 10,733 views at the moment.

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 25 Sep 2014, 23:05
by B-Man99
HOLY FUCKING SHIT

Also as I said in private chats before, fantastic trailer and thanks for using my music
But I mean the 10k thing made me post in this thread again like seriously fucking what is this a dream

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Oct 2014, 21:31
by legos1236
Im looking for a server

i want to play multiplayer so baaad

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 06 Oct 2014, 22:45
by Mari0Maker
legos1236 wrote:Im looking for a server

i want to play multiplayer so baaad
The best place to find a server is either go to the IRC and ask if somebody has one open (http://webchat.oftc.net/?channels=#stabyourself), or join the Steam group's chatroom (http://steamcommunity.com/groups/NewStabyourselfNet).

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 19 Oct 2014, 19:04
by Emy25000
For those who got SSL Error (Google Chrome only) just type "proceed" without the quotes

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 22 Nov 2014, 19:53
by Veir
Guys can You tell me why i cant play with friend? i downloaded game with direct link, hosted server using hamachi and my friend can't join he click Join and nothing happens, we tried port forwarding, IPv4 and nothing works

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 22 Nov 2014, 22:28
by Mari0Maker
First of all, are you giving your friend your public IP, and port forwarding to the correct port?

Have you tried it with the port forwarding method, but without using MagicDNS?
Somebody once tried to join a server I hosted, but they could only join with the IP and not MagicDNS.

Do you have another computer connected to the same network in your home so you can try connecting via LAN?

Re: Mari0 1.6 (Qcode Unofficial) Online- Released

Posted: 23 Nov 2014, 03:31
by Mari0_Player
You should add a "find online partners" button for those people like legos1236.