ULX

Author Topic: Custom ULX Commands / Server Mail  (Read 175161 times)

0 Members and 1 Guest are viewing this topic.

Offline Rico Aarntzen

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Custom ULX Commands / Server Mail
« Reply #75 on: August 05, 2015, 09:47:06 AM »
I'm wondering the same; Both versions of Custom Commands don't load for me. Do they conflict with other ULX addons? (URS, ULX Cleanup Kit, and ULX Player Noted in particular.) Or is it simply outdated? Either way, I really want to get this plugin to work.

Let's wait till the owner of this addon replies, it's a really good addon, because i can finally IP-ban becauze some <censored, keep this a family place> keeps creating shared steam accounts and keeps trolling my server -.- SteamID ban is useless because he just creates another account with shared games.
Any other solution? :l
« Last Edit: August 05, 2015, 07:19:33 PM by JamminR »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8098
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Custom ULX Commands / Server Mail
« Reply #76 on: August 05, 2015, 07:18:55 PM »
Original owner 'cobalt' hasn't been here since Feb 2015.
Might have better luck sending him private message through the forum.

As for the family sharing, you may also find code ideas in this thread more helpful
http://forums.ulyssesmod.net/index.php/topic,7021.0.html
I've no idea if they work, but seemed to at the time the dev spoke about it.
Would require you to get a steamapi key using instructions in a URL he has in code.

As for this command, /server mail, try PMing the owner and see if he replies/updates with any info.
You're really likely going to need to provide lua errors though for anyone to help.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Re: Custom ULX Commands / Server Mail
« Reply #77 on: October 25, 2015, 04:45:26 AM »
Where do i post this i need help :p

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8098
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Custom ULX Commands / Server Mail
« Reply #78 on: October 25, 2015, 10:18:53 AM »
Where do i post this i need help :p
You really need to research how to run a server and install addons.
Most include instructions inside the zip files.
In fact, this one includes a READTHIS.txt file that has very important notes in it.
2 sentences in it. I suggest READING it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline ZM

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
Re: Custom ULX Commands / Server Mail
« Reply #79 on: November 22, 2015, 11:08:50 AM »
I'm confused, where do I put this on my server?

I have 2 other Owners along with me, and we can not figure out what to do or even how to add it.

Offline Vilobion

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Custom ULX Commands / Server Mail
« Reply #80 on: December 01, 2015, 10:01:22 AM »
Hey, I'm having issues getting this to work on a new Nitrous Networks server that uses TCAdmin as a control panel. I've added the files to the (hopefully) correct folder, but upon joining as Superadmin I see no additional commands. I'm wondering if this is something I mucked up or some snarl with TCAdmin.

SOLVED

Turns out capital letters in filenames was preventing the addon from working.
« Last Edit: December 01, 2015, 03:47:40 PM by Vilobion »

Offline Officially

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Re: Custom ULX Commands / Server Mail
« Reply #81 on: January 01, 2016, 10:51:43 AM »
I'm confused, where do I put this on my server?

I have 2 other Owners along with me, and we can not figure out what to do or even how to add it.
It's actually really simple, which surpises me that 3 owners can't figure it out. You have to go into the addon folder for the server's Garry's Mod and extract it there.

Offline Officially

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Re: Custom ULX Commands / Server Mail
« Reply #82 on: January 01, 2016, 10:54:26 AM »
I do have a problem myself, however. Moderators on the server I play on have recently been granted access to the 'ulx tsaycolor' command, but have been unsuccessful at binding it when the message is more than one word long. Does anyone have a solution to this?
« Last Edit: January 02, 2016, 08:14:11 AM by Officially »

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Custom ULX Commands / Server Mail
« Reply #83 on: January 02, 2016, 04:02:39 AM »
I do have a problem myself, however. Moderators on my server have recently been granted access to the 'ulx tsaycolor' command, but have been unsuccessful at binding it when the message is more than one word long. Does anyone have a solution to this?

Use quotation marks ""
Once you get to know me, you'll find you'll have never met me at all.

Offline Officially

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Re: Custom ULX Commands / Server Mail
« Reply #84 on: January 02, 2016, 07:26:07 AM »
Use quotation marks ""
We've tried that. Here's what we're trying to do: bind p "ulx tsaycolor message here red". We can't insert a pair of quotation marks within the command.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8098
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Custom ULX Commands / Server Mail
« Reply #85 on: January 02, 2016, 08:44:50 AM »
You can do it.
You have to escape them, but you just have to figure out how.
Google says for TF2 console you have to use double doublequotes ( "" )
In Gmod lua, you can use \", no idea if Gmod is same for console commands.
With Gmod, it could go either way, but I'd try "" first.
bind p "ulx tsaycolor ""message here red"" " (I've not studied this addon's command stucture, does red get included as part of the say string, or after, if after, place it after 'here')
Perhaps
bind p "ulx tsaycolor \"message here red\" "
And, even perhaps singlequotes.
bind p "ulx tsaycolor 'message here red' "
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Officially

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Re: Custom ULX Commands / Server Mail
« Reply #86 on: January 03, 2016, 05:19:43 AM »
You can do it.
You have to escape them, but you just have to figure out how.
Google says for TF2 console you have to use double doublequotes ( "" )
In Gmod lua, you can use \", no idea if Gmod is same for console commands.
With Gmod, it could go either way, but I'd try "" first.
bind p "ulx tsaycolor ""message here red"" " (I've not studied this addon's command stucture, does red get included as part of the say string, or after, if after, place it after 'here')
Perhaps
bind p "ulx tsaycolor \"message here red\" "
And, even perhaps singlequotes.
bind p "ulx tsaycolor 'message here red' "
So far no joy with that either. I'd edit it in the config.cfg file, but it's not updating without closing Garry's Mods and my binds will reset once I quit. I'm attempting something quite far-fetched, but I thought that if I swap around a few of the lines in the code for the tsaycolor part of the addon, it could adjust the order so that the colour would go first, which would fix it. I'd be changing
Code: [Select]
tsaycolor:addParam{ type=ULib.cmds.StringArg, hint="message" }
tsaycolor:addParam{ type=ULib.cmds.StringArg, hint="color", completes=ulx_tsay_color_table, ULib.cmds.restrictToCompletes } -- only allows values in that table
Code: [Select]
tsaycolor:addParam{ type=ULib.cmds.StringArg, hint="color", completes=ulx_tsay_color_table, ULib.cmds.restrictToCompletes } -- only allows values in that table
tsaycolor:addParam{ type=ULib.cmds.StringArg, hint="message" }

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Custom ULX Commands / Server Mail
« Reply #87 on: January 04, 2016, 05:49:18 AM »
Did you do it to the command's proper formatting? I noticed JamminR's was a bit off.

bind p "ulx tsaycolor 'message here' red"
Once you get to know me, you'll find you'll have never met me at all.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8098
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Custom ULX Commands / Server Mail
« Reply #88 on: January 04, 2016, 06:29:24 AM »
Whis is why I mentioned not being sure of the command structure in my first example. :)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Officially

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Re: Custom ULX Commands / Server Mail
« Reply #89 on: January 04, 2016, 07:05:34 AM »
Did you do it to the command's proper formatting? I noticed JamminR's was a bit off.

bind p "ulx tsaycolor 'message here' red"
I tried that, but still no joy. It's no huge loss, so I'll just have to live without it.  :-[