Code Monkey home page Code Monkey logo

new-star's People

Contributors

aylgan avatar diesselcz avatar kyelbek avatar s7ech avatar sartoshi-foot-dao avatar yaro2709 avatar yoloswagseo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

new-star's Issues

Global Message

Hello,

Global Message doesn't work
When I try to send global message it shows:
image

questions please

Hello, I discovered this interesting script by chance.
I would have the following question:

  • Which PHP version on the server is recommended for the installation?
  • do I have to create cron jobs or will these be carried out automatically by the game?
  • can I see a "live demo" somewhere?
  • is this game / script comparable to the game / script "SuperNova.WS"?
    I would be very happy about replies. I'm thinking of making a "German" version of this game.
    best regards

error

Message: Undefined index: details
File: /includes/GeneralFunctions.php
Line: 81
URL: http://final-space.com/game.php
PHP-Version: 7.3.27
PHP-API: litespeed
Version: 1.2.0
Debug Backtrace:
#0 /includes/GeneralFunctions.php(81): errorHandler(8, 'Undefined index...', 'FILEPATH ...', 81, Array)
#1 /includes/common.php(194): getFactors(Array)
#2 /game.php(26): require('FILEPATH ...')
#3 {main}

Broken espionage

When spying on other planets is sent an error message is displayed when the probe reaches the planet
xnovaerror

and then the fleet slot is occupied, the probes never return
screen xnova

More info
moreinfo

error

Message: Unable to load template 'extends:layout.full.tpl|page.blackMarket.default.tpl'
File: /includes/libs/Smarty/sysplugins/smarty_internal_template.php
Line: 195

Robots and nano

They are not working good in the way of reducing time, for nanos must be 50% and for robots must be 10% and doesn't work, and the time of nano is growing every level instead of being always the same.
Thank you,
Greetings!

Missing informations

HI
Its possible to add info for new items and mods ingame ?
Its very hard to know how the game is working without information
Thanks

Speeding up completion removes removes the queue

When building if you have several things selected in your queue and you press the green arrow to speed up the current one being worked on, it will complete that one and remove the remaining queue items

I have not checked yet if this happens in other areas beyond building.

Consider adoption of php 8 compat to your project.

Some breakdowns on my clone break my installation of New-Star so consider update the code to the new brand 8.x for better integration with new operating systems.
Thank you so much, support is needed for me.

I get this error before I start loading

During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Language::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/denizuga.net.tr/subdomains/beta/includes/classes/Language.class.php:165 Stack trace: #0 /var/www/vhosts/denizuga.net.tr/subdomains/beta/includes/classes/Language.class.php(18): errorHandler() #1 /var/www/vhosts/denizuga.net.tr/subdomains/beta/includes/common.php(61): require('...') #2 /var/www/vhosts/denizuga.net.tr/subdomains/beta/install/index.php(23): require('...') #3 {main} in /var/www/vhosts/denizuga.net.tr/subdomains/beta/includes/classes/Language.class.php on line 18

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

Turkish Translate & Mission of Spy Probes & Market & Admin Panel

Hello

1 - Whenever I have time, I work on the script and translate it into Turkish. I can send you the file I created for language support.

2 - No Assignment from Fleet (Filo) Division to Espionage Probes.

image

3 - I cannot cancel the Offers I Have Created in the Marketplace.

image

4 - Sometimes I get the following errors in the admin section.

error.log

account verification broken

Hi @Yaro2709 it seems there is an issue with the account verification part, I tried first with sendmail, it failed.
However phpmailer wasn't working either ... I set "way to send email (mail_use)" = 2

Message: sendmail is deprecated, use SMTP instead!
File: /includes/classes/Mail.class.php
Line: 72
URL: http://localhost/uni1/index.php?page=register
PHP-Version: 7.4.3
PHP-API: fpm-fcgi
Version: 2.7.0
Debug Backtrace:
#0 /includes/classes/Mail.class.php(22): Mail::getMailObject()
#1 /includes/pages/login/ShowRegisterPage.class.php(325): Mail::send()
#2 /index.php(57): ShowRegisterPage->send()
#3 {main}

PHPMAILER ERROR

