TM-FORUM

The TrackMania universal forum ^_^
It is currently Fri Oct 31, 2014 11:39 pm

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 117 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8
Author Message
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Sun May 30, 2010 7:25 pm 
Offline
solid chaser
solid chaser

Joined: Fri Jun 08, 2007 9:48 pm
Posts: 1390
Owned TM-games: all
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:
   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


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Thu Jul 01, 2010 2:18 pm 
Offline
pedestrian
pedestrian

Joined: Wed Dec 16, 2009 2:10 pm
Posts: 10
Owned TM-games: tms,tmnf,tmuf
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


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Thu Jul 01, 2010 2:40 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Wed May 23, 2007 10:20 am
Posts: 1461
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
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:
tmnforever is nations and united makes it special. tmnforever has united. I need united!


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Thu Jul 01, 2010 3:25 pm 
Offline
pedestrian
pedestrian

Joined: Wed Dec 16, 2009 2:10 pm
Posts: 10
Owned TM-games: tms,tmnf,tmuf
ow, so 2.3=2.2.2
srry then my mistake :oops:
well anyway i'm happy 2 have the new(er) version :3


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Wed Jul 07, 2010 2:50 pm 
Offline
happy cruiser
happy cruiser
User avatar

Joined: Thu May 18, 2006 4:13 am
Posts: 136
Location: Germany
Owned TM-games: TMU, TMN, TMUF, TMNF
Hi!

@AM

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

Code:
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.

_________________
Chris

Visit us @ http://www.prielwurmjaeger.de


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Wed Jul 07, 2010 3:30 pm 
Offline
Pit Crew
Pit Crew

Joined: Sat Jun 03, 2006 4:24 pm
Posts: 1493
Owned TM-games: TMU
Fisch.666 wrote:
There is a typo in the latest plugin_rasp.php file. You are updating the playerID column with this statement:

Code:
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.


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Mon Jul 19, 2010 2:23 pm 
Offline
Pit Crew
Pit Crew
User avatar

Joined: Wed Feb 25, 2009 7:43 pm
Posts: 286
Location: Brabant, Netherlands
Owned TM-games: TMU(F), TMN(F), TM2
(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:
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:
************* (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


(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:
Fatal error: Cannot pass parameter 1 by reference in E:\Servers\Aseco\plugins\plugin.admin.php on line 89

_________________
Dutch ManiaPlanet Moderator
Founder and developer of the MLEPP Project
Image
Image


Last edited by TheM on Mon Jul 19, 2010 2:43 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Mon Jul 19, 2010 2:36 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Wed May 23, 2007 10:20 am
Posts: 1461
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
try replacing all
Code:
&$
with
Code:
$
.
that might help.

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


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Mon Jul 19, 2010 2:43 pm 
Offline
Pit Crew
Pit Crew
User avatar

Joined: Wed Feb 25, 2009 7:43 pm
Posts: 286
Location: Brabant, Netherlands
Owned TM-games: TMU(F), TMN(F), TM2
w1lla wrote:
try replacing all
Code:
&$
with
Code:
$
.
that might help.

Thanks, that fixed my problems :D

_________________
Dutch ManiaPlanet Moderator
Founder and developer of the MLEPP Project
Image
Image


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Tue Jul 20, 2010 10:17 pm 
Offline
solid chaser
solid chaser

Joined: Fri Jun 08, 2007 9:48 pm
Posts: 1390
Owned TM-games: all
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:
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


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Fri Jul 13, 2012 10:49 am 
Offline
pedestrian
pedestrian

Joined: Wed Dec 16, 2009 2:10 pm
Posts: 10
Owned TM-games: tms,tmnf,tmuf
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.


Top
 Profile  
 
 Post subject: Re: ASECO 2.2.2 and stuff
PostPosted: Sat Sep 08, 2012 6:43 pm 
Offline
pedestrian
pedestrian

Joined: Wed Dec 16, 2009 2:10 pm
Posts: 10
Owned TM-games: tms,tmnf,tmuf
Still dead.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 117 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group