ULX

Author Topic: AutoPromote  (Read 111897 times)

0 Members and 7 Guests are viewing this topic.

Offline falon

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: AutoPromote
« Reply #90 on: July 09, 2010, 03:56:20 PM »
I'm using ulx / ulib SVN, and utime 1.4 and some other stuff, but it wont promote for me at all :x i dont see any errors or anything printed in console of the server so yeah :/ any help would be greatly appreciated

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: AutoPromote
« Reply #91 on: July 09, 2010, 04:00:36 PM »
I've been watching it all day, but there are no errors so far, but i just remembered, I don't have a cl_utime.lua for my utime, could that cause the problem?

If you don't have a cl_utime for your utime, you're not running utime.
Experiencing God's grace one day at a time.

Offline someone920

  • Newbie
  • *
  • Posts: 47
  • Karma: 3
Re: AutoPromote
« Reply #92 on: July 09, 2010, 04:40:47 PM »
It still records time though, if you join my server, you won't see what the time is, but you still get time. I'm using UTimeM if it makes any difference.

Offline falon

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: AutoPromote
« Reply #93 on: July 09, 2010, 05:01:10 PM »
thats probly why your auto promote isnt working, im using just regular utime :x but mine still isnt working either

Offline someone920

  • Newbie
  • *
  • Posts: 47
  • Karma: 3
Re: AutoPromote
« Reply #94 on: July 09, 2010, 05:12:23 PM »
it works fine with either utime, it's been working till garry updated last week

Offline falon

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: AutoPromote
« Reply #95 on: July 09, 2010, 05:17:02 PM »
Then it might need a re-code, but i doubt thatl happen anytime soon, ive been trying to get ahold of smithy :x

Offline someone920

  • Newbie
  • *
  • Posts: 47
  • Karma: 3
Re: AutoPromote
« Reply #96 on: July 09, 2010, 07:34:31 PM »
Okay, i just tried using the cl_utime now, still no dice. No errors, or anything.

Offline falon

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: AutoPromote
« Reply #97 on: July 09, 2010, 08:33:32 PM »
That sucks :x, i may have a friend recode it or something

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: AutoPromote
« Reply #98 on: July 09, 2010, 09:26:33 PM »
Mine seems to be working just fine.

Offline falon

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: AutoPromote
« Reply #99 on: July 09, 2010, 09:47:12 PM »
Mind posting your code? and which version of utime / ulib / ulx you use?

Offline Warstories

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: AutoPromote
« Reply #100 on: July 10, 2010, 09:28:12 AM »
Unless there was an update on it, that is not even close to how your suppose to do it.


Code: [Select]
promotes = {
{ hours =2, group = "builder", name = "Builder" },
{ hours = 10, group = "regular", name = "Regular" },
{ hours = 20, group = "lightlyrespected", name = "Lightly Respected" },
{ hours = 40, group = "moderatlyrespected", name = "Moderately Respected" },
{ hours = 60, group = "highlyrespected", name = "Highly Respected" },
{ hours = 100, group = "dedicatedmember", name = "Dedicated Member" }
}
And make sure you use the working code that someone920 gave me.


Can i have the group.txt file for this and also the uteam.txt file for this please and thank you

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: AutoPromote
« Reply #101 on: July 10, 2010, 07:51:50 PM »

Can i have the group.txt file for this and also the uteam.txt file for this please and thank you

You either have to ask tucker on the previous page for these or make them yourself.  Unless he just didn't respond I think tucker never came back, which means he probably won't come back.  I find these really easy but am not going to make it when I'm not going to use it.

If you PM tucker (I'm not sure if he gets emailed) he may respond.




EDIT: You do not need UTeam to have this if that is why you asked for both.  UTeam would be really simple and easy to set up.  Especially with the new built in UTime, which I should use on my server instead of the separate addon.
« Last Edit: July 10, 2010, 07:58:43 PM by Aaron113 »

Offline MKServers

  • Newbie
  • *
  • Posts: 10
  • Karma: 3
Re: AutoPromote
« Reply #102 on: August 18, 2010, 02:50:58 PM »
hey umm i DO see an error in my console (i run my own server yes, yes i do) and it is this...
addons\autopromote\lua\ulx\modules\autopromote.lua:75: '<eof>' expected near 'end'
please help

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AutoPromote
« Reply #103 on: August 18, 2010, 03:15:17 PM »
'<eof>' expected near 'end'

This usually means you're either missing a " or , or { or } in your promotions table, or have one too many of any, or combo of all the above.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Tucker

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: AutoPromote
« Reply #104 on: August 20, 2010, 02:14:28 PM »
This is what I got. Still nothing. Help would be nice. Thanks.


local promoteGroups = {
--   Groups must be listed in decending order.
--   ["hours"] = "group",
   ["100"] = "dedicatedmember",
   ["60"] = "highlyrespected",
   ["40"] = "moderatelyrespected",
   ["20"] = "lightlyrespected",
   ["10"] = "regular",
   ["2"] = "builder"
}