quarta-feira, 11 de novembro de 2020

Conheça todos os participantes da Academia Xbox de 2020

Confira todos os integrande da Academia Xbox de 2020 com seus canais.
Felicity brazil
Twitch
Twitter
Youtube
Instagram
Alicee wolf
Twitch
Twitter
Youtube
Instagram
NytaraPitbull
Twitch
Twitter
Youtube
Instagram
AndScreamer
Twitch
Twitter
Youtube
Instagram
iBraasz
Twitch
Twitter
Youtube
Instagram
Com. Gamer Fem.
Twitch
Twitter
Youtube
Instagram
Tiktok
Diego Chakal
Twitch
Twitter
Youtube
Facebook
Instagram
Nosnerds
Twitch
Twitter
Youtube
Instagram
Gaming SDW
Twitch
Twitter
Youtube
Instagram
Feliperama
Twitch
Twitter
Youtube
Facebook
Instagram
Tiktok
Mais Xbox
Twitter
Youtube
Instagram
Capitao Schul
Twitch
Twitter
Youtube
Instagram
Gabriel Wars
Twitch
Twitter
Youtube
Instagram
Xbox Brazucas
Twitch
Twitter
Youtube
Instagram
JADSON SO XBOX
Twitch
Twitter
Youtube
Instagram
Juulianaa
Twitch
Twitter
Youtube
Facebook
Instagram
Tiktok
Tres malucos e um controle
Twitch
Twitter
Youtube
Instagram
Blograle
Twitch
Twitter
Youtube
Instagram
XboxPowerBrasil
Twitch
Twitter
Youtube
Instagram
Loyrynha
Twitch
Twitter
Youtube
Facebook
Instagram
MENOMK
Twitch
Twitter
Youtube
Facebook
Instagram
Tiktok
PedroCaxa
Twitch
Twitter
Youtube
Instagram
Tiktok
Rafaelgrn
Twitch
Twitter
Youtube
Facebook
Instagram
R4NIERI
Twitch
Twitter
Youtube
Facebook
Instagram
Tiktok
Casal6amer
Twitch
Twitter
Youtube
Instagram
CarneiroPlayTv
Twitch
Twitter
Youtube
Facebook
Instagram
Rob Miguel
Twitch
Twitter
Youtube
Facebook
Instagram
Tiktok
Just Kate
Twitch
Twitter
Youtube
Facebook
Instagram
Goku gamer
Twitch
Twitter
Youtube
Instagram

terça-feira, 18 de dezembro de 2018

Comandos Scottybot

General
!scottyjoin
Everyone

Run this from any channel Scottybot is in. Will delete the message and whisper to you the status of the join.

!scottyleave
Streamer

Run this from your channel to remove scottybot. There will be tears.

!authkey
Streamer

Run this from your channel to have the authkey whispered to you.

!regenauthkey
Streamer

Run this from your channel to generate and whisper a new authkey to you. Doing this invalidates the old key.

!uptime
Everyone

Displays how long the streamer has been live.

!set broadcasts on/off
Mods and Above

Enable and Disable global admin/shutdown messages if you find them to chatty.

!audience
Everyone/Mods and Above

Shows current channel rating, or allows you to set it to family/teen/18+

!status
Everyone

Shows the current game being played an the stream title.

!status NewStreamTitle
Mods and Above

Allows you to set your stream title from inside your chat.

!setgame NewGameName
Mods and Above

Queries Mixer if the game you asked for exists, and if it does sets to that. It is a best effort, if it dosn't work double check your game name. Example: "Elite Dangerous" dosn't work, "Elite: Dangerous" does.

!host Channel
Mods and Above

Will host the target channel.

!stophost
Mods and Above

Stops hosting in your channel

Discord
!discordlink
Streamer

Begins the process of linking your Discord channel to your Mixer channel.

!discordulink
Everyone

Discord commands will not run unless your accounts are linked!

Begins the process of linking your Mixer user account to your Discord user account. Run this from any channel that has Scottybot. Recommend Scottybot's Mixer Channel

!mod Add/Remove DiscordUser
Streamer

Adds or Removes a Discord's user account from moderator status for Scottybot in that Discord channel.

Subscriber Settings
!set subalert on/off
Mods and Streamer

Enables or disables alerts for new subscribers.

!set subbonus [points]
Mods and Streamer

Set the amount of points awarded to new subscribers.

!set submsg [text]
Mods and Streamer

Sets the text of your sub message. Use '(_user_)' in place of subscriber name.

Message Filtering
!set neverclear on/off
Mods and Streamer

Bot will never delete a message under any circumstances. Timing out will still function. 
This is useful for overlays that break when messages are deleted.

!pausechat
Mods and Streamer

Will pause all non-mod and streamer chat until !resumechat is run.

!resumechat
Mods and Streamer

Resumes chat if !pausechat is on.

