Cyberbyte-Software / CyberWorks

A server management panel that allows admins to manage players.
https://cyberbyte.org.uk/
20 stars 16 forks source link

Altis Life 4.4r Issue #65

Closed llMysterioll closed 7 years ago

llMysterioll commented 7 years ago

I set the panel up with the exact info used when running extdb 2 and it still doesn't work. The web panel worked fine with me before. The odd part it shows the newest and richest players but when you attempt to view players nothing can be found. Player Not Found Dashboard

BoGuu commented 7 years ago

Could you confirm your version?

llMysterioll commented 7 years ago

.5 If your talking about the CyberByte version.

llMysterioll commented 7 years ago

Also just confirmed it works with Extdb 1, I used the same info just changed the database. But problem is im using Extdb 2

Jason2605 commented 7 years ago

The extDB version would have no influence on the panel, please check your AltisLife version when you are receiving errors.

llMysterioll commented 7 years ago

Altis Life version is 4.4r4

MightySCollins commented 7 years ago

If you uncomment the third line in index.php you should see errors displayed. Can paste the error?

llMysterioll commented 7 years ago

Notice: Trying to get property of non-object in C:\xampp\htdocs\CyberWorks-master\views\life\players.php on line 22 There is the error displaying on the players page.

llMysterioll commented 7 years ago

weirdly it shows the top ten players on the dashboard with how much money the have.

BoGuu commented 7 years ago

Could you post a snapshot of your players table? Also, verify in the settings you're using 4.4R2+

llMysterioll commented 7 years ago

PlayerTab Settings

ghost commented 7 years ago

Also having this issue with CyberWorks on 4.4r4

BoGuu commented 7 years ago

@llMysterioll

Your database table

Also, verify in the settings you're using 4.4R2+

ghost commented 7 years ago

@BoGuu here is mine on 4.4r4 if it matters, same error as him. http://i.imgur.com/qKM5WFG.png

ghost commented 7 years ago

here is the exported table (if that's what you meant) http://www.filedropper.com/showdownload.php/players_4

ghost commented 7 years ago

Fixes players tab being broken in Altis Life 4.4r3 +

The database players table is no longer playerid but instead pid. I replaced all counts of this.

So replace playerid with pid.

pastebin: http://pastebin.com/Gv2JGYi4

llMysterioll commented 7 years ago

@jrm100 It worked ,thanks :) !

ghost commented 7 years ago

@llMysterioll np, if you want to fix the error in gang tab do the same in adminpanel/gfunctions.php - idk how to fix houses though.

ghost commented 7 years ago

@llMysterioll heres a fixed dashboard.php http://pastebin.com/JpcPRXTR

llMysterioll commented 7 years ago

@jrm100 Yeah i've been going through the other things and fixing the different pages.

BoGuu commented 7 years ago

The reason why the panel isn't working for you, is because you're not using 4.4R4 (or before), you're using the dev build, which is not yet supported. Even if we added changes for it, I could change any of the DB structure at any point in time still. Closed for now