USER ERROR
Message: Class 'SMTP' not found
File: /includes/libs/phpmailer/class.phpmailer.php
Line: 1520
URL: http://localhost/uni1/index.php?page=register
PHP-Version: 7.4.3
PHP-API: fpm-fcgi
Version: 2.7.0
Debug Backtrace:
#0 /includes/libs/phpmailer/class.phpmailer.php(1603): PHPMailer->getSMTPInstance()
#1 /includes/libs/phpmailer/class.phpmailer.php(1540): PHPMailer->smtpConnect()
#2 /includes/libs/phpmailer/class.phpmailer.php(1335): PHPMailer->smtpSend()
#3 /includes/libs/phpmailer/class.phpmailer.php(1213): PHPMailer->postSend()
#4 /includes/classes/Mail.class.php(28): PHPMailer->send()
#5 /includes/pages/login/ShowRegisterPage.class.php(325): Mail::send()
#6 /index.php(57): ShowRegisterPage->send()
#7 {main}

any suggestions on that?

creating modules

Hi, How can I create new modules? Are any documentation about this? Thanks

Fehler in deiner software

lässt man 2 Forschungen zur gleichen zeit laufen, eine abgeschlossen ist hat man folgende fehlermeldung: https://prnt.sc/sg787c ist ein screen, siehe Message: Undefined index: laboratory_inter
File: /includes/classes/class.BuildFunctions.php
Line: 210
URL: https://uni2.jango-online.de/game.php
PHP-Version: 7.2.24-0ubuntu0.18.04.4
PHP-API: fpm-fcgi
2Moons Version: 1.0.git
Debug Backtrace:
#0 /includes/classes/class.BuildFunctions.php(210): errorHandler(8, 'Undefined index...', 'FILEPATH ...', 210, Array)
#1 /includes/classes/class.PlanetRessUpdate.php(714): BuildFunctions::getBuildingTime(Array, Array, 113, Array)
#2 /includes/classes/class.PlanetRessUpdate.php(637): ResourceUpdate->SetNextQueueTechOnTop()
#3 /includes/classes/class.PlanetRessUpdate.php(117): ResourceUpdate->ResearchQueue()
#4 /includes/pages/game/AbstractGamePage.class.php(42): ResourceUpdate->CalcResource()
#5 /includes/pages/game/ShowOverviewPage.class.php(24): AbstractGamePage->__construct()
#6 /game.php(43): ShowOverviewPage->__construct()
#7 {main}

Issue installing on Hostgator

I was installing this on HostGator and got this:

WARNING
Message: Use of undefined constant DB_VERSION_REQUIRED - assumed 'DB_VERSION_REQUIRED' (this will throw an Error in a future version of PHP)
File: /install/index.php
Line: 121
URL: https://www.XXXXXXXXXXX.com/install/index.php?mode=upgrade
PHP-Version: 7.4.28
PHP-API: litespeed
Version: 2.8.1 (FILE)
Debug Backtrace:
#0 /install/index.php(121): errorHandler(2, 'Use of undefine...', 'FILEPATH ...', 121, Array)
#1 {main}

This ever happen before or any work around for it?

Galaxy

error on galaxy page like this:

Message: Undefined offset: 16
File: /cache/templates/en_nsc^07f8136c3270b3f5e85ca2d63eeaa7540687dffa.page.galaxy.default.tpl.php
Line: 800
URL: http://wans.loca.lt/game.php?page=galaxy
PHP-Version: 7.4.26
PHP-API: apache2handler
Version: 2.8.1
Debug Backtrace:
#0 /cache/templates/en_nsc^07f8136c3270b3f5e85ca2d63eeaa7540687dffa.page.galaxy.default.tpl.php(800): errorHandler(8, 'Undefined offse...', 'F://wamp64//www//N...', 800, Array)
#1 /includes/libs/Smarty/sysplugins/smarty_template_resource_base.php(123): content_6252eacb90e458_33348290(Object(Smarty_Internal_Template))
#2 /includes/libs/Smarty/sysplugins/smarty_internal_runtime_updatecache.php(52): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#3 /includes/libs/Smarty/sysplugins/smarty_template_cached.php(143): Smarty_Internal_Runtime_UpdateCache->updateCache(Object(Smarty_Template_Cached), Object(Smarty_Internal_Template), false)
#4 /includes/libs/Smarty/sysplugins/smarty_internal_template.php(211): Smarty_Template_Cached->render(Object(Smarty_Internal_Template), false)
#5 /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)
#6 /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1)
#7 /includes/classes/class.template.php(148): Smarty_Internal_TemplateBase->display('extends:layout....')
#8 /includes/pages/game/AbstractGamePage.class.php(505): template->display('extends:layout....')
#9 /includes/pages/game/ShowGalaxyPage.class.php(132): AbstractGamePage->display('page.galaxy.def...')
#10 /game.php(59): ShowGalaxyPage->show()
#11 {main}

