Tips and tricks and commands for running a SWGEMU development server.
Sunday, June 16, 2024
Player Run Cities Guide
Wednesday, June 5, 2024
Commands in SWGEMU for creating items
This was orginally found at https://modthegalaxy.com/index.php?resources/sie.1/
Disguise your character and other characters
Battle Droid 2
/object createitem object/tangible/deed/vehicle_deed/landspeeder_av21_deed.iff
/object createitem object/tangible/deed/vehicle_deed/landspeeder_x31_deed.iff
/object createitem object/tangible/deed/vehicle_deed/landspeeder_x34_deed.iff
/object createitem object/tangible/deed/vehicle_deed/speederbike_deed.iff
/object createitem object/tangible/deed/vehicle_deed/speederbike_flash_deed.iff
/object createitem object/tangible/deed/vehicle_deed/speederbike_swoop_deed.iff
/object createitem object/tangible/deed/vehicle_deed/vehicle_deed_base.iff
/object createitem object/tangible/deed/vehicle_deed/vehicular_prototype_bike_deed.iff
/object createitem object/tangible/deed/vehicle_deed/vehicular_prototype_deed.iff
Now a bit of a different command if you want to spawn a Blue Frog at
your current location type in /object characterbuilder
/move back 1-500
/move up 1-500
/move down 1-500
/rotate left 1-180
/rotate right 1-180
/movefurniture down 10
/movefurniture up 5
/movefurniture down 5
/movefurniture up 1
/movefurniture down 1
The command to create and object from the loot table is
/object createloot krayt_tissue_rare 500
/object createloot krayt_dragon_pearl 500
/object createloot power_crystals 500
/object createloot color_crystals 500
Ok so how do you get the name of the items you can create?
It is actually pretty easy I will use the krayt dragon pearl as an example.
So you look at the lua file for example at this location
You will see a line that says something like this
{itemTemplate = "krayt_dragon_pearl", weight = 10000000}
So your item name is krayt_dragon_pearl
And to create the item type in the following:
/object createloot krayt_dragon_pearl 500
Or on some of the items you will see a name something like this I will use the Gurk King hide
as an example here.
addLootItemTemplate("gurk_king_hide", gurk_king_hide)
so you would use the following command to get the hide
/object createloot gurk_king_hide 500
Sunday, June 2, 2024
Getting Started
development enviroment.
If you don't have a development enviroment
already running see the link bellow
SWG Development Enviroment Install Guide
This guide assumes that you already have the
enviroment compiled and up and running already.
To make yourself an admin your client must be
setup properly and your client must allow
you to also be admin.
The whole folder where I put all of the documents
can be seen at the following location.
SWGEMU Dev Help Files
In your SWGEMU directory in the user.cfg you
must put this in the user.cfg file under
[ClientGame]
[ClientGame]
0fd345d9 = true
A typical user.cfg can be found at the link bellow if
you are having a hard time with this.
user.cfg file
Now for the different admin levels for /setGodMode to set god mode
on another player you use this for the admin levels.
/setGodMode <name> <admin level> | on | off>
15 = Administrator
14 = Developer
13 = Quality assurance (QA)
12 = Community Support Representative (CSR)
11 = Event Coordinator (EC)
10 = Event Coordinator Intern (ECI)
9 = Community Support Intern (CSI)
8 = CT
7 = CC
6 = Tester
1 = Intern
0 = Non-privileged player (the default admin_level)
If this is a NEW server you need to create an account
first but NOT a character create the account log in
and create an account but NOT a a character again ONLY
create the ACCOUNT then log out and modify the account and
set it to 15 for administrator.
I would higly recommend using phpmyadmin
If you are on Debian 11 / 12 you can use the command
apt-get install phpmyadmin
YOU WILL HAVE TO EDIT THE COMMANDS BELLOW this assumes
your username for the SWGEMU Database is swgemu if it is
not you will have to change that.
make sure you have mariadb already installed you should
have it installed already by this point.
If you don't install mariadb server and client
apt-get install mariadb-server mariadb-client
If you don't have a fully installed eviroment yet then
at the command prompt type in the following to startup
mysql
mysql -u swgemu -p
Enter password: <MYSQL_PASSWORD>
Where it says <MYSQL_PASSWORD> put in your mysql
password for the database that you should already have
setup.
Now at the MYSQL prompt you will want to issue a command
like this. DO NOT RUN this! SOME OF THESE COMMANDS MAY
show databases;
use swgemu;
select * from accounts;
update accounts set admin_level='15' where username='Your_account_name';
flush privileges;
exit
Now log back into your account and create a character if you create the
character before it will NOT get admin rights you had to do all of that
first.
your server if everything was successfu when you log into your character on the
Enter password: <MYSQL_PASSWORD>
use swgemu;
select * from accounts;
update accounts set password='password' where username='Account_Name';
flush privileges;
exit
Enter password: <MYSQL_PASSWORD>
use swgemu;
select * from accounts;
update accounts set password='password' where username='Account_Name';
flush privileges;
exit
To set another player to "God Mode" type /setgod with the player selected. You also have to already have god mod following the instructions above.
To set the OID or hide them type
You can toggle them off using this: /shownet 0
You can restore them using this: /shownet 1
Stop Enemies From Attacking You /aiIgnore
To warp to a planet
Syntax: /teleportTarget x y z Example: /teleportTarget phoenix 666 0 -666
This command will teleport the named character to the specific waypoint / co-ordinates.
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. ...
-
So there was a file a long time ago on a Google Drive called "Commands V2 - Sorted.pdf" I still had a copy of this file on my ha...
-
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 els...
-
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 ski...