• Print

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

0 Members and 1 Guest are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Custom ULX Commands / Server Mail
« Reply #45 on: December 02, 2014, 07:48:35 pm »
If you look at the wiki for Gmod gui.Openurl as linked in a previous post, a year ago, someone posted that https isn't working.
I've no idea if that's been fixed, as I don't track Gmod update change logs.
Additionally, Source HTML interpreter (which, Gmod uses) is extremely picky about the html and urls it will view.

That being said, I just tried changing my Steam client to BIG PICTURE mode, went to the "web", "new tab", pasted in the URL you provided, and got an error 105 - can't connect to server.
Might be something wrong with your URL, or, if it works in a normal browser (I didn't test), then its something with Source HTML/browser.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Shalmendo

  • Newbie
  • *
  • Posts: 36
  • Karma: 1
Re: Custom ULX Commands / Server Mail
« Reply #46 on: December 03, 2014, 03:44:20 pm »
If you look at the wiki for Gmod gui.Openurl as linked in a previous post, a year ago, someone posted that https isn't working.
I've no idea if that's been fixed, as I don't track Gmod update change logs.
Additionally, Source HTML interpreter (which, Gmod uses) is extremely picky about the html and urls it will view.

That being said, I just tried changing my Steam client to BIG PICTURE mode, went to the "web", "new tab", pasted in the URL you provided, and got an error 105 - can't connect to server.
Might be something wrong with your URL, or, if it works in a normal browser (I didn't test), then its something with Source HTML/browser.

That certainly clears things up!

I guess the best workaround would be to use a shortened URL that isn't HTTPS so it can take a redirect to an https after the fact.
« Last Edit: December 04, 2014, 07:57:34 am by Shalmendo »

Offline Bryantdl7

  • Jr. Member
  • **
  • Posts: 86
  • Karma: -2
Re: Custom ULX Commands / Server Mail
« Reply #47 on: December 04, 2014, 05:02:58 am »

Garry broke the crash thing, sorry about that.

Ply:SendLua CamEnd3d() still works i think. Will edit this later on if its not what im thinking.



Offline Marz

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Custom ULX Commands / Server Mail
« Reply #48 on: December 05, 2014, 06:20:33 pm »
Wasn't this on coderhire?

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Custom ULX Commands / Server Mail
« Reply #49 on: December 06, 2014, 05:52:38 am »
Wasn't this on coderhire?

It was, then it was released for free here.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Dharmvir Sidhu

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • OMENS Gaming
Re: Custom ULX Commands / Server Mail
« Reply #50 on: December 18, 2014, 07:09:41 pm »
After adding the custom commands to my addons folder then restarting the server, i start to recieve several errors.

including
(in-game developer console)

Code: Lua
  1. [ERROR] gamemodes/terrortown/gamemode/cl_tips.lua:123: attempt to perform arithmetic on field 'TipIndex' (a nil value)
  2.   1. NextTip - gamemodes/terrortown/gamemode/cl_tips.lua:123
  3.    2. unknown - gamemodes/terrortown/gamemode/cl_tips.lua:213
  4.  


Offline Dharmvir Sidhu

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • OMENS Gaming
Re: Custom ULX Commands / Server Mail
« Reply #51 on: December 19, 2014, 04:27:57 pm »
After adding the custom commands to my addons folder then restarting the server, i start to recieve several errors.

including
(in-game developer console)

Code: Lua
  1. [ERROR] gamemodes/terrortown/gamemode/cl_tips.lua:123: attempt to perform arithmetic on field 'TipIndex' (a nil value)
  2.   1. NextTip - gamemodes/terrortown/gamemode/cl_tips.lua:123
  3.    2. unknown - gamemodes/terrortown/gamemode/cl_tips.lua:213
  4.  

after looking through the post some more, i realized people were told to delete version.lua which i did, then tested again, but i still continue to receive errors. I also forgot to mention the error that i receive in the server console which is as follows

http://imgur.com/DOvmp4m&BPcXoHf

and when a player connects:

http://imgur.com/DOvmp4m&BPcXoHf#1


Offline Will Creamer

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Custom ULX Commands / Server Mail
« Reply #52 on: March 12, 2015, 12:01:33 am »
Please help i installed the folder and deleted version.lua but none of the commands are working.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Custom ULX Commands / Server Mail
« Reply #53 on: March 23, 2015, 09:28:28 am »
How Do I Change The Category Name, All Ive Got Is Custum When I Want It "Livaco's Added Commands"
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Stranger Danger

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
Re: Custom ULX Commands / Server Mail
« Reply #54 on: March 23, 2015, 11:12:19 am »
I actually tried to !crash myself yesterday and it didn't work. But I am pretty sure I have an un updated version of custom commands. Ill update and try again.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Custom ULX Commands / Server Mail
« Reply #55 on: March 23, 2015, 11:44:27 am »
!crash doesn't work because of a Garry's Mod update a while back; /index.php/topic,7268.15.html#msg36706 />
Garry broke the crash thing, sorry about that.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline allofmywutsteam

  • Full Member
  • ***
  • Posts: 136
  • Karma: 3
  • MNWO Owner
    • MNWO Discord
Re: Custom ULX Commands / Server Mail
« Reply #56 on: March 25, 2015, 08:43:44 pm »
SOLVED.

I've had THIS MOTD ADDON for some time and it worked fine. Then I add aTAGS to replace chat tags AND wyozi's broken tag editor to make easier for myself.

Anyway, I noticed atags affected my "!motd" function and reached out to both creators. Jack was cool enough to circumvent the problem. Now I'm adding these extra ulx commands (not the server mail yet), and the atags (chat side, not scoreboard side) are being affected. I submitted a ticket for his aid, but Jack mentioned something about "PlayerSay" hooks or something.

I know nothing about lua coding, but was wondering if there is a quick fix to these addons? I'm assuming this issue will persist as I add more chat based addons, so it will need to be fixed from the atags perspective, but that's long term, worst case scenario. Or should I just wait for the atags addon to be tweaked?

FYI: I tested 4 addons to see which was conflicting with atags (awarn, rsay, extra commands, restart server), and the extra commands from this thread was the winner (across two servers).

UPDATE: I deleted version.lua (to stop the join sound), and deleted chattags.lua to prevent it from conflicting with the chat. This has successfully worked on my 2nd server (few addons), but the sound and the chat discoloration is still persistent in my first server (more addons).

UPDATE 2: I went to delete the addon and noticed in the news feed that I was deleting version.lua and chattags.lua... so I was like hold on hold on I already deleted these. So I deleted the addon, and reuploaded the addon, sans these two files, and we seem to be good to go. Thanks for the help anyway!
« Last Edit: March 25, 2015, 09:29:40 pm by allofmywutsteam »
"Then Jesus said to his disciples, 'Whoever wants to be my disciple must deny themselves and take up their cross and follow me.'" - Matthew 16:24



MNWO: Steam | Discord | Website | Join Server

Offline allofmywutsteam

  • Full Member
  • ***
  • Posts: 136
  • Karma: 3
  • MNWO Owner
    • MNWO Discord
Re: Custom ULX Commands / Server Mail
« Reply #57 on: March 25, 2015, 09:53:27 pm »
Any way to prevent admins from being able to utilize any of their weapons while in !admin mode?

Although I choose my staff very carefully, they may want to troll each other from time to time, and I don't want that happening at all. I'd like for this command to be used strictly for observation's sake (e.g. verifying if someone is stuck out of the map, or if some one is camping)
"Then Jesus said to his disciples, 'Whoever wants to be my disciple must deny themselves and take up their cross and follow me.'" - Matthew 16:24



MNWO: Steam | Discord | Website | Join Server


Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Custom ULX Commands / Server Mail
« Reply #59 on: March 26, 2015, 05:20:04 am »
I fixed the crash command. It's a real dick thing to do, but if you want it, let me know.
*raises hand*
I have a few uses for an evil crash command.~
bw81@ulysses-forums ~ % whoami
Homepage

  • Print