Page 8 of 8

Re: UASECO 0.9.4 (2017-05-30) released

Posted: 06 Jun 2017, 15:56
by undef.de
rasmusdk wrote:
06 Jun 2017, 15:48
No no, Just one password.
All (master)admins shut use the same pw. (Same as now, but saved in db after first use)
I think how it is now it's good enough... maybe (if Bueddl find time and still want to join the UASECO team) the complete right system will be replaced.

Flighthigh wrote:
06 Jun 2017, 15:50
Im an Idiot. After the update i dont wright something into the panles.xml. After that i doing it works. Thks Undef
:lol: :thx:

Re: UASECO 0.9.4 (2017-05-30) released

Posted: 08 Jun 2017, 01:18
by soehest
undef.de wrote:
31 May 2017, 18:44
endbase wrote:
31 May 2017, 07:36
Image
I'm no hero at php scriting but if you could correct it pls that would be nice :pop:
Fixed. Good catch... I must be tired while writing this. :lol: :thx:

Code: Select all

	public function getPlayerData ($player, $key) {
		if (isset($player) && is_object($player) && $player instanceof Player && !empty($key) && isset($player->data[$this->getClassname()][$key])) {
			return $player->data[$this->getClassname()][$key];
		}
	}

So what should the public function look like? It is not working for me running the latest source from github (which i assume should fix the problem) as it is mentioned in the changelog. Replacing entire function with above is working. Did you forget to commit this or am i missing something? :D
A small note while I am writing: private function logDebugInformations () in uaseco.php does not have a gd variable. Running with debug log will give following error: [PHP Notice] Undefined variable: gd on line 710 in file /xxxx/xxxx/xxxx/uaseco/uaseco.php. Fix would probably be to add the line $gd = gd_info(); at line 660.

Edit: Human error. I was using an old version of playerlist.class.php :oops: Have tried to use strikethrough to mark the lines, but it seems strikethrouh is not supported on this forum. So i used underline instead. Hope it makes sense :)

Re: UASECO 0.9.4 (2017-05-30) released

Posted: 08 Jun 2017, 10:13
by speedychris
Git-Version from 5.6.2017 is running without the vote-problem on our server.

Re: UASECO 0.9.4 (2017-05-30) released

Posted: 08 Jun 2017, 10:41
by soehest
speedychris wrote:
08 Jun 2017, 10:13
Git-Version from 5.6.2017 is running without the vote-problem on our server.
Thanks for telling. Just checked my files. This is on me. Thought i had found a good way to keep the files in sync with the latest commits. This method is clearly not working :D Thanks :-)

Re: UASECO 0.9.4 (2017-05-30) released

Posted: 08 Jun 2017, 15:40
by undef.de
soehest wrote:
08 Jun 2017, 01:18
A small note while I am writing: private function logDebugInformations () in uaseco.php does not have a gd variable. Running with debug log will give following error: [PHP Notice] Undefined variable: gd on line 710 in file /xxxx/xxxx/xxxx/uaseco/uaseco.php. Fix would probably be to add the line $gd = gd_info(); at line 660.
Fixed.
soehest wrote:
08 Jun 2017, 01:18
Edit: Human error. I was using an old version of playerlist.class.php :oops: Have tried to use strikethrough to mark the lines, but it seems strikethrouh is not supported on this forum. So i used underline instead. Hope it makes sense :)
:lol: :thx: