ULX

Author Topic: Demoted when someone rejoins.  (Read 6653 times)

0 Members and 1 Guest are viewing this topic.

Offline Stranger Danger

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
Re: Demoted when someone rejoins.
« Reply #15 on: March 13, 2015, 01:27:40 PM »
I'm now even more confused.
I thought the issue was "after a rejoin, autopromote then places the user in the group for that many hours instead of ULX placing them in the ULX assigned group"

Could someone please describe what happens after server is shut down, all autopromote addons/subscriptions are removed from server, server is started back up, someone joins, then rejoins, and the small/rebuilt users.txt file is used?

Quote
I thought the issue was "after a rejoin, autopromote then places the user in the group for that many hours instead of ULX placing them in the ULX assigned group"

Yes(kinda), Apromote is only placing people in a group based on their hour (example ruby) because ulx is not placing them in their correct group when they join(example admin). My assigned role is superadmin. When I join the server for the first time I am Superadmin when I join. Not promoted, but automatically superadmin. But if I rejoin however, I join in as guest(guest is user group), so the lowest rank. After about 2 seconds I get (Console) added You to group ruby, which is apromote adding me to ruby based on my hours. Now if I stay as ruby and the server restarts, I go back to my correct group as SuperAdmin.

If you would like to see this first hand I would gladly show you. You can add me here. http://steamcommunity.com/profiles/76561198001732185

Thanks you for your continued help.
« Last Edit: March 13, 2015, 01:31:04 PM by Stranger Danger »

Offline Stranger Danger

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
Re: Demoted when someone rejoins.
« Reply #16 on: March 13, 2015, 01:42:11 PM »
-snip-
« Last Edit: March 13, 2015, 01:45:11 PM by Stranger Danger »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Demoted when someone rejoins.
« Reply #17 on: March 13, 2015, 02:02:59 PM »
Me seeing doesn't really make it not happen, and I wouldn't know how to diagnose it from server end (other than if on my own server removing every single addon I'd ever subscribed/added, restarting server to make sure I was vanilla, then trying again)

So, with 100% certainty, if you disable/remove all autopromote scripts, restart server, join server, rejoin server, you're no longer superadmin?

Tried clearing lua and downloads cache on your client?
Tried removing (if installed) Ulib and ULX on your client?
« Last Edit: March 13, 2015, 02:05:27 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline eagle9er9er

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 0
Re: Demoted when someone rejoins.
« Reply #18 on: March 15, 2015, 01:29:27 PM »
After an hour of trial and error i found out it was the bailout addon causing demotions. You can lock this.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Demoted when someone rejoins.
« Reply #19 on: March 15, 2015, 07:27:54 PM »
So is this one of my addons issues, if so, I'll attempt to fix it.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Stranger Danger

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
Re: Demoted when someone rejoins.
« Reply #20 on: March 17, 2015, 10:31:52 AM »
So is this one of my addons issues, if so, I'll attempt to fix it.

No it was determined to be the bailout addon which is a addon that lets you rocket out of a chair and fall slowly with a parachute, the problem didn't involve apromote. Thanks for staying up to date with your addons.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Demoted when someone rejoins.
« Reply #21 on: March 17, 2015, 07:49:23 PM »
Now the interesting question is in my mind... what the HECK was in a chair/parachute mod that would cause GROUP access to be lost?
Badly written PlayerInit/PlayerSpawn/PlayerAuth hook functions?
I don't want to look at the code, but *cringe*, I can't fathom why it should affect group checks.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming