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 2019-03-18 00:00:00Z and 2019-03-19 00:00:00Z
05:00
8fb77f1 Fit sound name in select button too - 12pm fc8b9e8 Merge pull request #1498 from 12pm/editor-sound-text - def-
06:58
90e2b35 Fix editor render glitch - 12pm 1fec655 Merge pull request #1500 from 12pm/extraeditor-fix - def-
Avatar
Since some servers keep imitating the official DDNet names, currently "DDNet Persian", which has nothing to do with DDNet, runs with cheats and for-pay VIP functions enabled. Should work similarly to the lock and heart symbol in serverbrowser. We have the json file of official servers anyway, so we can check if the ip/port of the server is in there.
Avatar
Google Images failes on input -1 lol
Avatar
because the - prefix means to exclude terms from the search
10:25
"-1" might be what you wanted
Avatar
No, comments in sql are "--", this is an escaping bug by google
10:29
Oh no nvm this is intended
Avatar
What does Google search have to do with SQL escaping?
Avatar
for (unsigned i = 0; i < Amount; i++) { new CMeteor(GameWorld(), ProjStartPos, m_pPlayer->GetCID(), true); } why does this only create 1 CMeteor if Amount > 0 (no matter how big, just bigger than zero) (edited)
Avatar
wafel
Avatar
it does work with other stuff, like printing a chat message (message gets printed Amount times.) why doesnt it work with this?
Avatar
@fokkonaut idk how u implemented cmeteor but doesnt it get cleaned when the current iter of the loop ends
Avatar
i dont know what you mean, but when i just use the new CMeteor line 2 times, it also just creates one. if i execute the command again, however i have two CMeteors
11:10
it just wont spawn them at once
11:11
@Ryozuki any idea?
Avatar
no i have 0 info how u implemented things
Avatar
What do you need to know?
Avatar
the constructor
Avatar
CMeteor(CGameWorld *pGameWorld, vec2 Pos, int Owner, bool Infinite);
Avatar
how u implemented it
Avatar
@fokkonaut btw, when you allocate with new you should store it somewhere and call delete later.
Avatar
okay :)
11:20
is it okay to call delete in the Reset() function of that entity?
Avatar
@fokkonaut and if you want help with code make a minimal example that we can run straight from command line and share that
Avatar
uhm, what
Avatar
(usually while doing that you'll realize yourself where the mistake is)
Avatar
what do you mean with that minimal example?
Avatar
GitHub Gist: instantly share code, notes, and snippets.
11:23
like this, works as expected
11:23
That's much easier to figure out than asking you "how is the constructor implemented?" and going step by step
Avatar
how do i delete that CMeteor *Meteor = new...
Avatar
delete Meteor;
11:26
But generally you should be using unique_ptrs or shared_ptr instead of manually managing memory
Avatar
and if i have multiple meteors?
11:27
how do i delete one specific
11:27
(the one that gets reset)
Avatar
delete it
Avatar
sorry, i am very, very stupid :D it always spawned the right amound of entities, they were just spawned into each other so i couldnt see it.
Avatar
unnecessary here anyway since its not handled for every server independently
12:25
55150bb Remove AllowTimeScore from browser (fixes #1499) - fokkonaut 7a23baa Merge pull request #1502 from fokkonaut/master - def-
14:20
679628c Exclude current map on random map votes - 12pm 5e60dfd Merge pull request #1503 from 12pm/random_map-exclude-current - def-
Avatar
i cant see the times in the scoreboard in browser
Avatar
fixed in the next release, join a server and disconnect for it to work
Avatar
@Im 'corneum nice map
Avatar
brownbear thx
Avatar
could it be possible to autofill chat commands with TAB just like with names?
Avatar
strictly speaking the client doesn't know what commands the server supports
15:29
It could assume the server is ddnet and provide those commands or we could have another way of sending those commands, like the ones for f2 are transmitted to client
Avatar
it would be a nice general solution for commands that i dont want to bind yet still use regulary
15:30
i always misspell showothers the first try (((
Avatar
``` Im 'corneum: could it be possible to autofill chat commands with TAB just like with names? deen: strictly speaking the client doesn't know what commands the server supports deen: It could assume the server is ddnet and provide those commands or we could have another way of sending those commands, like the ones for f2 are transmitted to client Im 'corneum: it would be a nice general solution for commands that i dont want to bind yet still use regulary Im 'corneum: i always misspell sh...
Avatar
How to only compile server with cmake and latest ddnet on linux?
Avatar
@fokkonaut u dont want to install sdl right
Avatar
i dont remember the argument now but its possible
Avatar
Rafael Fontenelle 2019-03-18 16:32:07Z
Try '-DCLIENT=OFF'
16:33
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Exported 71 message(s)