[Development] Mu Online Client/Server remake project

Code:
bool CWorld::load_obj(int32 id) // Completa
{
	FILE * fp = open_world_path(id,"WorldObjects");

	if ( !fp )
	{
		sLog->outFile(">>> ERROR <<< Loading World%d Objects failed",id);
		return false;
	}
	
	int32 file_size;
	void * info_1;
	uint8 xor_info[250000];

	int32 world_id;

	fseek(fp, 0, 2);
	file_size = ftell(fp);
	fseek(fp, 0, 0);

	info_1 = (void*)GlobalAlloc(GPTR,file_size);

	fread(info_1, 1, file_size, fp);
	fclose(fp);

	Xor_16((char*)info_1,(char*)xor_info,file_size);

	GlobalFree(info_1);

	World_Obj_Header * header = (World_Obj_Header*)xor_info;
	World_Obj_Body * body = (World_Obj_Body*)&xor_info[sizeof(World_Obj_Header)];

	world_id = header->id;

	this->object_count = header->count;

	for ( uint32 i = 0; i < header->count; ++i )
	{
		this->AddWorldObj(id,body[i].object_id,body[i].position,body[i].rotation,body[i].scale);
	}

	return true;
}



void CWorld::AddWorldObj(int32 world,int32 object_id,float * position,float * rotation, float scale)
{
	std::ostringstream file_path;
	file_path << "TestSMD\\Model" << object_id;

	sSMDMgr->LoadSMD(object_id,file_path.str().c_str());

	CWorldObject * new_object = new CWorldObject(object_id);
	new_object->position.set(position[1]/COMMON_SCALE,position[2]/COMMON_SCALE,position[0]/COMMON_SCALE);
	new_object->rotation.set(rotation[0],rotation[1],rotation[2]);
	new_object->scale.set(scale);
	new_object->setModelClass(sSMDMgr->getSMD(object_id));
	
	if ( !new_object->isValid() )
	{
		delete new_object;
		return;
	}

	int16 animation = new_object->getModel()->getAnimationCount() -1 ;//new_object->getModel()->getAnimationCount()>0?1:0;

	new_object->AnimationChange(animation);

	this->world_object.push_back(new_object);
}


void CWorld::AddWorldObj(int32 world,int32 object_id,float * position,float * rotation, float scale)

Here object_id is number of object in world folder ( Object01.bmd, Object02.bmd ), for Lorencia u have to rename all bmd to that format, else u have to load manually

View attachment Objetos Lorencia.txt

Atte.

mesosa de DimensionGamers

PD: Tengo estudios realizados en la academia nacional de Mu Online de Pehuajo. File creation Date: domingo, ‎24‎ de ‎noviembre‎ de ‎2013, ‏‎10:28:39 p.m.... 1 week = Render world and objects
 
Last edited:
thx, i've done it my way, transform each smd to fbx (including animation, eg trees, etc).
but it's worthless, i dont like the old style, i want to create "new styles". I DONT have time to do it but, who knows, maybe some day...

pd: yo de mu no se mucho, siempre fui medio pete... pero creo recordar q jugue ese server "dimensiongamers"
 
my engineering career is making me crazy, so i dont have much time to update this project, but maybe i will.

i've finished dmg def heal buffs and some maps.

unfortunately, the only way to keep updating something like this, is working with a team, but i cannot work with a team since there is almost no people with enough knowledge to understand this, at least not here (maybe 1 or 2 guys, no more.)
 
Last edited:
but i cannot work with a team since there is almost no people with enough knowledge to understand this, at least not here (maybe 1 or 2 guys, no more.)
... just code it by yourself, after some time you will drop the project and no one will see your code...
Anyway good luck!

P.S. maybe you need to try to find team?
 
I just want to say that you're doing an amazing job with this! And also a +1 on using Ogre.

well, my code is based on ogre and Irrlicht, but yes, it could be done 100% using any of them, in fact, i decided to write my own version just for learning porpuse, but in any case, ogre is "better", faster, has a lot of doc, and it is so big that sometimes it's harder to learn compared to Irrlicht or any other small engine. :D

so ogre >>>> ue, unity, webzen :D
 
Hi, I need help with something. it is an easy job but it takes some time
anyone can do it, no knowledge is required (just need to know how to use skype -.-), send me a pm of you want to collaborate :D
so if i finish this project and i publish it, its not much but, u will be in the credits

GM-Andromeda - [Development] Mu Online Client/Server remake project - RaGEZONE Forums


edit: well, some milkshape/blenderknowledge (basic) or any other soft like these would be useful.
 
Last edited:
Hi, I need help with something. it is an easy job but it takes some time
anyone can do it, no knowledge is required (just need to know how to use skype -.-), send me a pm of you want to collaborate :D
so if i finish this project and i publish it, its not much but, u will be in the credits

GM-Andromeda - [Development] Mu Online Client/Server remake project - RaGEZONE Forums


edit: well, some milkshape/blenderknowledge (basic) or any other soft like these would be useful.

What about 3ds Max?
 
can i suggest about questing? could you make the game a little more focused on questing? like life quests? or something?

like in any other MMO's have this life and story quests thing so it would be much fun not just leveling and reset and grand resets thing...

i hope you get my point... :wink:

& more power to your project/development.

thanks!!!
god bless!!!
 
can i suggest about questing? could you make the game a little more focused on questing? like life quests? or something?

like in any other MMO's have this life and story quests thing so it would be much fun not just leveling and reset and grand resets thing...

i hope you get my point... :wink:

& more power to your project/development.

thanks!!!
god bless!!!
.

I think he could do that! but just matter of times! now he just want the game to run up first!
 
can i suggest about questing? could you make the game a little more focused on questing? like life quests? or something?

like in any other MMO's have this life and story quests thing so it would be much fun not just leveling and reset and grand resets thing...

i hope you get my point... :wink:

& more power to your project/development.

thanks!!!
god bless!!!

"Questing" is not a problem, just adding lua service with some count of functions and u do what u want(look for ex metin2 mmo)
To be honest if this project want to make success it should looks like "mu", not mix 10 mmo in one. Compilation on tablets\smartphones will be big attitude
 
Back