Game Guides Archive
Thread: HOW-TO: Create an persistant private chat in SWG
Hello everyone,
a lot may have already tried to find a smart way to setup a private chat in StarWarsGalaxies.
The usual issues you may have faced are:
- Private chats get destroyed on reboot
- recreate the chat
- reinvite all members
- limited macro size
- chat gets public after reboot
Making a private chat once and invite all members might be no problem, but have to redo it
every day, will soon be annoying and hard work.
So you will need to create a macro.
Macro chat:
/ECHO CREATING THE CHATROOM
/chatRoom create swg.<SERVER>.chat.<CHAT> YES YES <CHAT_TITLE>;
/pause 3;
/ECHO JOINING THE CHAT
/chatRoom join swg.<SERVER>.chat.<CHAT>;
/ECHO INVITING MEMBERS
/chatRoom invite <PLAYER1> swg.<SERVER>.chat.<CHAT>;
/chatRoom invite <PLAYER2> swg.<SERVER>.chat.<CHAT>;
/ECHO GRANTING MODERATOR
/chatRoom op <PLAYER1> swg.<SERVER>.chat.<CHAT>;
/chatRoom op <PLAYER2> swg.<SERVER>.chat.<CHAT>;
Other People may simply execute a join macro.
Macro chat:
/ECHO JOINING THE CHAT
/chatRoom join swg.<SERVER>.chat.<CHAT>;
Players will stay on the online list either if they online or not. If the peoples ain't online
during the chat generation, they will not be granted moderate rights, but with using the macro
you can reinitiate the chat everytime you like to... I also use this as some kine of CALL for the
members, because every one in the list will get an invite message on his screen.
/chatRoom who swg.<SERVER>.chat.<CHAT> displays the members that have signed on,
/chatRoom invites swg.<SERVER>.chat.<CHAT> will display all members, that have been invited.
/chatRoom will give you a full command list for chat management.
When you community grows the invite list will grow larger than the number of lines allowed in
a macro. There are two ways to avoid that. One way is to creat sub-macroes for the invite list
and call them from your initial macro (/macro invite01
. The other way will be explained on
my idea for deploying the macro.
The next issue is deploying the creation macro to your members. As the first one who wents online
needs to generate the chat. Thats why i put my macro into an alias file.
Aliasfile: create.txt (no empty lines allowed in alias files)
line1 /ECHO CREATING THE CHATROOM; /line2;
line2 /chatRoom create swg.<SERVER>.chat.<CHAT> YES YES <CHAT_TITLE>; /line3;
line3 /pause 3; /line4;
line4 /ECHO JOINING THE CHAT; /line5;
line5 /chatRoom join swg.<SERVER>.chat.<CHAT>; /line6;
line6 /ECHO INVITING MEMBERS; /line7;
line7 /chatRoom invite <PLAYER1> swg.<SERVER>.chat.<CHAT>; /line8;
line8 /chatRoom invite <PLAYER2> swg.<SERVER>.chat.<CHAT>;
etc.
Every line represents an alias, and at the end of the line the next alias is called.
Ingame you now only have to execute the following macro. It loads the alias file
from your SWG-Directory and executes the first alias.
Macro: create
/load create.txt;
/pause 3;
/line1;
You can easily deploy the updated creation macro through a website and make sure the one
who is logging first always uses the latest creation macro and invites all current members.
This is still not the optimal solution, as with a changing community it will become more and
more difficult to add or remove members from the list and it may get a bit annoying to jump
to the website and download the latest macro. I wrote a little php-script to add and remove
players to the list, as well as a small tutorial to auto-download the latest file in your
SWG-Directory with a little double-click before starting SWG.
The download of the script and tutorial is available on my chat-page: http://swg.themorph.de
Now i am only facing one issue. The chat is not destroying on shutdown, instead it gets public
on reboot. All i figured out so far is, that the user system gets joins into the chat and keeps
it alive. I tried to add /chatRoom ban system swg.<SERVER>.chat.<CHAT> to my creation macro and
hope that the chat gets destroyed now, instead of staying alive and changing to public.
But as i just added it yesterday and can't log yet i don't know if it works. If it does i will
update the thread. If you know a way to keep system out of your chat or make sure that it gets
destroyed / stays private let me know.
greetz,
You can directly talk in the chat when using something like
/alias mc /swg.<Server>.chat.<CHAT>
/mc Here goes my text
We use a persistent chat from months now, but we leave this public. I will try to use your advice for the city's counsil room
really nice guy. Well, the only thing he could tell me was when SYSTEM comes into
game and he adviced me to open a feedback thread on that issue .. erm but i havent
found the link on www.starwarsgalaxies.com yet.. or is there ne forum for that?
Now after reboot B logs first and gets automatically creator of the new public
chat... There is only one way atm that will defenatly work. All members are forced
to run the init macro, then i will add an /chatRoom destroy swg.<SERVER>.chat.<CHAT>
at the beginning... only the creator can destroy it and that will work ...
the macro ... so i will keep trying around.
public chats. I will try to use a more generic name, like the ones you get when creating
a private chat manually .. hopefully it will get destroyed after reboot then...
themorph wrote:Also usefull for chatting is to use an alias for speaking in the chat.
You can directly talk in the chat when using something like/swg..chat. Here goes my text.create yourself an alias for it:
/alias mc /swg..chat.now you can this to talk in the chat, without switching to the tab
/mc Here goes my textgreetz,
This creates the alias spam (or it did, not sure if they removed that or not).
You can just type /<CHAN> to talk into the chat... i.e. if my channel is called Venxens_Chat, i could just type /ven hi everyone
(/ven might not work becuase it could be part of another command, but /venx will for sure.)
News 2004-11-17: Automatic file update enabled (read more)
News 2004-11-19: Fixxed some errors in the join macro.
News 2004-11-20: Member- and Invitelist is now sorted
Updated How-To section (with images now)
Member- and Invitelist is now sorted (for admin)
Added chat command to join macro (/cpa to speak in chat, /tpa to tell all chat members)
Updated download version
check it out : http://swg.themorph.de