[plugin] TMKarma - Edit Me!

Post here every finished plugin

Moderator: NADEO

tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: [plugin] TMKarma - Edit Me!

Post by tmdunhill »

Hello Friends,

Thanks for the help, but still giving the same error, other action would have to be made?


Thanks

Dunhill :cry: :cry:
User avatar
aseco
Posts: 99
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: [plugin] TMKarma - Edit Me!

Post by aseco »

tmdunhill wrote:hello,

I would like a helping hand to set my ip as indicated below, but the system is not identifying the address, which could make for correction?

Occured on 06.03.2011 at 22:26:30 at process with ID #1020
---------------------------------
-> ManiaLivePlugins\Flo\TMKarma\Exception with code 0
The country code <187.36.237.199> is not known!
- in C:\ManiaLive\libraries\ManiaLivePlugins\Flo\TMKarma\Service.php on line 35
- Stack: #0 C:\ManiaLive\libraries\ManiaLivePlugins\Flo\TMKarma\TMKarma.php(79): ManiaLivePlugins\Flo\TMKarma\Service::forceCountryCode('<187.36.237.199>')

I'm tearing down the configuration set in config.ini.

plugins.Flo\TMKarma.posX = 49
plugins.Flo\TMKarma.posY = -10.1
plugins.Flo\TMKarma.scale = 0.9
plugins.Flo\TMKarma.countryCode = <187.36.237.199>
plugins.Flo\TMKarma.communityCode = <XXXX>
plugins.Flo\TMKarma.login = <XXXXX>

Thanks.
for the settings you need to remove all the brackets as has been pointed out yet.
Aaand the countryCode needs to be the ISO country code instead of IP address, for instance Germany would be DE and France FR.

Code: Select all

plugins.Flo\TMKarma.countryCode = 'DE'
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic
tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: [plugin] TMKarma - Edit Me!

Post by tmdunhill »

Hello Friends,

First I would like to thank everyone for your help!

Redid the settings, as orientations.

However, even with the alterations made​​, still can not run TMKarma, even defining the Code of Community, he says he has not been set, I am posting the error message below:

-> Exception with code 0
You need to set the communityCode in the config.ini in order to make TMKarma work!
- in C:\manialive\libraries\ManiaLivePlugins\Flo\TMKarma\TMKarma.php on line 60

My Settings

plugins.Flo\TMKarma.posX = 49
plugins.Flo\TMKarma.posY = -10.1
plugins.Flo\TMKarma.scale = 0.9
plugins.Flo\TMKarma.countryCode='BR' or `DE`
plugins.Flo\TMKarma.communityCode='x5x4x9'
plugins.Flo\TMKarma.login = 'vix'

I did something wrong?

Thanks for the help

Greetings.
Dunhill
:?
User avatar
Knutselmaaster
Posts: 1276
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [plugin] TMKarma - Edit Me!

Post by Knutselmaaster »

tmdunhill wrote: plugins.Flo\TMKarma.communityCode='x5x4x9'
plugins.Flo\TMKarma.login = 'vix'
Is vix the login of your server?
Is x5x4x9 the community code of the login of your server?
tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: [plugin] TMKarma - Edit Me!

Post by tmdunhill »

Hello Knutselmaaster,

This is not my login server, I used an example.

My community is the code x5x4x9 and the login server osamu_vix.

Thanks for the feedback.

Dunhill
TheM
Posts: 1446
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: [plugin] TMKarma - Edit Me!

Post by TheM »

tmdunhill wrote:plugins.Flo\TMKarma.countryCode='BR' or `DE`
Of course the or won't work, and those `s won't work either.
You'll have to use one country with 's.
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).
tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: [plugin] TMKarma - Edit Me!

Post by tmdunhill »

Hello Then,

I used only one, I put the two countries to show that I tried but one, but he brings the message does not recognize the code defined community, but this reported in the config.ini.

Is there any further configuration to be done?

Thanks.

Greetings
tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: [plugin] TMKarma - Edit Me!

Post by tmdunhill »

Hello Friends,

Good night! Still not able to run the plugin "TmKarma, " he complains to the code of the community was not placed in the config.ini, but he is set correctly, is there any action I can still do?

Another doubt, but related to the plugin "Karma ", creating tables is through his script already inserted into the source of the plugin?

Was analyzing my table and though he was running, the table was not created.

Thank please note.

Greetings.

Dunhill
:cry:
tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: [plugin] TMKarma - Edit Me!

Post by tmdunhill »

Hello,

I'm going to tell, who ran the plugin!

Thank you for everyone's help!

Hug.

dunhill

:D :mrgreen: :D :mrgreen:
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: [plugin] TMKarma - Edit Me!

Post by undef.de »

This plugin is unfortunately not 100% compatible with the TM Karma API and may rejected in future from the API(!), if more Servers use this, and if this did not get fixed.

Therefore, please do not use until someone catch and edit this!
  • User-Agent are unset at Auth/Get/Vote API-Requests
  • Display of the Karma-Value is wrong (this is not a percent value)
  • The labels at the Buttons in the Widget are different to all other controller plugins
  • The Karma link in the Widget does not contain the UID from the current Challenge
  • Configuration of plugins.Flo\TMKarma.countryCode is different to all other controller plugins and can confuse admins that switch to ManiaLive (e.g. 'DE' instead 'DEU')
  • The percent values in ManiaLivePlugins\Flo\TMKarma\Structures\Rating.php are not 'int' (since release 1.0.1 at XAseco)
If someone want to edit this plugin, please contact me and ask for the API-Documentation to fix this and to be up-to-date. Currently i´m working at the API to include some missing features and speed-ups...
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest