MV Afar the MMORPG

@AceOfAces_Mod It might be a damaged cookie in your file - that sounds similiar to what happens to logins in general if they have problems reading their cookies.


In that case, clearing your browser cache should solve the problem.
@Andar, Done. I'm still kicked out.
I am not sure why that would happen. I have tried various browsers, removing JavaScript, etc. Is there no warning message in a red box?


I have been working on battlers for a short while today, disappointed with the MV battlers out there (couldn't find any). They're all edits, but it's something. Freely available in the resource forums.


t8VezFW.png







I am still unfortunately stumped by my battle system woes. Support thread:
As a non-programmer (refers to myself), could using Yanfly's plugins help with the battle system woes?
I have decided I am going to start my own battle system from scratch. That makes more sense, given all of the processing for battles is happening server-side anyway. Will take some time.


In the meantime, more battlers:


RAQOiYw.png
You're doing all graphics and programming by yourself? Alone? >.>


Maybe you should recruit some people to help you with the front-end stuff like mapping, battlers, spriting...


Just a suggestion. I don't want to see you burn out half-way (I wouldn't blame you) because I know you're giving your best into this project. But it's a lot of work for one person regardless xD!
This is so cool! I made an account. Can't wait to see how this grows, this is a really innovative idea. : )
Thank you.


Yes I am doing everything I can myself as far as possible.


Battle System Update


I am creating my own battle system from scratch. I have done this before in Old Afar (although that was actually more work as I was working off a blank notepad file!).


I am actually half eventing it, so that I can use event options throughout the battles and create some hopefully interesting scenarios.


Current thoughts on the damage mechanics:


Everything has two stats: min and max. Those are percentages. That could be weapon damage, enemy defense, etc.


Damage = ((rand(weapon min, weapon max) x (strength + 9) x rand(enemy def min, enemy def max) x element_modifiers x range_modifiers x status_modifiers) / 500)


Element modifier is the element of your weapon's offense against that enemy. Range similarly is based on aerial distance of the enemy and again is a percentage.


So your base damage is strength + 9 (10 damage). Your weapon comes with a min and max percent.


So with an old sword that deals 50-100%, you'll hit between 5 and 10 damage against your other modifiers. If your enemy's defense is 25-50, you'll hit between 2.5 and 5 damage. If you're using a fire sword and your enemy's fire elemental damage is 200, you'll hit between 5 and 10 damage. If it's a bow and they're flying so they take 200% damage you'll hit them for 10 to 20 damage.


I hope that makes sense. It does in my head.


So,


You might have a really flashy armour that can weaken damage taken to 1%. But if it's max stat is 300%, the enemy can and will hit you for a lot more a lot of the time.


I will try and implement some kind of weighting that says, say, if your damage is 1-300%, but your weighting is 100%, you will hit generally around the 100% with the other two being extreme cases. I am not sure how to do that though.


The first enemies in the game will be bandits, eight of them.


59e3Dg4.png



And I'm going to call this expansion when released Bandits of Tiben.


Server-Side Battles


Battles are not at all processed client side. This makes them relatively unhackable. There is no entry point for you to edit the files and add your own damage in, change the enemy, use an enemy you can't fight yet, etc.


Every action is sent to the server to be performed against a server-stored enemy. The server sends back the result of that action (could be "dealt 10 damage but took 50 damage back, play animation enemy 2 player 5", could be "enemy was defeated and player gained x item", could be "player defeated").


The game then displays this result graphically, exactly as it was done in Old Afar. Sure, you can hack this so that it shows you dealing 10,000 damage, but you won't on the server.
This looks truly amazing. It's always been my dream to make an MMO (and I had a mini dream of being the first person to make one in MV but meh) so you must be a genius if you made it on your own. I look forward to playing, but I'll wait a bit until there's more to do 😀
Since battles are taking me to bloody long to do (owing largely to restarting a few times and then opting to make my own battle system from scratch), I feel like I need to show you guys I am doing something.


Battles now largely work (not released).


Now have animated health bars.


Everything performed server-side (so this is a proper, working, safe battle).


Still a lot of work to do on this though. Also sorry for the slightly lossy gif:


Fbcyb88.gif



Release Structure: next few weeks


I have a vacation coming up.


The plan if all goes well is to release the battle system alongside some other goodies as an expansion (basically a load of updates in one go), some time next week. This will be titled Bandits of Tiben. Basically it's a way of saying to the public "hey, a lot of stuff just got added for you to try".


That will contain: the battle system, 8 enemies, some quests, NPCs, items, a dungeon, new sound tracks, etc.


The next expansion will be some while after I get back, and will contain elements, elemental weapons, ranged weapons, dozens of enemies, a lot of items, and spells. Basically an overhaul of the battle system.
@Amy Pond did you code the server yourself or are you using some third party server like Photon?
All my own.


____


Drop Tables


I want enemy drops to be interesting, so I am using the CURVE system. Or that's what I am calling it, anyway.


When you win, you first of all have a random chance of getting an item (usually 70%).


What that item is depends on your enemy. A variable is drawn between 1 and 100 to decide what item you get.


C = COMMON = 1-59


U = UNCOMMON = 60-79


R = RARE = 80-94


V = VERY RARE = 95-99


E = EXCEPTIONALLY RARE = 100


BUT, each enemy has its own drop table (or rather, each enemy class, which is just a grouping of same enemies with slightly different graphics etc).


So within their drop table they might only drop five items! It will be something like:


Bones (C)


Dagger (U)


Sword (R)


Artifact (V)


Supercool Thing (E)


Or they might have twenty common items and no rare ones at all (you'd get some gold instead).


So if you want to get the Supercool Thing, you not only need to find an enemy that has it in its drop table, but you need to get a 70/100 then 1/100 chance to actually obtain it.


Of course, what might be Rare to one enemy could be Common to another. A peasant might hardly ever drop gold items but a nobleman might almost always.


Death Scene


The death scene is important. While it seems like just a normal gameover scene, you have conversations in it (that are different every time) that are actually hints and clues for later in the game. The characters seen there, including Death, are characters later in the game and you will actually end up in the demon world shown at some point. Everyone there is relevant.


UmLt4wD.png



On Death


You are teleported to your last visited safe place (usually a town) following the cutscene. You keep all of your items and gold.


A little better than Old Afar where you just got this:


29m8ipk.png



Eww,


Death used to roam the forums talking to people in Old Afar though as part of the Living Game.


I found some screenshots of Old Afar by the way so you can see how far we've come...


t3V9LKp.png



52vhucI.png



TnX8LhT.png



XcSIWIt.png



Quite old shots mind. They were in a random folder so I don't even know what stage they were in. The battleback above for one thing was never used as it's from the RMXP RTP.
Very basic battles have now been implemented.


As said before, all processing takes place server-side. The client simply sends actions to the server which sends back the result.


*edited out - new screenshot below*


There is a long long way to go with battles and at the moment you're almost guaranteed a win as all you or the enemy can do is attack. There's not much of a display either.


STATS


Players: 271


Most players at once: 15


Top visiting countries (in descending order): UK, Indonesia, Spain, Russia, Austria, Canada, Ireland, USA, Lithuania, Sweden


Forum posts: 19 (hmm, not much)


28/6/16: Battle System Update


WXHDBU3.png


  • Animated damage pops
  • Action boxes saying what that enemy/player did
So I've started playing and it looks really good. But I've had some problems with the battles. For one, they take ages (not a massive problem, and is probably to be expected), but two, the battle never ends when either me or the enemy lose all health. So I have to restart the game to continue.
Apologies on both counts, I believe I have fixed it? And made battles a bit quicker. They are going to seem a little dull until the Battling the Elements expansion though as at the moment all either can do is "attack".


As far as the expansion goes by the way:


I have a family holiday/vacation next week (Saturday to the Sunday afterwards). While I will be taking a laptop for development, I cannot guarantee I will have any kind of Internet access as I am going rural. If that's the case I will spend any spare time planning the Elements expansion.


Until then (i.e. a couple of hours today, and then ~five hours tomorrow morning and possibly a couple on Saturday) I will continue working on the Bandits of Afar expansion with a view to have it released on Friday. (It's already partially in place, the release is really just to tell people who are waiting on more content that there's a bit more content for them to play now).


It will have:


Basic battle system (implemented)


Twelve enemies (mostly implemented) including three bosses


A quest (half implemented)


A dungeon (implemented)


All that needs to be done is to finish off the quest and polish everything up nicely, and some further bug improvement.


Note: wandering enemies


If you've played lately you'll likely have been bugged by the five roaming hostile bandits on the woods map. This isn't how it will be when finished, they are mainly there for testing; as there's not much to do there is not much harm them being there, but in reality there won't be quite that many hostile enemies following you!
It still doesn't seem to be fixed, I got both of our health down to zero again it still didn't end the battle. I tried it twice, too. Also, found another minor glitch. If you leave Port Tiben before the text saying 'Afar Beta' closes, it never closes, even in battle. It does close after the normal amount of time when you re-enter Port Tiben, but it can be a little annoying, if you get caught up in a battle or something before being able to re-enter it.
That's very strange.. I can't seem to replicate it and looking at your character I can't see any reason why it shouldn't work.


I've fixed the beta message, at least. But I'm going to have to do more testing of this battle system to try and find out what's happening here.


Edit: I am experiencing further bugs. This expansion may have to wait until I get back from holiday, I am not sure. It depends how long this takes to fix, but again I have no idea what is causing this bug. (Sometimes the attack button ceases up and does absolutely nothing.)


OK.


Bugs List


- Battles never end for some players.


- Attack button can randomly decide to stop working.


- Death scene is messed up.


- Enemies, while they follow you, don't do anything when they get to you until you trigger them.


- Duplicated shadows on Woodland Maze maps


- Rat appears unable to move


- Your last action in previous battle is shown at the start of your next battle!
Are you sure it's just some players? I made a second account and battles still don't end (I might try on a different PC at some point). Also, I found that if you sign in to a different account the new account spawns in the place your other account last spawned at (unless the spawn point has been moved to Tiben Woods, Trade Route, but I thought it was Port Tiben). From what I can see too, the Inventory menu is pretty buggy. Maybe I don't know how to use it properly, but I can't unequip my sword. I also can't seem to equip anything else (unless everything in my inventory counts as a weapon).


Edit: It does seem like you naturally spawn in Tiben Woods, Trade Route now. So forget what I said 😛
The login issue strikes again. This time it only affects Chrome. Footage below.

Spoiler
CZUWMD4.gif
Very wow! I can't stop opening my mouth, this is awesome and unique at the same time. LOVE IT!

Original thread: https://forums.rpgmakerweb.com/threads/afar-the-mmorpg.62465/