3 part question..

Trenn

New Member
Joined
Jun 25, 2015
Messages
10
IM currently running pre-CU server and wanted to change the radius of the Light under player (cntl+L) to a larger size. Is this possible, and how would it be done?

Is there a GOD/Admin/GM command that tells you what phase the village is in, and how long is left in that phase ?

I would like to change each phase at the village to run 24hrs, then change to the next phase. What would i have to change to this to make it work ?

local VILLAGE_PHASE_CHANGE_TIME = 3 * 7 * 10 * 24 -- Testing value.
--local VILLAGE_PHASE_CHANGE_TIME = 5 * 60 * 1000
--local VILLAGE_PHASE_CHANGE_TIME = 3 * 7 * 24 * 60 * 60 * 1000 -- Three Weeks.

Thanks.
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
1521199377676.png
To change the village phase time change local VILLAGE_PHASE_CHANGE_TIME = 3 * 7 * 24 * 60 * 60 * 1000 -- Three Weeks to local VILLAGE_PHASE_CHANGE_TIME = 1 * 7 * 24 * 60 * 60 * 1000.

If you are using the Pub9 SWGEmu code the village is now completed and the line can be found under MMOCoreORB/bin/scripts/screenplay/village/village_jedi_manager_township.lua

change the line VILLAGE_PHASE_DURATION = 3 * 7 * 24 * 60 * 60 * 1000 -- 3 weeks to VILLAGE_PHASE_DURATION = 1 * 7 * 24 * 60 * 60 * 1000
 

Trenn

New Member
Joined
Jun 25, 2015
Messages
10
View attachment 261
To change the village phase time change local VILLAGE_PHASE_CHANGE_TIME = 3 * 7 * 24 * 60 * 60 * 1000 -- Three Weeks to local VILLAGE_PHASE_CHANGE_TIME = 1 * 7 * 24 * 60 * 60 * 1000.

If you are using the Pub9 SWGEmu code the village is now completed and the line can be found under MMOCoreORB/bin/scripts/screenplay/village/village_jedi_manager_township.lua

change the line VILLAGE_PHASE_DURATION = 3 * 7 * 24 * 60 * 60 * 1000 -- 3 weeks to VILLAGE_PHASE_DURATION = 1 * 7 * 24 * 60 * 60 * 1000
Thanks gyrantol.

I am using Pub9 SWGEMU code, but my village is incomplete. Only have 2 phases, and jedi still isnt working. I didnt Git pull updates before Repo went away. RL kept me away . Will these settings alow it to change every 24hrs then ? Also noob question, how does this break down (= 1 * 7 * 24 * 60 * 60 * 1000) in terms of IE: secs,min,days.....so if i wanted it to change every 5-10mins for testing new files.

*also thank you for the GM commands. Unfortunately they don't seem to work for me. I put those in and i can see i used ADMIN command in terminal on server, they just don't give any feedback info in game on my screen.

Thanks.
 
Last edited:

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
As for the commands, check your src/server/zone/objects/creature/commands/ to see if you have the /gmFSVillage command in there and check what settings it is configured too. The time breaks down as follows.

3 * 7 * 24 * 60 * 60 * 1000
week * day * hour * minute * second * millisecond
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
If you are only seeing 2 phases then you have the pre-pub9 code. If you have made any changes I would recommend downloading the new code and then applying the changes to it. If you haven't made any changes yet then great just download the new code and start from there. The latest Zonamadev by Lord Kator is really good. I think that the build process is more efficient using the Debian 9 build. It appears to be so much quicker.
 

Trenn

New Member
Joined
Jun 25, 2015
Messages
10
As for the commands, check your src/server/zone/objects/creature/commands/ to see if you have the /gmFSVillage command in there and check what settings it is configured too. The time breaks down as follows.

3 * 7 * 24 * 60 * 60 * 1000
week * day * hour * minute * second * millisecond
Tnx. that helps break it down. :)
I did look at ZD image, what i didn't understand is if that is run on host machine or in VM ? what i read is all the stuff you need to down load is on host machine, Which i don't really like to run from. I didn't actually see a VM image anywhere in his Github.
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
it is a vm that runs on a host machine, the only stuff installed on the actual host is vagrant, git bash and oracle virtual box. The server itself will run in the VM. There is two ways you could do it if you don't want to run it from the host. First download the VM process onto your host and then export the image to another provider (I have managed to get it working on VMWare). The other way, there is a guide in the wiki on their github page that describes building a server standalone. (The guide itself is for Debian 8) I can send you a guide I made up for builiding Debian 9 if you wish.
 
Top Bottom