uen / Leveling-System

Leveling system in gLua (For DarkRP)
Other
35 stars 22 forks source link

Can't get this to work at all #89

Closed theBaconOverlord closed 5 years ago

theBaconOverlord commented 6 years ago

I used to run a server about a year ago, dropped my files onto a new server (didn't expect everything to be sunny and roses) and I can't get the exp to work. I don't get any errors. I just get 0 exp for everything. I've tried a fresh install of DarkRP and a fresh install of this mod and still nothing.

Did something change in DarkRP or GMOD that broke this?

uen commented 6 years ago

DarkRP, I will look into it on Saturday

On Fri, 16 Nov 2018, 17:51 theBaconOverlord <notifications@github.com wrote:

I used to run a server about a year ago, dropped my files onto a new server (didn't expect everything to be sunny and roses) and I can't get the exp to work. I don't get any errors. I just get 0 exp for everything. I've tried a fresh install of DarkRP and a fresh install of this mod and still nothing.

Did something change in DarkRP or GMOD that broke this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vrondakis/Leveling-System/issues/89, or mute the thread https://github.com/notifications/unsubscribe-auth/ADxNa4AZ_b8uphvUnqxksQDs4nAwuowGks5uvvsIgaJpZM4Ymszt .

theBaconOverlord commented 6 years ago

Thanks. I wasn't sure if I was just doing something boneheaded

theBaconOverlord commented 5 years ago

Any update on this? Thanks.

uen commented 5 years ago

I didn't get time to look on Saturday. Hopefully I will this weekend. Someone else sent me this, which you can do for a temporary fix:

"The change that caused the problem is in the sv_entityvars.lua file (gamemodes/darkrp/gamemode/modules/base) I ended up replacing that with an older one, all is well with the leveling system"

theBaconOverlord commented 5 years ago

It works. Here is the file in case anyone else comes by:

https://pastebin.com/Raf5GLGW

Justovia commented 5 years ago

I get the same exact problem, Same with other server owner who contacted me.

Justovia commented 5 years ago

YES YOUR FIXED WORKED, SDSDASDWS ASFDADSFDASF ADSFASDFFDSA spent 7days straight trying to get this to work AHhahahahhahahahahahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

uen commented 5 years ago

Please can somebody use this sv_entityvars.lua file & confirm it is working: https://pastebin.com/raw/mqkwU2GR

PutItOnTheList commented 5 years ago

Yeah vrondakis that works thanks alot

PutItOnTheList commented 5 years ago

It reverted itself back to the original later on im pretty sure :/

PutItOnTheList commented 5 years ago

Ok its really weird, it works sometimes and sometimes it doesnt lol

PutItOnTheList commented 5 years ago

Look, it starts giving you 0 after a while, so weird.

[DarkRP] You got 100XP for playing on the server [DarkRP] PutItOnTheList has been made a Gun Dealer! [DarkRP] You need to wait another 5 seconds before using /job! You're playing on NibbaGaming l In Development, enjoy your stay! [DarkRP] You got 0XP for playing on the server [DarkRP] You got 0XP for playing on the server [DarkRP] You got 0XP for playing on the server [DarkRP] You got 0XP for playing on the server

PutItOnTheList commented 5 years ago

Guys i reccomend you don't use that entityvars.lua as it breaks the money on DarkRP.

uen commented 5 years ago

I reconmend on darkrp money it breaks

PutItOnTheList commented 5 years ago

What?

lochnezs commented 5 years ago

I'm having this exact same issue, please help

lochnezs commented 5 years ago

IT WORKS! I did the fix manolis said. It works all good nwo. copy in pasted that text in the wrong file before, im good now just do what he said

lochnezs commented 5 years ago

Nevermind. A bit of time passed - I edited nothing and it stopped working again. I get 0 xp, I can't change my job to a level job that i'm supposed to be- still broke. Helppp

lochnezs commented 5 years ago

It looks like it stops working when I change jobs... I think this is true I'm not sure though - just experimenting. Getting now error messages either

lochnezs commented 5 years ago

Hm but when I rejoin I'm fine. Then I change jobs, and it's broke again.

PutItOnTheList commented 5 years ago

Yeah, really need this on my server, its the best xp system out there.

halseyj commented 5 years ago

Yeah, the fix is very temporary, it will work until you switch jobs. Otherwise this is a great script from what I seen on other servers. I think using a older version of darkrp would fix it but would not recommend this.

uen commented 5 years ago

Don't worry boys I will fix this tonight promise

halseyj commented 5 years ago

I did fix it by using the file provided by theBaconOverlord above. Here is a link to it, https://pastebin.com/Raf5GLGW.

Replace your entityvars.lua with that one, it works perfectly fine with it with DarkRP money still working.

Stromic commented 5 years ago

It doesnt work for me, i use mysqloo 9 and the newest DarkRP so ill update it to use that.

PutItOnTheList commented 5 years ago

Don't worry boys I will fix this tonight promise

Did u fix it?

Stromic commented 5 years ago

I found the issue. Do you want me to make an update?

uen commented 5 years ago

Don't worry boys I will fix this tonight promise

Did u fix it?

No I forgot

I found the issue. Do you want me to make an update?

Make a PR

Stromic commented 5 years ago

I got a fix for the issue and i can make it work but i just ran into another issue seems like the sh_core isnt being read

Zackyo commented 5 years ago

Don't worry boys I will fix this tonight promise

Did u fix it?

No I forgot

I found the issue. Do you want me to make an update?

Make a PR

Got the issue fixed yet? Seems like my other scripts that works with this has issues to get the "level" from the players aswell, as the lua error says that it is trying to compare with nil.

JeepLyfe commented 5 years ago

Any update to this issue? still getting 0xp

AnonymousTV commented 5 years ago

any updates?

AnonymousTV commented 5 years ago

A friend of mine got a fix. replace this with your default one in your darkrp gamemode. I havnt tested prolonged use but from first inspection this works perfectly. https://pastebin.com/AkgVe6N4

JeepLyfe commented 5 years ago

when I did that it completely messed the gamemode up

uen commented 5 years ago

https://github.com/vrondakis/Leveling-System/tree/fix