[XASECO2] Plugin: Mania Karma 2.0.1 (UPDATE)

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 228
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by TheBigG » 14 Oct 2011 15:46

yamyam wrote:Hi Undef!

I know you quit well and i appreciate your work tremendously... and i know that you have a lot of work with all this. But anyway i want to ask if there is anything new about the "api-connection" problem with TM-Karma as my server log is still full of fails to connect to your server.

Thanks and keep up the great work! <3
donate some € i think that will help undef
or nadeo support undefs project now

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1308
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by undef.de » 14 Oct 2011 16:33

yamyam wrote:But anyway i want to ask if there is anything new about the "api-connection" problem with TM-Karma as my server log is still full of fails to connect to your server.
But without killingXAseco2? Did you already install the 1.0.4? PM me please your logs.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

yamyam
happy cruiser
happy cruiser
Posts: 147
Joined: 15 Sep 2011 00:38
Owned TM-games: TM1 Vanilla,TMS,TM2C

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by yamyam » 14 Oct 2011 17:48

undef.de wrote: But without killingXAseco2? Did you already install the 1.0.4? PM me please your logs.
No without. Xaseco 2 never crashed on my server if there were a fail of connection to your api. I just see it live while gaming (as there are no global karma is shown and everyone can vote again even if they already had) and of course in my log files. I will send you some logs soon. I just re-installed my server and need them to be filled again ;)
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit one of our TM2-Clanservers or download the INSOMNIA TM2-Trackpack !
You may also visit us at our Mania-Exchange Clan-Profile.

yamyam
happy cruiser
happy cruiser
Posts: 147
Joined: 15 Sep 2011 00:38
Owned TM-games: TM1 Vanilla,TMS,TM2C

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by yamyam » 30 Oct 2011 16:14

Hey Undef ... you updated AS and RE in case of the bilderload crash, but forgot TM-Karma ;-)

Could you please post a fix (new URLs) for the follwing part of tmkarma.xml:

Code: Select all

	<images>
		<widget_open_left>http://www.bilderload.com/bild/52706/llopenQSG9X.png</widget_open_left>
		<widget_open_right>http://www.bilderload.com/bild/52704/rropenXGHXT.png</widget_open_right>

		<mx_logo_normal>http://www.bilderload.com/bild/139023/logomaniaexchangenormalO323T.png</mx_logo_normal>
		<mx_logo_focus>http://www.bilderload.com/bild/139024/logomaniaexchangefocus0Y7M8.png</mx_logo_focus>

		<tmkarma_logo>http://www.bilderload.com/bild/69588/tmkarmacomlogoWWRTU.png</tmkarma_logo>
	</images>
You may wanna try http://www.pic-upload.de in this widget instead of abload.com? So if this happens again, not every widget of you will be "broken" ;-)

Therefore some nice idea:
You may add - if possible - for every plugin and every image TWO image urls - one from abload and one from pic-upload for example. If the first given url isnt reacheable the plugin should take the second "alternative". This would lower the risk of broken image links immense.


Thanks a lot! :lovetm
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit one of our TM2-Clanservers or download the INSOMNIA TM2-Trackpack !
You may also visit us at our Mania-Exchange Clan-Profile.

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1308
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by undef.de » 30 Oct 2011 16:41

yamyam wrote:Hey Undef ... you updated AS and RE in case of the bilderload crash, but forgot TM-Karma ;-)

Could you please post a fix (new URLs) for the follwing part of tmkarma.xml:


Therefore some nice idea:
You may add - if possible - for every plugin and every image TWO image urls - one from abload and one from pic-upload for example. If the first given url isnt reacheable the plugin should take the second "alternative". This would lower the risk of broken image links immense.
I did not have the time to manage all of that (~60-80 files in all my Plugins)... it´s a lot of work to keep this files up-to-date... :wink:

On the other hand: Nobody need to use my location, just download all of them and host them by yourself... then it´s in your hand. :1


New locations for the Ingame images (zip also updated):

Code: Select all

	<images>
		<widget_open_left>http://www.abload.de/img/edge-open-ld-darkukc2.png</widget_open_left>
		<widget_open_right>http://www.abload.de/img/edge-open-rd-dark0jxz.png</widget_open_right>

		<mx_logo_normal>http://www.abload.de/img/logo-maniaexchange-nor780b.png</mx_logo_normal>
		<mx_logo_focus>http://www.abload.de/img/logo-maniaexchange-foc0jf6.png</mx_logo_focus>

		<tmkarma_logo>http://www.abload.de/img/logotm-karma.comfcqp.png</tmkarma_logo>
	</images>
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

yamyam
happy cruiser
happy cruiser
Posts: 147
Joined: 15 Sep 2011 00:38
Owned TM-games: TM1 Vanilla,TMS,TM2C

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by yamyam » 30 Oct 2011 16:56

undef.de wrote:
I did not have the time to manage all of that (~60-80 files in all my Plugins)... it´s a lot of work to keep this files up-to-date... :wink:
I believe that one ... thanks for your fast reaction and fixes! <3

By the way: What happend? As i see bilderload still exists - did they just kicked all of your images because they made too much traffic?!
undef.de wrote:
On the other hand: Nobody need to use my location, just download all of them and host them by yourself... then it´s in your hand. :1
That is 100% correct and i do know that very well. In my case this wont be any problem at all, but i dont think that all users got the option to use own webspace so my idea was just a nice meaned idea to fix those problems in future as there would be an anterlative second URL for every pic. This would even help if abload.com (why ever) wont be reachable for some hours in case of network failures etc.
undef.de wrote: New locations for the Ingame images (zip also updated):
TOPTOP! *thanks*
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit one of our TM2-Clanservers or download the INSOMNIA TM2-Trackpack !
You may also visit us at our Mania-Exchange Clan-Profile.

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1308
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by undef.de » 30 Oct 2011 17:00

yamyam wrote:
undef.de wrote: I did not have the time to manage all of that (~60-80 files in all my Plugins)... it´s a lot of work to keep this files up-to-date... :wink:
I believe that one ... thanks for your fast reaction and fixes! <3

By the way: What happend? As i see bilderload still exists - did they just kicked all of your images because they made too much traffic?!

Nope, at the Website was the notice: HD (Raid) crash... Backup HD crash... all data lost... (analogous Translation).
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

yamyam
happy cruiser
happy cruiser
Posts: 147
Joined: 15 Sep 2011 00:38
Owned TM-games: TM1 Vanilla,TMS,TM2C

Re: [XASECO2] Plugin: TM-Karma.com 1.0.4 (UPDATE)

Post by yamyam » 30 Oct 2011 17:20

undef.de wrote: Nope, at the Website was the notice: HD (Raid) crash... Backup HD crash... all data lost... (analogous Translation).
Oh ok ... searched for some info but on http://www.bilderload.com/news.html is just a note about some server maintanance but no data failure or crash.

Thanks for the info!
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit one of our TM2-Clanservers or download the INSOMNIA TM2-Trackpack !
You may also visit us at our Mania-Exchange Clan-Profile.

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1308
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.5 (UPDATE)

Post by undef.de » 20 Nov 2011 15:20

Just wanna say: There is an update out there... see my first post.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
sterretje22
road tourist
road tourist
Posts: 87
Joined: 29 May 2010 23:47
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): fireteam
Location: Oudenburg(BE)
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.5 (UPDATE)

Post by sterretje22 » 20 Nov 2011 16:09

I installed the update but it says this

Code: Select all

[11/20,17:03:40] [plugin.tm-karma-dot-com.php] Could not read/parse config file 'tmkarma.xml'!
[11/20,17:03:40] 	Premature end of data in tag karma_lottery line 128
[11/20,17:03:40] 	Premature end of data in tag tmkarma line 2
[XASECO2 Fatal Error] [plugin.tm-karma-dot-com.php] Please copy the 'tmkarma.xml' from this Package into the XAseco2 directory and do not forget to edit it! on line 417 in file /home/tm2/fireserver13/xaseco2/plugins/plugin.tm-karma-dot-com.php
I did what I always do normal there are no problems...

I downloaded the new version and also update the 'tmkarma.xml'
`·.¸¸.->ѕтαя~ƒιяє<-.¸¸.·´
ImageImage
Image
`·.¸¸.->~ƒιяє~<-.¸¸.·´
Image

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1308
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.5 (UPDATE)

Post by undef.de » 20 Nov 2011 16:24

sterretje22 wrote:I installed the update but it says this

Code: Select all

[11/20,17:03:40] [plugin.tm-karma-dot-com.php] Could not read/parse config file 'tmkarma.xml'!
[11/20,17:03:40] 	Premature end of data in tag karma_lottery line 128
[11/20,17:03:40] 	Premature end of data in tag tmkarma line 2
[XASECO2 Fatal Error] [plugin.tm-karma-dot-com.php] Please copy the 'tmkarma.xml' from this Package into the XAseco2 directory and do not forget to edit it! on line 417 in file /home/tm2/fireserver13/xaseco2/plugins/plugin.tm-karma-dot-com.php
I did what I always do normal there are no problems...

I downloaded the new version and also update the 'tmkarma.xml'
The tag <karma_lottery> did not have a </karma_lottery> in your tmkarma.xml.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
sterretje22
road tourist
road tourist
Posts: 87
Joined: 29 May 2010 23:47
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): fireteam
Location: Oudenburg(BE)
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.5 (UPDATE)

Post by sterretje22 » 20 Nov 2011 17:08

