Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2018-09-30 00:00:00Z and 2018-10-01 00:00:00Z
Avatar
@ChillerDragon Not a guru, but I currently work in frontend, what do you need?
Avatar
ChillerDragon 2018-09-30 10:21:38Z
uhm i have this animation thingy
10:21
with clouds in the background
10:22
and it is on every page. But the animation gets reset if u change the page this looks ugly
10:22
http://149.202.127.134/DDNetPP-web/index.php @NeXus switch between Home and Clan for example and take a look at the clouds
Avatar
Hm, you would need to keep track of the current position of your clouds, save them in a cookie and load those positions on each cloud after page load
11:01
You need Javascript for it. Maybe have a look at Jquerys animate api
11:07
A other solution would be, since your website is pretty small and this would work pretty good, to never need to load a new page using ajax
11:08
Page transition keyword
11:08
As Sarah mentioned in her previous post about page transition using Vue.js, there is plenty of motivation for designers and developers to be building page
Avatar
ChillerDragon 2018-09-30 11:29:45Z
sounds like crazy much work and stuff
11:30
i never used jquery or cookies i just want a simple css tag xd animation-save: true
Avatar
Yea this would be nice, but this isnt how website works. ^^
13:32
561c8d2 Debug build is default now... - def- 35aab18 Merge branch 'master' of github.com:ddnet/ddnet-scripts - def-
Avatar
I don't think it changes something but it looks better c:
14:50
@ChillerDragon Here you go, not the best solution, but it should work. Also for any screen-width
14:51
Include my cloud.js file into your project
Avatar
ChillerDragon 2018-09-30 14:56:53Z
o.O
Avatar
@Deleted User new version, support is fixed now
Avatar
ChillerDragon 2018-09-30 14:58:58Z
getElementById
14:59
@NeXus what id does it take?
Avatar
the id attribute in your .html
Avatar
ChillerDragon 2018-09-30 14:59:32Z
Avatar
id="cloud1"
Avatar
ChillerDragon 2018-09-30 14:59:35Z
this oen?
14:59
so i have to extend ur code for all clouds 1 to 5
Avatar
yes because id values are unique. Thats not much work tho, copy paste one (edited)
15:06
hello
15:07
when i compile ddnet 11.4.2
15:07
in some my edited map got this error and crash
15:07
after click on ignore
15:07
show me this line
15:08
SQuadContainer::SQuad& Quad = Container.m_Quads[QuadOffset]; in graphics_threaded.cpp
Avatar
ChillerDragon 2018-09-30 15:10:18Z
fix ur haxx0r map editor xd
15:10
what crashes client or server?
Avatar
ChillerDragon 2018-09-30 15:10:59Z
does the pre compiled one from ddnet.tw also crash?
15:11
from ddnet.tw 11.4.3 tested
Avatar
ChillerDragon 2018-09-30 15:11:15Z
is it the same version?
Avatar
and was fix
15:11
same version of server and client or clients i tested ?
Avatar
ChillerDragon 2018-09-30 15:11:39Z
@Vexar did u play fly?
Avatar
ChillerDragon 2018-09-30 15:11:47Z
hm
Avatar
can it's because of my map's old editor version ?
Avatar
ChillerDragon 2018-09-30 15:12:26Z
idk what changed in the update
15:12
but i dont think they actually touched the editor i guess it was just some graphical stuff
15:12
but better ask @Deleted User he knows whats going on
Avatar
ok tnx chill
Avatar
@Vexar can you give me the map u tested it?
15:18
it's a old block map
Avatar
also you are at 32bit.. maybe too less memory?
15:19
does 64 bit crash too
15:19
but wait i test 64
15:19
Avatar
ty
15:23
but it's defenitely possible i fixed something from 11.4.2 to 11.4.3 can't remember xd
Avatar
i tested 64 bit crashing too in 11.4.2
15:26
so wait to compile 11.4.3
Avatar
well switched to windows
15:28
can't reproduce with current source from github
Avatar
ChillerDragon 2018-09-30 15:47:56Z
@NeXus uhm why did u set the speed in teh js?
15:48
isnt it set in the css already?
Avatar
Js gay frozen 👌 👌
Avatar
ChillerDragon 2018-09-30 15:52:17Z
and gay is cool ❤
15:55
Avatar
5:55 suk ma cox
Avatar
ChillerDragon 2018-09-30 15:55:24Z
meh @NeXus
Avatar
whats that website
Avatar
ChillerDragon 2018-09-30 15:56:03Z
childporn
Avatar
"FBI, open up!"
15:56
its wip
15:56
so...
Avatar
@ChillerDragon document.getElementById() returns null if the element couldn't be found
15:57
which means id="cloud1" doesnt exist
Avatar
ChillerDragon 2018-09-30 15:57:16Z
ya
15:57
no u
15:57
OH
15:57
xd
Avatar
no u >:[
Avatar
ChillerDragon 2018-09-30 15:57:35Z
i guess i have to src the script after the cloud creation
15:57
that sucks lul
15:57
cuz cloud is in body and script in head
Avatar
put it at the end of </body>
Avatar
ChillerDragon 2018-09-30 15:58:00Z
what ?
15:58
the cloud?
Avatar
cloud.js
Avatar
ChillerDragon 2018-09-30 15:58:11Z
in ze foota
15:58
oke
15:59
ok no errors c:
15:59
but not working at all
15:59
xd
Avatar
ye delete all your animations stuff in css
Avatar
ChillerDragon 2018-09-30 15:59:33Z
:c
15:59
oh
15:59
that explains it
Avatar
in .cloud and #cloudxyz
Avatar
ChillerDragon 2018-09-30 15:59:43Z
pure js animation
15:59
nice info
15:59
xd
Avatar
Yes, because I didnt know how to get the current Position of css animation
16:00
because that works with seconds
16:00
weird stuff
Avatar
ChillerDragon 2018-09-30 16:00:13Z
i was so proud of my css animations .-.
16:01
uff
Avatar
@Deleted User how are the fps now? as good as vs15?
Avatar
@deen even better now ;)
Avatar
ChillerDragon 2018-09-30 16:15:20Z
hm?
16:15
not loading for me
Avatar
crypto miner monkaS banhammer
16:18
with html
16:18
report
Avatar
ChillerDragon 2018-09-30 16:18:38Z
idk men
16:18
tried out coinhive while ago
16:19
i said wip so dont expect everything to be working
16:19
@NeXus bru!
16:19
i dont get ur stuff running
Avatar
you have teamviewer
Avatar
ChillerDragon 2018-09-30 16:19:29Z
i have open source
Avatar
or gimme ur code
Avatar
ChillerDragon 2018-09-30 16:20:14Z
The website related to the teeworlds DDNet++ mod. Contribute to ChillerDragon/DDNetPP-web development by creating an account on GitHub.
16:20
but since its just html and js u can find the bugs on the webiste directly
16:20
so u dont have to run a php thingy
Avatar
php thingy 😄
16:21
you mean webserver
Avatar
ChillerDragon 2018-09-30 16:21:09Z
y
16:21
xd
Avatar
in which file do you add your css,js and clouds?
Avatar
ChillerDragon 2018-09-30 16:25:41Z
desing/*.css
16:26
design/js_clouds.css and design/clouds.js is ur stuff
16:26
or do u mean the include
Avatar
yes (edited)
Avatar
ChillerDragon 2018-09-30 16:26:16Z
in the html
16:26
usefull_functions.php
16:26
at the top
16:27
if u dont use my server to test i can play around with it i guess
16:32
change this to $style == "js_clouds.css"
Avatar
ChillerDragon 2018-09-30 16:33:30Z
i fixed it
16:33
check new commit (edited)
16:33
still not working .-.
16:33
no error messages but clouds arent moving
Avatar
well it works for me after chaning it
Avatar
ChillerDragon 2018-09-30 16:34:03Z
oh interesting
16:34
maybe i fucked something else up then
Avatar
your code is a mess anyway no offense 😄
Avatar
ChillerDragon 2018-09-30 16:34:39Z
ikr
Avatar
@ChillerDragon what is eggschange-wp?
Avatar
ChillerDragon 2018-09-30 16:35:20Z
some other project
16:35
its even unfinisheder
16:35
dont even think of testing it
16:37
they save positions for me, not for u ?
Avatar
ChillerDragon 2018-09-30 16:37:12Z
LOL
16:37
yes
16:37
how did u do this?
Avatar
ChillerDragon 2018-09-30 16:37:29Z
man in the middl link
16:37
a
16:37
well it is a bit glitchy
16:38
i guess because of site loading and stuff
16:38
maybe it needs prediction
16:38
anti ping u knopw
16:38
but its way better than before c:
16:38
thanks a lot
16:41
looks like they change their speed now randomly
16:44
oh @NeXus do i need a cookie disclamier now? (edited)
Avatar
well for correct dsgvo yes
16:48
but you would also need a https connection and other stuff
16:48
dont worry about it
Avatar
ChillerDragon 2018-09-30 16:49:00Z
yea but im using cookies now?
16:49
so if i want to launch it profesionally somehow and add teh https and stuff i will add a info abotu it i guess
16:50
why does the animation speed up at the end?
Avatar
no it uses session storage not cookie. I dont think you need a disclaimer for it
Avatar
ChillerDragon 2018-09-30 16:52:24Z
cool
Avatar
hm idk not for me, like I said not the best solution, may be buggy. Basicly it increments the left value of a cloud over and over in the background till it reaches screen width, than it puts left to 0px (left screen side)
Avatar
ChillerDragon 2018-09-30 16:54:46Z
what is the best value to get it out side of the screen?
16:55
is there like a width attribute
Avatar
screen.width gives you the size in px of users screen
16:55
in js
Avatar
ChillerDragon 2018-09-30 16:55:43Z
i mean of the clouds
16:55
background-size: 512px 256px;
16:55
i guess these are correct cloud sizes
Avatar
yes they are
Avatar
ChillerDragon 2018-09-30 16:56:05Z
i mean i could also hardcode -512 i guess
Avatar
idk what you mean lul
Avatar
ChillerDragon 2018-09-30 16:56:55Z
ye i was right
16:57
they stopped teleporting c:
16:57
but they still randomly get speed boosts looks so weird
Avatar
yea the wind changes ofc, i made it realistic GWqlabsFeelsFunnyMan
Avatar
ChillerDragon 2018-09-30 16:58:33Z
^^
16:58
i almost made a joke about it
Avatar
but I saw you code in php, which I like. My main language
16:59
you should read about mvc
Avatar
ChillerDragon 2018-09-30 17:00:39Z
yea i guess
17:01
do u see these speedboosts aswell?
17:01
i have no idea what caused them
Avatar
should have something to do how setIntervall works
Avatar
ChillerDragon 2018-09-30 17:13:07Z
yay @NeXus think i fixed it
17:13
this requestAnimationFrame() func is way better i think
17:19
i guess if u calculate position depending on date you can get anti ping
Avatar
@ChillerDragon only talk English here, please 🇺🇸 🇬🇧
Avatar
ChillerDragon 2018-09-30 17:19:22Z
xxxD
17:19
ah no probably not because the site will always freeze on loading
Avatar
how does this language bot work tho
17:21
regex expression or database with words you cant say
17:21
Ich bin eine deutsche Kartoffel
🥔 2
Avatar
ChillerDragon 2018-09-30 17:21:41Z
if (rand() % 420 == 0) { language ^= true; }
Avatar
deutsch deutsch
17:21
yes feels like it tho lol
Avatar
ChillerDragon 2018-09-30 17:21:55Z
i guess if u calculate position depending on date you can get anti ping
Avatar
@ChillerDragon only talk English here, please 🇺🇸 🇬🇧
Avatar
ChillerDragon 2018-09-30 17:21:57Z
haha
17:22
only this one works
17:22
xd
Avatar
i guess if u calculate position depending on date you can get anti ping
Avatar
@NeXus only talk English here, please 🇺🇸 🇬🇧
Avatar
ChillerDragon 2018-09-30 17:22:21Z
xxxD
Avatar
вы предложили то, что вы можете нацировать cyka bljat
Avatar
ChillerDragon 2018-09-30 17:22:47Z
xxxD
Avatar
how does he not detect that wtf
Avatar
ChillerDragon 2018-09-30 17:23:16Z
pro detection^^ jao might need some lessons by @noby he can detect anything
17:24
maybe it counts vowls or stuff and checks them agians wikipedia stats idk
17:24
xd
Avatar
i won vs ur bots l2p
Avatar
idk why it’s so bad it’s based of some google language detection
17:37
81408ca Debug mode should only be default if DEV is set, release otherwise - heinrich5991 7fefcb5 Merge pull request #1309 from heinrich5991/pr_ddnet_cmake_default_buildtype - def-
Avatar
ChillerDragon 2018-09-30 17:51:22Z
google normally doesnt suck that hard xd
17:54
uhm who made that web teewoods client agian?
17:55
Musician, web developer, and tech enthusiast. TeeWeb has 5 repositories available. Follow their code on GitHub.
17:55
xd found that non tw guy with the TeeWeb name xd
17:57
ah its eeeee
17:58
ah no east eeeee only stole credits xd
Avatar
ChillerDragon 2018-09-30 18:06:33Z
@eastbit#248 yo here?
Avatar
ChillerDragon 2018-09-30 19:08:32Z
19:08
any idea why my build fails .-. its fresh ddnet source from github
19:09
looks like i destroyed my compiler pls send help
19:15
hm i cant compile any tw anymore i guess its related to a macOS update .-.
19:16
any apple haxxors? @noby @HMH can u still compile with the new xcode tools?
Avatar
because it's Apple
19:44
that's why it doesn't compile correctly
Avatar
Cellegen | HU 2018-09-30 20:23:03Z
dat language bot exactly made for Danilbest 👌 feelsamazingman
Avatar
The macOS is definitely not developer friendly. The latest XCode 10 update was backwards-incompatible in many ways. Took me a couple hours to fix my app builds.
Avatar
@ChillerDragon Carbon framework file seems to be missing?
Avatar
ChillerDragon 2018-09-30 20:50:30Z
oh true u joined the mac gang @Learath2 c:
20:50
a lot of stuff seems to be missing @deen .-.
20:50
how did u fix it @Learath2 ?
Avatar
ddnet didn't break for me
22:22
which was pretty surprising
Exported 267 message(s)