!purge [user] (also +p [user]
Mods and Streamer

Purges a viewer's mesages from chat.

!timeout [user] (also +t [user])
Mods and Streamer

Timeout a user.

!set timeout [number]
Mods and Streamer

Sets how long, in minutes, someone is timed out.

!set whisperwarn on/off
Mods and Streamer

Sets the bot to whisper to a user why it was filtered.

!pardon
Mods and Streamer

Removes a timed out user.

!reg add/del [user]
Mods and Streamer

Adds or removes a user as a regular, preventing bot moderation against them.

!reg list
Mods and Streamer

Provides a link to show all the regulars in your channel.

!filter status
Mods and Streamer

Checks the current filter settings of the bot.

!filter on/off
Mods and Streamer

Will turn on or off all chat filtering.

!set gibberish on/off
Mods and Streamer

Enables or disables gibberish spam filtering. This is a "smart" filter so false positives my happen as well as false negatives.

!set links on/off
Mods and Streamer

Enables or disables filtering of links.

!set maxchars on/off
Mods and Streamer

Enables or disables maximum chat message length.

!set maxchars [number]
Mods and Streamer

Sets the maximum characters for a viewer message.

!set emoji on/off
Mods and Streamer

Enables or disables maximum Emoji's filtering.

!set maxemoji [number]
Mods and Streamer

Sets the maximum Emoji count.

!set repeat on/off
Mods and Streamer

Enables or disables filtering of repeating characters.

!set cappercent on/off
Mods and Streamer

Enables or disables filtering of too many capital letters..

!set cappercent [number]
Mods and Streamer

Sets the maximum percentage of caps a message can have before being filtered.

!set symbols on/off
Mods and Streamer

Enables or disables the max symbols in a message filter.

!set symbols [number]
Mods and Streamer

Set the max percentage of symbols a message can have before being filtered.

!badwords add [words]
Mods and Streamer

Messages with these words are auto purged. Can add more than 1 word at a time.

!badwords remove [words]
Mods and Streamer

Removes listed words from your badword list. Can remove more than 1 word at a time.

!badwords list
Mods and Streamer

Prints out a list of the badwords list.

!badwords import CHANNEL
Mods and Streamer

Imports list from another channel. For PG Streams recommend import Scottybot's list, large number of words are filtered.

!permit [user]
Mods and Streamer

Allows the user to post a link if filtering is enabled.

Ignore Users
!ignore add [user]
Mods and Streamer

Add a user to the ignore list. The bot will no longer repond to the user or give them points.

!ignore remove [user]
Mods and Streamer

Removes a user from the ignored users list.

!ignore list
Mods and Streamer

Prints out a list of all ignored users.

!ignore purgedb
Mods and Streamer

Removes all users from the ignore list.

Custom Commands
!set cooldown [number]
Mods and Streamer

Set cooldown, in seconds, to prevent spamming of commands.

!command add ![command] [message]
Mods and Streamer

Add a command and output text. Variables can be used in this command.

!command remove ![command]
Mods and Streamer

Removes the command.

!command reset ![command]
Mods and Streamer

Resets the counter for the command.

!command restrict ![command] Everyone/Mod/Owner
Mods and Streamer

Restricts a command to a certain group. Values are, in this order: Everyone, Sub, Reg, Mod and Owner

!command hide ![command] 0 - 4
Mods and Streamer

Hides/shows command on the web site. 0 (Show all) through 4 (Show nothing).

!command setcount ![command] [count]
Mods and Streamer

Manually allows you to set the command counter pulled by the (_cmdcount_) variable.

!commands
Everyone

Provides a link to a list of commands.

!cmdcost add ![command] [points]
Mods and Streamer

Makes a command cost points to run.

!cmdcost remove ![command]
Mods and Streamer

Removes the points cost of the command.

!disable add ![command]
Mods and Streamer

Adds command from the disabled list.

!disable remove ![command]
Mods and Streamer

Removes a command from the disabled list.

!disable list
Mods and Streamer

Lists all disabled commands.

!cmdchain add !CMD !toadd1 !toadd2 !toadd3 etc..
Mods and Streamer

Allows you to chain several commands together so one command outputs multiple. Some variables do not work.

!cmdchain remove !CMD
Mods and Streamer

Purges the chain from the database.

Trigger Commands
!trigger list
Mods and Streamer

Provides list of Triggers and their Indexes

!trigger edit TRIGGER_INDEX RESPONSE
Mods and Streamer

Edits a chat trigger response. Get the Trigger Index from running !triggers list

!trigger add TRIGGER RESPONSE
Mods and Streamer

Adds a chat trigger, that when it is seen in a message will response. This is susceptible to the command cooldowns, which you can bypass by adding (_bpcd_) to the response (This will be stripped before sent to chat). Most variables work such as (_user_), (_status_) and (_game_).
When using more than one word, place a '_' when words should be next to each other, and a "*" when words do not need to be.

!trigger remove TRIGGER_INDEX
Mods and Streamer

Removes the trigger.

(_delete_)
Chat Triggers only variable

Deletes the message that triggered this message.

(_timeout_)
Chat Triggers only variable

Times out the person that triggered this message.

Repeating Commands
!repeat delay [number]
Mods and Streamer

How long, in minutes, between each repeated command. Minimum of 10 minutes.

!repeat add ![command]
Mods and Streamer

Adds a custom command to the repeat list. Ignores command restrictions.

!repeat remove ![command]
Mods and Streamer

Removes a command from the repeat list.

!repeat list
Mods and Streamer

Provides a link to show all repeating commands.

Variables
(_nextinqueue_)
Variable

Attempts to pull the next X number of people in the queue, use this if you want to run something other thant !queue next

(_enterqueue_)
Variable

Attempts to enter the command invoker into the XQueue, use this if you want to run something other than !queue enter

(_queueplace_)
Variable

Returns the current XQueue position of the person who ran the command.

(_user_)
Variable

Is replaced by the name of the person who ran the command.

(_curtime_)
Variable

Is replaced by the current time adjusted to whatever time zone is set for the channel.

(_randomviewer_)
Variable

Is replaced by a random viewer in the chat.

(_target_)
Variable

Is replaced by the first word after the command. 
You may also add ':Default' to the end, replacing Default with a value (accepts variables as well), so if no target is provided it falls back to that.

(_whisper_)
Variable

Triggers the command to do the opposite of !set whisper. If !set whisper is on, it will not whisper the command, if is off it will whisper.

(_status_)
Variable

Is replaced by the current stream name. Works in commands and auto tweets.

(_parameter_)
Variable

Accepts all messages after the command.

(_cmdcount_)
Variable

This is replaced by how many time the command has been run.

(_api_URL)
Raw API Parser- Donators Only

This one is complicated, click HERE for details.

(_game_)
Variable

Gets replaced with the current game you set the channel to. Works in commands and tweets.

(_points_)
Variable

Gets replaced with the current Points the invoker of the command has.

(_hours_)
Variable

Gets replaced with the current Hours watched the invoker of the command has.

(_bpcd_)
Variable

When added to a command, bypasses the cooldown for that command.

Quote System
!set quotes on/off
Mods and Above

Enable or Disable the quote system.

!quote
Everyone

Pulls a random quote from the quote list.

!quotes
Everyone

Provides a link to all available quotes for the channel.

!quote add [person] [message]
Mods and Streamer

Adds the quote, the person who said it, and then time stamps it.

!quote [ID]
Everyone

Gets a quote based on ID from !quotes.

!quote remove [ID]
Mods and Streamer

Remove a quote from the !quote list.

Point System
!set points on/off
Mods and Above

Enables or disables the point system.

!set points name [name]
Mods and Above

Sets the name of your points. Ex: !pacs or !wobblers

!set points live [number]
Mods and Above

This is how many points viewers get while you're live per 15 minutes.

!set points notlive [number]
Mods and Above

This is how many points viewers get while you're offline per 15 minutes.

!set points subadditionalpoints [number]
Mods and Above

This is how many points subscribers get in addition to the regualr live/notlive.

!set points starting [number]
Mods and Above

Sets how many points a new viewer recieves.

![points]
Everyone

Shows how many points you have. Point name may vary per streamer.

!top [number]
Mods and Streamer

Get the top 1-20 viewers with the most points.

!bestow viewer [number]
Mods and Above

Give the viewer that many points.

!remove viewer [number]
Mods and Above

Removes that many points from the viewer.

!giveall [points]
Mods and Above

Gives everyone in chat that many points.

!purgeallpoints
Mods and Above

Purges all points from the database. Resets everyone.

XQueue System
!set queue on/off
Mods and Streamer

Enables the X(Box)Queue system.

!set queue subonly on/off
Mods and Streamer

Puts the XQueue is Subscriber only mode.

!set queue cost AMOUNT
Mods and Streamer

Sets the cost for someone to enter the queue.

!queue next COUNT
Mods and Streamer

Gets the next COUNT in line, or only next 1 person if no COUNT provided

!queue list
Everyone

Provides the link to the queue list.

!queue purge
Mods and Streamer

Empties the queue.

!queue enter
Everyone

Enters the user into the queue. You can also make a custom command and add (_enterqueue_) to the output to do the same if you wish to not use !queue enter

!queue remove
Everyone/Mods and Above

If your not a mod, removes you from the queue. If you are a mod, you can remove yourself, or define someone else to remove.

!queue place
Everyone

Whispers you your current place in the queue.

Whitelist
!set whitelistme on/off
Mods and Streamer

Allow whitescribers to white list themselves. Viewers added this way expire on a monthly basis.

!set whitelistcost #
Mods and Streamer

How many points it should take to allow someone to white list themselves

!whitelistme MCName
Whites Only

Added that user to the whitelist if whitelistme is enabled.

!whitelist add MixerName MCName
Mods and Streamer

Adds that viewer to the whitelist and will never expire.

!whitelist remove MixerName
Mods and Streamer

Manually remove a view from the whitelist.

Whitelist API URL - JSON - Includes Mixer User ID and Expiration date in Milliseconds.
Updates instantly.

https://api.scottybot.net/api/whitelist?channame=CHANNELNAMEorID

Whitelist API URL - RAW - Only shows Minecraft name.
Updates instantly.

https://api.scottybot.net/api/whitelist?channame=CHANNELNAMEorID&output=RAW 
Recommend using Whitelister (Click Here) with this API URL

Sublist
!set sublistme on/off
Mods and Streamer

Allow subscribers to white list themselves. Viewers added this way expire on a monthly basis.

!set sublistcost #
Mods and Streamer

How many points it should take to allow someone to white list themselves

!sublistme MCName
Subs Only

Added that user to the subscriber whitelist if sublistme is enabled.

!sublist add MixerName MCName
Mods and Streamer

Adds that view to the sublist and will never expire.

!sublist remove MixerName
Mods and Streamer

Manually remove a view from the sublist.

Sublist API URL - JSON - Includes Mixer User ID and Expiration date in Milliseconds.
Updates instantly.

https://api.scottybot.net/api/sublist?channame=CHANNELNAMEorID

Sublist API URL - RAW - Only shows Minecraft name.
Updates instantly.

https://api.scottybot.net/api/sublist?channame=CHANNELNAMEorID&output=RAW 
Recommend using Whitelister (Click Here) with this API URL

Games & Raffles
!set raffle on/off
Mods and Streamer

Enables or Disables the raffle which includes fraffle and sraffle.

!set raffle [seconds]
Mods and Streamer

Sets how long a raffle should pause for entries, max of 10 minutes (600 seconds)

!raffle start [points]
Mods and Streamer

Starts a raffle with a cost of [points].

!fraffle start [points]
Mods and Streamer

Starts a follower online raffle with a cost of [points].

!sraffle start [points]
Mods and Streamer

Starts a sub online raffle with a cost of [points].

!raffle
Everyone

Enters you into a raffle.

!fraffle
Everyone

Enters you into a follower raffle.

!sraffle
Everyone

Enters you into a sub raffle.

!set roulette on/off
Mods and Streamer

Enables the russian roulette game.

!roulette [points]
Everyone

Starts a game of russian roulette or enters you if a game is already going.

!set bankheist on/off
Mods and Streamer

Enables or disables the bankheist game.

!bankheist [points]
Everyone

Enters a game of bankheist with the amount you wish to wager.

!set spin on/off
Mods and Streamer

Enables or disables the Spin game.

!set spin cooldown SECONDS
Mods and Streamer

Sets the cooldown for the !spin game.

!spin [points]
Everyone

Enters a game of Spin.

!winner
Mods and Streamer

Picks a random person from the channel to win.

Settings
!set timezone YourTZ
Mods and Streamer

Set the bot to your timezone. Click here for a list of timezones

!set welcomemsg on/off/WhatToSay
Mods and Streamer

Turns on and off a whisper sent to a viewer on join along with what the message should say. Place (_user_) where the viewer's name should be.

!set joinannounce on/off
Mods and Streamer

Whisper to the streamer when someone joins the channel.

!set leaveannounce on/off
Mods and Streamer

Whisper to the streamer when someone leaves the channel.

!set showurltitle on/off
Mods and Streamer

Parses a link posted by a viewer and gives you the title of the webpage in chat.

!set hostalert on/off
Mods and Streamer

Turn on or off host alerts in chat.

!set followalert on/off
Mods and Streamer

Turn on or off follower alerts in chat.

!set followmsg [message]
Mods and Streamer

Sets the follower message. (_follower_) variable will be replaced by the follower name.

!followtest
Mods and Streamer

Tests the follower alert message.

!set OnlyWhenLive on/off
Mods and Streamer

Bot will only respond when the channel is online.

!set clearcommands on/off
Mods and Streamer

If enabled, will auto purge all commands run in chat to keep chat clean.

!set whisper on/off
Mods and Streamer

If enabled, the bot will whisper things to the viewer instead of posting it for everyone.

!set me on/off
Mods and Streamer

Sets the bot to output most text using /me which will help separate it from chat.

!followme
Mods and Streamer

Asks the bot to follow your channel. Kicking scottybot from the channel will make him unfollow.

Misc
!mixerage
Everyone/Mods and Streamer

If your not a mod, it will whisper you when you joined Mixer, if you are a mod, you can either run it for yourself or do !mixerage person to find out when they joined. This does not whisper.

!followage
Everyone/Mods and Streamer

Same as !mixerage, but for follow date

!tophours [count]
Mods and Streamer

Shows the top viewers by hour for your channel. Max count of 10.

!poll DurInSeconds(Optional) DESCRIPTION | OPT 1 | OPT 2 | OPT 3 | ETC
Mods and Streamer

Allows you to create a poll from within chat. (You must use the "|(pipe)" to seperate where indicated.)

!random [number] [number]
Mods and Streamer

Picks a random number between two values.

!d20 [number] [number]
Mods and Streamer

!d20 by itself will roll a d20. Otherwise it will pick a random number between the two provided values.

!rank
Everyone

Tells you how many hours you have watched the current channel plus an arbitrary rank.

!steaminfo
Everyone

Gets info from Steam about the current game, including price. If used by itself grabs the current stream game, otherwise can be used to search games.

!xboxinfo
Everyone/Mods and Streamer

Gets info from the Microsoft/XBox Store about the current game, including price. If used by itself grabs the current stream game, otherwise can be used to search games.

!gameinfo
Everyone/Mods and Streamer

Does both !steaminfo and !xboxinfo in one command.

!lastseen PERSON
Mods and Above

Obvious command is obvious. Keep in mind lurk mode make you invisible to the bot until you first speak.

Twitter
!twittercfg auth
Streamer

Begins the process of authenticating to Twitter. Information will be whispered, so please enable whispers while doing this.

!twittercfg deauth
Streamer

Removes all twitter auth information from the database for your channel.

!twittercfg modtweet on/off
Streamer

Allows Mods to tweet on your behalf. Default is off.

!twittercfg send [message]
Mods and Streamer

Send out a tweet of your choosing straight from chat.

!set livetweet on/off
Mods and Streamer

Enables the bot to automatically send a tweet when you go live.

!set livetweetmsg [message]
Mods and Streamer

Sets the auto-tweet message for when you go live. This uses the following variables: (_status_), (_game_), and (_channel_)

Donator Thanks
!8ball [message]
Everyone

The magic 8 ball knows everything and will tell you the truth. Scottybot donators only.

!set chuck on/off
Streamer

Enable/disable chuck norris jokes. Scottybot donators only.

!chuck
Everyone

Get a chuck joke. Scottybot donators only.

!set urban on/off
Streamer

Sets urban dictionary on or off. Content warning. Scottybot donators only.

!urban [subject]
Everyone

Will check urban dictionary for the subject. Scottybot donators only.

Subscriber Settings
!lastfm link LFMAccountName
Mods and Streamer

DONATORS ONLY - Link Scottybot to your Last.FM account using the account/login name for Last.FM

!lastfm disable
Mods and Streamer

DONATORS ONLY - Disable/Purges your Last.FM information.

!song
Everyone

DONATORS ONLY - Assuming Last.FM is linked to both your music app (such as Spotify) and Scottybot, displays the currently playing song.

quinta-feira, 6 de dezembro de 2018

sexta-feira, 8 de junho de 2018

Promoções na live

ABZÛ Jogo 50% R$ 19,50

Brothers: a Tale of Two Sons Jogo 70% R$ 24,00

Disneyland Adventures Jogo 35% R$ 74,72

Marvel: Ultimate Alliance Bundle Jogo 75% R$ 62,25

Ori and the Blind Forest: Definitive Edition Jogo 50% R$ 19,50

Agents of Mayhem Jogo 75% R$ 27,25

Agents of Mayhem Total Mayhem Edition Jogo 75% R$ 37,25

ARK: Aberration Comp. 40% R$ 44,97

ARK: Scorched Earth Comp. 60% R$ 15,60

ARK: Survival Evolved Jogo 60% R$ 99,60

ARK: Survival Evolved Explorer’s Edition Jogo 50% R$ 149,50

ARK: Survival Evolved Season Pass Comp. 50% R$ 44,50

Assassin’s Creed Rogue Remastered Jogo 33% R$ 52,93

Assassin’s Creed Origins Jogo 50% R$ 99,50

Assassin’s Creed Origins – DELUXE EDITION Jogo 45% R$ 125,95

Assassin’s Creed Origins – GOLD EDITION Jogo 50% R$ 149,50

Assassin’s Creed Origins – The Curse Of the Pharaohs Comp. 25% R$ 45,00

Assassin’s Creed Origins – The Hidden Ones Comp. 25% R$ 22,50

Assassin’s Creed Syndicate – Season Pass Comp. 67% R$ 19,80

Assassin’s Creed The Ezio Collection Jogo 60% R$ 59,60

Assassin’s Creed: Black Flag, Unity, Syndicate – Pack triplo Jogo 60% R$ 119,60

Assetto Corsa Ultimate Edition Jogo 15% R$ 67,15

Batman: Arkham Knight Jogo 50% R$ 90,00

Batman: Return to Arkham Jogo 50% R$ 50,00

Battlefield 1 Passe Premium Comp. 75% R$ 50,00

Battlefield 1 Revolution Jogo 75% R$ 52,25

Battlefield 4 Premium Edition Jogo 80% R$ 39,80

Battlefield Hardline – Edição Ultimate Jogo 80% R$ 55,80

Battlefield Pacote de Aniversário Jogo 60% R$ 135,60

Beyond Eyes Jogo 75% R$ 6,25

Burnout Paradise Remastered Jogo 40% R$ 89,40

Call of Duty: WWII – Digital Deluxe Jogo 30% R$ 209,30

Call of Duty: WWII – Edição Ouro Jogo 20% R$ 183,20

Call of Duty: WWII – Passe de Temporada Comp. 30% R$ 118,30

Candleman Jogo 30% R$ 20,30

Conan Exiles Jogo 40% R$ 77,40

Conjunto: South Park: The Stick of Truth + The Fractured but Whole Jogo 30% R$ 160,30

Constructor Jogo 50% R$ 39,50

Cuphead Jogo 15% R$ 63,71

Dark Souls III Jogo 75% R$ 62,25

Dark Souls III Deluxe Edition Jogo 67% R$ 115,17

DC Universe Online – Pacote de Episódios I Comp. 40% R$ 17,40

DC Universe Online – Pacote de Episódios II Comp. 40% R$ 17,40

DC Universe Online – Pacote de Episódios III Comp. 40% R$ 47,40

DC Universe Online –Pacote de Episódios IV Comp. 40% R$ 47,40

DC Universe Online – Starter Pack Comp. 40% R$ 9,48

DC Universe Online – Ultimate Edition Comp. 40% R$ 107,40

Dead Island Definitive Edition Jogo 75% R$ 9,75

Dead Island Retro Revenge Jogo 60% R$ 4,00

Dead Island: Riptide Definitive Edition Jogo 75% R$ 9,75

Defense Grid 2 Jogo 85% R$ 4,35

Destiny 2 – Jogo + conjunto do Passe de Expansão Jogo 35% R$ 149,50

Destiny 2 – Passe de Expansão Comp. 45% R$ 65,45

Deus Ex: Mankind Divided Jogo 80% R$ 21,40

Deus Ex: Mankind Divided – Edição Digital Deluxe Jogo 80% R$ 34,60

Devil May Cry 4 Special Edition Jogo 50% R$ 24,50

Devil May Cry 4 Special Edition Demon Hunter Bundle Jogo 50% R$ 55,00

Devil May Cry HD Collection Jogo 30% R$ 104,30

Devil May Cry HD Collection & 4SE Bundle Jogo 30% R$ 120,40

DmC Devil May Cry: Definitive Edition Jogo 67% R$ 55,11

Dragon Ball FighterZ Jogo 30% R$ 175,00

Dragon Ball FighterZ: Edição FighterZ Jogo 30% R$ 280,00

Dragon Ball FighterZ: Edição Ultimate Jogo 30% R$ 315,00

Dreamfall Chapters Jogo 50% R$ 29,50

Dying Light Jogo 25% R$ 59,25

Dying Light: The Following – Edição Aprimorada Jogo 33% R$ 87,10

Dying Reborn Jogo 40% R$ 23,40

Elite Dangerous Standard Edition Jogo 50% R$ 29,50

Elite Dangerous: Commander Deluxe Edition Jogo 40% R$ 71,40

Elite Dangerous: Horizons Season Pass Comp. 35% R$ 38,35

Evolve Jogo 75% R$ 39,75

Evolve Digital Deluxe Jogo 75% R$ 43,75

Evolve Ultimate Edition Jogo 75% R$ 47,75

Extinction Jogo 60% R$ 79,60

Extinction: Deluxe Edition Jogo 60% R$ 91,60

Far Cry 5 Jogo 25% R$ 149,25

Far Cry 5 – Deluxe Edition Jogo 30% R$ 160,30

Far Cry 5 Gold Edition Jogo 20% R$ 223,20

Far Cry Primal – Apex Edition Jogo 50% R$ 89,50

Farming Simulator 17 Jogo 75% R$ 29,75

Farming Simulator 17 – Big Bud Comp. 33% R$ 39,53

Farming Simulator 17 – Kuhn Comp. 33% R$ 39,53

Farming Simulator 17 – Platinum Edition Jogo 50% R$ 99,50

Farming Simulator 17 – Platinum Expansion Comp. 33% R$ 39,53

Farming Simulator 17 – Premium Edition Jogo 75% R$ 64,75

Farming Simulator 17 – Ropa Comp. 15% R$ 20,40

Farming Simulator 17 – Season Pass Comp. 33% R$ 93,13

FIFA 18 Jogo 60% R$ 83,60

FIFA 18 Edição ÍDOLO Jogo 50% R$ 169,50

FIFA 18 Edição Ronaldo Jogo 50% R$ 139,50

Final Fantasy XV Royal Edition Jogo 50% R$ 100,00

Final Fantasy XV Royal Pack Comp. 30% R$ 32,20

FOR HONOR DELUXE EDITION Jogo 70% R$ 74,70

FOR HONOR Gold Edition Jogo 67% R$ 92,07

FOR HONOR SEASON PASS Comp. 60% R$ 39,60

FOR HONOR Standard Edition Jogo 75% R$ 49,75

Forza Horizon 2 Deluxe Jogo 70% R$ 59,70

Forza Horizon 2 Standard Jogo 75% R$ 44,75

Forza Horizon 2 Ultimate Jogo 70% R$ 77,70

Forza Horizon 3 Edição de Luxo Jogo 50% R$ 77,48

Forza Horizon 3 Edição Standard Jogo 50% R$ 57,48

Forza Horizon 3 Edição Ultimate Jogo 50% R$ 94,98

Forza Motorsport 6 Edição de Luxo Jogo 30% R$ 166,60

Forza Motorsport 6 Edição Padrão Jogo 35% R$ 129,35

Forza Motorsport 6 Edição Suprema Jogo 30% R$ 190,40

Forza Motorsport 7 Edição de Luxo Jogo 35% R$ 162,47

Forza Motorsport 7 Edição Padrão Jogo 50% R$ 99,98

Forza Motorsport 7 Edição Suprema Jogo 40% R$ 191,97

Frontier Points – 1000 Comp. 30% R$ 20,30

Frontier Points – 2500 Comp. 30% R$ 51,10

Frontier Points – 300 Comp. 30% R$ 7,00

Frontier Points – 500 Comp. 30% R$ 11,06

Future War: Reborn Jogo 40% R$ 11,40

Gear of War 4 Jogo 50% R$ 76,23

Gear of War Ultimate Edition Jogo 50% R$ 114,98

Ghost Recon Wildlands – Fallen Ghosts Comp. 33% R$ 26,13

Goliath Jogo 50% R$ 14,50

Gravel Jogo 50% R$ 115,00

GTA Online: Kit Inicial de Esquema Criminal Comp. 40% R$ 73,80

GTA Online: Pacote dinheiro Megalodonte Comp. 15% R$ 169,15

GTA V Jogo 67% R$ 65,67

GTA V & Pacote de dinheiro Tubarão-Branco Jogo 60% R$ 95,60

GTA V: Edição Online Premium Jogo 67% R$ 106,26

GTA V: Edição Online Premium e Pacote de Dinheiro Megalodonte Jogo 60% R$ 209,60

GTA V: Edição Online Premium e Pacote de Dinheiro Tubarão-Baleia Jogo 60% R$ 169,60

GTA V: Edição Online Premium e Pacote de Dinheiro Tubarão-Branco Jogo 60% R$ 145,20

Hello Neighbor Jogo 35% R$ 38,35

Homefront the Revolution Jogo 70% R$ 17,70

Homefront the Revolution: Freedom Fighter Bundle Jogo 75% R$ 19,75

How to Survive 2 Jogo 50% R$ 14,50

How to Survive: Storm Warning Edition Jogo 75% R$ 9,75

Injustice 2 Jogo 40% R$ 96,00

Injustice 2 – Edição Lendária Jogo 20% R$ 159,20

Inside Jogo 50% R$ 19,50

Just Cause 3 Jogo 80% R$ 21,40

Just Cause 3 Bavarium Sea Heist Comp. 70% R$ 9,00

Just Cause 3 XL Edition Jogo 80% R$ 34,60

Just Cause 3: Passe de Expansão Ar, Terra e Mar Comp. 75% R$ 11,25

Just Cause Mech Land Assault Comp. 70% R$ 18,00

Just Cause Sky Fortress Comp. 70% R$ 18,00

Just Dance 2018 Jogo 50% R$ 99,50

Killer Instinct: Definitive Edition Jogo 75% R$ 19,75

Kingdom Come: Deliverance Jogo 33% R$ 133,33

Kona Jogo 50% R$ 19,50

Lara Croft and the Temple of Osiris Jogo 85% R$ 14,85

Lara Croft and the Temple of Osiris –Passe de Temporada Comp. 85% R$ 2,85

LEGO Batman 3 – Passe de Temporada Comp. 50% R$ 14,50

LEGO Batman 3: Além de Gotham Jogo 50% R$ 49,50

LEGO Batman 3: Além de Gotham Edição Luxo Jogo 60% R$ 51,60

LEGO Marvel Super Heroes 1 & 2 Conjunto Jogo 40% R$ 150,00

LEGO Marvel Super Heroes 1 & 2 Conjunto Deluxe Jogo 40% R$ 180,00

LEGO Marvel Super Heroes 2 Jogo 50% R$ 100,00

LEGO Worlds Jogo 30% R$ 91,00

Life is Strange Before the Storm – Temporada Completa Jogo 50% R$ 29,50

Life is Strange Before the Storm: Edição Deluxe Jogo 50% R$ 44,50

Life is Strange Complete Season Jogo 80% R$ 7,80

Lilith-M Jogo 60% R$ 7,60

Limbo Jogo 50% R$ 9,50

Madden NFL 18 Jogo 70% R$ 50,70

Mafia III Jogo 60% R$ 99,60

Mafia III Edição Deluxe Jogo 60% R$ 123,60

Mafia III Passe de Temporada Jogo 50% R$ 49,50

Marvel: Ultimate Alliance Jogo 75% R$ 44,75

Marvel: Ultimate Alliance 2 Jogo 75% R$ 44,75

Metal Gear Solid V: Definitive Experience Jogo 50% R$ 65,00

Metal Gear Solid V: Ground Zeroes Jogo 80% R$ 7,80

Metal Gear Survive Jogo 30% R$ 105,00

Metro 2033 Redux Jogo 75% R$ 9,75

Metro Last Light Redux Jogo 75% R$ 9,75

Metro Redux Bundle Jogo 75% R$ 14,75

Mighty No. 9 Jogo 75% R$ 24,75

Monster Hunter World – Conjunto de Gestos Adicional 4 Comp. 40% R$ 14,40

Monster Hunter World – Conjunto de Gestos Adicional 2 Comp. 40% R$ 9,00

Monster Hunter World – Deluxe Kit Comp. 35% R$ 29,25

Monster Hunter World – Edição Digital de Luxo Jogo 35% R$ 174,20

Monster Hunter World – Standard Edition Jogo 35% R$ 161,85

Mortal Kombat – Pacote de Kombate 2 Comp. 50% R$ 31,00

Mortal Kombat XL Jogo 50% R$ 60,00

MX v ATV All Out Jogo 15% R$ 84,15

NBA 2K18 Jogo 67% R$ 82,17

NBA 2K18 200K VC Comp. 25% R$ 115,50

NBA 2K18 450K VC Comp. 30% R$ 214,90

NBA 2K18 75K VC Comp. 20% R$ 48,80

NBA 2K18 Legend Edition Jogo 67% R$ 105,27

NBA 2K18 Legend Gold Edition Jogo 67% R$ 141,57

NBA LIVE 18: Edição The One Jogo 80% R$ 21,80

Need for Speed Payback Jogo 50% R$ 104,50

Need for Speed Payback – Deluxe Edition Jogo 60% R$ 111,60

NHL 18 Jogo 70% R$ 50,70

NHL 18 Edição Young Stars Jogo 50% R$ 124,50

NHL 18 Edição Young Stars Deluxe Jogo 50% R$ 169,50

Payday 2: Crimewave Edition Jogo 50% R$ 19,50

Payday 2: Crimewave Edition – Conjunto de DLC O Grande Golpe! Comp. 50% R$ 39,50

Payday 2: Crimewave Edition – Conjunto O Grande Golpe! Jogo 50% R$ 49,50

Pixel Piracy Jogo 80% R$ 5,80

PLAYERUNKNOWN’S BATTLEGROUNDS Jogo 33% R$ 86,43

Portal Knights Jogo 50% R$ 19,50

Portal Knights – Caixa Bibot Comp. 25% R$ 4,50

Portal Knights – Caixa Emoji Comp. 25% R$ 4,50

Portal Knights – Caixa Lobot Comp. 25% R$ 4,50

Pro Evolution Soccer 2018 Jogo 50% R$ 75,00

Pro Evolution Soccer 2018 FC Barcelona Edition Bundle Jogo 60% R$ 91,60

Project CARS 2 Jogo 60% R$ 99,60

Project CARS 2 Deluxe Edition Jogo 60% R$ 131,60

Quantum Break Jogo 50% R$ 39,00

Rainbow Six Siege Jogo 40% R$ 89,40

Rainbow Six Siege Advanced Edition Jogo 50% R$ 79,50

Rainbow Six Siege Complete Edition Jogo 50% R$ 124,50

Rainbow Six Siege Gold Edition Jogo 50% R$ 99,50
ReCore Jogo 25% R$ 29,96

Resident Evil 7
Gravação Proibida Vol. 1 Comp. 40% R$ 18,60

Resident Evil 7
Gravação Proibida Vol. 2 Comp. 40% R$ 27,60

Resident Evil 7 biohazard Jogo 35% R$ 96,85

Resident Evil 7 Desfecho de Zoe Comp. 20% R$ 36,00

Resident Evil 7 Gold Edition biohazard Gold Edition Jogo 40% R$ 107,40

Resident Evil 7 Passe de Temporada Comp. 50% R$ 46,00

Rise of the Tomb Raider Passe de Temporada Comp. 70% R$ 26,70

Rise of the Tomb Raider: Pacote Comemorativo de 20 Anos Comp. 70% R$ 5,70

Rise of the Tomb Raider: aniversário de 20 anos Jogo 70% R$ 74,70

Rock Band 4 Rivals Bundle Jogo 30% R$ 160,30

Rock Band Rivals Expansion Comp. 30% R$ 41,30

Runestone Keeper Jogo 30% R$ 26,57

sexta-feira, 17 de novembro de 2017

Função valida CPF e CNPJ em java

Tentei simplificar o máximo para saber o que faz cada parte

//chamada 
String Retorno =  ValidaDocumento(String documento);
if(!Retorno.equals('n'))
{
Log.i("Retorno", ""+Retorno);
}


//funcao
public String ValidaDocumento(String documento){
    String erro = "n";
    //verifica se esta preenchido    if(documento.length() == 0) {
        erro = "Preencha o campo";
        
    }else{
        //verifica se o tamanho esta correto        
if(documento.length() != 11 && documento.length() != 14 ){
            erro = "Número do documento inválido";
        }else{

            Integer n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,n13,n14;
            n1 = Integer.parseInt(documento.substring(0,1));
            n2 = Integer.parseInt(documento.substring(1,2));
            n3 = Integer.parseInt(documento.substring(2,3));
            n4 = Integer.parseInt(documento.substring(3,4));
            n5 = Integer.parseInt(documento.substring(4,5));
            n6 = Integer.parseInt(documento.substring(5,6));
            n7 = Integer.parseInt(documento.substring(6,7));
            n8 = Integer.parseInt(documento.substring(7,8));
            n9 = Integer.parseInt(documento.substring(8,9));
            n10 = Integer.parseInt(documento.substring(9,10));
            n11 = Integer.parseInt(documento.substring(10,11));


            if(documento.length() == 14) {
                //trata cnpj                
                n12 = Integer.parseInt(documento.substring(11, 12));
                n13 = Integer.parseInt(documento.substring(12, 13));
                n14 = Integer.parseInt(documento.substring(13, 14));
                //valida numeros iguais                
         if((n1 == n2) && (n2 == n3) && (n3 == n4) && (n4 == n5) && (n5 == n6) &&
            (n6 == n7) && (n7 == n8) && (n8 == n9) && (n9 == n10) && (n10 == n11)
                        && (n11 == n12) && (n12 == n13) ){
                    erro = "Número de Cnpj inválido";
                }else {
                    int soma = (n1*5 + n2*4 + n3*3 + n4*2 + n5*9 + n6*8 + n7*7 + n8*6 + n9*5 + n10*4 + n11*3 + n12*2) ;
                    
                    soma = soma%11;
                    
                    soma = Math.abs((soma < 2 ? 0 : 11 - soma));
                    
                    if(n13 != soma){
                        erro = "Cnpj Inválido";
                    }else{
                        soma = (n1*6 + n2*5 + n3*4 + n4*3 + n5*2 + n6*9 + n7*8 + n8*7 + n9*6 + n10*5 + n11*4 + n12*3 + n13*2) ;
                        
                        soma = soma%11;
                        
                        soma = Math.abs((soma < 2 ? 0 : 11 - soma));
                        
                        if(n14 != soma){
                            erro = "Cnpj Inválido";
                        }
                    }
                }
            }else{
                //trata cpf                
//valida numeros iguais               
        if((n1 == n2) && (n2 == n3) && (n3 == n4) && (n4 == n5) && (n5 == n6) &&
                   (n6 == n7) && (n7 == n8) && (n8 == n9) && (n9 == n10) && (n10 == n11) ){
                    erro = "Número de cpf inválido";
                }else{


                    int soma = n1*10 + n2*9 + n3*8 + n4*7 + n5*6 + n6*5 + n7*4 + n8*3 + n9*2 ;
                    int resto = (soma *10) %11;
                    if(resto == 10)
                    {
                        resto = 0;
                    }

                    int soma2 = n1 *11 + n2 *10 + n3 *9 + n4 *8 + n5 *7 + n6 *6 + n7 *5 + n8 *4 + n9 *3 + n10 *2 ;
                    int resto2 = (soma2 *10) %11;
                    if(resto2 == 10)
                    {
                        resto2 = 0;
                    }
                    
                    if(resto == n10 && resto2 == n11)
                    {
                        erro = "n";
                    }else{
                        erro = "CPF inválido";
                    }
                }
            }
        }

    }
    
    return erro;
}

segunda-feira, 26 de junho de 2017

Função de arredondamento no Android Studio

public Double aredonda(double valor, int desc){
    String aux = "";
    aux = String.format("%."+desc+"f", valor);
    aux = aux.replaceAll(",", ".");
    valor = Double.parseDouble(aux);
    return valor;
}