ULX

Author Topic: Reviving a dead addon! (RynO-SauruS's addon)  (Read 2101 times)

0 Members and 1 Guest are viewing this topic.

Offline Janjakob2000

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
Reviving a dead addon! (RynO-SauruS's addon)
« on: July 28, 2015, 02:20:46 PM »
Hello, I'm trying to revive this addon!
I've always wanted to have a youtube player that works independent, so it works on every gamemode, I've (kinda) fixed the play video command, which is only accessible by admins and higher, the sound plays now, and I got the box to showup to adjust the volume, but I also want the other functions to work aswell, and I'd love if someone could help me out with the errors it has :(
Code: [Select]
[ERROR] addons/ulx_youtube_music_player/lua/ulx/modules/sh/youtube_music_player_sh.lua:47: attempt to index local 'calling_ply' (a nil value)
  1. getVideoLengthFromHTTPData - addons/ulx_youtube_music_player/lua/ulx/modules/sh/youtube_music_player_sh.lua:47
   2. unknown - addons/ulx_youtube_music_player/lua/ulx/modules/cl/youtube_music_player_cl.lua:126

If anyone wants to support me on this one, I'd love you for the rest of my life, because I love youtube and music, I'll also leave a download down for anyone who wants the working- but a bit broken - version, or if you want me to help me revive this addon!
« Last Edit: July 29, 2015, 05:57:31 AM by Janjakob2000 »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Reviving a dead addon! (RynO-SauruS's addon)
« Reply #1 on: July 28, 2015, 02:45:02 PM »
http.Get was removed from gmod...  You have to rewrite it to work with http.Fetch.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given