Code Monkey home page Code Monkey logo

smart-space's Introduction

!!!!WARNING DONT FORGET THE mysql.sql TO INSERT IN YOUR DATABASE!!!!

Please Join us to the forum to get the best Support. visit http://smartgames.esy.es

Smart-Space

SmartSpace is an Browsergame Based of the 2moons 1.7.3 Engine.
SmartSpace is complete responsive and mobile friendly.

How to Install:

  1. Edit the config.php in /includes.
  2. Open your phpmyadmin and import the database.
  3. Upload all Files to your root dir.
  4. The vendor dir copy to the root dir.
  5. You can test on the loginpage username admin password admin.
  6. Create a new user and go to phpmyadmin and edit this user and give him the adminrights userlevel 3.

Visit http://SmartGames.esy.es for modding and support.

Update Changelog:

02.12.2016 V1.1.3

  • Fixed Chat thanks to @Reverence87​

  • Fixed Build Compact view (Turn it to the Normal View)

  • Fixed Research Compact view (Turn it to the Normal View)

  • Fixed Support-System thanks to @Reverence87​

  • Left Footer menu added on mobile view. (All Links from the Header on Desktop view are added to this menu)

    Info: This Update will be online on the next day.

27.11.2016 V1.1.2

° Page Overview Ingame little Design Fixes.

° Ally Fix. Now its really Fixed on 23.11.2016.

° Auto update from the Statistic is now really Fixed on 23.11.16.

  • Building Info, Research Info and Fleed Info Added on Overview.

  • Write Massage Reworked and Fixed.

  • Online Admins in Overview Added.

  • Revlink is now Added.

  • Building Page on Small Devices remove compact view. (Not working on all devices, we remove it. When its working come it back)

Update post on Github.

The Update is Online

25.09.2016 V1.1.1

  • News Added on the Overview Page Ingame.
  • Admin Session Warning Redesigned.
  • Page Overview Ingame little Designe Fixes.

02.05.2016 V1.1

​Allianz Bug behoben​


Login angepasst
Weitere kleine Designe & Template änderungen.​

01.01.2016 V1.0 Release

smart-space's People

Contributors

drskyfar avatar reverence87 avatar wumix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smart-space's Issues

class Database php

NOTICE

The space monkeys detected corrupted people on the crew
Maybe it is time to notify your moderator copy-pasting the following error

Message:
Undefined property: Database::$queryCount

File:
/includes/classes/class.Database.php

Line: 75
URL: http://smart-space.esy.es/
PHP-Version: 5.5.35
PHP-API: cgi-fcgi
MySQL-Cleint-Version: 10.0.25-MariaDB

#0 /includes/classes/class.Database.php(75): errorHandler(8, 'Undefined prope...', 'FILEPATH ...', 75, Array)
#1 /includes/classes/Config.class.php(37): Database->query('SELECT * FROM u...')
#2 /includes/common.php(92): Config::init()
#3 /index.php(37): require('FILEPATH ...')
#4 {main}

advancedMetal

Message: 
Undefined index: advancedMetal

File: 
/includes/classes/class.PlanetRessUpdate.php

Line: 55
URL: http://188.213.171.66/game.php
PHP-Version: 5.4.45-0+deb7u5
PHP-API: apache2handler
MySQL-Cleint-Version: 5.5.52

#0 /includes/classes/class.PlanetRessUpdate.php(55): errorHandler(8, 'Undefined index...', '/includ...', 55, Array)
#1 /includes/classes/class.PlanetRessUpdate.php(121): ResourceUpdate->CreateHash()
#2 /includes/classes/class.PlanetRessUpdate.php(103): ResourceUpdate->UpdateRessource(1481578374, true)
#3 /includes/pages/game/class.AbstractPage.php(18): ResourceUpdate->CalcResource()
#4 /includes/pages/game/class.ShowOverviewPage.php(35): AbstractPage->__construct()
#5 /game.php(51): ShowOverviewPage->__construct()
#6 {main}

Ref link ....

Ref link it is not visible. It is hidden and can not be selected. The banner is left from 2Moons and hidden somewhere in script. Users numbering starts somewhere from 10,100

alliance

Hi I keep getting an error when im in the game and i press the alliance tab on the left

Message:
Undefined variable: topAlly

File:
/includes/pages/game/class.ShowAlliancePage.php

Line: 213
URL: yyzblog.com/forge/game.php?page=alliance
PHP-Version: 5.6.19
PHP-API: litespeed
MySQL-Cleint-Version: 5.1.59
#0 /includes/pages/game/class.ShowAlliancePage.php(213): errorHandler(8, 'Undefined varia...', 'FILEPATH ...', 213, Array)
#1 /includes/pages/game/class.ShowAlliancePage.php(161): ShowAlliancePage->createSelection()
#2 /game.php(67): ShowAlliancePage->show()
#3 {main}

may you please help
Edit

mobile browser

