ULX

Poll

Was this module useful, and helpful?

Yes it was :)
114 (95.8%)
No it was not :(
5 (4.2%)

Total Members Voted: 118

Author Topic: Autopromote XGUI Version [4.09v]  (Read 91188 times)

0 Members and 11 Guests are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #30 on: August 16, 2014, 03:36:27 AM »
three questions:
[1] is that linux?
[2] are you sure you added it correctly (unziped, and is not like addons/ulx Auto Promote/ulx Auto Promote)
[3] did you alter any files? (delete/change, edit)
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline unknown1138

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Re: Autopromote XGUI Version
« Reply #31 on: September 06, 2014, 12:02:35 PM »
Same problem here, it doesn't load for some reason.

I'm running my server on Ubunutu 14.04LTS and didn't change anything.

Offline starman12355

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Autopromote XGUI Version
« Reply #32 on: September 07, 2014, 05:00:15 PM »
I added extracted it then added it then add UTime then I restarted.
I got this error:
[ERROR] lua/includes/extensions/table.lua:51: bad argument #1 to 'pairs' (table expected, got nil)
  1. pairs - [C]:-1
   2. Empty - lua/includes/extensions/table.lua:51
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:428
     4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
      5. unknown - lua/includes/modules/net.lua:32

Also, it's not showing up under settings     

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Re: Autopromote XGUI Version
« Reply #33 on: November 11, 2014, 06:07:45 PM »
So I put this in my addons folder but for some reason my superadmin can't see settings for autopromote in xgui, it doesn't even appear to be loaded by xgui in the console logs. But the actual addon itself is loaded by the server.

"Adding Filesystem Addon '/home/mesosade/Steam/steamapps/common/GarrysModDS/garrysmod/addons/ulx auto promote"

///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
//  sh_base.lua              //
//  log.lua                  //
//  MODULE: slots.lua        //
//  MODULE: uteam.lua        //
//  MODULE: votemap.lua      //
//  MODULE: xgui_server.lua  //
///////////////////////////////
// ULX GUI -- by Stickly Man //
///////////////////////////////
// Adding Main Modules..     //
//  bans.lua                 //
//  commands.lua             //
//  groups.lua               //
//  maps.lua                 //
//  settings.lua             //
// Adding Setting Modules..  //
//  client.lua               //
//  server.lua               //
// Adding Gamemode Modules.. //
//  sandbox.lua              //
// Loading Server Modules..  //
//  sv_bans.lua              //
//  sv_groups.lua            //
//  sv_maps.lua              //
//  sv_sandbox.lua           //
//  sv_settings.lua          //
// XGUI modules added!       //
///////////////////////////////
//  MODULE: chat.lua         //
//  MODULE: fun.lua          //
//  MODULE: menus.lua        //
//  MODULE: rcon.lua         //
//  MODULE: teleport.lua     //
//  MODULE: user.lua         //
//  MODULE: userhelp.lua     //
//  MODULE: util.lua         //
//  MODULE: vote.lua         //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////

But no sign of it here. :(
I heard Unix based Garry's Mod server and client installations don't play well with capital letters or spaces in addon folder names. Try removing those?

EDIT: And I'm the guy who usually preaches for reading the post date... Meh. I'll leave this here if anyone else needs help.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #34 on: November 12, 2014, 07:01:26 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 Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Re: Autopromote XGUI Version
« Reply #35 on: November 12, 2014, 08:23:49 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
<3
Happy to share what I know.
bw81@ulysses-forums ~ % whoami
Homepage

Offline DH1806

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: Autopromote XGUI Version
« Reply #36 on: January 16, 2015, 05:47:54 AM »
--> http://forums.ulyssesmod.net/index.php/topic,8012.0.html
I found out that Autopromote is the reason the errors appear that I have described in the topic. A little summary of what happend:
-I've used Autopromote already for some weeks and only for one user group, 'Regular User' which will be set after 6 hours of playing time. Must have been 20-25 Users right now.
-I've changed nothing and was playing for my friends already for more than one hour when suddendly after a mapchange:
---All Ranks were deleted
---The Round wasn't starting (everyone was spectator)
---The errors from the thread above appeared.
-Server Restart didn't solve it.
-After deleting Auto Promote from the addons the server worked again.
-I've downloaded it again as I thought I might have had an older version and put it back on the server, but then the same things happend as I described already (only the superadmin rank from me wasn't deleted this time).

Any ideas what the problem could be or how to fix it? I would very much like to keep on using this addon. :(

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Autopromote XGUI Version
« Reply #37 on: January 16, 2015, 10:28:04 AM »
One more thing I forgot to suggest to you DH1806, make sure you have the latest ULib, ULX and UTime code from our github.
https://github.com/Nayruden/Ulysses - zip file at lower right. Though it contains MORE releases than just those three, only upload those three to your server for now.
Then try again.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DH1806

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: Autopromote XGUI Version
« Reply #38 on: January 16, 2015, 11:24:11 AM »
Thanks for the tip, but it didn't help. :/

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #39 on: January 21, 2015, 12:33:19 AM »
Thanks for the tip, but it didn't help. :/

Interesting, well, the only suggestion I can give you is delete the apromote file (data/ulx/apromote.txt) and try again, there must have been or be some file that conflicted with autopromote, or something did not execute correctly.

By any chance, do you have an special characters in your usergroups? Or anything in general that is NOT just normal text?

Secondly, do you have any other addons that use xgui/ulx/ulib for ANYTHING?
« Last Edit: January 21, 2015, 12:41:13 AM by Bite That Apple »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline DH1806

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: Autopromote XGUI Version
« Reply #40 on: January 28, 2015, 04:56:44 AM »
Sorry for that late reply.
Well, here are all my usergroups: superadmin, admin, operator, vip, stammuser, verystammuser, suchti

I use some addons where I think they should use xgui/ulx/ulib: Join/Disconnect Message, UTime, Chat Tags, AAFK

btw, I'm using the "normal" Autopromote atm and it works fine, so I think it could be xgui here.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #41 on: February 03, 2015, 08:29:22 AM »
Sorry for that late reply.
Well, here are all my usergroups: superadmin, admin, operator, vip, stammuser, verystammuser, suchti

I use some addons where I think they should use xgui/ulx/ulib: Join/Disconnect Message, UTime, Chat Tags, AAFK

btw, I'm using the "normal" Autopromote atm and it works fine, so I think it could be xgui here.

When you say you're using "xgui", that makes me a little worried. Like, did you actually "download" xgui? If so, I'd suggest to delete it, because XGUI has been integrated with ULX since maybe 2011. Most likely you did not do this, but if you did, delete, and delete ulx, redownload it from ulx website, and try again.

As to what autopromote you said you were using, what other autopromote are you talking about at this moment?


Lastly, thank you for supporting my addons, I'm very grateful for your support.
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: Autopromote XGUI Version
« Reply #42 on: February 03, 2015, 11:23:09 PM »
Updated addon to current system!
« Last Edit: February 03, 2015, 11:41:05 PM by Bite That Apple »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Luk | twitch.tv/doctorluk

  • Newbie
  • *
  • Posts: 40
  • Karma: 12
Re: Autopromote XGUI Version
« Reply #43 on: February 04, 2015, 09:21:58 AM »
May I ask what "current system" means? You've posted that - as it seems - into all threads of your plugins. Is it mandatory for us to update our plugins on the server? Did I miss something crucial?  ???
Host of Spielwiese der Erwachsenen, a German TTT Server for adults only.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #44 on: February 04, 2015, 09:51:15 AM »
May I ask what "current system" means? You've posted that - as it seems - into all threads of your plugins. Is it mandatory for us to update our plugins on the server? Did I miss something crucial?  ???

No, you don't have to update. It's not critical update, it only added a version check now. So if the addon gets outdated, the server will then alert you that the addon is outdated, and will advice you to update every time the server starts. I did it to all my addons, as they're all connected somehow.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.