Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Negative value verification #60

@Ronneraz

Description

@Ronneraz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions