ULX

Poll

Was any of these somewhat interesting or "cool"?

Yes, thank you :)
262 (96.7%)
No, do better next time :(
9 (3.3%)

Total Members Voted: 270

Author Topic: Player Connect/Disconnect Message [1.11v]  (Read 131319 times)

0 Members and 7 Guests are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Connect/Disconnect message
« Reply #105 on: August 01, 2014, 03:05:00 PM »
Ok a quick question again, how would i go about making it target a specific player. Like for example if i wanted it to only display the message to someone named Bob?

Here you go, check out the attachment below, and it will only tell you if players named "bob" joined now.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline PAL-18

  • Full Member
  • ***
  • Posts: 142
  • Karma: 1
Re: Player Connect/Disconnect message
« Reply #106 on: October 30, 2014, 02:25:41 AM »
Can you integrate Acecool's family share detector?

http://facepunch.com/showthread.php?t=1434178&p=46366667&viewfull=1#post46366667

It would be awesome if in addition to the current way a connected user is displayed, it also shows (to admins only) if the user is using family share and the steamid of the lender.

For example:

Quote
[Server] FamilyPlayer has joined the server.  [FAMILY SHARE PLAYER | LENDER ID: STEAM_0:0:123456]
« Last Edit: October 30, 2014, 02:46:05 AM by PAL-18 »

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Connect/Disconnect message
« Reply #107 on: November 03, 2014, 03:22:54 PM »
What is FamilyShare if someone could give some details on it, I'm too busy to put much research into it myself.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Player Connect/Disconnect message
« Reply #108 on: November 03, 2014, 03:26:49 PM »
What is FamilyShare if someone could give some details on it, I'm too busy to put much research into it myself.
Simply put, allows family members to share one primary account using separate logins. I believe each gets their own SteamID, but can share the same purchased game.
Prevents family members from all having to buy the same game however many times to play on the same PC, yet still allow separate accounts/friends/etc.


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Connect/Disconnect message
« Reply #109 on: November 03, 2014, 03:30:44 PM »
Simply put, allows family members to share one primary account using separate logins. I believe each gets their own SteamID, but can share the same purchased game.
Prevents family members from all having to buy the same game however many times to play on the same PC, yet still allow separate accounts/friends/etc.

Ahhh, so that's why they removed STEAMACCOUNTNAMES from ProgramFiles(x86)/Steam/SteamApps... and they added everything in Common.. Well, I don't really see a point in adding FamilyShare, that's just me though, I didn't really think that many people use that...
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Connect/Disconnect message
« Reply #110 on: November 12, 2014, 06:47:09 PM »
Updated All Plugins:
I updated all files/folder names to lowercase and underscores so that we won't have a problem with linux based server.

Special Thanks to Princess Twilight Sparkle
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline cocainelobster

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Player Connect/Disconnect message
« Reply #111 on: November 15, 2014, 07:25:32 AM »
How would I get it to show their name and steam ID? Thanks :D

Offline bender180

  • Full Member
  • ***
  • Posts: 217
  • Karma: 42
    • Benders Villa
Re: Player Connect/Disconnect message
« Reply #112 on: November 15, 2014, 07:43:45 AM »
How would I get it to show their name and steam ID? Thanks :D

just guessing here but it looks like if you open sv_player.lua and un comment line 11 and line 25 and in cl_layer.lua line 9 and 20 it should show steamid's
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Connect/Disconnect message
« Reply #113 on: November 17, 2014, 04:28:25 PM »
How would I get it to show their name and steam ID? Thanks :D

just guessing here but it looks like if you open sv_player.lua and un comment line 11 and line 25 and in cl_layer.lua line 9 and 20 it should show steamid's

You were correct, except in cl_player.lua you need to comment line 8 and 19 after you uncomment line 9, and 20
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline kurt731

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Player Connect/Disconnect message
« Reply #114 on: November 18, 2014, 10:02:58 AM »
ty

Offline bender180

  • Full Member
  • ***
  • Posts: 217
  • Karma: 42
    • Benders Villa
Re: Player Connect/Disconnect message
« Reply #115 on: November 18, 2014, 08:05:27 PM »
You were correct, except in cl_player.lua you need to comment line 8 and 19 after you uncomment line 9, and 20

I was gonna say that, i swear.
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.

Offline surprisedpatrick9

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Player Connect/Disconnect message
« Reply #116 on: December 18, 2014, 04:35:55 AM »
This goes in addons, right?

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Connect/Disconnect message
« Reply #117 on: December 19, 2014, 03:48:26 AM »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline [ROKnewbie]Gordon Freeman

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Player Connect/Disconnect message
« Reply #118 on: January 14, 2015, 11:15:30 PM »
Is there any way to change the sound that plays on connect/disconnect?

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Connect/Disconnect message
« Reply #119 on: January 15, 2015, 01:54:55 PM »
Is there any way to change the sound that plays on connect/disconnect?

in cl_player.lua, line 10 and line 21, just remove it, and it won't play the sound anymore.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.