Quote:
Originally Posted by Nilzao
Chat broadcast is from url with any browser, not in game, i willl put it into Readme.
2 players with soapbox-race-udp project, but the player with the lowest personaId have to create lobby.
Need a cracked nfsw.exe too
|
I removed the RaceResultGadget chat announce "%personaName% just finished %eventId% in %time%." after the DB sync fix. I should re-add it back though, fyi.
Others, chat announce works like this:
http://server.url:port/nfsw/Engine.svc/sendChatAnnouncement?messageText=YOURMESSAGETEXT&u serVar=TYPEOFMESSAGE
server.url is your server hostname, it is localhost if you're hosting the server.
port number is the port server is hosted on, by default it's 1337.
messageText is where you put the text you message you want to be announced. Doesn't have to be all caps, it also supports XML Line Break, which is:
userVar is a switch that changes the way the message is announced:
- userVar=session will send the message to all of the active HTTP sessions.
- userVar=xmpp will send the message to all of the active XMPP sessions.
I'd suggest using xmpp.