Saturday, July 13, 2019

SWGEMU change resource stack size to more than 100K

Before you start this please make sure your server is completely
shut down. Because you will have to recompile the sourcecode
at the end of this tutorial.


So one of the annoying things with the swgemu sever is the stack size being
limited to only 100,000 of any resource in one stack.


Now this can be changed

This is located in the directory
Core3/MMOCoreORB/src/server/zone/objects/resource

And you want to open up the file ResourceContainer.idl

Now the first instance of this is pretty close to the top of
file around line 20. This is subject to change as the code
changes but you should start looking around there.

Look for this line:

        public static final int MAXSIZE = 100000;

Now I change mine to a 1 million stack size so it
looks something like this.

        public static final int MAXSIZE = 100000;

Now after you do this you will have to recompile your source code again
in  Core3/MMOCoreORB

Now for me I do a make -j4 because I only have 4 cores
on this server if you have more cores then you will have to change
this.

Player Run Cities Guide

 So you want to setup your own city some where.  To do this you will need certain skills I would recommend getting to Master Politician.    ...