Log in

View Full Version : Edit server files


warbleeder
09-22-2018, 01:24 PM
There used to be some files you could edit and then use make to recompile for example bsty pets...
Is it still possible to edit these with new setup?

Maze_EQ
09-22-2018, 05:20 PM
Que?

Bsty pets?

What are you talking about.

If you mean source files?

Github.com/eqemu/server

Kingly_Krab
09-22-2018, 08:55 PM
If you use the installer you cannot modify your source code; however, if you actually compile your own source you can check zone/pets.cpp for Mob::MakePoweredPet and look for this: if(record.petnaming == 2)
{
switch(GetBaseRace())
{
case VAHSHIR:
npc_type->race = TIGER;
npc_type->size *= 0.8f;
break;
case TROLL:
npc_type->race = ALLIGATOR;
npc_type->size *= 2.5f;
break;
case OGRE:
npc_type->race = BEAR;
npc_type->texture = 3;
npc_type->gender = 2;
break;
case BARBARIAN:
npc_type->race = WOLF;
npc_type->texture = 2;
break;
case IKSAR:
npc_type->race = WOLF;
npc_type->texture = 0;
npc_type->gender = 1;
npc_type->size *= 2.0f;
npc_type->luclinface = 0;
break;
default:
npc_type->race = WOLF;
npc_type->texture = 0;
}
}

warbleeder
09-23-2018, 10:38 AM
Thanks king.... I'll compile later on
I'm using installer atmo but database should be OK to use with self compiled too?
Just case of changing config file id imagine?

Kingly_Krab
09-25-2018, 09:24 AM
Yes. All you have to do when you compile your own is copy the executables over your current ones. No changes to your .JSON are required.