most thinks are not klickable on a mobile phone (testet on ios with safari and firefox)
both the same.

xterium?

This version is same like xterium?

Template error and blank page after login

Hello,

I saw your project I try to use it but after import database an error pop-up:
Declaration of template::display($file) should be compatible with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id = NULL, $compile_id=null)

To correct this I change reporting system error by that : error_reporting(E_ALL ^ E_STRICT);

And after when I try to connect on account I see a blank page without any error. But when I try to access admin panel it's ok but some feature return same blank page.

I'm on PHP 7.0.14 and Mysql 5.7.16.

I wonder if you know what is wrong ?

Best regards,
BigTwoProduction.

Error Open New Message

Hello everyone, I do not know if you happen to the same thing, but trying to open a received message does not open it and besides that the chat does not work ...

Construction time!

Construction time!
On some construction at a level higher than necessary during construction upgrate it lasts many days. Some even years. Being a game I do not think anyone will stand 10 years to upgrate a building
Solar Power plant at level 64 if needs 3958d 17h 08m 55s.
Should the upgrate to put, and a button for instant finish with a reasonable cost in dark matter. This helps prospective players enrolled late in the game to advance and approach the oldest and participate in wars. What do you think?

Messages wont open

could not open messages - nothing happens after klicking on all messages (all other the same)

Error

NOTICE

The space monkeys detected corrupted people on the crew
Maybe it is time to notify your moderator copy-pasting the following error

Message:
unserialize(): Error at offset 98 of 115 bytes

File:
/includes/classes/class.Cache.php

Line: 73
URL: http://smart-space.esy.es/
PHP-Version: 5.5.35
PHP-API: cgi-fcgi
MySQL-Cleint-Version: 10.0.25-MariaDB

#0 [internal function]: errorHandler(8, 'unserialize(): ...', 'FILEPATH ...', 73, Array)
#1 /includes/classes/class.Cache.php(73): unserialize('a:6:{s:2:"de";s...')
#2 /includes/classes/class.Cache.php(45): Cache->load('language')
#3 /includes/classes/Language.class.php(38): Cache->get('language')
#4 /includes/classes/Language.class.php(51): Language::getAllowedLangs()
#5 /includes/common.php(174): Language->getUserAgentLanguage()
#6 /index.php(37): require('FILEPATH ...')
#7 {main}

Bot / forum fix

Hey, please upload bot addon and fix error on forum i can't sign ;/

`POST http://smartgames.esy.es/api/users/6/send-confirmation


Warning: escapeshellcmd() has been disabled for security reasons in /home/u825870850/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php on line 259

Fatal error: Uncaught RuntimeException: Output has been emitted previously; cannot emit response in /home/u825870850/public_html/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php:31 Stack trace: #0 /home/u825870850/public_html/vendor/zendframework/zend-diactoros/src/Response/SapiEmitter.php(27): Zend\Diactoros\Response\SapiEmitter->assertNoPreviousOutput() #1 /home/u825870850/public_html/vendor/zendframework/zend-diactoros/src/Server.php(162): Zend\Diactoros\Response\SapiEmitter->emit(Object(Zend\Diactoros\Response\EmptyResponse)) #2 /home/u825870850/public_html/vendor/flarum/core/src/Http/AbstractServer.php(36): Zend\Diactoros\Server->listen(Object(Zend\Stratigility\NoopFinalHandler)) #3 /home/u825870850/public_html/api.php(16): Flarum\Http\AbstractServer->listen() #4 {main} thrown in /home/u825870850/public_html/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php on line 31
`

Error! They do not open the messages!

Not even soon to be able to solve this error which does not allow to open any message, in the title it is possible to see the "Loading" only by a second but it does not open them ... as if it did not have destiny and only outside a # somebody already has obtained solve this problem?

  Sorry for my english I'm using the google translator

Smart-Space Board

Hey gerne kann ich das Hosting für das Board übernehmen wenn Interesse daran bestünde sofern du vor hast das Projekt aktiv weiterzuentwickeln.
Ich dachte mir schon das du da Probleme hast mit dem Hoster so ganz Rund lief das wohl ja nicht bisher.

Liebe Grüße ApoRes1337

PHP 7 Support

Hey ist für deine Adaption ein Anpassung auf PHP 7 von dir geplant ?

Energy

Hello!
All production of raw materials is based on energy consumption. All buildings can be great and without energy. It is possible to order the first to have the energy necessary to allow enlargement buildings then?

Proposals!

I have several proposals to make the game more attractive.

  1. Translation game in as many languages.
  2. A referral separate page in which they can make subpages with charts and even referrals monthly competitions with prizes, a market of referrals.
  3. Referrals to bring a percentage of producing by their owners as a bonus 10% for example.
  4. Thinking about a page shareholding of the game. Let's say 100,000 shares. Shares that can be purchased with Dark Matter (or euro) and collects all game by page Donate to raise a fund to be distributed monthly or when they reach a certain amount eg 100 Euro. From here you can make it so that they can withdraw money from the game in such a way that the game has become and profitable and exciting for the players.

