Saturday, July 13, 2019

Granting Skills

If you are running your own private swgemu server then once
you get it up and running you will want to give your character
some of the skills here is a list of the skills to give him master
in each one. This is by no means a full list of all the boxes but
if you are looking to gain only certain boxes
on a skill tree I would take a look at this site
SWGEMU Skill boxes for each tree

Social

/grantSkill social_entertainer_master;
/grantSkill social_imagedesigner_master;
/grantSkill social_dancer_master;
/grantSkill social_musician_master;
/grantSkill social_politician_master;



Crafting


/grantSkill crafting_artisan_master;
/grantSkill crafting_armorsmith_master;
/grantSkill crafting_weaponsmith_master;
/grantSkill crafting_chef _master;
/grantSkill crafting_tailor_master;
/grantSkill crafting_merchant_master;
/grantSkill crafting_architect_master;
/grantSkill crafting_droidengineer_master;
/grantSkill crafting_shipwright_master;



Science

/grantskill science_medic_master;
/grantskill science_combatmedic_master;
/grantskill science_doctor_master;



Outdoors

/grantskill outdoors_scout_master;
/grantskill outdoors_bio_engineer_master;
/grantskill outdoors_creaturehandler_master;
/grantskill outdoors_squadleader_master;
/grantskill outdoors_ranger_master;


Combat

/grantSkill combat_brawler_master;
/grantSkill combat_marksman_master;
/grantSkill combat_rifleman_master;
/grantSkill combat_pistol_master;
/grantSkill combat_carbine_master;
/grantSkill combat_unarmed_master;
/grantSkill combat_1hsword_master;
/grantSkill combat_2hsword_master;
/grantSkill combat_bountyhunter_master;
/grantSkill combat_commando_master;
/grantSkill combat_smuggler_master;
/grantSkill combat_polearm_master;


Jedi

Light Master: /gmJediState 4;
Dark Master: /gmJediState 8;
/grantPadawanTrialsEligibility;
/grantSkill force_rank_light_master;
/grantSkill force_rank_dark_master;
/grantSkill force_sensitive_heightened_senses_master;
/grantSkill force_sensitive_enhanced_reflexes_master;
/grantSkill force_discipline_light_saber_master;
/grantSkill force_discipline_powers_master;
/grantSkill force_discipline_defender_master;
/grantSkill force_discipline_healing_master;
/grantSkill force_discipline_enhancements_master;
/grantSkill force_sensitive_combat_prowess_master;
/grantSkill force_sensitive_crafting_mastery_master;

Robes for Jedi

/object createitem object/tangible/wearables/robe/aakuan_robe.iff
/object createitem object/tangible/wearables/robe/robe_inquisitor.iff
/object createitem object/tangible/wearables/robe/robe_jedi_dark_s01.iff
/object createitem object/tangible/wearables/robe/robe_jedi_dark_s02.iff
/object createitem object/tangible/wearables/robe/robe_jedi_dark_s03.iff
/object createitem object/tangible/wearables/robe/robe_jedi_dark_s04.iff
/object createitem object/tangible/wearables/robe/robe_jedi_dark_s05.iff
/object createitem object/tangible/wearables/robe/robe_jedi_light_s01.iff
/object createitem object/tangible/wearables/robe/robe_jedi_light_s02.iff
/object createitem object/tangible/wearables/robe/robe_jedi_light_s03.iff
/object createitem object/tangible/wearables/robe/robe_jedi_light_s04.iff
/object createitem object/tangible/wearables/robe/robe_jedi_light_s05.iff
/object createitem object/tangible/wearables/robe/robe_jedi_padawan.iff
/object createitem object/tangible/wearables/robe/robe_jedi_test.iff


Languages

