Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0000233opensim-SCFeaturepublic2021-07-02 04:49
Reporteronefang Assigned Toonefang  
PriorityhighSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Target Version0.9.1.1Fixed in Version0.9.1.1 
Summary0000233: Auto figure out things like simXX and port numbers.
DescriptionMakes it a lot easier to enable and disable sims, and re arrange them.
TagsNo tags attached.

Relationships

related to 0000156 resolvedonefang Allow startup priority by RegionType 

Activities

onefang

onefang

2021-06-13 18:06

administrator   ~0000342

Last edited: 2021-07-01 16:31

There's no command line option to provide port numbers, or .ini constants. So could just create a temporary .ini file to pass to -inifile.

Use the sorted order and number number field in sims.lua to calculate ports on startup.

Soooo -
  sim number = 0
  if first sim in [type] then
    if [number] then sim number = [number]
  HTTP = sim number x 2, UDP = sim number x 2 + 1
  sim number ++
onefang

onefang

2021-06-30 20:13

administrator   ~0000379

Last edited: 2021-07-01 22:45

Hmmm, changing the Const.mysim number currently means the log files end up with random sims in them. So use the tmux short names for the logs.
onefang

onefang

2021-06-30 20:32

administrator   ~0000380

Last edited: 2021-07-01 16:16

etc/sims.lua -


sims =  -- Note these are .shini / tmux tab short names.
{
  {["type"] = "Important"; "Welcome", "Sandbox", "Shops"},
  {["type"] = "Rentals"; "Karen", "Bob"},
  {["type"] = "Freebies"; "Gifts", "Free"},
  {["type"] = "unsorted"; "New"},  -- NOTE - this is where new ones go to by default.
  {["type"] = "Water"; ["number"] = 90; "Water0", "Water1", "Water2", "Water3", "Water4"},
  {["type"] = "Heavies"; ["number"] = 70; "DP", "ARSE"},
}
onefang

onefang

2021-07-01 16:19

administrator   ~0000384

Note I am not using RegionType. While CG has things set up that way it would be useful, other grids might not. I tend to use "owners name private sim" or some such. CG would still have to configure which order which types start in anyway.

Issue History

Date Modified Username Field Change
2021-05-28 06:38 onefang New Issue
2021-05-28 06:38 onefang Status new => assigned
2021-05-28 06:38 onefang Assigned To => onefang
2021-05-28 06:39 onefang Relationship added related to 0000156
2021-06-13 18:06 onefang Note Added: 0000342
2021-06-13 19:07 onefang Note Edited: 0000342
2021-06-24 00:20 onefang Priority low => high
2021-06-30 20:13 onefang Note Added: 0000379
2021-06-30 20:15 onefang Note Edited: 0000379
2021-06-30 20:32 onefang Note Added: 0000380
2021-06-30 20:34 onefang Note Edited: 0000380
2021-06-30 20:36 onefang Note Edited: 0000380
2021-06-30 20:38 onefang Note Edited: 0000380
2021-06-30 20:39 onefang Note Edited: 0000380
2021-07-01 01:30 onefang Note Edited: 0000380
2021-07-01 16:11 onefang Note Edited: 0000380
2021-07-01 16:11 onefang Note Edited: 0000379
2021-07-01 16:11 onefang Note Edited: 0000380
2021-07-01 16:16 onefang Note Edited: 0000380
2021-07-01 16:16 onefang Note Edited: 0000380
2021-07-01 16:19 onefang Note Added: 0000384
2021-07-01 16:31 onefang Note Edited: 0000342
2021-07-01 22:45 onefang Note Edited: 0000379
2021-07-02 04:49 onefang Status assigned => resolved
2021-07-02 04:49 onefang Resolution open => fixed
2021-07-02 04:49 onefang Fixed in Version => 0.9.1.1