Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VikeStep> I fear the day some mod dev adds his own securitymanager that blocks reflection
- <Kolatra> I feel like that's something Greg would do.
- <gigaherz> that would break so many mods no one would install that one
- <VikeStep> kolatra, im pretty sure he uses reflection
- <Sandra> goddammit mod devs,
- <VikeStep> i do know one mod dev that has added his own securitymanager
- <Ivorius> No problem m8
- <Ivorius> I'll just add a clause to my coremod that blocks security managers
- <Kolatra> I feel like I know who that is VikeStep.
- <gigaherz> VikeStep: only for his own classes, I hope?
- <VikeStep> this one: https://github.com/coolsquid/Testy/blob/master/src/com/github/coolsquid/Testy/Utils/Security/SecurityHandler.java
- <VikeStep> nope gigaherz
- <Kolatra> Oh, that's not who I thought it was.
- <VikeStep> thats this coremod
- <VikeStep> well, not actually a coremod per se, but his core mod for all his other mods
- <Kolatra> throw new WTF_ARE_YOU_DOING_EXCEPTION(); at the bottom. lol
- * Dvnt ([email protected]) has joined
- <Ivorius> https://github.com/coolsquid/Testy/blob/master/src/com/github/coolsquid/Testy/Utils/Security/WTF_ARE_YOU_DOING_EXCEPTION.java
- <Ivorius> 'don't even try to override my securityhandler'
- <Ivorius> Dude
- <Ivorius> You do realize that you make yourself incompatible with every single other mod that adds security managers
- <VikeStep> ivorius, this dude has done a number of things in his mods that i dont care about it anymore xD
- <Sandra> not that mods should add security managers.
- <gigaherz> [11:56] (Ivorius): You can subscribe to that and cancel it when TREES is passed
- <Sandra> what do they even do?
- <gigaherz> java.lang.IllegalArgumentException: Attempted to cancel a uncancelable event
- <gigaherz> nope.
- <gigaherz> XD
- <Kolatra> LOL
- <Ivorius> gigaherz: setResult(DENY)
- * Michael_ ([email protected]) has joined
- <VikeStep> gigaherz, if you look at the event itself there should be docs on what you can do with it
- <gigaherz> Ivorius: aha different action then XD
- <VikeStep> sandra, they limit what the JVM is allowed to do
- <Ivorius> Yeah, not sure what the deal is with having two types
- <Sandra> VikeStep: but.... why?
- <Ivorius> Sandra: Ever heard of sensitive data? x)
- <Sandra> Ivorius: again, but..... why?
- <Sandra> why would mods have to do that/
- <VikeStep> it can also be used to prevent hacking of sorts
- <Dvnt> http://prntscr.com/5uc8f3 o.O
- <VikeStep> oh, mods have no reason
- <VikeStep> but other java programs might
- <Sandra> yeah, that makes sense.
- <Sandra> mods have really no business doing such a thing.
- <Isigiel> Yo iPixeli, will there be a modjam some time soon? Could you need a webdev to offer more online Features next time?
- <Ivorius> Isigiel: #modjam
- <Kolatra> Can not set MODID to ModCore. Oh?
- <ThePsionic> It's LogManager.getLogger(MODID) right
- * Ivorius has quit (Quit: Ivorius)
- * Ivorius ([email protected]) has joined
- <furyhunter> wait, why does coolsquid's exception say that
- <furyhunter> why are we using securitymanagers in minecraft mods
- <furyhunter> that's insane
- <Kolatra> No idea.
- <VikeStep> idk, hes done some other weird stuff in his mods before, until i asked him to remove them
- <Ivorius> Must protect mah mods
- <Ivorius> Muh intellectual property
- <VikeStep> he used to have a method which would limit framerate to 10fps if the directory of the mod was in a directory containing a certain string
- <gigaherz> funny anyone would say that when we all are working with Mojang's properly and they just "promised" not to sue ;P
- <VikeStep> wont say what string
- <Ivorius> wtf VikeStep
- <ThePsionic> [12:35:42] <ThePsionic> It's LogManager.getLogger(MODID) right
- <Ivorius> On a scale from 0 to illegal
- <VikeStep> ivorius, coolsquid is the guy who led the StopModReposts rebellion
- <Ivorius> That's pretty illegal
- <furyhunter> it's not illegal, it's just fucking stupid
- <Kolatra> VikeStep, uh... I... I have no words.
- <Ivorius> It is indeed illegal
- <VikeStep> nope, its DRM
- * Jared|away is now known as Jared
- <Ivorius> Somebody even got in trouble for something like that
- <furyhunter> "in trouble"
- <Ivorius> Remember the whole gregtech thing? Yeah, that.
- <VikeStep> anyways, i made him remove those
- <VikeStep> after pointing out how illegal it was and he obliged
- <Ivorius> ThePsionic: Use https://github.com/Ivorforce/Psychedelicraft/blob/master/src/main/java/ivorius/psychedelicraft/Psychedelicraft.java#L87
- <furyhunter> what is 'illegal' about anything
- * r4wk-work (~r4wk@mtprnf0110w-142166253246.dhcp-dynamic.FibreOP.nl.bellaliant.net) has joined
- <Ivorius> You are not allowed to make usage restrictions for any user
- <furyhunter> if you mean illegal in the context of a license with using MCP and FML
- <furyhunter> where's that
- <Ivorius> That's in Mojang's Terms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement