Author Topic: ULX Arrest baton glitch  (Read 2497 times)

0 Members and 3 Guests are viewing this topic.

Offline Nukeman

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
ULX Arrest baton glitch
« on: May 27, 2015, 11:48:44 PM »
Ok, so I've had this rather problematic bug with my server where if a cop (or admin/anyone who has a arrest baton) pulls it out, it makes it so that every person who right clicks (while the baton is out) pulls out a unarrest baton (it doesnt add it to their existing loadout however). I did a bunch of testing on my server to see if it was a certain addon, and figured out that it only occurred when I had ULX/Ulib put in. I then did a full reset of my ulib groups, and the bug was gone. At this point, I just dont know why its causing this, or ever how ulib/ulx  causing this. I feel like tearing out my hair. Anyone have a guess to why it is occurring?

I can attach screenshots of it if you wish.

Thank you.

EDIT: If after some more testing, I fgured out that if I remove the users.txt file in garysmod/data/ulib, It solves the problem. I dont how that could be causing thew glitch  : /
« Last Edit: May 28, 2015, 08:19:20 AM by Nukeman »

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: ULX Arrest baton glitch
« Reply #1 on: May 28, 2015, 08:50:04 AM »
So when a cop right clicks a arrest baton (to pull out the un-arrest) EVERY PLAYER ends up with the un-arrest baton?

Is that correct? If so maybe you have a bugged version of the arrest baton.... maybe re-install DarkRP??? I dont think ulx/ULib would have anything to do with it but i could be wrong

Offline Nukeman

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ULX Arrest baton glitch
« Reply #2 on: May 28, 2015, 11:02:10 AM »
So when a cop right clicks a arrest baton (to pull out the un-arrest) EVERY PLAYER ends up with the un-arrest baton?

Is that correct? If so maybe you have a bugged version of the arrest baton.... maybe re-install DarkRP??? I dont think ulx/ULib would have anything to do with it but i could be wrong

1) Yes.

2) I just did, and I'm still getting it. As I said, I dont know how it is that ulx/ulib could be affecting it, but when I delete the user.txt file there is no problem at all.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Arrest baton glitch
« Reply #3 on: May 28, 2015, 03:13:25 PM »
Does this baton come with DarkRP? Or is it an addon?
It sounds like it's making a loop through every player and giving them the baton.
Why, no idea, but this isn't JUST a ULX issue, it sounds like a "whatever group you have the player in" issue.
Removing ULib's user.txt only removes the bug from that particular player group.
« Last Edit: May 28, 2015, 03:15:31 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming