Advertisement
Aaron1011

Untitled

Dec 7th, 2015
2,105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.78 KB | None | 0 0
  1. <ltp> Hey aaron!
  2. <ltp> I'm testing or cloud on iPhone
  3. <simon816> ok, so you made the commit on master. git checkout master; git log -n 1 <-- show me the last commit
  4. <ltp> irccloud*
  5. <Zidane> How is Quantum going ltp?
  6. <Tzk> ^ Quantum as in Quantum API?
  7. <Zidane> yes
  8. <Tzk> ltp = link the player?
  9. <ltp> Zidane: bit of a halt for now. I have a more important matter to attend to right now.
  10. <Zidane> Oh?
  11. <ltp> Tzk: link the programmer
  12. <HassanS6000> $ git checkout master; git log -n 1
  13. <HassanS6000> Already on 'master'
  14. <HassanS6000> Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  15. <HassanS6000> (use "git pull" to update your local branch)
  16. <HassanS6000> commit e247d0fd4ffbe186cf732178d068f076bdab0f1e
  17. <HassanS6000> Author: bloodshot <jdroque@gmail.com>
  18. <HassanS6000> Date: Tue Aug 18 18:33:10 2015 -0400
  19. <HassanS6000> Fix wrong mixin signatures in MixinWorldServer.
  20. <Zidane> HassanS6000, ...pastie
  21. * Zirconium has quit (Quit: Zirconium)
  22. <HassanS6000> Zidane, :P
  23. <Tzk> aw, sorry ltp. read your mc forums post waaaay back and didn't remember correctly ;)
  24. <ltp> I updated that old post, you guys should read it
  25. <Zidane> link?
  26. <Tzk> ^
  27. <ltp> One sec
  28. <simon816> right, so git checkout IgniteableData;git log -n 1
  29. <HassanS6000> http://pastebin.com/sSNa3uyR
  30. <ltp> http://bit.ly/1I9Ev3W
  31. <HassanS6000> simon816, now what
  32. <simon816> git reset master --soft
  33. <simon816> git commit -m "IgniteableData blah blah blah"
  34. <simon816> git push origin IgniteableData -f
  35. <HassanS6000> simon816, I am on locally cloned branch IgniteableData
  36. <HassanS6000> and master does not have the igniteabledata stuff
  37. <simon816> right, it shouldn't do
  38. <simon816> only the branch IgniteableData should
  39. <HassanS6000> http://imgur.com/fsjdO2v
  40. <HassanS6000> master isn't there.
  41. <simon816> ok, you have the upstream/master as the spongepowered remote?
  42. <HassanS6000> yes
  43. <simon816> git reset upstream/master --soft
  44. <HassanS6000> now whut
  45. * DDoS is now known as DDoS|Blanking
  46. <simon816> as above
  47. <ltp> You guys are reading the post, right Tzk, Zidane ?
  48. <Zidane> yes
  49. <Tzk> yes
  50. <Aaron1011> yes
  51. <Spongie> [SpongeCommon] h​syyid synchronize PR #136: Implementation of IgniteableData (http://git.io/vsvyp)
  52. <ltp> I
  53. <ltp> K*
  54. <Tzk> ^ looks good, the PR
  55. <simon816> excellent work, now the same for FlyingData
  56. <ltp> I must say I get confused when I look at a minecraft or forge class and it contains "Bake(d)" or bake()
  57. <HassanS6000> thanks simon816
  58. <simon816> good practice for me remembering how to git without seeing your screen
  59. <Spongie> [SpongeCommon] h​syyid synchronize PR #139: Implementation of FlyingData (http://git.io/vsIBz)
  60. <HassanS6000> Haha yeah :D thanks a bunch
  61. <Zidane> Indeed simon816 , good practice
  62. <ltp> Can I assume you all finished reading the post by now?
  63. <Zidane> I like doing git exercises
  64. <wizjany> learning to use the git cli was probably one of the most empowering things about learning to program
  65. <Zidane> Yes I have ltp
  66. * Tzk is stunned seeing simon $gitting blind
  67. <Tzk> :D
  68. <wizjany> git is so incredibly powerful in what you can do
  69. <Zidane> Tzk, I do too lol
  70. <Zidane> I have to tell Dockter what to do
  71. <HassanS6000> blood_, tada with help from simon816 I fixed it :D
  72. <ltp> Anything you want to say about the updates or nah?
  73. <Tzk> lol
  74. <Dockter> come again?
  75. <HassanS6000> Or should I really say simon816 fixed it :P
  76. <wizjany> shots fired
  77. <Tzk> ltp: i don't get how you develop an API but will drop support for an older version when the next version is released
  78. <Tzk> shouldn't an api adress long time stability and compatibility?
  79. <ltp> That I'm not so sure about anymore
  80. <simon816> ok so on your master branch, you need to reset hard to PassengerData due to your PR is on master. From there, the branch PassengerData is not needed as it was temporary
  81. <ltp> I now see myself porting this Api to every version of minecraft, including snapshots, except alpha and beta versions
  82. <Tzk> yes, basically ;)
  83. <ltp> So essentially, if I do that, I will update the post and keep support for every version of the api
  84. <ltp> I believe a backwards and forwards compatible API would be beneficial now as well
  85. <Tzk> i'd try to preserve backwards compatibility, forwards... well. isn't needed that much
  86. <Tzk> forwards would require backporting new features, wouldn't do that tbh
  87. * Tzk finally uncrosses his fingers
  88. <Tzk> ^ almost forgot :'D
  89. <Dockter> Zidane, https://code.google.com/p/tortoisegit/
  90. <ltp> Really to preserve forward compatibility I just update every previous version with the latest OR catch every ClassDefNotFoundException.
  91. <wizjany> wat
  92. <ltp> If you run a method that does not exist in a nonexistent class, that exception is thrown
  93. <Mumfrey> ...
  94. <Tzk> well... that wouldn't crach MC but will break all newer plugins
  95. <Zidane> Not a bad idea ltp , you should surround all the calls in a try catch
  96. <Zidane> Would prevent issues
  97. <ltp> Oops I mean noclassdeffounderror
  98. <Mumfrey> ...
  99. <Tzk> mumfreys reaction is priceless
  100. <Tzk> :p
  101. <Zidane> ltp catch Exception and it won't matter
  102. <zml> nah, you'd have to catch Throwable
  103. <ltp> But by default the init and run method of a Mod will indeed be wrapped in a multicatch statement
  104. <ltp> zml: that is bad practice
  105. <zml> no worse than catching Exception :)
  106. <Mumfrey> http://media2.giphy.com/media/11TT5yMvJ3btU4/giphy.gif
  107. <ltp> zml: just as bad
  108. <evilmidget38> Mumfrey: if you tell him we won't be able to enjoy these as much.
  109. <Mumfrey> touché
  110. <ltp> The best approach to keep things from breaking within a mod is not only catching all exceptions related to methods, to to create a pseudo interface
  111. <ltp> But*
  112. <Zidane> ltp example?
  113. <Zidane> Not sure what you mean.
  114. <Mumfrey> but using a synthetic pseudo-interface would increase your chances of ending up with an intransigent API cross-dependency lock scenario
  115. <ltp> Basically a bunch of class manipulation shenanigans to ensure each method that doesn't exist that is recognized by the API becomes existent
  116. <ltp> Or at least appears existent
  117. <Aaron1011> you'd have to transitively inflect the typeclass of the type-bounded pseudo-enum
  118. <ltp> I'm not a physicist! What are these big words!?
  119. <lukegb> But then how would you implement monoids in the category of endofuctors?
  120. <lukegb> *endofunctors
  121. <ltp> jk
  122. * bfoxwell has quit (Remote host closed the connection)
  123. * bfoxwell (~Foxwell@c-76-110-182-132.hsd1.fl.comcast.net) has joined
  124. <Zidane> I just realized that the word "Pro" is in "Programmer"
  125. <lukegb> As is "gram"
  126. <lukegb> and "me"
  127. <Aaron1011> and "er"
  128. <Zidane> and "ram"
  129. <simon816> so all programmers are pro at grammer, I mean grammar
  130. <Aaron1011> and "ogr"
  131. <lukegb> And "prog"
  132. <Zidane> foul!
  133. <Aaron1011> and "ammer"
  134. <Zidane> Yourrrrr out Aaron1011
  135. <Aaron1011> nooooooo
  136. <ltp> You know essentially, since each block class is a singleton, all I need to do is create Classes during bootstrap with the exact variables needed to simulate the class I need and then register an instance of that class to the block registry
  137. <lukegb> and "rog", republic of gamers confirmed worst hardware
  138. <ryantheleach> Or are they just pro-grammar. Couldn't imagine one that hated grammar.
  139. <lukegb> I hate grammars. Die, BNF, die.
  140. <zml> i grammar hate
  141. <Zidane> How would you simulate Minecraft's singletons ltp?
  142. <evilmidget38> lukegb: You've been hurt. Try antlr.
  143. * [ltp] (uid107952@id-107952.highgate.irccloud.com): Andy
  144. * [ltp] #NovaAPI #spongedev #sponge #minecraftforge #computercraft @#quantumapi #mcp-modding #mcp
  145. * [ltp] nova.esper.net :A distant star. (Seattle, WA, USA)
  146. * [ltp] is logged in as ltp
  147. * [ltp] End of WHOIS list.
  148. <lukegb> Do I have to cut them off a deer before or after stabbing myself with them
  149. <ltp> One way to simulate those singletons I just told you how
  150. <evilmidget38> your choice. Flexibility is key
  151. <Zidane> At one time I was hurt by a midget. After that day, I deemed him evil.
  152. <evilmidget38> Zidane: Then it happened 38 more times?
  153. <Zidane> Uh, yes?
  154. <zml> antlr has shit docs tho
  155. <Zidane> You know things...
  156. <ltp> But if I want a more generic and consistent result, xml files serving as an outline for classes can be turned into class instances, then loaded by the jvm.
  157. <Mumfrey> ...
  158. <ryantheleach> Is there a library for that?
  159. <zml> you know what's better than java? writing XML to generate java
  160. <evilmidget38> zml: Yeah, I ended up buying the book. The book is by the person who made antlr, so I feel like there's a conflict on interest there.
  161. <zml> might even use a templating library to autogenerate the XML
  162. <ltp> zml: 100%
  163. <ltp> lol
  164. <zml> evilmidget38: yeah, I need to ILL it at some point
  165. <Zidane> Very interesting ltp
  166. <Zidane> Would the API provide the XML?
  167. <ltp> Wow, I'm actually going to find a way to convert xml into Java classes that can be loaded at runtime... That sounds funny
  168. <ltp> Zidane: Java.xml* yes, everything would provide the XML
  169. <ltp> oh you mean...
  170. <ltp> Then in that case yes!
  171. <ryantheleach> Oh! You could use XSLT instead of adapter classes too, in order to maintain your forwards compatibility
  172. <ryantheleach> *XLST
  173. <Zidane> So you would provide the Block definitions from XML?
  174. <kenzierocks> i don't feel like reading backlog but make sure you compile all of your xml with a program running in asm.js on rihno in a node.js JVM
  175. <ltp> Imagine how portable Java would be as well if I made this a real thing... A quick download check for each xml file, download if necessary, and load it like nothing happened! Instant Java! (Haha puns)
  176. <evilmidget38> How would that make java more portable?
  177. <zml> don't have to deal with bytecode versions
  178. <Zidane> Java seems quite portable already
  179. <Mumfrey> how many chromosomes do you have?
  180. <ltp> Zidane: every implementation of the Api would have the same Block class
  181. <zml> could have it generate like different languages
  182. <Zidane> Then how would old API versions have new things new API versions bring about?
  183. <ltp> Just download the new xml file for the new class
  184. <wizjany> >asm.js
  185. <wizjany> is that what i think it is
  186. <wizjany> wtf
  187. <evilmidget38> wizjany: Compile your native code to javascript!
  188. <simon816> asm.js is the future https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
  189. <ryantheleach> wat.
  190. * Rain336 has quit (Ping timeout: 206 seconds)
  191. <kenzierocks> wizjany: asm.js suprises you more than the javascript based JVM?
  192. * DeltaBravo (DeltaBravo@nc-71-50-174-180.dhcp.embarqhsd.net) has joined
  193. <kenzierocks> k
  194. <ltp> I could make things simpler and copy the most recent minecraft versions's api jar, load the api, then load the downloaded API afterwards to ensure only classes I don't have loaded will work. Every api will use the same method bindings and calls so it is safe to do so
  195. * kenzierocks out
  196. <Zidane> You have the Minecraft API ltp?
  197. <Zidane> Could I see it?
  198. <ltp> Essentially, merge the new with the old jar
  199. <ltp> No, lol I don't have the minecraft API
  200. <kashike> https://github.com/QuantumTheoryMC/QuantumAPI/tree/master/Client%20API/src/org/quantumapi
  201. <kashike> there's that
  202. <Zidane> <ltp> I could make things simpler and copy the most recent minecraft versions's api jar
  203. <Zidane> You just said the API jar
  204. <Zidane> Unless you meant yours
  205. <ltp> When I refer to API I mean my quantum API
  206. <ltp> Though the plans for the Minecraft API are met by my API coincidentally
  207. * kenzierocks has quit (Ping timeout: 206 seconds)
  208. <ltp> But yeah essentially you download my API for the latest MC version and merge those classes with the API you are using
  209. <ltp> ~laziness
  210. <ltp> Ijdj
  211. <Aaron1011> ltp: How does the merging work?
  212. <ltp> Copy the classes of the old and new jar into one jar
  213. <ltp> Then merge methods from the new jar with the old one
  214. <Aaron1011> How does the method merging work?
  215. <ltp> I can cheaply decompile classes , insert the new methods, recompile them, and put them in a new jar
  216. <Mumfrey> no you can't
  217. <Aaron1011> I mean, how do you insert the new methods?
  218. <ltp> Yes, I can
  219. <ltp> Regex
  220. <Mumfrey> ...
  221. <Zidane> ltp that sounds like some advanced bytecode engineering
  222. <ltp> Yeah, but have you heard of strange brew Java virus? It's very simple to do this stuff
  223. <Mumfrey> ....
  224. <Aaron1011> wut
  225. <Zidane> Well if you brew your Java from a bad source...it could have a virus.
  226. <evilmidget38> ltp: You've got a decompiler that can always generate a compileable output? How much are you selling it for?
  227. <Mumfrey> ^
  228. <ltp> What is MCP?
  229. <ltp> 😊
  230. <Mumfrey> what?
  231. <Mumfrey> MCP isn't a decompiler
  232. <kashike> The Mod Coder Pack.
  233. <Mumfrey> kashike: that was his jeopardy-style answer to evilmidget
  234. <Aaron1011> ltp: What do you do if the regex doesn't work?
  235. <ltp> MCP is a minecraft decompiler and deobfuscator that can always generate a compilable output
  236. <Mumfrey> no it isn't
  237. <Mumfrey> it really, really isn't
  238. <ltp> No, but it does do those things and vice versa
  239. <evilmidget38> ltp: You've got no idea what goes into MCP
  240. <Mumfrey> yes, but it's not magic
  241. <Mumfrey> it takes a LOT of work from a number of people for each new version
  242. <Mumfrey> saying "it's a decompiler" like it's some kind of automatic tool is just plain ignorant and disrespectful
  243. <ltp> So far, every class I've decompiler recompiles
  244. <wizjany> every class mcp has decompiled you mean
  245. <ltp> No
  246. <Zidane> What decompiler do you use ltp?
  247. * kenzierocks (~kenzieroc@216-219-125-1.expertcity.com) has joined
  248. <ltp> http://jd.benow.ca/
  249. <HassanS6000> Woah Mumfrey has returned?
  250. <wizjany> .-.
  251. <evilmidget38> ltp: That won't decompile minecraft successfully
  252. <evilmidget38> Tried it
  253. <wizjany> ^
  254. <Aaron1011> ltp: How do you run jd-gui from within Quantum API?
  255. <ltp> I'm not going to
  256. <evilmidget38> When Mojang began overriding methods within an enum declaration it broke fernflower and we(Bukkit) looked for any alternatives. In the end we just didn't decompile a couple of classes.
  257. <mbaxter> evilmidget38: wrong! :3
  258. <evilmidget38> mbaxter: wat
  259. <mbaxter> it decompiled fine
  260. <mbaxter> Well... 'fine'
  261. <evilmidget38> mbaxter: It sure wouldn't recompile though
  262. <ltp> Also I'm not going to decompile, I'm going to inject bytecode into the class file
  263. <evilmidget38> that code was completely invalid
  264. <evilmidget38> ltp: Okay, that's not what you said earlier
  265. <mbaxter> Yes
  266. <wizjany> injecting bytecode has nothing to do with compilers
  267. <ltp> Same way the strangebrew virus does
  268. <wizjany> that's unrelated
  269. <Mumfrey> injecting bytecode is clearly impossible
  270. <wizjany> lol
  271. <ltp> evilmidget38: earlier I didn't have this idea
  272. <evilmidget38> lol
  273. <ltp> Mumfrey: obviously not
  274. <kenzierocks> heh, it's this guy again
  275. * kenzierocks grabs popcorn
  276. <Mumfrey> anyone who could make a framework for bytecode engineering at that level would be some kind of wizard
  277. <kashike> pass me some, kenzierocks
  278. <wizjany> Mumfrey, no way
  279. <Mumfrey> aww :(
  280. <wizjany> HARRY WAS A PROGRAMMER?
  281. <Mumfrey> worth a try :)
  282. <blood_> I know ChickenBones is a bytecode wizard =) pretty sure it is his RL job though
  283. * kenzierocks passes a single kernel to kashike
  284. * kenzierocks kernel panics
  285. <blood_> and lex has fun yelling at him =)
  286. <Zidane> Oh chicken bones...
  287. <wizjany> lol
  288. <Mumfrey> one might almost say that injecting bytecode that way could be considered "mixing it in" to the other class
  289. <kashike> I see what you did there
  290. <kenzierocks> JOKES
  291. <Aaron1011> Too bad Sponge doesn't take advantage of that...
  292. <Aaron1011> would be great if it did
  293. <Mumfrey> yeah, we should do something like that
  294. <lukegb> I think Mumfrey has issues mixing in his jokes with his normal chatter
  295. <lukegb> I don't think he likes to mingle with us Sponge common folk
  296. <Zidane> ltp, what if you mixed in the new API methods into the old API class?
  297. <Zidane> Using regex
  298. <DeltaBravo> he laughs at his own jokes, fwiw
  299. <ltp> Zidane: that isn't possible with bytecode, but decompiler I would look for the last \n char and insert the method there
  300. <Zidane> ltp what if there is a duplicate?
  301. <Mumfrey> so, after the closing brace of the class then...
  302. <evilmidget38> ^
  303. <ltp> With a superseding closing brace
  304. <Zidane> You mean remove the brace, put your stuff here, put a new brace?
  305. <Mumfrey> if one were to do something like this, I think it might feasibly use an infrastructure something along these lines http://eq2.co.uk/minecraft/mixin/mixin_transformer_chain_obf.png
  306. <Zidane> That is brilliant.
  307. <Mumfrey> pure speculation of course
  308. <evilmidget38> Mumfrey: wow, where'd you find that?
  309. <ltp> Zidane: updated methods are merged into the old ones
  310. <Zidane> but how are they "merged"
  311. <Zidane> I'm not understanding that part
  312. <evilmidget38> Zidane: add it to the end of the method and run a dead code analysis tool :D
  313. <ltp> Delete the method in the old and replace it
  314. <Zidane> Thats not a merge though :S
  315. <Zidane> That is a replace
  316. <ltp> Well, replace then
  317. <ltp> Merging methods can be dangerous
  318. <kenzierocks> merge /all/ the LVTs
  319. <Mumfrey> kenzierocks, don't talk to me about LVTs!
  320. <evilmidget38> Mumfrey: You know a thing or two about bytecode?
  321. <Mumfrey> I still get the nightmarse
  322. <Mumfrey> *mares
  323. <Mumfrey> evilmidget38: I read some stuff about it once
  324. <evilmidget38> Mumfrey: You should check out https://github.com/SpongePowered/Mixin some time. Pretty fancy stuff.
  325. <Mumfrey> thanks, I'll do that
  326. <Zidane> I just checked it evilmidget38 , some quack works on it.
  327. <Mumfrey> is there by any chance some extensive and lavishly-decorated documentation to go with it?
  328. <Zidane> No but there are pretty squares and circles
  329. <evilmidget38> Mumfrey: it has graphs.
  330. <evilmidget38> some tool made a bunch of graphs
  331. <Mumfrey> yay graphs
  332. <Mumfrey> ROFL
  333. <ltp> Ahh finally found it
  334. <Aaron1011> ltp: I'd recommend checking it out, if you have some spare time
  335. <ltp> http://spth.virii.lu/cb4/Brew/DOC/prologue.html
  336. <ltp> This explains injection and understanding of Java bytecode and class files
  337. <ltp> Aaron1011: what should I check out?
  338. <Mumfrey> ltp: we already established that bytecode injection is impossible
  339. <Aaron1011> That project people were talking about
  340. <ltp> What project?
  341. <Aaron1011> Mixin, I think
  342. <Aaron1011> https://github.com/SpongePowered/Mixin
  343. * jomo has quit (Quit: jomo)
  344. <Aaron1011> but I don't know if bytecode injection works
  345. <Zidane> Just because that exists doesn't mean it works lol
  346. <ltp> http://spth.virii.lu/cb4/Brew/DOC/start.html
  347. <Aaron1011> yeah, I haven't looked at it
  348. <Aaron1011> not sure if it works
  349. <ltp> Look through the chapters
  350. <ltp> At some point, bytecode injection is described in depth
  351. <Aaron1011> ltp: Does it work, though?
  352. <Aaron1011> I should test it out to be sure
  353. <Mumfrey> the stuff mentioned in that article hasn't been relevant for about 15 years
  354. <ltp> It should work
  355. <ltp> Even if it is outdated
  356. <simon816> major_version 0x002D
  357. <ltp> The thing that has changed is bytecode verification
  358. <simon816> lol that's JDK 1.1
  359. <ltp> So essentially just make another JAR
  360. <wizjany> if only there was some way to make it ignore the verification
  361. <Zidane> ltp, when you get back to work on it...how close are you to release builds of Quantum API?
  362. <Zidane> I see you are at 91.1%
  363. <Zidane> Sorry
  364. <Zidane> 90.1%
  365. <Zidane> My apologies
  366. <evilmidget38> Zidane: Quantum is at 90.1% completion with one person working on it. What are guys so busy doing with sponge?
  367. <Zidane> Dunno, I've been seeking to drop this project and was looking elsewhere.
  368. <ltp> When I get the mod loader working, which is a pain because eclipse doesn't work with agents correctly
  369. <HassanS6000> blood_, what did you make the max food level? 10 or 20?
  370. <blood_> max? should be whatever
  371. <blood_> default is 20
  372. <ltp> Also, that completion percent is for the current target build, 1.0 alpha
  373. <Zidane> Right ltp
  374. <evilmidget38> blood_: What percent done is sponge?
  375. <HassanS6000> blood_, when I set it to 20, I got an error.
  376. <blood_> jesus, dont even know
  377. <HassanS6000> It filled up the player's hunger bar
  378. <Zidane> evilmidget38, less than 90.1%
  379. <HassanS6000> But it threw an error with FoodStats
  380. <blood_> more than half but definitely not 90% =)
  381. <HassanS6000> ^
  382. <ltp> Lol, evilmidget38 , are you trying to say sponge is lazy compared to me? 😂
  383. <evilmidget38> Zidane: wow, you guys just must be really lazy or something. Probably that Mumfrey guy's fault, he seems like he's holding everyone back.
  384. <blood_> HassanS6000: paste me code and error
  385. * GUIpsp (~GUIpsp@c-73-164-116-168.hsd1.mn.comcast.net) has joined
  386. <HassanS6000> blood_, let me first try with 10 and see what happens.
  387. <HassanS6000> blood_, here's the error
  388. <HassanS6000> http://pastebin.com/XPEjVz3G
  389. <HassanS6000> Has nothing to do with what number you specify.
  390. <Zidane> !gm func_75119_b
  391. <ltp> Gtg I'm going to watch s8 of Doctor Who
  392. <blood_> rofl client method
  393. <blood_> clietn side i mean
  394. <Zidane> Tsk blood_
  395. <blood_> why why
  396. <evilmidget38> lol
  397. <blood_> it shouldnt be
  398. <HassanS6000> lol
  399. <HassanS6000> That's funny
  400. <blood_> you can getSaturationLevel on server
  401. <blood_> but set? NOPE
  402. <blood_> ok i can work around this
  403. <wizjany> looks like sponge is being held up by those nimrods over at forge
  404. <ltp> Doctor Who fans ping me!
  405. <blood_> ill just use the var instead of method
  406. <wizjany> you should really just drop them and implement on quantum instead
  407. <kashike> blood_: yeah, I don't understand why so much stuff is Client only with forge :P
  408. <kashike> (@SideOnly)
  409. <ltp> Season 9 hype lol k bye
  410. <blood_> kashike: it is correct most of the time but there are a bunch of cases where it is wrong
  411. <HassanS6000> blood_, xD nice fix
  412. * Greenphlem (uid22276@id-22276.tooting.irccloud.com) has joined
  413. * PaleOff has quit (Ping timeout: 378 seconds)
  414. <Spongie> [SpongeCommon] b​loodmc pushed 1 commit to master: http://git.io/vst3Z
  415. <Spongie> SpongeCommon/master 33dc0b93: Fix setSaturationLevel failing on client-side with Sponge. (by b​loodshot)
  416. * jakimfett has quit (Read error: Connection reset by peer)
  417. <Spongie> [Sponge] b​loodmc pushed 1 commit to master: http://git.io/vst3z
  418. <Spongie> Sponge/master e2b4a082: Update SpongeCommon ref. (by b​loodshot)
  419. <blood_> there , should work
  420. <simon816> I must be getting de ja vu https://github.com/SpongePowered/SpongeCommon/commit/e8ef1295
  421. <blood_> don't need AT for that
  422. <blood_> didn't realize there was a ticket
  423. <blood_> oops
  424. <simon816> that was for the last data api implementation
  425. <kashike> hehe
  426. <blood_> ah fooled me
  427. * Sonar|Away has quit (Remote host closed the connection)
  428. <blood_> i guess that explains why it is public =)
  429. <simon816> yep
  430. * Mumfrey is now known as mumfrey
  431. * TheYeti|AFK is now known as TheYeti
  432. <Spongie> [SpongeCommon] b​loodmc assigned PR #85: [WIP] Added implementation of additional world management API's (http://git.io/vqGQD)
  433. * jakimfett (~overnet@c-73-180-36-141.hsd1.or.comcast.net) has joined
  434. <HassanS6000> xD
  435. * PieGuy128 has quit (Quit: Leaving)
  436. * MarkehMe (~MarkehMe@202-161-84-186.tpgi.com.au) has joined
  437. * DeltaBravo has quit ()
  438. * Cervator (~Thunderbi@2601:4c1:4002:9927:3490:8b0:7fb4:8c07) has joined
  439. <Spongie> [SpongeAPI] J​BYoshi synchronize PR #772: Support for the resource pack implementation (http://git.io/vmjtO)
  440. <Spongie> [SpongeCommon] J​BYoshi synchronize PR #100: Implement resource packs. (http://git.io/vmjyJ)
  441. <blood_> kashike around?
  442. <kashike> blood_: yup
  443. <Dockter> Anyone remember in the server where the code is that if a player is standing in a collision box that it damages the player?
  444. * Zirconium (~robert@cpe-71-70-179-147.nc.res.rr.com) has joined
  445. <HassanS6000> Dockter, it's in the entity iirc
  446. <HassanS6000> or whatever the collision box belongs to..
  447. <HassanS6000> wait no. I misread, you meant what actually damages the player
  448. <HassanS6000> Sorry, idk
  449. * kashike does a dance
  450. <kashike> Showing 28 changed files with 894 additions and 107 deletions
  451. * HassanS6000 dances too
  452. * HassanS6000 wants to know why he's dancing
  453. <kashike> Dockter: for blocks? Entity#doBlockCollisions
  454. * kenzierocks has quit (Ping timeout: 378 seconds)
  455. * AlphaModder (~chatzilla@2602:306:37f4:f490:cd9c:1ed7:97b0:4ab9) has joined
  456. <blood_> kashike: https://gist.github.com/bloodmc/a8a6cf377a84a414dd63
  457. <kashike> blood_: I assume there is an `unloadWorld` method?
  458. <blood_> yup
  459. <kashike> looks good
  460. <kashike> blood_: line 10
  461. * AlphaModder has quit (Client Quit)
  462. <kashike> extra space in the <li>
  463. <kashike> at the end
  464. <blood_> k
  465. * AlphaModder (~chatzilla@2602:306:37f4:f490:cd9c:1ed7:97b0:4ab9) has joined
  466. <Spongie> [SpongeCommon] g​abizou pushed 2 commits to feature/data: http://git.io/vst0Y
  467. <Spongie> SpongeCommon/feature/data d0035180: Start multi-registration for ValueProcessors. This may change. (by G​abriel Harris-Rouquette)
  468. <Spongie> [SpongeCommon] g​abizou synchronize PR #132: [WIP] Multi Processor Registration (http://git.io/v3AEE)
  469. <Spongie> SpongeCommon/feature/data dc1cafb7: Forcibly abstract registerStuff for data manipulators. (by G​abriel Harris-Rouquette)
  470. <HassanS6000> blood_, is there a way to make a lightning strike?
  471. <blood_> dont believe so
  472. <blood_> not from API
  473. <kashike> HassanS6000: spawn a EntityTypes.LIGHTNING
  474. <kashike> most likely
  475. <blood_> yea that should work
  476. <HassanS6000> Thanks kashike
  477. <HassanS6000> How to create an entity?
  478. <HassanS6000> Do I need an entitybuilder or something
  479. <HassanS6000> The method spawnEntity(Entity) in the type EntityUniverse is not applicable for the arguments (EntityType)
  480. <kashike> https://docs.spongepowered.org/en/plugin/basics/entities/spawning.html
  481. <kashike> :)
  482. <HassanS6000> thanks :D
  483. <Dockter> kashike, can't seem to locate it, btw, this is specifically for 1.7.10
  484. <kashike> Dockter: 1.7.10 is a year old, move on
  485. <kashike> :p
  486. <Dockter> kashike, k, now that the stupid comments are out of the way,
  487. <gabizou> ok, time to start merging feature/data into master
  488. <gabizou> because reasons
  489. * Zirconium has quit (Quit: Zirconium)
  490. <kashike> gabizou: woooo
  491. * TheYeti is now known as TheYeti|AFK
  492. * Zirconium (~robert@cpe-71-70-179-147.nc.res.rr.com) has joined
  493. * kenzierocks (~kenzieroc@ip98-182-24-67.sb.sd.cox.net) has joined
  494. <kashike> Dockter: the method exists in 1.7.10 as well
  495. <Spongie> [SpongeAPI] g​abizou pushed 1 commit to feature/data: http://git.io/vstu1
  496. <Spongie> SpongeAPI/feature/data 58071c21: Several minor changes to Data API. (by G​abriel Harris-Rouquette)
  497. <kashike> Entity -> protected void doBlockCollisions()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement