[MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Show off your games, demos and other (playable) creations.
User avatar
Pebsie
Party member
Posts: 144
Joined: Mon Nov 11, 2013 12:35 am
Location: Lincoln, United Kingdom
Contact:

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by Pebsie »

Luke100000 wrote:Funny game! Here some suggestions/bugs
  • when I'm going, some items disappear
    the ability to remove walls/floor. In the moment I only can replace them
    when you craft with a full inventory, you delete your crafted item
    the time you need to do anything is too long
    chests, dropping my items on the floor is ... strange :awesome:
It needs some time until the wall/floor/object you've built/destroyed appears. (waiting for the server I think) You should try to draw them instantly, wait for the request and then allow this action or undo it if it was illegal.

I took a look into your code: you HAVE to clean it up! It's better for you too, because you can find your stuff easier. Split it up into player.lua, world.lua, .. or something like that.

But I like that game!
Thanks man!
Yeah, entities seem to flash in and out of existence occasionally right now. Not too sure why, I'm looking into it.
Dropping items on the floor is a temporary thing until I add in chests: it won't always be like that!
v0.4 has that: the world updates client side until it is replaced by the server when doing stuff.
bobbyjones wrote:Cleaning up code will help you finish the project like ten times faster.
With regards to cleaning up the code (since that's clearly a point of concern right now) I've decided to focus 0.4 on starting that. Right now I've moved everything into one of two categories: "modules" or "scripts" in an attempt to break up cl_functions.lua into something smaller and more manageable. The stuff in modules technically aren't modules but it works for my understanding for now.

My apologies for saying you were being rude, bobbyjones, looking back at what you said you really weren't being rude at all. Must've been a bad day or something. My bad!
Website: http://peb.si
Twitter: @Pebsiee http://twitter.com/pebsiee
Steam: pebsie
bobbyjones
Party member
Posts: 728
Joined: Sat Apr 26, 2014 7:46 pm

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by bobbyjones »

Well I recommend using classes for a lot of things it sometimes helps with reusability. For example you can use classes for you mobs. The classes would hold the draw functions and what not. There should be a map class or file to handle the rendering of the map. There should be a file for rendering and moving the player. Etc... I also recommend looking at all the other projects on the forums and look at the way they structure things.
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.
bobbyjones
Party member
Posts: 728
Joined: Sat Apr 26, 2014 7:46 pm

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by bobbyjones »

Another thing is make the handling of gamestates a lot easier. You can use a dedicated library for it like hump.gamestate. Hump also has a class library. Also limit your globals. Use as many locals as you can. The less amount if globals you use will improve performance.
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.
.InsertNameHere
Prole
Posts: 9
Joined: Mon May 18, 2015 6:53 am

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by .InsertNameHere »

Just for some reference for a 2 player (online) game I am trying to program, would posting the code for the server be possible?

It's okay if you can't, thanks anyway.
User avatar
Pebsie
Party member
Posts: 144
Joined: Mon Nov 11, 2013 12:35 am
Location: Lincoln, United Kingdom
Contact:

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by Pebsie »

.InsertNameHere wrote:Just for some reference for a 2 player (online) game I am trying to program, would posting the code for the server be possible?

It's okay if you can't, thanks anyway.
With all sincerety, looking at my code will set you back months ahahaha.
Website: http://peb.si
Twitter: @Pebsiee http://twitter.com/pebsiee
Steam: pebsie
User avatar
Luke100000
Party member
Posts: 231
Joined: Mon Jul 22, 2013 9:17 am
Location: Austria
Contact:

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by Luke100000 »

I can't start the game:
'You were disconnected from the server!'
'couldn't connect (probably not listening)'

Server offline?

Anyway, nice game!

By the way, where did you get the server? I'm looking for one.
User avatar
Luke100000
Party member
Posts: 231
Joined: Mon Jul 22, 2013 9:17 am
Location: Austria
Contact:

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by Luke100000 »

Fixable? I want to play this again and make an own client, just for fun. :awesome:
User avatar
Luke100000
Party member
Posts: 231
Joined: Mon Jul 22, 2013 9:17 am
Location: Austria
Contact:

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by Luke100000 »

Hello? Pebsie?
User avatar
Pebsie
Party member
Posts: 144
Joined: Mon Nov 11, 2013 12:35 am
Location: Lincoln, United Kingdom
Contact:

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by Pebsie »

Luke100000 wrote:Hello? Pebsie?
I died under college exams but I've started this up again. Hey, only 6 months late!
I'll update the OP tomorrow.
Here's a gif from the new version.
Image
Website: http://peb.si
Twitter: @Pebsiee http://twitter.com/pebsiee
Steam: pebsie
User avatar
raingloom
Prole
Posts: 36
Joined: Wed Apr 22, 2015 12:35 am
Location: Always elsewhere

Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"

Post by raingloom »

Wanted to try it but the server seems down.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests