mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
basic game download source detection
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9914
Data/SPRITE_CREDS
9914
Data/SPRITE_CREDS
File diff suppressed because it is too large
Load Diff
@@ -333,7 +333,28 @@ class PokemonLoadScreen
|
||||
end
|
||||
end
|
||||
|
||||
def detectFakeDownload()
|
||||
blacklist = ["pokemoninfinitefusion.net"]
|
||||
current_user_directory=Dir.pwd
|
||||
for keyword in blacklist
|
||||
if current_user_directory.include?(keyword)
|
||||
pbMessage("The game has detected that it has been installed from an illegitimate source which likely contains viruses.")
|
||||
pbMessage("Please delete the game and reinstall it from the Discord or subreddit")
|
||||
pbMessage("discord.gg/infinitefusion\nreddit.com/r/pokemoninfinitefusion")
|
||||
|
||||
pbMessage("Please also make sure to report the website you originally downloaded the game from to Google.")
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
def fakeWebsiteDisclaimer()
|
||||
pbMessage("Reminder: This game does NOT have an official website. The ONLY official sources for the game are game's official discord or subreddit.")
|
||||
end
|
||||
|
||||
def pbStartLoadScreen
|
||||
return if detectFakeDownload
|
||||
fakeWebsiteDisclaimer()
|
||||
updateHttpSettingsFile
|
||||
updateCreditsFile
|
||||
newer_version = find_newer_available_version
|
||||
|
||||
@@ -43,6 +43,8 @@ def handleReplaceExistingSprites()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
def pbCallTitle
|
||||
#return Scene_DebugIntro.new if $DEBUG
|
||||
return Scene_Intro.new
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user