Page 5 of 6
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Wed May 20, 2015 2:00 pm
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
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!
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Wed May 20, 2015 10:41 pm
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.
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Wed May 20, 2015 10:44 pm
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.
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Sun Jun 07, 2015 2:24 am
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.
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Mon Jul 13, 2015 6:20 pm
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.
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Wed Sep 23, 2015 4:14 pm
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.
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Mon Oct 05, 2015 8:06 am
by Luke100000
Fixable? I want to play this again and make an own client, just for fun.
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Sun Oct 18, 2015 3:27 pm
by Luke100000
Hello? Pebsie?
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Tue Mar 15, 2016 11:57 pm
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.
Re: [MMORPG] Forest Tale v0.3.1 - "That aint no tea leaf"
Posted: Sat Apr 02, 2016 2:13 am
by raingloom
Wanted to try it but the server seems down.