Advertisement
Guest User

Untitled

a guest
Jan 19th, 2015
838
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.74 KB | None | 0 0
  1. <VikeStep> I fear the day some mod dev adds his own securitymanager that blocks reflection
  2. <Kolatra> I feel like that's something Greg would do.
  3. <gigaherz> that would break so many mods no one would install that one
  4. <VikeStep> kolatra, im pretty sure he uses reflection
  5. <Sandra> goddammit mod devs,
  6. <VikeStep> i do know one mod dev that has added his own securitymanager
  7. <Ivorius> No problem m8
  8. <Ivorius> I'll just add a clause to my coremod that blocks security managers
  9. <Kolatra> I feel like I know who that is VikeStep.
  10. <gigaherz> VikeStep: only for his own classes, I hope?
  11. <VikeStep> this one: https://github.com/coolsquid/Testy/blob/master/src/com/github/coolsquid/Testy/Utils/Security/SecurityHandler.java
  12. <VikeStep> nope gigaherz
  13. <Kolatra> Oh, that's not who I thought it was.
  14. <VikeStep> thats this coremod
  15. <VikeStep> well, not actually a coremod per se, but his core mod for all his other mods
  16. <Kolatra> throw new WTF_ARE_YOU_DOING_EXCEPTION(); at the bottom. lol
  17. * Dvnt ([email protected]) has joined
  18. <Ivorius> https://github.com/coolsquid/Testy/blob/master/src/com/github/coolsquid/Testy/Utils/Security/WTF_ARE_YOU_DOING_EXCEPTION.java
  19. <Ivorius> 'don't even try to override my securityhandler'
  20. <Ivorius> Dude
  21. <Ivorius> You do realize that you make yourself incompatible with every single other mod that adds security managers
  22. <VikeStep> ivorius, this dude has done a number of things in his mods that i dont care about it anymore xD
  23. <Sandra> not that mods should add security managers.
  24. <gigaherz> [11:56] (Ivorius): You can subscribe to that and cancel it when TREES is passed
  25. <Sandra> what do they even do?
  26. <gigaherz> java.lang.IllegalArgumentException: Attempted to cancel a uncancelable event
  27. <gigaherz> nope.
  28. <gigaherz> XD
  29. <Kolatra> LOL
  30. <Ivorius> gigaherz: setResult(DENY)
  31. * Michael_ ([email protected]) has joined
  32. <VikeStep> gigaherz, if you look at the event itself there should be docs on what you can do with it
  33. <gigaherz> Ivorius: aha different action then XD
  34. <VikeStep> sandra, they limit what the JVM is allowed to do
  35. <Ivorius> Yeah, not sure what the deal is with having two types
  36. <Sandra> VikeStep: but.... why?
  37. <Ivorius> Sandra: Ever heard of sensitive data? x)
  38. <Sandra> Ivorius: again, but..... why?
  39. <Sandra> why would mods have to do that/
  40. <VikeStep> it can also be used to prevent hacking of sorts
  41. <Dvnt> http://prntscr.com/5uc8f3 o.O
  42. <VikeStep> oh, mods have no reason
  43. <VikeStep> but other java programs might
  44. <Sandra> yeah, that makes sense.
  45. <Sandra> mods have really no business doing such a thing.
  46. <Isigiel> Yo iPixeli, will there be a modjam some time soon? Could you need a webdev to offer more online Features next time?
  47. <Ivorius> Isigiel: #modjam
  48. <Kolatra> Can not set MODID to ModCore. Oh?
  49. <ThePsionic> It's LogManager.getLogger(MODID) right
  50. * Ivorius has quit (Quit: Ivorius)
  51. * Ivorius ([email protected]) has joined
  52. <furyhunter> wait, why does coolsquid's exception say that
  53. <furyhunter> why are we using securitymanagers in minecraft mods
  54. <furyhunter> that's insane
  55. <Kolatra> No idea.
  56. <VikeStep> idk, hes done some other weird stuff in his mods before, until i asked him to remove them
  57. <Ivorius> Must protect mah mods
  58. <Ivorius> Muh intellectual property
  59. <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
  60. <gigaherz> funny anyone would say that when we all are working with Mojang's properly and they just "promised" not to sue ;P
  61. <VikeStep> wont say what string
  62. <Ivorius> wtf VikeStep
  63. <ThePsionic> [12:35:42] <ThePsionic> It's LogManager.getLogger(MODID) right
  64. <Ivorius> On a scale from 0 to illegal
  65. <VikeStep> ivorius, coolsquid is the guy who led the StopModReposts rebellion
  66. <Ivorius> That's pretty illegal
  67. <furyhunter> it's not illegal, it's just fucking stupid
  68. <Kolatra> VikeStep, uh... I... I have no words.
  69. <Ivorius> It is indeed illegal
  70. <VikeStep> nope, its DRM
  71. * Jared|away is now known as Jared
  72. <Ivorius> Somebody even got in trouble for something like that
  73. <furyhunter> "in trouble"
  74. <Ivorius> Remember the whole gregtech thing? Yeah, that.
  75. <VikeStep> anyways, i made him remove those
  76. <VikeStep> after pointing out how illegal it was and he obliged
  77. <Ivorius> ThePsionic: Use https://github.com/Ivorforce/Psychedelicraft/blob/master/src/main/java/ivorius/psychedelicraft/Psychedelicraft.java#L87
  78. <furyhunter> what is 'illegal' about anything
  79. * r4wk-work (~r4wk@mtprnf0110w-142166253246.dhcp-dynamic.FibreOP.nl.bellaliant.net) has joined
  80. <Ivorius> You are not allowed to make usage restrictions for any user
  81. <furyhunter> if you mean illegal in the context of a license with using MCP and FML
  82. <furyhunter> where's that
  83. <Ivorius> That's in Mojang's Terms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement