Page 2 of 2
Re: [plugin] TMKarma - Edit Me!
Posted: 07 Mar 2011, 23:25
by tmdunhill
Hello Friends,
Thanks for the help, but still giving the same error, other action would have to be made?
Thanks
Dunhill

Re: [plugin] TMKarma - Edit Me!
Posted: 11 Mar 2011, 00:34
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'
Re: [plugin] TMKarma - Edit Me!
Posted: 11 Mar 2011, 01:36
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

Re: [plugin] TMKarma - Edit Me!
Posted: 11 Mar 2011, 01:59
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?
Re: [plugin] TMKarma - Edit Me!
Posted: 11 Mar 2011, 03:20
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
Re: [plugin] TMKarma - Edit Me!
Posted: 11 Mar 2011, 08:45
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.
Re: [plugin] TMKarma - Edit Me!
Posted: 12 Mar 2011, 03:15
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
Re: [plugin] TMKarma - Edit Me!
Posted: 18 Mar 2011, 04:39
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

Re: [plugin] TMKarma - Edit Me!
Posted: 19 Mar 2011, 16:07
by tmdunhill
Hello,
I'm going to tell, who ran the plugin!
Thank you for everyone's help!
Hug.
dunhill

Re: [plugin] TMKarma - Edit Me!
Posted: 10 Apr 2011, 19:12
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...