And how do I add this tag?
I didn't change any thing about the lottery...

Code: Select all

	<karma_lottery>
		<!-- Set to 'true' if you wish to enable the Karma Lottery, otherwise set 'false' -->
		<enabled>false</enabled>

		<!-- How many Players must logged in to start the Lottery? -->
		<planets_win>5</planets_win>

		<!-- Minimum amount of server planets to enable payout	-->
		<minimum_server_planets>50</minimum_server_planets>
	</karma_lottery>
`·.¸¸.->ѕтαя~ƒιяє<-.¸¸.·´
ImageImage
Image
`·.¸¸.->~ƒιяє~<-.¸¸.·´
Image

biloudeprovence
road tourist
road tourist
Posts: 82
Joined: 24 Jul 2008 09:49
Owned TM-games: TMU

Re: [XASECO2] Plugin: TM-Karma.com 1.0.5 (UPDATE)

Post by biloudeprovence » 21 Nov 2011 18:41

Hi Undef
How are you fine I hope

I have updated TM KARMA 1.05 with RecordEyepiece 1.04 and I report errors

Code: Select all

Begin Round
[11/21,17:57:58] [Dedimania] player biloudeprovence finished with 78794 and took the 16. WR place!
End Round
R5> 1.三RΛFΛL> SnOop, 2.Vorik, 3.Dégénération, 4.ßÐŞ BiLou, 5.robingsx1200
End Map
[11/21,17:58:08] vorikkhayn won for the 16. time!
[PHP Notice] Undefined index: rogeur on line 6949 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.records_eyepiece.php
[11/21,17:58:09] [RASP] Calculating ranks...
[11/21,17:58:09] [RASP] ...Done!
[11/21,17:58:10] [Music] Setting next song to: http://biloudirtstadium.free.fr/MUXAMIGA/Nord et Sud Turrican 2.ogg
[11/21,17:58:10] [forceMods] Enabling mod: Canyon > MoontainRacingPark
[11/21,17:58:11] player vorikkhayn used chat command "/gg "
[PHP Notice] Undefined variable: logins on line 2707 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.tm-karma-dot-com.php
[PHP Notice] Undefined variable: logins on line 2707 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.tm-karma-dot-com.php
[PHP Notice] Undefined variable: logins on line 2707 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.tm-karma-dot-com.php
[11/21,17:58:32] >> player 243 left the game [vorikkhayn : $00FVo$F00rik : 00:08:36]

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1308
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO2] Plugin: TM-Karma.com 1.0.5 (UPDATE)

Post by undef.de » 21 Nov 2011 19:08

biloudeprovence wrote:

Code: Select all

[PHP Notice] Undefined index: rogeur on line 6949 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.records_eyepiece.php
The line 6949 is empty in my release 1.0.4... :?:

biloudeprovence wrote:

Code: Select all

[PHP Notice] Undefined variable: logins on line 2707 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.tm-karma-dot-com.php
[PHP Notice] Undefined variable: logins on line 2707 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.tm-karma-dot-com.php
[PHP Notice] Undefined variable: logins on line 2707 in file C:\Serveurs\TM2 CANYON\xaseco2_098\plugins\plugin.tm-karma-dot-com.php

Harmless notice, but if you change from line 2687 till 2689, this

Code: Select all

	// Should all other player (except the vote given player) be informed/asked?
	if ($tmkarma_config['show_player_vote_public'] == true) {
		foreach ($aseco->server->players->player_list as &$pl) {

to

Code: Select all

	// Should all other player (except the vote given player) be informed/asked?
	if ($tmkarma_config['show_player_vote_public'] == true) {
		$logins = '';
		foreach ($aseco->server->players->player_list as &$pl) {
then this notices are off.

(4 Xymph :)) The download has been updated too.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

yamyam
happy cruiser
happy cruiser
Posts: 147
Joined: 15 Sep 2011 00:38
Owned TM-games: TM1 Vanilla,TMS,TM2C

Re: [XASECO2] Plugin: TM-Karma.com 1.0.5 (UPDATE)

Post by yamyam » 22 Nov 2011 19:24

Hey undef,

great work , as always! <3
Changed formating of the amount of votes from e.g. "10 906" to "10,906" (english notation)
Following two points would affect several of your plugins:

1.
You should/may also add the "point" (.) as notation, as this is more common in most countries and also would match better with other scores like "top_ranking" and others where a dot is used for notation. Thanks! The user should be able to choose his fav notation (comma or dot) in the xml.

2.
You may add this notaion feature also to "most_finished" as on our servers some ppl reached the 1K mark.

Thanks and keep on the excellent work :thumbsup:
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit one of our TM2-Clanservers or download the INSOMNIA TM2-Trackpack !
You may also visit us at our Mania-Exchange Clan-Profile.

Post Reply