-
[HAZEC MU] Client-Server Remake shared.
I have another work to do in next couple mounths, so here are all my work.
Unity Project: https://mega.nz/#!5xZ3gIaC!i9F-2U1NruGZ4xaJsTxzOKGw7edqFSINKmc19KehhvQ
Server Git: https://github.com/pcdubaum/HAZECMUFR_SERVER
DB: https://mega.nz/#!5oYlwKhA!KbWZt9vRtkuy8HBJvV7cMoSe8M2Y4_nJYpCfw39yTb0
Install Mysql, restore DB. I'm using XAMPP
Install and set up Smartfox
How to Set Up server
1 - http://www.smartfoxserver.com/download/sfs2x#p=installer
2 - http://docs2x.smartfoxserver.com/GettingStarted/installation
(if you want u can do the lazy work go to step XXX)
3 - SmartFoxServer 2X documentation: database-recipes
4 - Compile Assets from server project under SFS2X/extensions/lib - Compile all source code under under SFS2X/extensions/HazecMUFR
5 - open: http://127.0.0.1:8080/admin/AdminTool.html sfsadmin for user and pass.
6 - navegate to "Zone configurator", create a zone called "HazecMUR", add two rooms "CharSelection" and "Lorencia"
7 - Double click zone "HazecMUR" navigate "Zone Extension" -> Select "HazecMUFR" -> Extension: "HazecMUFR.Login.ExtensionLogIn"
8 - Submit
9 - "Double Click "Lorencia" -> Room Extension: select "HazecMUFR.Game.CreateNPCExtension"
10 - Submit
11 - Start SmartFoxServer.
XXX - Extract this in SmartFox Folder
Open Unity -> Select the Project -> Navigate Assets/Maps and Scenes/LoginScene -> Select "Scene Manager" gameObject and chenge the Host Ip in editor.
Click Play. Fix any error.
Java and SFS2x programming are straight forward. There are fews Unity Remakes, i will create simples scripts to connect any unity remake to server. For those my server will be up for a week.
-
Re: [1st playable release]HAZEC MU Client Remake
Looking good, keep up the good work. Will keep an eye out for this, :).
How will this work in conjunction with server files, exactly? Will it need updating per server season, recompiling to add customs like with existing clients, or are you going to have some clever ways to import those like having the client import a .xml list of customs? Details would be cool, ;).
-
Re: [1st playable release]HAZEC MU Client Remake
This is very impressive. Great work!
I know you increased animation frames, but you made things much slower in the process. The walking animation for example seems incredibly slow. More frames is good only when you're adding more animation detail. You're effectively just slowing things down at the moment.
Subscribed. Looking forward to the work you do with this.
-
Re: [1st playable release]HAZEC MU Client Remake
Yea the animation speed should be independent of the framerate. You can achieve that with morph target animation.
I made a player animation in javascript with three.js (r59) some time ago, maybe it helps:
Code:
Player = function (model) {
THREE.Object3D.call(this);
this.mesh = null;
this.castShadow = true;
var loader = new THREE.JSONLoader();
loader.load(model, function (gom, materials) {
this.mesh = new THREE.Mesh(gom, materials[0]);
materials[0].ambient.setRGB(1.0,1.0,1.0);
materials[0].morphTargets = true;
this.mesh.castShadow = true;
this.add(this.mesh);
}.bind(this));
this.update = function() {
if (this.mesh == null)
return;
var time = Date.now() % currentAnimation.duration;
var keyframe = Math.floor(time / currentAnimation.interpolation) + currentAnimation.animOffset;
if (keyframe != currentAnimation.currentKeyframe) {
this.mesh.morphTargetInfluences[currentAnimation.lastKeyframe] = 0;
this.mesh.morphTargetInfluences[currentAnimation.currentKeyframe] = 1;
this.mesh.morphTargetInfluences[keyframe] = 0;
currentAnimation.lastKeyframe = currentAnimation.currentKeyframe;
currentAnimation.currentKeyframe = keyframe;
}
this.mesh.morphTargetInfluences[keyframe] = (time % currentAnimation.interpolation) / currentAnimation.interpolation;
this.mesh.morphTargetInfluences[currentAnimation.lastKeyframe] = 1 - this.mesh.morphTargetInfluences[keyframe];
}
var animations =
[
{
name: "Standing",
duration : 1000, //the duration of the animation in milliseconds
keyframes : 5, //the number of animation keyframes
interpolation: 0, //see below
lastKeyframe : 5, currentKeyframe : 0, //some state...
animOffset : 30 //the index of the first frame in of the animation in the player.bmd...
},
{
name: "Walking",
duration : 1000,
keyframes : 43-36,
interpolation: 0,
lastKeyframe : 0, currentKeyframe : 0,
animOffset : 36
}
];
for (var i = 0; i < animations.length; i++) {
animations[i].interpolation = animations[i].duration / animations[i].keyframes;
}
var currentAnimation = animations[0];
}
-
Re: [1st playable release]HAZEC MU Client Remake
i think its ussless,but its only my mind ^_^
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
reseter
i think its ussless,but its only my mind ^_^
I don't think its useless at all. If he can code it a lot better than Webzen's client and he opens the code up (hopefully!), it could be a lot easier to edit than how we currently modify clients. Also it gives him freedom to implement new things if he wants from the start, like high poly model support (imagine HD models like Diablo 3), updated shaders and HDR, etc.
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
fallenfate
How will this work in conjunction with server files, exactly? Will it need updating per server season, recompiling to add customs like with existing clients, or are you going to have some clever ways to import those like having the client import a .xml list of customs? Details would be cool, ;).
I thought in 3 ways. 1- Walk in conjunction with the development of emulators, here even in the forum. 2- Recreate the server. 3- Use reverse-engineering or knowledge of someone to get the commands of server embed on my client.
Quote:
Originally Posted by
Ron
This is very impressive. Great work!
I know you increased animation frames, but you made things much slower in the process.
Thank u.
Quote:
Originally Posted by
nevS
Yea the animation speed should be independent of the framerate.
I didn't express myself well, mean 24 key frames, animation will be independent of framerate.
For while I'm using 1 second = 1 animation cycle. That will be changed, I want something more dynamic than the MU Online, it's going to be good. Thank u for the code:ott:
Quote:
Originally Posted by
reseter
i think its ussless,but its only my mind ^_^
You are half right and half wrong. The initial plan was not redo MU Online.
Half right: Yes, if it is to rebuild using the same models and textures there's no point in the game. Especially if we think on server 50000x xp. Reset-> Bot-> Reset
Half wrong: The game could get new life.
-
Re: [1st playable release]HAZEC MU Client Remake
compatible with actual gs's or its another thing?
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
thevjfla
compatible with actual gs's or its another thing?
Another thing....
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
thevjfla
compatible with actual gs's or its another thing?
Will be.
0.0.1.8 out
Add:
User Interface:
Edge Detection for itens and monsters.
Mini Map.
HpBar
XPBar
Simple Messages
Mouse Animations
Monsters:
Bull Fighter
Lich
Giant
Itens:
Double Axe
Leather Helm, Pants and Armor
Translation:
Added translation to items, monsters and GUI.
Help is wanted to more language.
Pt-br and en-us until now.
Bugs Solved:
Visual Bug with Shadows
https://forum.ragezone.com/cache.php...r00186mini.jpghttps://forum.ragezone.com/cache.php...r00181mini.jpg
Page: Hazec Online
Full infos Release 0.0.1.8 - Step Foward - yourdomain.com
=====
I've been looking at the source code of some gameservers and apparently would not be a very arduous task to adapt the client to use current gameservers.
-
Re: [1st playable release]HAZEC MU Client Remake
Do you plan to use this just for your server, or are there plans to release the source later on when complete? Also the screenshots are too small to see much.
Keep up the good work!
-
Re: [1st playable release]HAZEC MU Client Remake
@pcdubaum
What engine are you using in your project?
Good job!
Cheers.
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
fallenfate
Do you plan to use this just for your server, or are there plans to release the source later on when complete? Also the screenshots are too small to see much.
Keep up the good work!
I'll release the source in next update. Full Source Code, Shaders, 3D Models in Blender format. There some performance issues in code and i want to correct this until release.
I don't like the origianal graphics and game mechanics is very "locked".
http://www.hazeconline.com/Imagens/hazecmufr00183.jpg
http://www.hazeconline.com/Imagens/hazecmufr00180.jpg
http://www.hazeconline.com/Imagens/hazecmufr00181.jpg
http://www.hazeconline.com/Imagens/hazecmufr00182.jpg
http://www.hazeconline.com/Imagens/hazecmufr00185.jpg
http://www.hazeconline.com/Imagens/hazecmufr00184.jpg
Quote:
Originally Posted by
Viserion
@
pcdubaum
What engine are you using in your project?
Good job!
Cheers.
C++/CX and Directx in the "nails". hehehe
The interaction between C++ and DirectX use the component extension(CX). But all the logic is pure c++.
-
Re: [1st playable release]HAZEC MU Client Remake
@pcdubaum
What are you using to GUI? CeGUI? Or something developed by you?
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
I thought in 3 ways. 1- Walk in conjunction with the development of emulators, here even in the forum. 2- Recreate the server. 3- Use reverse-engineering or knowledge of someone to get the commands of server embed on my client.
here is a new chinese technical post about client reversing of MU
http://bbs.csdn.net/topics/391016320
the full source code analysed by IDA and extracted from it has been successfully converted into a VC6 project. it is also released in the post
i think it may help ur engine rebuilding though i didnt check or try to compile it yet
-
Re: [1st playable release]HAZEC MU Client Remake
can u download and reuload somewhere? i dont know chinese xD
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
xsunlightx
here is a new chinese technical post about client reversing of MU
奇迹客户端汇编源码-CSDN论坛-CSDN.NET-中国最大的IT技术社区
the full source code analysed by IDA and extracted from it has been successfully converted into a VC6 project. it is also released in the post
i think it may help ur engine rebuilding though i didnt check or try to compile it yet
This is interesting... xsunlightx can you re-upload this to: MEGA or mediafire ?
-
Re: [1st playable release]HAZEC MU Client Remake
Never dedicated myself to the Assembly. I've never done an application that need this level of optimization.
I need the information of client<->server transmission packages :cool:
-
Re: [1st playable release]HAZEC MU Client Remake
Well, I had a schedule and I couldn't do it, so I pushed back plans for 15 days.
But as I had promised I am putting the code. (As if anyone cares. At least for now:))
Within the package are files. Blend of monsters, armors and axes. I hope someone likes it at least, the change you make will change within the game.
I'm going to rewrite the first post with some instructions. No pictures or builds now.
http://www.hazeconline.com/downloads...MUFRSource.zip
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
mauro07
This is interesting... xsunlightx can you re-upload this to: MEGA or mediafire ?
i'll upload it for you guys when i have time off to qualify that inline assembler code project or u may google-translate by yourself if u find it interesting
that thread starter said translating that project, he has already given a good beginning to, into a pure c/cpp project is not impossible, if more Mu coders're interested in that code.
but im not interested in atm
Quote:
Originally Posted by
pcdubaum
Well, I had a schedule and I couldn't do it, so I pushed back plans for 15 days.
But as I had promised I am putting the code. (As if anyone cares. At least for now:))
Within the package are files. Blend of monsters, armors and axes. I hope someone likes it at least, the change you make will change within the game.
I'm going to rewrite the first post with some instructions. No pictures or builds now.
http://www.hazeconline.com/downloads...MUFRSource.zip
thanks for your generous sharing
good luck with your advanced Micro$oftized remake XD
-
Re: [1st playable release]HAZEC MU Client Remake
Cristmas Update.
Project: HazecMUFR
Client Side ported to Unity3D. The older client is finished, i cant make it DX12 or even DX11, so i dropped it.
Server in development, features:
Register, in client.
Explore World.
Login and interact with other players. Kill other Players. /KillNearPlayer
See all MOBS and NPC, use /killNearMob to kill nearest MOB. Mobs can't move or atacck, but they drop itens.
Get itens, wear itens, trade itens, all modification are propagate, visual only. Cant save progress.
The basic syncronization client->server->ALlOtherClients are almost done.
Well, i don't no why, but this make me happy :ott:. MU is an amazing thing.
Happy new year.
-
Re: [1st playable release]HAZEC MU Client Remake
All link dont work ........
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
pcdubaum
Cristmas Update.
Project: HazecMUFR
Client Side ported to Unity3D. The older client is finished, i cant make it DX12 or even DX11, so i dropped it.
Server in development, features:
Register, in client.
Explore World.
Login and interact with other players. Kill other Players. /KillNearPlayer
See all MOBS and NPC, use /killNearMob to kill nearest MOB. Mobs can't move or atacck, but they drop itens.
Get itens, wear itens, trade itens, all modification are propagate, visual only. Cant save progress.
The basic syncronization client->server->ALlOtherClients are almost done.
Well, i don't no why, but this make me happy :ott:. MU is an amazing thing.
Happy new year.
Why not try unreal engine? I think you can make better graphic with it, than unity.
-
Re: [1st playable release]HAZEC MU Client Remake
-
Re: [1st playable release]HAZEC MU Client Remake
Project Hazec MUFR
All client files and server extensions will be open.
Java and MySql for server.
C# and Unity for Client.
https://youtu.be/35PERgvARr8
Smart Fox Server Download: SmartFoxServer: massive multiplayer game server for Flash, Unity, HTML5, iOS and Android games, MMO, virtual worlds and communities
Instructions:
Install SmartFox.
Put 127.0.0.1:8080 in your internet browser.
-> Administration Tools 2x -> Host: 127.0.0.1 -> user and pass: sfsadmin
-> Administration Modules -> Zone Configurator
Double Click "Basic Examples", Zone name: "HazecMUFR". Submit then Cancel
Double Clic "The Lobby", Room name: "Lorencia". Submit then Restart
(Some times you need to restart manually, re-openning the server)
Download Clients:
HazecMUFR 64 bits: https://mega.nz/#!k9p3HRpC
HazecMUFR 32 bits: https://mega.nz/#!o5JFgASB
Start the game, click "Mudar Servidor" insert your ip(or SmartFox ip). Insert your name, no need for pass -> click "Conectar"
In game: First run can take a long and long time.
Log
Chat
Change set
Expore worl;
Unity Project:
The .rar is too big, over 3GB, i'm having problens when uploading.
I'll try to fix this.
=============
Smart Fox examples and documentations: http://docs2x.smartfoxserver.com/ExamplesUnity/introduction
Unity examples and documentations: http://unity3d.com/learn
-
Re: [1st playable release]HAZEC MU Client Remake
Well. Looks promising but still needs a lot of polishing.
-
Re: [1st playable release]HAZEC MU Client Remake
how to download a file client?
-
Re: [1st playable release]HAZEC MU Client Remake
There are no live servers. No test server.
In this beggining everyone should intall and configure your own server. If it get bigger we can provide a live server. The client cant do nothing.
- - - Updated - - -
Major Update:
Adds: Login phase, registered users only, create and select chars.
Change guide:
Intall sql server, your flavor. Im using mysql. Sql server have admin tools, for mysql install xamp to have acess to phpmyadmin.
Download XAMPP: https://www.apachefriends.org/pt_br/download.html
Create one database and name it: "hazecmufr".
Import table form -> https://mega.nz/#!V4ZGSJba
Insert your username in table "usuario", nome(username), senha(password), id is auto
Download JDBC mysql connector: MySQL :: Download Connector/J
Download JDBC sqlserver connector: https://www.microsoft.com/pt-br/down....aspx?id=11774
Extract and drop the .jar in the{SFS2XRoot}/lib/ folder.
The next step is running the SFS2X AdminTool, launch the Zone Configurator module, select "HazecMUFR" Zone and finally click on the Database manager tab to edit the configuration.
Database Driver Class: com.mysql.jdbc.Driver
Connection String: jdbc:mysql://localhost:3306/hazecmufr
Insert your usename and password.
Test SQL: SELECT `nome`, `senha` FROM `usuario` WHERE 1
At the end of the process click Submit and restart the server. Some times you have to shutdown and restart.
Download the server extension: https://mega.nz/#!9kpQGI4I
Put it on {sfs-install-dir}/SFS2X/extensions/HazecMUFR
Launch the Zone Configurator, select a "HazecMURF" and enter the edit mode. You will find the Zone Extension tab where you can configure a few parameters. Essentially all you need is to select the Extension name(HazecMUFR) and the main Extension class (HazecMUFR.Login.ExtensionLogIn).
At the end of the process click Submit and restart the server. Some times you have to shutdown and restart.
This is the end of server configuration.
Client 64bits: https://mega.nz/#!4xRlFL5K
Client 32bits: https://mega.nz/#!0xI0AKba
Client default language changed to English.
-
Re: [1st playable release]HAZEC MU Client Remake
I've been playing with unity this week too.
Hope you don't mind me posting it here (I won't open a new topic since I don't plan to keep it updated :P)
My progress so far (I'm trying not to edit things by hand):
https://www.youtube.com/watch?v=9dPJ...ature=youtu.be
Test compilation:
https://dl.dropboxusercontent.com/u/33679327/Mu.zip
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
wolfulus
Is posible make a new MU Client using.. Unity ? I mean.. like original one, but with some changes ?
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
Kiosani
Is posible make a new MU Client using.. Unity ? I mean.. like original one, but with some changes ?
yes. pretty easy actually.
download the "demo" from the post above and see how close it gets with little tweaks
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
wolfulus
yes. pretty easy actually.
download the "demo" from the post above and see how close it gets with little tweaks
ok, anyways.. today is more possible and simple get original main sources from MU Client... well at least in teory :D:
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
Kiosani
ok, anyways.. today is more possible and simple get original main sources from MU Client... well at least in teory :D:
if you actually know someone that has it and is actually willing to share, yes.
but IRL, no...
:P
I see no point on getting back to the original source when you can actually make something like this:
https://i.gyazo.com/6a606cb60ab8e75b...87413f4b79.jpg
Update:
https://youtu.be/YcUZc3RsOok
-
Re: [1st playable release]HAZEC MU Client Remake
nice man that i'm talk abount
-
Re: [1st playable release]HAZEC MU Client Remake
download files? there decryption key
-
Re: [1st playable release]HAZEC MU Client Remake
did some searches on Mu Online done in Unity ..
and found it does not know what is
https://mega.nz/#!25YGSQQZ!qKjdjngCh...RiXY_ouRIhfRGs
-
Re: [1st playable release]HAZEC MU Client Remake
Hold On.
I'll upload with the new update in the next few hours.
WebGL: For the next 24h: http://hazecmufr.ddns.net:8080/WebGL
User: source
Pass: source
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
pcdubaum
now work :( i link test this kkk XD
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
MAXDANGER
now work :( i link test this kkk XD
Ohh, Sorry. My connection is too slow, i did a small test and i cant connect.
The project's folder is too big. I cant da nothing good with my connection, sorry. More few weeks to get a test server up.
=====
Some features.
-Log in.
-Create Chras (all of them)
-Explore World and chat. Can see all of othes players
-Kill MOBs(spiders, dragons and bulls; They hit back so i cant kill spiders and bulls) and level up. I am lvl 4 until now. All progress are saved, points, xp...
Server is hard, xp = 1x.
What i want to do in few weeks:
-Add sowords and axes (small axe, criss, and short sword).
-DK item set. (Leather set, normal, excelent and ancient).
-Add apples an potions.
-Add points and manage itens.
-
Re: [1st playable release]HAZEC MU Client Remake
-
Re: [1st playable release]HAZEC MU Client Remake
I believe someone with good knowledge of Unity 3D and / or java . To set up a server emulator.
Or maybe a version offiline
http://forum.ragezone.com/f807/mu-or...oblie-1052622/
-
Re: [1st playable release]HAZEC MU Client Remake
-
Re: [1st playable release]HAZEC MU Client Remake
-
Re: [1st playable release]HAZEC MU Client Remake
<span style="color: rgb(51, 51, 51); font-family: Roboto, arial, sans-serif; font-size: 13px; background-color: rgb(246, 246, 246);">https://www.youtube.com/watch?v=-cBnutj-yWQ
New items, new models, new textures.
Choose de "Choose Me" button
WebGL: Unity WebGL Player | HazecMUFR
Win64: http://www.hazecmufr.com/downloads/Wi...
For More: HAZECMUFR - Index page
-
Re: [1st playable release]HAZEC MU Client Remake
Well, it's nice that you are making progress but the animations are so badly timed that it's basically destroying any reason to play the game in this form.
Some hints:
Movement itself should be linear (you have unnecessary acceleration which makes no gameplay sense and looks terrible).
Animations (attack, movements etc) should switch instantly, without inbetween interpolation.
The rotations should happen immediately, you have introduced inertia and angular momentum which is completely unnecesary.
All animations should be speeded up.
The character does not follow the mouse pointer when I keep the left mouse button pressed.
When you hover over an empty inventory slot, an item tooltip appears with the last item tooltip you have seen.
Minimap shows that my character is standing on a river while I'm standing on the bridge.
Some typos.
What I like:
I like what you did with inventory. Item tooltips are nicely designed and I like the introduction of HP regen on rings and Mana regen on pendant.
Water is nice.
There is still a lot of work to do before it gets playable. But keep up the great work.
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
marecznyjo
...
Thank you. For your reply.
I did not like the animations too, it is my first project with 3D in unity and I'm having a lot of problems with the animations. The character control part is all managed by default Unity3D controller, I have not made any progress in this direction.
I started an Android project, will be my fourth game, so i ran a bit to finish the inventory system and the mini map, I wanted to have at least one video to show the MU project.
The monsters are controlled by the server, as well the drops. It is possible to view and interact with other players on the server, so I had to improvise and create this offline version of the game.
Some things were not as good as I wanted. I did not have time to finish the entire map, so some things were left out. The inner city and the rest of the map.
I always thought that part of the regeneration of life was something necessary for the game, so I implemented it:laugh:
Thank you again.
-
Re: [1st playable release]HAZEC MU Client Remake
Hi, I need your help again.
If you can acess the game and test somethings i'll be glad.
As an individual developer i need tester to test all login phase. Login, select/create char, kill mobs, pick itens, try to level up, equip itens and test data persistent. Chat if there are another player.
WebGL: Unity WebGL Player | HazecMUFR
x64: http://www.hazecmufr.com/downloads/Win_x86_64.rar
Some tips:
Start WebGL player in an individual browser instance.
XPBar is not working.
There are only Giant Spider and budge dragons.
The game stop when u die.
I need only the login phase, please help. Thank you
UserNames. test1, test2, test3, test4, test5. Password: test
-
Re: [1st playable release]HAZEC MU Client Remake
- Current Settings
Windows resolution: 1366x768
Memory: 6GB
OS: Windows 7 Ultimate
http://image.prntscr.com/image/97df5...169efd3575.png
On "Windows mode", the top of the game just get cut out. Need put "Full Windows Mode" to actually see all the game frame.
-
login -> create character -> Try to login:
http://image.prntscr.com/image/31ce4...e88b82b345.png
Got stuck there, unable to enter the world.
-
Re: [1st playable release]HAZEC MU Client Remake
Thank you for your time @Oroch.
1 - I'm targeting a minimal of 1280x720. Your computer can do this, in full scree.
2 - Outo of memory is a common issue in Google Chrome. Chrome shares memory with all open tabs, the game tells Chrome to alocate X, but this X is shared by other tabs.
I'm using Microsoft Edge as my gamming browser or u can open a new Chrome windows with no tabs.
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
pcdubaum
2 - Outo of memory is a common issue in Google Chrome. Chrome shares memory with all open tabs, the game tells Chrome to alocate X, but this X is shared by other tabs.
Not only. Chrome has different script loading pipeline. It doesn't release compilation junk before script execution. Emscripten is trying to allocate whole heap while scripts sources and compiler data are still allocated in the same process (usually 32 bit). It's known memory spike you can't avoid right now. There are more issues in chrome like memory leaks especially in older releases, so I'd recommend to update browser to the newest version and use 64 bit versions if You can. While asm.js is purely 32 bit right now, 64 bit browser can still allocate more data for parsers and internal compilers so it won't run into out of memory problem.
Unity's webgl is not ready to run out of the box right now. You have to optimize it heavily and change some programming habits. WebAssembly is the way to go, but it's still experimental technology both in unity and all main browsers (chrome, firefox, edge and safari). It will take ~2 years until mature and well equipped version of wasm will hit common user browser. By mature version i consider wasm with full multi-threading support and stable memory growth in 64 bit environment.
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
pcdubaum
Thank you for your time @
Oroch.
2 - Outo of memory is a common issue in Google Chrome. Chrome shares memory with all open tabs, the game tells Chrome to alocate X, but this X is shared by other tabs.
I'm using Microsoft Edge as my gamming browser or u can open a new Chrome windows with no tabs.
Actually, tested two times last night, one of them I closed every Chrome instance an open only one windows in incognito mode (of course with just the game tab).
The result was the same.
-
Re: [Connection Tests]HAZEC MU Client/Server Remake
I made some tests and the answe is now clear. Do not use Google Chrome. Windows 10 for all tests
High-end machine (Core i7 4790k @ 4.5hz, 16 GB of ram, 970 GTX)
Google Chrome:
Load time: High
Time between scens: Fast
Enter game: Out of memory Exception.
Microsoft Edge:
Load Time: Average
Time between scens: Fast
Enter game: The game is nice.
Mid machine (AMD 8350, 8 GB of ram, 380x)
Google Chrome:
Load time: High
Time between scens: Fast
Enter game: Out of memory Exception.
Microsoft Edge:
Load Time: Average
Time between scens: Fast
Enter game: The game is nice.
6-7 years old machine (AMD Phenon II, 4 GB of ram, AMD HD GPU)
Google Chrome:
Load time: Ultra-f@ckin-High
Time between scens: Ultra-f@ckin-High
Enter game: Out of memory Exception.
Microsoft Edge:
Load Time: Ultra-f@ckin-High
Time between scens: Ultra-f@ckin-High
Enter game: The game have limitations
===========
So a made a new lightter release and the results are the same.
x64: http://www.hazecmufr.com/downloads/Win_x86_64.rar
-
Re: [1st playable release]HAZEC MU Client Remake
Great project you have here #pcdubaum, been watching it for a while now. Keep up the awesome work :).
-
Re: [1st playable release]HAZEC MU Client Remake
Thank you.
I started this project as a self learning project but i reached an interesting point.
I got some models from MU Origin: http://forum.ragezone.com/f195/pad-v...-maps-1121860/
The project is growing and i cant manage Client and Server development on my own. I can share the server code but i am unable to share client due 3rt party assets, from unity asses store.
https://www.youtube.com/watch?v=Slc-knYxqIo&t=3s
-
Re: [1st playable release]HAZEC MU Client Remake
I have another work to do in next couple mounths, so here are all my work.
Unity Project: https://mega.nz/#!5xZ3gIaC!i9F-2U1NruGZ4xaJsTxzOKGw7edqFSINKmc19KehhvQ
Server Git: https://github.com/pcdubaum/HAZECMUFR_SERVER
DB: https://mega.nz/#!5oYlwKhA!KbWZt9vRtkuy8HBJvV7cMoSe8M2Y4_nJYpCfw39yTb0
Install Mysql, restore DB. I'm using XAMPP
Install and set up Smartfox
How to Set Up server
1 - http://www.smartfoxserver.com/download/sfs2x#p=installer
2 - http://docs2x.smartfoxserver.com/GettingStarted/installation
(if you want u can do the lazy work go to step XXX)
3 - SmartFoxServer 2X documentation: database-recipes
4 - Compile Assets from server project under SFS2X/extensions/lib - Compile all source code under under SFS2X/extensions/HazecMUFR
5 - open: http://127.0.0.1:8080/admin/AdminTool.html sfsadmin for user and pass.
6 - navegate to "Zone configurator", create a zone called "HazecMUR", add two rooms "CharSelection" and "Lorencia"
7 - Double click zone "HazecMUR" navigate "Zone Extension" -> Select "HazecMUFR" -> Extension: "HazecMUFR.Login.ExtensionLogIn"
8 - Submit
9 - "Double Click "Lorencia" -> Room Extension: select "HazecMUFR.Game.CreateNPCExtension"
10 - Submit
11 - Start SmartFoxServer.
XXX - Extract this in SmartFox Folder
Open Unity -> Select the Project -> Navigate Assets/Maps and Scenes/LoginScene -> Select "Scene Manager" gameObject and chenge the Host Ip in editor.
Click Play. Fix any error.
Java and SFS2x programming are straight forward. There are fews Unity Remakes, i will create simples scripts to connect any unity remake to server. For those my server will be up for a week.
-
Re: [1st playable release]HAZEC MU Client Remake
Quote:
Originally Posted by
pcdubaum
I have another work to do in next couple mounths, so here are all my work.
I'm debating taking over this project.
There's a few easily fixable things like animations and such that will make the game look and feel totally different. Thank you for sharing, this is an immense amount of work.
Edit:
After looking through here it seems you're doing animations at the same rate as the screen refresh rate?
If you have some animations that play too slowly you can skip frames, which there are a few. Never render more frames than your screen's refresh rate, it's bad for performance. (I would assume this, I've never used Unity before but I'm an experienced programmer)
-
Re: [1st playable release]HAZEC MU Client Remake
what's the game features?