a_bertrand Posted November 15, 2012 Share Posted November 15, 2012 Hi, The latest 1.1.4 is now available to download as upgrade or whole package. This version includes: - Improvements on the error handling (easier to understand errors) - Image uploads (system wide configured via config.xml) - Avatar system - Improvement on the layout display of the forum threads - Some bug fixes - Introduction of the theme importer / exporter (work is in progress to offer you a second theme) - Offline mode (with a function to check if somebody is online or not) - NPC can now have their own image And much more. (Total number of included modules: 102) Check, and report any issues. Quote Link to comment Share on other sites More sharing options...
chicka Posted November 15, 2012 Share Posted November 15, 2012 I"ve seen more updates and new mods from you in the past few months than I have from McCodes in the past few years.. Says quite a bit right there. Quote Link to comment Share on other sites More sharing options...
Octarine Posted November 15, 2012 Share Posted November 15, 2012 Really would benefit from unit testing methinks -- < 20 seconds to find a bug though ;) -- Saying that, I have a sneaky suspicion this existed prior to 1.1.4 Error: Undefined variable: uservals HINT: You should always declare your variables before using them. However this error could be triggered as well if you made a typo in the variable name or you missed to call the global $var_name command. Error in evaluated code: $uservals["!Currency"]->value+=10; Error in "/var/www/nwe/htdocs/libs/common.php(1140) : eval()'d code" Line 1 Error in /var/www/nwe/htdocs/libs/common.php Line 1140 Error in /var/www/nwe/htdocs/modules/works/content.php Line 48 Error in /var/www/nwe/htdocs/libs/common.php Line 554 Error in /var/www/nwe/htdocs/index.php Line 316 Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted November 15, 2012 Author Share Posted November 15, 2012 That's indeed an old bug... not new to 1.1.4. Anyhow thanks for the report. Unit testing would indeed help, however I need to find a good / smart way to set it up without taking me ages to do so. Use this SQL to fix it: replace into works(id,name,description,effect) values(1,'Harvest apples','Harvest apples for one hour, and receive 10 !Currency','$userStats["!Currency"]->value+=10;'); replace into works(id,name,description,effect,duration) values(2,'Sheepherding','Keep an eyes on the sheeps for a whole day and receive 40 !Currency','$userStats["!Currency"]->value+=40;',3600*24); Or yet better simply upgrade via the module manager the work module ;) Quote Link to comment Share on other sites More sharing options...
Octarine Posted November 15, 2012 Share Posted November 15, 2012 Well you certainly can't question the speed of response. I'd doff my cap, but it's collecting pennies for another venture ;) Quote Link to comment Share on other sites More sharing options...
Razor42 Posted November 15, 2012 Share Posted November 15, 2012 Amazing work, constant brilliant updates! Well done. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted November 16, 2012 Author Share Posted November 16, 2012 Thanks guys. Quote Link to comment Share on other sites More sharing options...
Uridium Posted November 16, 2012 Share Posted November 16, 2012 Brilliance at its best weldone berty :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.