Achievements

Hello!
I clicked on achivements 5-6 times in a row and for each access, dark matter, increased by 15-20,000 points. It's ok?

Chat error

Fatal error: Uncaught exception 'ErrorException' with message 'Undefined offset: 8192' in /home/u360425568/public_html/includes/GeneralFunctions.php:688 Stack trace: #0 /home/u360425568/public_html/includes/GeneralFunctions.php(688): errorHandler(8, 'Undefined offse...', '/home/u36042556...', 688, Array) #1 [internal function]: exceptionHandler(Object(ErrorException)) #2 {main} thrown in /home/u360425568/public_html/includes/GeneralFunctions.php on line 688

prem_time

Message: 
Undefined index: prem_time

File: 
/includes/pages/game/class.AbstractPage.php

Line: 108
URL: http://188.213.171.66/game.php
PHP-Version: 5.4.45-0+deb7u5
PHP-API: apache2handler
MySQL-Cleint-Version: 5.5.52

#0 /includes/pages/game/class.AbstractPage.php(108): errorHandler(8, 'Undefined index...', '/includ...', 108, Array)
#1 /includes/pages/game/class.AbstractPage.php(215): AbstractPage->getNavigationData()
#2 /includes/pages/game/class.AbstractPage.php(313): AbstractPage->getPageData()
#3 /includes/pages/game/class.ShowOverviewPage.php(277): AbstractPage->display('page.overview.d...')
#4 /game.php(67): ShowOverviewPage->show()
#5 {main}

Install error

Hi :)
I have error with install:

Message:
Declaration of Database::query($resource) should be compatible with mysqli::query($query, $resultmode = NULL)

File:
/includes/classes/class.Database.php

Line: 283
URL: http:/xxxxxx.com/
PHP-Version: 7.3.6
PHP-API: apache2handler
MySQL-Cleint-Version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $

#0 /includes/common.php(48): errorHandler(2, 'Declaration of ...', 'FILEPATH ...', 283, Array)
#1 /includes/common.php(48): require()
#2 /index.php(37): require('FILEPATH ...')
#3 {main}

Could You help me fix it?

sql database injection

this script version is not secure ,please convert all to pdo connection string

because is not hard to insert some resources into the different planets
thanks

Sql

MySQL zwrócił komunikat: Dokumentacja

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '- Daten für Tabelle `uni1_ticket_kategory`
0--
INSERT INTO `uni1_ticket_categ' at line 2 

Need a little help!

I need a little help.
Instead I want to chat with someone like that on facebook.
Im moment I want to test two chats. One must put these codes:

  • arrowchat

Add our script code
Add this code to your page's header right after the <head> tag:

<link type="text/css" rel="stylesheet" id="arrowchat_css" media="all" href="/arrowchat/external.php?type=css" charset="utf-8" />
<script type="text/javascript" src="/arrowchat/includes/js/jquery.js"></script>
<script type="text/javascript" src="/arrowchat/includes/js/jquery-ui.js"></script>

Add this code to your page's footer right before the </body> tag:

<script type="text/javascript" src="/arrowchat/external.php?type=djs" charset="utf-8"></script>
<script type="text/javascript" src="/arrowchat/external.php?type=js" charset="utf-8"></script>
  • FreiChat

Edit the file YourWebsite.com/themes/templates/header.php and add the following before the closing </head> tag:

<!--===========================FreiChat=======START=========================-->
<!-- For uninstalling ME , first remove/comment all FreiChat related code i.e below code
  Then remove FreiChat tables frei_session & frei_chat if necessary
         The best/recommended way is using the module for installation                         -->

<?php
$ses=null;

if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){

       if(is_file("/home/u360425568/public_html/freichat/hardcode.php")){

               require "/home/u360425568/public_html/freichat/hardcode.php";

               $temp_id =  $ses . $uid;

               return md5($temp_id);

       }
       else
       {
               echo "<script>alert('module freichatx says: hardcode.php file not
found!');</script>";
       }

       return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="http://smart-space.esy.es/freichat/client/main.php?id=<?php echo $ses;?>&xhash=<?php echo freichatx_get_hash($ses); ?>"></script>
 <link rel="stylesheet" href="http://smart-space.esy.es/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">
<!--===========================FreiChatX=======END=========================-->

chat error

Hi i update but chat not work
Fatal error: Uncaught exception 'ErrorException' with message 'Undefined offset: 8192' in /home/u360425568/public_html/includes/GeneralFunctions.php:688 Stack trace: #0 /home/u360425568/public_html/includes/GeneralFunctions.php(688): errorHandler(8, 'Undefined offse...', '/home/u36042556...', 688, Array) #1 [internal function]: exceptionHandler(Object(ErrorException)) #2 {main} thrown in /home/u360425568/public_html/includes/GeneralFunctions.php on line 688

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.