ASECO 2.2.2 and stuff

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, f*ckfish, Assembler Maniac, TM-Patrol

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: ASECO 2.2.2 and stuff

Post by nocturne » 30 May 2010 16:25

There's been a lil bug in the karma plugin for awhile that I forgot to ever post. The check4KarmaChatText function is being triggered on /++ and /--. I figure this shouldn't skew the karma at all, but it does show an extra server message..

edit 114-131 plugin.rasp_karma.php

Code: Select all

	function check4KarmaChatText(&$command)
		{
		if ( $this->enabled == false || $command[0] == 0 || $command[3] )
			{
			return;
			}

		if ($command[2] == '++')
			{
			$command['author'] = $this->Aseco->server->players->getPlayer($command[1]);
			$this->KarmaVote($command, 1);
			}
		elseif ( $command[2] == '--' )
			{
			$command['author'] = $this->Aseco->server->players->getPlayer($command[1]);
			$this->KarmaVote($command, -1);
			}
		}
Edit:
Sorry.. right bug, wrong function... Was on my way to work and in a hurry.. Corrected above
Chief Janitorial Supervisor of the Let'sRock! TM community : www.LetsRock-TM.com

skyi
pedestrian
pedestrian
Posts: 10
Joined: 16 Dec 2009 11:10
Owned TM-games: tms,tmnf,tmuf

Re: ASECO 2.2.2 and stuff

Post by skyi » 01 Jul 2010 11:18

eer..., sorry for this maybe dumb question, but
where can i find the link to download this ?
i read the topic and somewhere in the middle you are speaking
of version 2.3.0
this is the version im looking for

thanks in advance xD

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: ASECO 2.2.2 and stuff

Post by w1lla » 01 Jul 2010 11:40

Assembler Maniac wrote:Attn: Nocturne & W1lla (and anyone else interested in testing v2.2.2)

Downloads are as follows:
ASECO TMF 2.2.2
DediMania for ASECO v2.2.2
FuFi Widgets for ASECO v2.2.2

