Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2019-05-03 00:00:00Z and 2019-05-04 00:00:00Z
Avatar
[quakenet] day BOT 2019-05-03 14:59:54Z
day just solved the cursor locked in upper corner issue :3
15:00
which can be worked around via inp_grab 0
15:01
1*
15:02
TW Version 0.7.2 Environment: Archlinux + i3 SDL2 version: 2.0.9 inp_grab 0 causes the cursor to snap into the upper left corner after the first mouse input is registered. 0.6.X is also affected on...
Avatar
[quakenet] Dune BOT 2019-05-03 16:49:55Z
nice find, day
Avatar
LordSk 🦋 2019-05-03 16:50:49Z
^
Avatar
[quakenet] Oy BOT 2019-05-03 16:52:14Z
LordSk how is the map editor going? :D
Avatar
LordSk 🦋 2019-05-03 16:54:38Z
Funny you ask, I was going to make a post on the private forum about it
16:55
But it's not done yet unfortunately
16:55
I'm gonna clean up what I have for now and we can see how we move forward
Avatar
[quakenet] Oy BOT 2019-05-03 16:58:58Z
good :)
Avatar
[quakenet] Assa BOT 2019-05-03 17:06:16Z
@Oy @LorsSK i need more feedback for the buffered chat ui feature
Avatar
LordSk 🦋 2019-05-03 17:08:34Z
Assa: hum sure, what exactly is this feature?
Avatar
[quakenet] Assa BOT 2019-05-03 17:18:22Z
Some visual updates for buffered chat: Chat: Teamchat: Whisper: Should I change anything?
17:19
on the master: if you chat and press HOOK or FIRE, your chat gets buffered and you can play - and if you continue chatting your text won't be lost
17:19
the feature is just some ui/visuals for it
Avatar
LordSk 🦋 2019-05-03 17:23:36Z
looks good to me
Avatar
[quakenet] Oy BOT 2019-05-03 17:23:41Z
Assa: last pic looks good. press x to chat message on the right
17:23
*left
17:24
and doesn't seem to overlap with the broadcast, so it should be alright
Avatar
[quakenet] Assa BOT 2019-05-03 17:26:23Z
Dune hat some concerns about the alphas
17:27
what do you mean by "press x to chat message"
Avatar
[quakenet] Oy BOT 2019-05-03 17:28:03Z
better when it start on the left side of the screen. like in the last pic
Avatar
[quakenet] Assa BOT 2019-05-03 17:34:53Z
do you think the text or the annotation should be more transparent?
Avatar
[quakenet] Assa BOT 2019-05-03 17:36:18Z
the last is the current
Avatar
[quakenet] Assa BOT 2019-05-03 17:50:06Z
the formating of the pull request looks terrible ...
Avatar
undo commits on your local repo, make the "Implemented #2124" commit again without the problems, force push
18:01
then it will be only 1 commit without the problems in the PR
18:07
so it looks cleaner
Avatar
[quakenet] Assa BOT 2019-05-03 18:19:53Z
the problem is: everything looks fine in my IDE and i don't know why everything looks so crappy
Avatar
you need to indent with tabs
18:27
no space indenting
Avatar
[quakenet] Assa BOT 2019-05-03 18:27:59Z
thought i fixed that
18:32
the IDE resettet it somehow, its a mixture of both ...
Avatar
you didnt do what I said assa
18:43
instead of flooding the pr with indent commits
Avatar
[quakenet] Assa BOT 2019-05-03 18:44:22Z
I already did one before you said that
18:44
this time I "saved the new perspective"
Avatar
[quakenet] Assa BOT 2019-05-03 18:45:39Z
do all of my commits get merged into the teeworlds commits? Can't you rename or compress commits to one?
Avatar
thats what Im saying
18:46
if you undo your indent commits until you reach 557ec0b
18:46
then make it so your commit doesnt have any indent problems in the first place
18:46
then commit
Avatar
[quakenet] Assa BOT 2019-05-03 18:46:36Z
A nice way to group some changes together, especially before sharing them with others.
Avatar
then force push
Avatar
[quakenet] Assa BOT 2019-05-03 18:46:42Z
i will do a git rebase
Avatar
rebase on what
Avatar
[quakenet] Assa BOT 2019-05-03 18:47:17Z
see link
Avatar
[quakenet] minus BOT 2019-05-03 18:47:17Z
reminder to use git push --force-with-lease if other people can also push to said branch
Avatar
[quakenet] Assa BOT 2019-05-03 18:47:50Z
nobody else can send to my branch, but thanks
Avatar
ye I use it only on my own branches and its just to prevent having little fix commits
18:48
otherwise you look at git history for line changes and you see "fix indent" instead of "added x feature"
18:49
are you using VSCode assa?
Avatar
[quakenet] Assa BOT 2019-05-03 18:51:32Z
no, I am using code blocks
Avatar
hm ok so you use git in console
Avatar
[quakenet] Assa BOT 2019-05-03 18:51:50Z
yes
Avatar
git reset --soft HEAD~5
18:53
will keep your changes but go back 5 commits
18:53
then you can just commit everything in 1 commit, so it has no problems
18:53
then git push origin --force
Avatar
[quakenet] minus BOT 2019-05-03 18:54:02Z
or use the power of git-rebase
Avatar
if you know how then tell how, cause Im not good with rebase
Avatar
[quakenet] Assa BOT 2019-05-03 18:56:15Z
I actually did what you wrote this time, but before I read it
Avatar
[quakenet] minus BOT 2019-05-03 18:56:23Z
git rebase --interactive HEAD~5, then change all 'pick' except for the first one to 'squash', save, edit the new commit message
18:56
sliightly more complicated in this case
Avatar
[quakenet] Assa BOT 2019-05-03 18:56:46Z
git push -f assa BufferedChat
Avatar
[quakenet] minus BOT 2019-05-03 18:56:48Z
(than the reset)
18:57
disclaimer: i don't understand how git works
Avatar
[quakenet] Assa BOT 2019-05-03 18:57:22Z
you don't need to, as long as StackOverflow does
Avatar
[quakenet] minus BOT 2019-05-03 18:58:11Z
i've been in situations where knowing how it works would've been good
18:58
especially 3-way merges
Avatar
well seems like the PR is nice now
Avatar
[quakenet] Assa BOT 2019-05-03 19:10:42Z
yes, its not the first time i rebase or reset because of indents
Avatar
[quakenet] heinrich5991 BOT 2019-05-03 19:44:17Z
don't do -f, it's a bad habit :P
19:44
do git push assa +BufferedChat
Avatar
[quakenet] Dune BOT 2019-05-03 19:56:21Z
Assa, @Fudgy: or use Sublime Merge for that kind of commit manipulation :D
19:57
btw if you write "Fix #2124" in the PR it will close it automatically :)
Avatar
[quakenet] Assa BOT 2019-05-03 20:09:08Z
I don't want to automerge stuff, that isn't checked :D
Avatar
[quakenet] barsik BOT 2019-05-03 20:09:47Z
1 sec
Avatar
[quakenet] Assa BOT 2019-05-03 20:09:53Z
and Dune, that is a really nice comment <3
Avatar
heinrich, that alternative is to create another branch?
20:10
I use a mix of vscode commands and console git Dune
20:10
I downloaded sublime merge but didnt use it yet
Avatar
[quakenet] Dune BOT 2019-05-03 20:11:02Z
I used to use console git only, @Fudgy, but sometimes when I need to rebase shit I just wanna have something more visual and it's really handy (even if slower)
Avatar
[quakenet] barsik BOT 2019-05-03 20:11:47Z
Assa
20:12
int ShotSpread = 5;
20:12
and i can write int int ShotSpread = 7; &
20:12
int ShotSpread = 7; ?
Avatar
I never used rebase
20:14
whats the question barsik? This seems like a safe value to change
Avatar
[quakenet] Assa BOT 2019-05-03 20:14:37Z
can you read the loop? From where to where does Shotspread go and how many bullets do you spawn?
20:15
with shotspread=7 you will spawn 15 bullets and get an exception, because your 'Spreading' array is too small
Avatar
[quakenet] barsik BOT 2019-05-03 20:17:16Z
in float Spreading[] we have trajectories, yep?
Avatar
[quakenet] Assa BOT 2019-05-03 20:17:41Z
we have changes to the angle a
20:17
so technically yes
Avatar
[quakenet] barsik BOT 2019-05-03 20:18:56Z
if we have ShoSpread = 4; we have 9 bullets with 5 correct trajectories and others have random trjctrs
Avatar
[quakenet] Assa BOT 2019-05-03 20:19:22Z
yes, because your Spreading array has only 5 values
20:19
you need 9 for 9 valid trajectories. The other 4 trajotories are just some memory variables
Avatar
[quakenet] barsik BOT 2019-05-03 20:20:57Z
how we can calculate other?
20:23
do you know this?
Avatar
[quakenet] Assa BOT 2019-05-03 20:28:29Z
depends on how YOU want to program the others
20:28
simple trick: Spreading = i*0.070f
Avatar
[quakenet] barsik BOT 2019-05-03 20:29:15Z
lol
20:31
with grenade similarly?
20:33
if i want make comman /spread and write ShotSpread = SpreadCmd;
Avatar
[quakenet] Assa BOT 2019-05-03 20:33:27Z
yes
Avatar
[quakenet] barsik BOT 2019-05-03 20:33:50Z
if(!strncmp(pMsg->m_pMessage,"/spread", 1)) { pPlayer->m_LastChat = Server()->Tick(); } else SendChat(ClientID, Team, pMsg->m_pMessage);
20:34
how intercept SpreadCmd
Avatar
[quakenet] Assa BOT 2019-05-03 20:36:37Z
take a look at src/base/system.h you have an str_comp function there
20:37
And i don't understand your question
Avatar
[quakenet] barsik BOT 2019-05-03 20:37:57Z
we have /spread n and i would make SpreadCmd = n;
20:39
oh When i compiling default sources with bam i have syntax errors in system.c and system.h wut
Avatar
[quakenet] Dune BOT 2019-05-03 21:19:21Z
what are they?
Avatar
[quakenet] heinrich5991 BOT 2019-05-03 21:26:53Z
str_startswith btw
Exported 116 message(s)