EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Edit server files (https://www.eqemulator.org/forums/showthread.php?t=42099)

warbleeder 09-22-2018 01:24 PM

Edit server files
 
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:
Code:

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.


All times are GMT -4. The time now is 05:32 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.