Page 6 of 7
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 11:10
by chipo89
hello
how are u
 I wanted to point out that there is a bug with forcmod Still, it does not load
forcemods disabled since there is no mods defined in config
this morning when I have my server restart
well yes I'd like to learn a little coding devellopement; but I do not know where to start, I try to learn prennant of already existing code and see what it has is etc ... but is so hard; p
I will try to correct my error alone ..... and I'll show you after if I bug
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 19:30
by reaby
chipo89 wrote:I wanted to point out that there is a bug with forcmod Still, it does not load
forcemods disabled since there is no mods defined in config
found stupid mistake, it's fixed now.
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 19:53
by chipo89
hey i have a any probleme ,
this after noon I have put out my server
and I just started the server but there is an error
[localrecords] fetching from database server ranks!
error: mysql_query <>: unable to save result set
What should I do?
 I have tried to make a updated, but nothing changes
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 20:02
by oliverde8
chipo89 wrote:hey i have a any probleme ,
this after noon I have put out my server
and I just started the server but there is an error
[localrecords] fetching from database server ranks!
error: mysql_query <>: unable to save result set
What should I do?
 I have tried to make a updated, but nothing changes
Hi, can you check your log/error.log
and if not export your expansion database and send us the table creation queries so we can check if you didn't change anything by mistake.
never heard of that error before, and local records hasn't been touch since well 6 month.
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 20:06
by chipo89
my error.log
Code: Select all
[2014-08-03T21:00:15+02:00]
Occured on 03.08.2014 at 21:00:15 at process with ID #4360
---------------------------------
-> ErrorException with code 2
mysql_query(): Unable to save result set
- in E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\Database\MySQL\Connection.php on line 142
- Stack: #0 E:\exp\libraries\ManiaLivePlugins\eXpansion\Core\types\ErrorHandler.php(15): ManiaLive\Application\ErrorHandling::createExceptionFromError(2, 'mysql_query(): ...', 'E:\\exp\\vendor\\m...', 142)
#1 [internal function]: ManiaLivePlugins\eXpansion\Core\types\ErrorHandler::createExceptionFromError(2, 'mysql_query(): ...', 'E:\\exp\\vendor\\m...', 142, Array)
#2 E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\Database\MySQL\Connection.php(142): mysql_query('SELECT ((SUM( r...', Resource id #108)
#3 E:\exp\libraries\ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords.php(1496): ManiaLive\Database\MySQL\Connection->execute('SELECT ((SUM( r...')
#4 [internal function]: ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords->getPlayerRank('weshtonpotechip...', '\\ManiaLivePlugi...')
#5 E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\PluginHandler\PluginHandler.php(195): ReflectionMethod->invokeArgs(Object(ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords), Array)
#6 E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\PluginHandler\Plugin.php(162): ManiaLive\PluginHandler\PluginHandler->callPublicMethod(Object(ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest), '\\ManiaLivePlugi...', 'getPlayerRank', Array)
#7 E:\exp\libraries\ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest.php(107): ManiaLive\PluginHandler\Plugin->callPublicMethod('\\ManiaLivePlugi...', 'getPlayerRank', 'weshtonpotechip...')
#8 E:\exp\libraries\ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest.php(88): ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest->displayRecordWidget('weshtonpotechip...', Object(ManiaLivePlugins\eXpansion\LocalRecords\Structures\Record))
#9 E:\exp\libraries\ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest.php(62): ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest->redrawWidget('weshtonpotechip...')
#10 E:\exp\libraries\ManiaLivePlugins\eXpansion\LocalRecords\Events\Event.php(31): ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest->onRecordsLoaded(Array)
#11 E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\Event\Dispatcher.php(121): ManiaLivePlugins\eXpansion\LocalRecords\Events\Event->fireDo(Object(ManiaLivePlugins\eXpansion\Widgets_PersonalBest\Widgets_PersonalBest))
#12 E:\exp\libraries\ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords.php(922): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLivePlugins\eXpansion\LocalRecords\Events\Event))
#13 E:\exp\libraries\ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords.php(352): ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords->updateCurrentChallengeRecords()
#14 E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\DedicatedApi\Callback\Event.php(75): ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords->onBeginMap(Array, false, NULL)
#15 E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\Event\Dispatcher.php(121): ManiaLive\DedicatedApi\Callback\Event->fireDo(Object(ManiaLivePlugins\eXpansion\LocalRecords\LocalRecords))
#16 E:\exp\vendor\maniaplanet\manialive-lib\ManiaLive\Application\Application.php(123): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\DedicatedApi\Callback\Event))
#17 E:\exp\bootstrapper.php(73): ManiaLive\Application\Application->run()
#18 {main}
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 20:10
by chipo89
and if I start from the beginning with 0.9.6 and I made ​​the updated with the nighty path, the problem would be solved?
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 20:55
by oliverde8
well can we try and see what causes the issue first

anyway reseting database would be enought.
The problem is proably your table that broke, computer recently crashed? or mysql crashed.
Ok first can you repair your table expansion settings --> database --> tick exp_ranks --> click repair
or do it throught phpmyadmin.
If it still doesen't work, drop the exp_ranks table and let see what happens.
The problem here is with ranks and not records.
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 03 Aug 2014, 22:13
by chipo89
good job
after repair my "exp_rank" ,Expansion work
ty
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 04 Aug 2014, 00:32
by TheBigG.
oliverde8 wrote:
The othe error is more troublesome. Did you close and restart your dedicated server yesterday? it just lost connection with dedicated server so not sure the problem comes from us.
i did shutdown the server via expansion
Re: eXpansion 0.9.7 @ nighty branch (26/7/2014)
Posted: 04 Aug 2014, 11:33
by chipo89
hi
I just finished my plugin, I managed to find my mistake =)
in expsension setting:
in plugin list:
in game:
I try now to change:
-text color
- Several new (news1, news2, news3 ....
- An effect for text display (centered at the top of the image, scrolling the "new" in cascasde)
-or do as donate panel with "news" show in
but not easy, if you had any advice? =)
I'm already quite happy to be arriving until the