d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Official Off-topic In Chd > Pls No Lock Mods :(
Prev16526536546556561226Next
Add Reply New Topic New Poll
Member
Posts: 25,815
Joined: Oct 7 2005
Gold: 10,300.00
Apr 9 2016 12:34am
Quote (King Atrhur @ Apr 8 2016 04:02pm)
Here ghot proof that even a 10 year old is smarter then you...
Heres my sons lua code to mod his game.


Code
<Layer
Condition="GAMESTATE:IsHumanPlayer(PLAYER_1)"
Type="Quad"
InitCommand="hidden,1"
StepP1MessageCommand="%function(self)
if GAMESTATE:GetSongBeat() >= 0 then
if herp1 == 0 then
P1:addy(1);
derp1 = derp1-0.01;
P1:zoom(derp1);
if derp1 == 0 then
herp1 = 1
end
else
P1:addy(1);
derp1 = derp1-0.01;
P1:zoom(derp1);
if derp1 == 2 then
herp1 = 0
end
end
end
end"
/>

<Layer
Condition="GAMESTATE:IsHumanPlayer(PLAYER_2)"
Type="Quad"
InitCommand="hidden,1"
StepP2MessageCommand="%function(self)
if GAMESTATE:GetSongBeat() >= 0 then
if herp2 == 0 then
P2:addy(1);
derp2 = derp2-0.01;
P2:zoom(derp2);
if derp2 == 0 then
herp2 = 1
end
else
P2:addy(1);
derp2 = derp2-0.01;
P2:zoom(derp2);
if derp2 == 2 then
herp2 = 0
end
end
end
end"
/>

<Layer
Type="Quad"
OnCommand="diffusealpha,0;sleep,1000;"
/>

<Layer
Type="Quad"
OnCommand="hidden,1"
InitCommand="%function(self)
checked = false;
-------------------------------------
-- my code --
-------------------------------------
mod_actions = {
{0.1,function()
if P1 then
P1:y(SCREEN_CENTER_Y);
P1:zoom(1);
derp1 = 1
herp1 = 0
end
if P2 then
P2:y(SCREEN_CENTER_Y);
P2zoom(1);
derp2 = 1
herp2 = 0
end
end},
}


Also will update you soon on unity progress ducky. Seems he really is more interested into java script atm.
but he did manage to make a few small animations with a sphere in unity.

than*
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 9 2016 01:42pm
Fixed firefoxes jsp issue. Because of the new cert jsp has and the fact that for some stupid reason you fucks are all posting http links to images, firefox is refusing to load images. So I wrote a greasemonkey script to change all img html tags to use the https protocol. This only fixes 80% of jsp since some idiots are still using tinypic which doesn't even support SSL connections.

Code
// ==UserScript==
// @name _Remap images to HTTPS
// @include https://forums.d2jsp.org/*
// @grant GM_addStyle
// ==/UserScript==
/*- The @grant directive is needed to work around a design change
introduced in GM 1.0. It restores the sandbox.
*/
var links = document.evaluate('//img[contains(@src, \'http://\')]', document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < links.snapshotLength; i++)
{
var thisLink = links.snapshotItem(i);
thisLink.src = thisLink.src.replace('http://', 'https://');
}


This post was edited by AbDuCt on Apr 9 2016 01:46pm
Member
Posts: 15,942
Joined: Aug 11 2007
Gold: 8,221.76
Apr 9 2016 03:08pm
gimhae and fedox giving each other advise

http://forums.d2jsp.org/topic.php?t=74229280&f=189&o=0

:rofl:
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Apr 9 2016 04:58pm
Quote (noob_whacker @ 9 Apr 2016 15:08)
gimhae and fedox giving each other advise

http://forums.d2jsp.org/topic.php?t=74229280&f=189&o=0

:rofl:


Oh man.
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Apr 10 2016 02:46am
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Apr 10 2016 03:10am
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Apr 10 2016 05:14pm
Should I get Star Wars Battlefront 3? I played it on XBox One for a bit and it was awesome but I'm not sure it's worth 35 bucks awesome. Anyone know where it is cheaper?
Member
Posts: 105,162
Joined: Apr 25 2006
Gold: 10,475.00
Apr 10 2016 07:59pm
Quote (Rikuo @ Apr 8 2016 09:24pm)
I'm going to murder me an elk or deer this year for sure.


It's going to be tasty.




I was looking up foods that help you sleep. Elk has more tryptophan than a Turkey dinner.
Member
Posts: 109,874
Joined: Feb 1 2006
Gold: 10,152.00
Apr 10 2016 08:00pm
Quote (Ghot @ Apr 10 2016 08:59pm)
I was looking up foods that help you sleep. Elk has more tryptophan than a Turkey dinner.


and both have so little that neither plays a role in your sleeping.
Member
Posts: 105,162
Joined: Apr 25 2006
Gold: 10,475.00
Apr 10 2016 08:38pm
Quote (King Atrhur @ Apr 10 2016 09:00pm)
and both have so little that neither plays a role in your sleeping.




Well it's second to Sea Lion. :)

http://nutritiondata.self.com/foods-000079000000000000000.html
Go Back To Computers & IT Topic List
Prev16526536546556561226Next
Add Reply New Topic New Poll