/grantskill social_language_zabrak_speak;
/grantskill social_language_zabrak_comprehend;
/grantskill social_language_zabrak;
/grantskill social_language_wookiee_speak;
/grantskill social_language_wookiee_comprehend;
/grantskill social_language_wookiee;
/grantskill social_language_twilek_speak;
/grantskill social_language_twilek_comprehend;
/grantskill social_language_twilek;
/grantskill social_language_trandoshan_speak;
/grantskill social_language_trandoshan_comprehend;
/grantskill social_language_trandoshan;
/grantskill social_language_sullustan_speak;
/grantskill social_language_sullustan_comprehend;
/grantskill social_language_sullustan;
/grantskill social_language_rodian_speak;
/grantskill social_language_rodian_comprehend;
/grantskill social_language_rodian;
/grantskill social_language_moncalamari_speak;
/grantskill social_language_moncalamari_comprehend;
/grantskill social_language_moncalamari;
/grantskill social_language_lekku_speak;
/grantskill social_language_lekku_comprehend;
/grantskill social_language_lekku;
/grantskill social_language_ithorian_speak;
/grantskill social_language_ithorian_comprehend;
/grantskill social_language_ithorian;
/grantskill social_language_bothan_speak;
/grantskill social_language_bothan_comprehend;
/grantskill social_language_bothan;

If you decide that you don't want a skill any more
you use the command /surrenderskill


IE: /surrenderskill outdoors_bio_engineer_tissue_02;

Now the only thing missing here are the pilot skills because as of
the time when this was created space is not functioning yet.

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.

Friday, July 12, 2019

Creating custom resources on swgemu

So once you get your server up and running you may want to create
your own custom resources and this is how you do it!

In case anyone else has this issue when you are running your
own server and trying to generate your own resources on the
server and it isn't letting you use the stats that you want it
is probably because the stat name is wrong. It seems
to be very picky about resource stat name format.

/gmcreatespecificresource radioactive res_potential_energy,1000
will spawn a radioactive of random type with 1000 PE (normal attribute
caps are ignored).

/gmcreateclassresource hide_leathery_lok res_quality,200 res_shock_resistance,800
will spawn a lokian leathery hide with 200 OQ and 800 SR

Now a really good list of all the resource names can be found at
Resource Tree


To find the correct name for all the stats I had to go digging
though the source code I found this in

Core3/MMOCoreORB/src/server/zone/objects/resource/ResourceSpawnImplementation.cpp

Here is a list of all the stats names off of resources and
the correct format to use.

res_cold_resist
res_conductivity
res_decay_resist
res_heat_resist
res_flavor
res_malleability
res_potential_energy
res_quality
res_shock_resistance
res_toughness


I hope this helps everyone else out that is running their own SWGEMU server currently and saves
you some time from having to dig though the source code.

 

Then when you want to give yourself the new resource it should have said on your screen
when you created the resource before the name of that.. Remember that because you are going
to need it now.
 
To give yourself some of that resource type in 
 
/resource create <name>  <amount>
 
So in this example I created a new steel_duralloy so it told me the name was Kihimi 
so for me to get some of that resource I type in  the following: 
 
/resource create Khimi 1000000

 
Some other commands you will need while creating new resources are bellow.

/resource <option> [params] Debug command to perform some type of raw 
                                               command with the resource manager.

/resource list <planet> Lists resources on specified planet

/resource info <resource name> Lists Info about a specific resource

/resource find <class> <attribute> <gt|lt> <value> [<and|or>
                       <attribute> <gt|lt> <value> [...]] FInds specific resouce

/resource create <name> [quantity] Spawns resource in inventory
 
/gmCreateClassResource <resourceClass> Creates a new resource based on the specified class. 
                                                                     Resource Tree

/gmCreateSpecificResource <specifiedResource> [amount] Creates a resource spawn of a 
                                                                                                 specific resource.

 

More than 250 Skill points on a swgemu private server

How to Make your Character have more than 250 Skill Points on your own server:

make sure the swgemu server is shut down properly before doing this.

This file that you will be looking for is located in

Core3/MMOCoreORB/src/server/zone/managers/skill

Look for SkillManager.cpp and open it.

look for 250 change it to 11250, then look for 250 again, change it again to 11250


The first instance of this for me was around line 333 but this is subject
to change as the code changes.

int totalSkillPointsWasted = 250;

And then the next one was down around line 490

int totalSkillPointsWasted = 250;

This does require a rebuild of the source code so go do
a make -j8 or how many cores you have in

Core3/MMOCoreORB

IE: since i have 4 cores I do a make -j4

Once everything has compiled OK then restart your server and
the changes will take effect.

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.    ...