Page 20 of 51
Re: FeedBack & Bugs | Your ideas are important
Posted: 06 Jan 2015, 13:42
by samp
reaby wrote:The errors sounds like you updated only the plugins pack... there has been update in the dedicated api as well.
To run full update, please run "/adm update" in game.
For script parameter just use the script name without directory...
Thanks. Updated manialive-lib and the error is gone

Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 19:18
by killer606
Is it possible to copy all settings (really everything, except dedimania code and ports...) from expansion and use it for a new server? (Like in Xaseco, just copy the folder and change, login, pws and ports)
We never got it, we always had to do the same things on all servers (SimpleAd, change Res and skip prices, and also activate all plugins we want to have)
This would be much esier if you have more servers.
Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 19:36
by oliverde8
yes it is possible, you can copy the config/eXp folder. there are the global config file (settings.exp) the custom config files that are only used for plugins list at the moment(you can save new ones in the config). And the server settings are in settings.serverlogin.exp
but you can also use a single install for multiple servers. check this out :
https://github.com/eXpansionPluginPack/ ... tall-multi
Ideally in the future the scope of config settings will be dynamic(it actually is but the interface don't support it), so you will be able to define 3 scopes. global/server/customFile
There is some reading on that here :
https://github.com/eXpansionPluginPack/ ... Unserstand but it needs to be completed when we finish to dev it. I think it would be cool but it is a functionality that not a lot would use so low in the todo.
Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 19:38
by killer606
If I copy the config EXP folder, do I have to rename something? Because there are some files with the serverlogin.
EDIT: If I use the multiple servers with one Manialive, when I update it on one server is it automatically updated for every server?
Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 19:41
by oliverde8
sorry, I realized I had't been very explicit and edited the first post XD
The files with server login contains the server scoped configuration like dedimania; so normally no you can even delete those.
Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 19:59
by killer606
Okay sounds good.
So settings.exp is the "plugin.xml" like in Xaseco, settings_serverlogin.exp is what you can change with /admin settings?
And what is this casualRace.user.exp?
Sorry for these many questions :/
Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 21:52
by oliverde8
np

but no you didn't understand what I meant
when you open the /admin settings windows there is icons on the left of each setting :
http://www.ml-expansion.com/img/screens/ExpSettings.jpg
Those icons represent server settings & global settings. You should have a tooltip indicating which one it is, to make it simple the globe icon represents global settings, the monitor icon represents server settings.
The settings.exp file has all those global settings, and the settings_serverlogin.exp has all the server settings. There isn't really a representation of this in Aseco.
The other files like casualRace.user.exp are the default custom settings file. At the moment they only contain your plugin list(so you need to copy it). In /admin settings, in the Config Files tab you should have a setting to use another file. This allows you to have multiple preconfigured sessions ready to launch.
For example you use your server for training & competition. You can have one train setting file that activates some stats & gui plugins and have a race setting file that disables some plugins and activate others. The switch from files are done imediately by eXpansion without the need of a restart. We have a few preconfigured settings already available(the defaults are store elsewhere and should never bee touched. when they are modified a new file is created in that directory to protect the original) . In the future you will be able to set which settings you wished to be stored in that file, and so when switching you will for example have chat color that changes as well as the loaded plugins.
The eXpansion configuration system is I think the most thought configuration system on controllers ever. But sadly even if the API supports a lot of things the interface isn't still ready to take full advantage of it. But the mass plugin switching using the config file works well at the moment.

Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 22:39
by w1lla
Bug:
I am trying to make a multirank plugin for Trackmania2. Problem i have is that my database is setup as mysqli:
Code: Select all
Apache/2.4.6 (Win32) PHP/5.4.17
Client-versie van databank: libmysql - mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $
PHP-uitbreiding: mysqli
Problem i have is with this code:
Code: Select all
SELECT rank_playerlogin,
((SUM(rank_rank) + (45 - Count(*))*100)/45) as tscore
FROM exp_ranks rr, exp_records r, exp_players p
WHERE rr.rank_playerlogin = ' . $this->db->quote('reaby')
. ' AND rank_challengeuid IN (' . $Valleyuids . ')
AND rr.rank_playerlogin = r.record_playerlogin
AND r.record_playerlogin = p.player_login
AND rank_challengeuid = r.record_challengeuid
It gives all maps results back for example Valley and for reaby but for some reason i get a total wrong data back. With this query i used from LocalBase.php i get a value back which is much lower then the value i see when i copy paste this code in phpmyadmin which should be the real code.
Maybe i am doing something wrong or such. Also in same LocalBase.php i used a part for Player Ranking which also gives a bug. Problem might be in a low database information which might be correct. If people want to see such plugin i need a bigger database then what i have so pretty please ^^ donate and you will be rewarded greatly.
With kind regards,
W1lla
Re: FeedBack & Bugs | Your ideas are important
Posted: 08 Jan 2015, 23:14
by killer606
oliverde8 wrote:np

but no you didn't understand what I meant
when you open the /admin settings windows there is icons on the left of each setting :
http://www.ml-expansion.com/img/screens/ExpSettings.jpg
Those icons represent server settings & global settings. You should have a tooltip indicating which one it is, to make it simple the globe icon represents global settings, the monitor icon represents server settings.
The settings.exp file has all those global settings, and the settings_serverlogin.exp has all the server settings. There isn't really a representation of this in Aseco.
The other files like casualRace.user.exp are the default custom settings file. At the moment they only contain your plugin list(so you need to copy it). In /admin settings, in the Config Files tab you should have a setting to use another file. This allows you to have multiple preconfigured sessions ready to launch.
For example you use your server for training & competition. You can have one train setting file that activates some stats & gui plugins and have a race setting file that disables some plugins and activate others. The switch from files are done imediately by eXpansion without the need of a restart. We have a few preconfigured settings already available(the defaults are store elsewhere and should never bee touched. when they are modified a new file is created in that directory to protect the original) . In the future you will be able to set which settings you wished to be stored in that file, and so when switching you will for example have chat color that changes as well as the loaded plugins.
The eXpansion configuration system is I think the most thought configuration system on controllers ever. But sadly even if the API supports a lot of things the interface isn't still ready to take full advantage of it. But the mass plugin switching using the config file works well at the moment.

Thanks a lot for your answers and time. We will try it with one manialive for all servers, thats more easy for many servers.
By the way, this is the best controller I've ever seen, go and move it for TMNF

we will change all our servers to expansion

Re: FeedBack & Bugs | Your ideas are important
Posted: 09 Jan 2015, 13:57
by w1lla
My last can be seen as not needed anymore as help intended.