ULX

Poll

Was this module useful, and helpful?

Yes :)
92 (94.8%)
No :(
5 (5.2%)

Total Members Voted: 96

Author Topic: URL Playsound Addon :) [2.28v]  (Read 122493 times)

0 Members and 2 Guests are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #30 on: July 30, 2013, 03:10:38 PM »
This is the only thing that comes up in my console when its starting that has to do with playurl

http://pastebin.com/YmaSC2WM

ULX has it's way loading in console. If you don't see this ULX loading, then something is wrong with your ULX.
http://puu.sh/3PKdi.png

Also, at the bottom of that picture you'll see a lines called "MODULE: " loading at the bottom, and if you don't see "MODULE: playurl.lua" or "MODULE: playthesound.lua" not loading, then something is wrong in general.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline nak0604

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: URL Playsound Addon 2.0 :)
« Reply #31 on: July 30, 2013, 05:32:24 PM »
ulx shows that everything is loading

ULX loading: http://pastebin.com/Tf57RynH

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URL Playsound Addon 2.0 :)
« Reply #32 on: July 30, 2013, 06:59:20 PM »
Nak, READ what Chaos said in his last post.
if you don't see "MODULE: playurl.lua" or "MODULE: playthesound.lua" not loading, then something is wrong in general.

The last bit of loading you posted does not have those modules loaded, so, no, everything is not loading for you.
Also, reports.lua is broken, no idea what it is, but it's not one of our releases..it needs to be fixed.
"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: URL Playsound Addon 2.0 :)
« Reply #33 on: July 30, 2013, 08:33:20 PM »
ulx shows that everything is loading

ULX loading: http://pastebin.com/Tf57RynH

Nak, READ what Chaos said in his last post.
The last bit of loading you posted does not have those modules loaded, so, no, everything is not loading for you.
Also, reports.lua is broken, no idea what it is, but it's not one of our releases..it needs to be fixed.


As JamminR has stated. This is out of my control, you must not be using an Official version of ULX (or some really old version). The current version of ULX is 3.61 and ULiB is 2.51. So if you don't have that version or the official version, then you could be running into the problem you are having.

You can download newer and official versions of ULX here -> http://ulyssesmod.net/downloads.php <-

So I would suggest deleting your current version, and download the official and newer version of ULX so plugins (modules) for ULX will work correctly.


Thanks for choosing Apple Innovations.
« Last Edit: July 30, 2013, 08:35:00 PM by chaos13125 »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline nak0604

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: URL Playsound Addon 2.0 :)
« Reply #34 on: July 30, 2013, 09:48:18 PM »
chaos i have the latest version according the the SVN that they have

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #35 on: July 31, 2013, 02:00:49 AM »
chaos i have the latest version according the the SVN that they have

Are you sure your using the official SVN for ulx and Ulib, if so then delete the folder and redownload it from SVN.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline nak0604

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: URL Playsound Addon 2.0 :)
« Reply #36 on: July 31, 2013, 10:41:35 AM »
Yes i am, i will try re-downloading it and let you know if anything changes.

EDIT:It is at revision 161, i re-downloaded ulx and ulib and it still wont load the playurl, im just going to give up on this. Thanks for attempting to help.
« Last Edit: July 31, 2013, 10:50:15 AM by nak0604 »

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #37 on: July 31, 2013, 06:45:58 PM »
Yes i am, i will try re-downloading it and let you know if anything changes.

EDIT:It is at revision 161, i re-downloaded ulx and ulib and it still wont load the playurl, im just going to give up on this. Thanks for attempting to help.

Sorry to hear that it didn't work out. Well there is one last thing, if you're still up for it. Somewhere in your addons, there is a addon conflicting with ulx, or maybe in the garrysmod/lua folder itself.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URL Playsound Addon 2.0 :)
« Reply #38 on: August 02, 2013, 10:28:25 PM »
Talking about the entity I suggested in an earlier reply. It would be possible if you had it change volume based on distance, and disable if the volume is too low or some thing.
I cry every time I see that I am not a respected member of this community.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #39 on: August 02, 2013, 10:32:44 PM »
Talking about the entity I suggested in an earlier reply. It would be possible if you had it change volume based on distance, and disable if the volume is too low or some thing.

As far as I want to put effort into turning Garry's function into something way more.. effort forward, I see it as impossible, thus making me not want to do it.
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: URL Playsound Addon 2.0 :)
« Reply #40 on: August 03, 2013, 03:55:07 AM »
Does Ent:EmitSound not adjust volume as you get farther away?
Seems silly Garry would just have full volume up to 'range' then cut off.
"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: URL Playsound Addon 2.0 :)
« Reply #41 on: August 03, 2013, 01:40:51 PM »
Does Ent:EmitSound not adjust volume as you get farther away?
Seems silly Garry would just have full volume up to 'range' then cut off.

It's been sometime since I've worked with lua now. I'm not really up to the challenge to somehow convert or modify an external url sound into a server sound, so this entity can use it without issues. Though, this is an interesting thing you've shown me 'Ent:EmitSound', maybe one day I might come back and look into it.

Lastly, (this might not really make sense to some people, but it does to me) I've never really gone into or really even tested that type of lua usage. I've always more 'favored' server side lua(and have been better at that), rather than client side. As well as an actual entity.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline morten7000

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
Re: URL Playsound Addon 2.0 :)
« Reply #42 on: August 12, 2013, 10:51:07 AM »
Can you guyz suggest a webpage which allow you to transfer a sound into a playable link which you can play on your server?

I tried dropbox... I cant get it to work for some reason??

Thanks :3

Edit: I tried to see If I could find a webpage "like dropbox" how transformed the mp3 to a url that acutually worked :D... I got no luck.
So if you could send me to a webpage who is making a useable link, that would make my day :)

Ps: Dont tell me to make my own webpage and host it from there :P

Thanks :D
« Last Edit: August 12, 2013, 11:43:41 AM by morten7000 »

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #43 on: August 12, 2013, 02:55:43 PM »
Can you guyz suggest a webpage which allow you to transfer a sound into a playable link which you can play on your server?

I tried dropbox... I cant get it to work for some reason??

Thanks :3

Edit: I tried to see If I could find a webpage "like dropbox" how transformed the mp3 to a url that acutually worked :D... I got no luck.
So if you could send me to a webpage who is making a useable link, that would make my day :)

Ps: Dont tell me to make my own webpage and host it from there :P

Thanks :D

Can you send me the link to that dropbox of the song you're trying to use. Also after that, you can try to use archive.org, which is what I would use.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline morten7000

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
Re: URL Playsound Addon 2.0 :)
« Reply #44 on: August 13, 2013, 04:57:25 AM »
Can you send me the link to that dropbox of the song you're trying to use. Also after that, you can try to use archive.org, which is what I would use.
-snip-

I finally got it to work :D
« Last Edit: August 13, 2013, 06:35:54 AM by morten7000 »