Friday, August 29, 2025

Increase the number of lots per character

 So you want your server to have more lots per character so they can drop
more harvesters and houses etc.

Well this is how you do it. 

 First make sure your server is properly shut down before attempting to do this. 

The line that you are looking for is in the following file 

Core3/MMOCoreORB/src/server/zone/objects/player 

And you want to open up the PlayerObject.idl file. 

and you are searching for maximumLots =

You will find a line that says 

maximumLots = 10; Core3/MMOCoreORB/bin/scripts/object/building/player/city

Change that to how ever many lots you want the characters to have I changed mine
to 30. 

 https://github.com/swgemu/Core3/blob/0964a5af46f7f1950f2f96ecc552558131c96b50/MMOCoreORB/src/server/zone/objects/player/PlayerObject.idl#L4 

As of today July 29 2025 it looks to be around 385 of the source code but that is subject to
change as the developers change the source code. Just search for maximumLots =
and you will find it. 

So after doing all of this I was trying to drop a theater on an admin account to get a player
city going I put down the rest of the buildings and it said before when it was 10 lots that I needed
3 more lots before I upped it to 30 and it is still saying that.

So I decided to do this 

Go to  Core3/MMOCoreORB/bin/scripts/object/building/player/city

Open the file theater_corellia.lua

https://github.com/swgemu/Core3/blob/0964a5af46f7f1950f2f96ecc552558131c96b50/MMOCoreORB/bin/scripts/object/building/player/city/theater_corellia.lua#L44 

It will be not that far down in the file look for lotSize = 3,

Change that to  lotSize = 0,

save your changes.  

Do the same thing for  theater_naboo.lua and theater_tatooine.lua in the same directory. 

You will need to recompile the source again as well so in the Core3/MMOCoreORB
directory run the following command:  make -j$(nproc) 

 When it is done start your server and you will notice that the changes will be there.  

I hope this helps some one else out.  

 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

So you want to be a Jedi?

  Granting Jedi Skills Light Master: /gmJediState 4; Dark Master: /gmJediState 8; /grantPadawanTrialsEligibility; /grantSkill force_ran...