Game Guides Archive

Thread: HOW-TO: Create an persistant private chat in SWG

themorph
Wed Nov 17, 2004 5:46 am
#1


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,




TrustHonorOrderRespecT
[ THOR ]
VuvvikAkikoe KiyomorKenduko Kiyomor
Miragon, Corellia, CORBANTIS `~



themorph
Wed Nov 17, 2004 5:52 am
#2

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.<Server>.chat.<CHAT> Here goes my text.


create yourself an alias for it:
/alias mc /swg.<Server>.chat.<CHAT>


now you can this to talk in the chat, without switching to the tab
/mc Here goes my text


greetz,



TrustHonorOrderRespecT
[ THOR ]
VuvvikAkikoe KiyomorKenduko Kiyomor
Miragon, Corellia, CORBANTIS `~



Alzanob-CH
Wed Nov 17, 2004 6:45 am
#3

Nice guide!
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



-= Horak Alza, Urban Planner, Mayor of Gaia, Talus =-
Politician--Master Artisan--Master Shipwrighter--Master Merchant

-= Nicoletta Alza, Jedi Padawan =-
Healer--Enhancer--Defender
ALZA Consumer Sale, Gaia 5267 -524


JerikSkyr
Wed Nov 17, 2004 6:47 am
#4

awesome post, thx!



///Jerik Skyr\\\
××Leader of the InquisitionØØ

Intrepid - Kettemoor
"Vi Veri Veniversum Vivus Vici"
INQ-5
Vender: Intrepid - Antares, Naboo -984, 5999
Kettemoor - Inquisition, Dantooine
Night4554
Wed Nov 17, 2004 11:10 am
#5

Great info. Could I ask you chat gurus to teach me how to quit a chat room I don't want to be in anymore though? (I choose Leave Chat from the Join Channels window, but also go back after a client restart or shuttling it seems.



---------
Niiight the Wookiee on Starsider - The Third Jetpack Crafter
Game B0rin | Forum Wh0rin

themorph
Thu Nov 18, 2004 2:41 am
#6

Tried to leave chat + manually removing the chat tab?


I have been talking to a CSR yesterday. CSRAustenB or something like that ...
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?



A is creator of the chat, B and C are joining in...

A logs out ... system is joining in to keep the chat alive...
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 ...

But if you have a big community it will be hard to make the first who is logging running
the macro ... so i will keep trying around.


My next idea is not creating the chat in swg.<SERVER>.chat as the chat-folder is supposed for
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...


Well, i will keep you updated...

greetz,



TrustHonorOrderRespecT
[ THOR ]
VuvvikAkikoe KiyomorKenduko Kiyomor
Miragon, Corellia, CORBANTIS `~



GotEgg
Thu Nov 18, 2004 12:16 pm
#7


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 text
greetz,




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




Venxen Rehq :: Master Swordsman | Master Brawler | Master Loot Monkey

Veho Rehq :: Master Fencer | Master Doctor | Master FOTM'er

R.I.P Rruhg :: Master Bio-Engineer | Master Doctor

SharellT
Thu Nov 18, 2004 4:34 pm
#8

Very useful. And creative.
5 stars!



- Colonel Sharell Teope - Carbine Specialist - Officer - Blue Squadron Pilot -
- Senator Shay'la Teope - Master Composer - Businesswoman - Retired -
- Agent Shiar'a Teope - Saboteur - Slicer -
- Field Agent Dossier(Rebel Quest Guide)(Pre-NGE) -

themorph
Sat Nov 20, 2004 10:29 am
#9

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




TrustHonorOrderRespecT
[ THOR ]
VuvvikAkikoe KiyomorKenduko Kiyomor
Miragon, Corellia, CORBANTIS `~



themorph
Thu Feb 17, 2005 2:49 am
#10

Seen a chat question lately and thought i might bump this again



TrustHonorOrderRespecT
[ THOR ]
VuvvikAkikoe KiyomorKenduko Kiyomor
Miragon, Corellia, CORBANTIS `~



Page 1 of 1
Previous Next