ASECO/RASP Changes include:
  • config.xml - adminunlocked setting, true means the admin commands are unlocked by default
  • Aseco->isAnyAdmin function - reports true if player is any type of admin
  • AdminGroups - named groups for use wherever
  • TMFServer test - will give warning & forum post link if server is older than current version (2009-05-25)
  • addAuthItem - plugins can now add auth items that they use, this will add them to the auth item list in admingroups.xml (see bottom of plugin.rasp_players.php for how this works)
  • Rasp Players plugin - will only list clickable items when player has rights to those functions
  • BeginChallenge/EndChallenge callbacks added along with appropriate events
  • BeginRace/EndRace callbacks now do onBeginRace/onEndRace events
  • /admin endwarmup command added - see rasp.xml for new messsages
  • new basic function isTrue to compare settings against 1, '1', or 'true' (no matter what case it's in), returns true/false boolean
  • admins with PASSCANCELVOTE authitem now have 2 additional buttons when a vote comes up, Pass and Cancel
  • Rasp - Rec/Pb info moved to lower right, just above the speed indicator
  • Admin level of 'AnyAdmin' can be assigned to an admin chat command. Any admin level will be allowed to use that command (it's like doing isAnyAdmin within a function)
Dedimania and FuFi plugins have been adjusted to use the onNewChallenge/onEndChallenge events, I've also set them so the onMainLoop event handlers only process once per second. It should help minimize CPU usage if they're not getting called constantly.
Dedimania has also been adjusted to use getPlugin function once, and as few re-assignments as possible (using $this-> over $var = $this->, then use var later)

I'm hoping everything works ok.

If anyone has suggestions/bugs, let me know.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

skyi
pedestrian
pedestrian
Posts: 10
Joined: 16 Dec 2009 11:10
Owned TM-games: tms,tmnf,tmuf

Re: ASECO 2.2.2 and stuff

Post by skyi » 01 Jul 2010 12:25

ow, so 2.3=2.2.2
srry then my mistake :oops:
well anyway i'm happy 2 have the new(er) version :3

User avatar
Fisch.666
happy cruiser
happy cruiser
Posts: 136
Joined: 18 May 2006 01:13
Owned TM-games: TMU, TMN, TMUF, TMNF
Location: Germany
Contact:

Re: ASECO 2.2.2 and stuff

Post by Fisch.666 » 07 Jul 2010 11:50

Hi!

@AM

There is a typo in the latest plugin_rasp.php file. You are updating the playerID column with this statement:

Code: Select all

alter table rs_rank modify PlayerID int(11) unsigned not null;
which changes the column playerID to PlayerID. Because of this i had some problems with the XAseco stats:

viewtopic.php?p=179048#p179048

but after changing the column back to playerID it works again.

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: ASECO 2.2.2 and stuff

Post by Assembler Maniac » 07 Jul 2010 12:30

Fisch.666 wrote:There is a typo in the latest plugin_rasp.php file. You are updating the playerID column with this statement:

Code: Select all

alter table rs_rank modify PlayerID int(11) unsigned not null;
which changes the column playerID to PlayerID. Because of this i had some problems with the XAseco stats:

viewtopic.php?p=179048#p179048

but after changing the column back to playerID it works again.
Hmmmm, sorry for that. I use a case-insensitive SQL for our business and didn't even think about case problems. Interesting to know that a modify of the col type can rename the col at the same time though. That's probably a mysql bug, but I'll change it in the source anyway.

User avatar
TheM
Pit Crew
Pit Crew
Posts: 286
Joined: 25 Feb 2009 16:43
Owned TM-games: TMU(F), TMN(F), TM2
Location: Brabant, Netherlands
Contact:

Re: ASECO 2.2.2 and stuff

Post by TheM » 19 Jul 2010 11:23

(Fixed, thanks w1lla)
While trying out ASECO 2.2.2 (2.3.0) I get errors in the Dedimania plugin.
It's about this line (in the includes/xmlrcp_db.inc.php file):

Code: Select all

call_user_func_array($callback, $callbacks[$i]);
Which is called everytime someone connects or a new challenge is started, and so on...

I'm using PHP 5.3.0 on Windows 7 Ultimate.
Any idea how to fix this? I've tried adding a & before $callbacks[$i], but that doesn't work.

Code: Select all

************* (Dedimania) *************
* Dataserver connection on Dedimania ...
* Try connection on http://dedimania.net:8020/Dedimania ...
[07/19,13:21:41] Webaccess (dedimania.net:80): send: deflate, receive: gzip
* Connection and status ok! :)
* NEWS (Dedimania, 08/05): news
************* (Dedimania) *************
###############################################################################
# Game Info: TMU - TimeAttack
###############################################################################
[07/19,13:21:41] map changed [none] >> [D02-Race]
[07/19,13:21:41] currently no record on D02-Race
[07/19,13:21:42] Webaccess (dedimania.net:8020): send: deflate, receive: deflate

[PHP Warning] Parameter 1 to DediMania::dedimania_newchallenge_cb() expected to
be a reference, value given on line 282 in file E:\Servers\Aseco\includes\xmlrpc
_db.inc.php
[07/19,13:22:05] << max1995 joined the game [249]
[PHP Warning] Parameter 1 to DediMania::dedimania_playerconnect_cb() expected to
 be a reference, value given on line 282 in file E:\Servers\Aseco\includes\xmlrp
c_db.inc.php
[/i]

(Fixed, thanks w1lla)
EDIT (Second Problem):
When trying to open the help-window for admin commands by clicking on Admin in the statusbar I get this error:

Code: Select all

Fatal error: Cannot pass parameter 1 by reference in E:\Servers\Aseco\plugins\plugin.admin.php on line 89
[/i]
Last edited by TheM on 19 Jul 2010 11:43, edited 2 times in total.

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: ASECO 2.2.2 and stuff

Post by w1lla » 19 Jul 2010 11:36

try replacing all

Code: Select all

&$
with

Code: Select all

$
.
that might help.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

User avatar
TheM
Pit Crew
Pit Crew
Posts: 286
Joined: 25 Feb 2009 16:43
Owned TM-games: TMU(F), TMN(F), TM2
Location: Brabant, Netherlands
Contact:

Re: ASECO 2.2.2 and stuff

Post by TheM » 19 Jul 2010 11:43

w1lla wrote:try replacing all

Code: Select all

&$
with

Code: Select all

$
.
that might help.
Thanks, that fixed my problems :D

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: ASECO 2.2.2 and stuff

Post by nocturne » 20 Jul 2010 19:17

TheM wrote:EDIT (Second Problem):
When trying to open the help-window for admin commands by clicking on Admin in the statusbar I get this error:

Code: Select all

Fatal error: Cannot pass parameter 1 by reference in E:\Servers\Aseco\plugins\plugin.admin.php on line 89
[/i]
Posted the fix for that a page or two back.. Just a lil php bug.
Chief Janitorial Supervisor of the Let'sRock! TM community : www.LetsRock-TM.com

skyi
pedestrian
pedestrian
Posts: 10
Joined: 16 Dec 2009 11:10
Owned TM-games: tms,tmnf,tmuf

Re: ASECO 2.2.2 and stuff

Post by skyi » 13 Jul 2012 07:49

Assembler Maniac wrote:Attn: Nocturne & W1lla (and anyone else interested in testing v2.2.2)

Downloads are as follows:
ASECO TMF 2.2.2
DediMania for ASECO v2.2.2
FuFi Widgets for ASECO v2.2.2

ASECO/RASP Changes include:
  • config.xml - adminunlocked setting, true means the admin commands are unlocked by default
  • Aseco->isAnyAdmin function - reports true if player is any type of admin
  • AdminGroups - named groups for use wherever
  • TMFServer test - will give warning & forum post link if server is older than current version (2009-05-25)
  • addAuthItem - plugins can now add auth items that they use, this will add them to the auth item list in admingroups.xml (see bottom of plugin.rasp_players.php for how this works)
  • Rasp Players plugin - will only list clickable items when player has rights to those functions
  • BeginChallenge/EndChallenge callbacks added along with appropriate events
  • BeginRace/EndRace callbacks now do onBeginRace/onEndRace events
  • /admin endwarmup command added - see rasp.xml for new messsages
  • new basic function isTrue to compare settings against 1, '1', or 'true' (no matter what case it's in), returns true/false boolean
  • admins with PASSCANCELVOTE authitem now have 2 additional buttons when a vote comes up, Pass and Cancel
  • Rasp - Rec/Pb info moved to lower right, just above the speed indicator
  • Admin level of 'AnyAdmin' can be assigned to an admin chat command. Any admin level will be allowed to use that command (it's like doing isAnyAdmin within a function)
Dedimania and FuFi plugins have been adjusted to use the onNewChallenge/onEndChallenge events, I've also set them so the onMainLoop event handlers only process once per second. It should help minimize CPU usage if they're not getting called constantly.
Dedimania has also been adjusted to use getPlugin function once, and as few re-assignments as possible (using $this-> over $var = $this->, then use var later)

I'm hoping everything works ok.

If anyone has suggestions/bugs, let me know.
Links are dead.

skyi
pedestrian
pedestrian
Posts: 10
Joined: 16 Dec 2009 11:10
Owned TM-games: tms,tmnf,tmuf

Re: ASECO 2.2.2 and stuff

Post by skyi » 08 Sep 2012 15:43

Still dead.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest