Streaming game development: https://www.twitch.tv/stabyourself Image

Mari0 1.6 (Qcode Unofficial) Online- Released

Mods, guides how to use and install mods go right in here.
Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 16 Aug 2014, 22:04

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: http://bit.ly/Mari0OnlineWinreg
Mac: http://bit.ly/Mari0OnlineMacreg
Source: http://bit.ly/Mari0onlineSourceregFix

Direct links in case your web browser suspects malware


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!
Last edited by Qcode on 11 Jul 2017, 21:47, edited 17 times in total.

Sergione
Posts: 217
Joined: 07 May 2014, 16:02
Reputation: 4
Contact:

Post » 16 Aug 2014, 22:13

As the online?

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

B-Man99
So long, and thanks for all the fish.
Posts: 1922
Joined: 02 Jul 2012, 00:32
Reputation: 415
Contact:

Post » 16 Aug 2014, 22:42

Qcode is love.
Qcode is life.

TurretBot
User avatar
Posts: 4635
Joined: 15 Mar 2012, 23:18
Reputation: 713
Contact:

Post » 20 Aug 2014, 23:27

>tfw not se

renhoek
User avatar
Posts: 4559
Joined: 11 Feb 2012, 10:04
Reputation: 214

Post » 21 Aug 2014, 02:51

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.

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 21 Aug 2014, 03:09

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.

HugoBDesigner
User avatar
Posts: 2115
Joined: 19 Sep 2012, 02:23
Reputation: 667
Contact:

Post » 21 Aug 2014, 11:35

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!

Villager103
User avatar
Posts: 605
Joined: 31 Jan 2013, 14:50
Reputation: 53
Contact:

Post » 23 Aug 2014, 10:55

Qcode, you have just beaten Maurice at his own game. Congrats.

alesan99
User avatar
Posts: 1635
Joined: 30 May 2013, 21:42
Reputation: 265
Contact:

Post » 23 Aug 2014, 14:53

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.

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 25 Aug 2014, 00:42

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:


4matsy
User avatar
Posts: 81
Joined: 04 Mar 2012, 18:34
Reputation: 7

Post » 26 Aug 2014, 22:57

Awesome. :D

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

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 05 Sep 2014, 00:39

Updated the main post, has some downloads.

Pyromaniac
Posts: 18
Joined: 07 Jul 2012, 01:18
Reputation: 0

Post » 05 Sep 2014, 00:44

Neato

Turtle95
User avatar
Posts: 1275
Joined: 21 Mar 2012, 21:48
Reputation: 122
Contact:

Post » 05 Sep 2014, 00:44

How did you solve the timer issue on Server and Client, Q?

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 05 Sep 2014, 00:48

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.

mindnomad
User avatar
Posts: 367
Joined: 21 Mar 2012, 14:43
Reputation: 351
Contact:

Post » 05 Sep 2014, 03:09

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 :)
Last edited by mindnomad on 06 Sep 2014, 17:17, edited 1 time in total.

Mari0Maker
User avatar
Posts: 1347
Joined: 07 Apr 2012, 17:10
Reputation: 39
Contact:

Post » 05 Sep 2014, 07:00

Really amazing mod, nice job on it.
I can't wait for more than four players to add to the chaos.

Turtle95
User avatar
Posts: 1275
Joined: 21 Mar 2012, 21:48
Reputation: 122
Contact:

Post » 05 Sep 2014, 16:35

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 :)

Emy25000
Posts: 4
Joined: 27 Apr 2014, 09:08
Reputation: 0

Post » 05 Sep 2014, 20:36

YES ! Finally Mari0 Multiplayer ! Good job Qcode ! I don't know what to say !

4matsy
User avatar
Posts: 81
Joined: 04 Mar 2012, 18:34
Reputation: 7

Post » 05 Sep 2014, 21:46

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

MM102
User avatar
Posts: 1015
Joined: 11 May 2012, 06:08
Reputation: 498

Post » 06 Sep 2014, 05:09

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

Mari0Maker
User avatar
Posts: 1347
Joined: 07 Apr 2012, 17:10
Reputation: 39
Contact:

Post » 06 Sep 2014, 16:52


Finland Ram
User avatar
Posts: 20
Joined: 13 Jun 2013, 11:55
Reputation: 0

Post » 06 Sep 2014, 17:40

Hey guys! I just downloaded this and I was wondering if anyone would wanna host a game and invite me?

4matsy
User avatar
Posts: 81
Joined: 04 Mar 2012, 18:34
Reputation: 7

Post » 06 Sep 2014, 20:23

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

MickeyDorfling
User avatar
Posts: 7
Joined: 29 Aug 2014, 12:36
Reputation: 0

Post » 06 Sep 2014, 22:17

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! :)

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 06 Sep 2014, 22:34

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.

TripleXero
User avatar
Posts: 892
Joined: 08 Aug 2012, 00:23
Reputation: 27
Contact:

Post » 07 Sep 2014, 09:29

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

Automatik
User avatar
Posts: 1076
Joined: 20 Jul 2012, 17:54
Reputation: 8
Contact:

Post » 07 Sep 2014, 10:59

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.

TripleXero
User avatar
Posts: 892
Joined: 08 Aug 2012, 00:23
Reputation: 27
Contact:

Post » 07 Sep 2014, 13:06

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
Last edited by TripleXero on 07 Sep 2014, 23:50, edited 1 time in total.

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 07 Sep 2014, 19:39

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.

himynameis456
Posts: 2
Joined: 11 Sep 2014, 03:31
Reputation: 0

Post » 12 Sep 2014, 00:23

hey i downloaded this a few days ago but i got no one to play with wanna play with me

himynameis456
Posts: 2
Joined: 11 Sep 2014, 03:31
Reputation: 0

Post » 12 Sep 2014, 01:55

PLEASE

HansAgain
User avatar
Posts: 1135
Joined: 03 Feb 2012, 18:51
Reputation: 265
Contact:

Post » 12 Sep 2014, 03:10

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.

alesan99
User avatar
Posts: 1635
Joined: 30 May 2013, 21:42
Reputation: 265
Contact:

Post » 12 Sep 2014, 14:00

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.

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 15 Sep 2014, 03:55

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.

TripleXero
User avatar
Posts: 892
Joined: 08 Aug 2012, 00:23
Reputation: 27
Contact:

Post » 16 Sep 2014, 08:30

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

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 20 Sep 2014, 21:14

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

sewer56lol
User avatar
Posts: 2
Joined: 21 Sep 2014, 13:51
Reputation: 0
Contact:

Post » 21 Sep 2014, 14:11

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.

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 21 Sep 2014, 14:42

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.

sewer56lol
User avatar
Posts: 2
Joined: 21 Sep 2014, 13:51
Reputation: 0
Contact:

Post » 21 Sep 2014, 14:59

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.

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
Contact:

Post » 21 Sep 2014, 19:36

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

HugoBDesigner
User avatar
Posts: 2115
Joined: 19 Sep 2012, 02:23
Reputation: 667
Contact:

Post » 21 Sep 2014, 20:47

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!

MM102
User avatar
Posts: 1015
Joined: 11 May 2012, 06:08
Reputation: 498

Post » 25 Sep 2014, 06:47

so that trailer Qcode put up has 10,733 views at the moment.

B-Man99
So long, and thanks for all the fish.
Posts: 1922
Joined: 02 Jul 2012, 00:32
Reputation: 415
Contact:

Post » 25 Sep 2014, 23:05

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

legos1236
Posts: 1
Joined: 06 Oct 2014, 21:29
Reputation: 0

Post » 06 Oct 2014, 21:31

Im looking for a server

i want to play multiplayer so baaad

Mari0Maker
User avatar
Posts: 1347
Joined: 07 Apr 2012, 17:10
Reputation: 39
Contact:

Post » 06 Oct 2014, 22:45

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).

Emy25000
Posts: 4
Joined: 27 Apr 2014, 09:08
Reputation: 0

Post » 19 Oct 2014, 19:04

For those who got SSL Error (Google Chrome only) just type "proceed" without the quotes

Veir
Posts: 1
Joined: 22 Nov 2014, 18:29
Reputation: 0

Post » 22 Nov 2014, 19:53

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

Mari0Maker
User avatar
Posts: 1347
Joined: 07 Apr 2012, 17:10
Reputation: 39
Contact:

Post » 22 Nov 2014, 22:28

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?

Mari0_Player
User avatar
Posts: 414
Joined: 23 Sep 2013, 00:48
Reputation: 48

Post » 23 Nov 2014, 03:31

You should add a "find online partners" button for those people like legos1236.


Return to “Modding”

Who is online

Users browsing this forum: No registered users and 2 guests

cron