Lost Password

Merhaba, kayıp şifre bölümü yok, nasıl yapabilirim?

lost-password

Message: Trying to access array offset on value of type bool

Hello, after changing a user to moderator, I get this error, could it be due to the php version?

NOTICE
Message: Trying to access array offset on value of type bool
File: /includes/pages/game/ShowOverviewPage.class.php
Line: 284
URL: http://gt-xnova.260mb.net/game.php
PHP-Version: 7.4.8
PHP-API: apache2handler
Version: 2.8.1
Debug Backtrace:
#0 /includes/pages/game/ShowOverviewPage.class.php(284): errorHandler(8, 'Trying to acces...', 'FILEPATH ...', 284, Array)
#1 /game.php(59): ShowOverviewPage->show()
#2 {main}

If it is not the case, what solution do you have?
From already thank you very much.

[Installer] Not creating player in installer

USER ERROR

Message: SQLSTATE[42000]: Syntax error or access violation: 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 'system = '1' AND planet = '2' AND planet_type = '1'' at line 5

Query-Code: SELECT COUNT(*) as record FROM uni1_planets WHERE universe = 1 AND galaxy = 1 AND system = 1 AND planet = 2 AND planet_type = 1;
File: /includes/classes/Database.class.php
Line: 127
URL: http://localhost/install/index.php?mode=install&step=8
PHP-Version: 7.3.28
PHP-API: apache2handler
Version: 1.2.0 (FILE)

Debug Backtrace:
#0 /includes/classes/Database.class.php(203): Database->_query('SELECT COUNT()...', Array, 'select')
#1 /includes/classes/PlayerUtil.class.php(50): Database->selectSingle('SELECT COUNT(
)...', Array, 'record')
#2 /includes/classes/PlayerUtil.class.php(96): PlayerUtil::isPositionFree(1, 1, 1, 2)
#3 /install/index.php(557): PlayerUtil::createPlayer(1, 'dokman', '$2a$09$KU4dX9.A...', '[email protected]', 'en', 1, 1, 2, NULL, 3)
#4 {main}

error in race page

hello there..
i have some errors .. .when i to race page and choose character i got this

http://localhost/newstar/game.php?page=race

Warning: Uncaught ErrorException: require_once(includes/subclasses/subclass.UpdateSqlСhoice.php): failed to open stream: No such file or directory in D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php:46 Stack trace: #0 D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php(46): errorHandler(2, 'require_once(in...', 'D:\\xampp\\htdocs...', 46, Array) #1 D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php(46): require_once() #2 D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php(60): ShowRacePage->UpdateRace(1501) #3 D:\xampp\htdocs\newstar\game.php(59): ShowRacePage->show() #4 {main} thrown in D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php on line 46

Fatal error: ShowRacePage::UpdateRace(): Failed opening required 'includes/subclasses/subclass.UpdateSqlСhoice.php' (include_path='D:/xampp/htdocs/newstar/') in D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php on line 46

also this pages
http://localhost/newstar/game.php?page=ethics
http://localhost/newstar/game.php?page=formgovernment

Negative value verification

i find many num input limit is work in browser,so players can only use the F12 to del the “min” HTML tag。then they can make very much stardust or other resouses and ships in a few seconds like the pic p1。i try to find the php and fix one page successd but i have no time to test all page。now i only replace ALL

$amount = HTTP::_GP('amount', 0);

by

$amount = HTTP::_GP('amount', 0);
		if ($amount<=0){
			$amount=0;
		}

it works correctly in page (ShowIdeologiesPage.class.php) and (ShowArtifactPage.class.php),you can also change it to “return” easily or Reset it to zero,For your convenience。
in theory,this is all page with this code are also has this bug,you can also fix them

at last,i find many other bugs but i don‘t know how to fix they are suit,do you have the telegram or other im soft?i think it can raise working efficiency。

image

image

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.