./DDNet-Server "sv_gametype mod"
now shows -9999 in scoreboard and reports the "points" score kind to master server. This gives ddnet based mods a clear api for using point based scores. Mods with minigames or similiar might also want to report different score types to different players that is why the api also includes the ClientID.
https://github.com/ZillyInsta/ddnet-insta/pull/83
\
which is different from the used path separator in the script /
, being used for files to ignore for example. It means that those ignore files wouldn't match any of the collected paths when running the script on Windows, which lead to having those files being clang formatted when they should be ignored.
This PR simply replaces the windows path separator \
with /
so that everything involving path comparison should work properly.
c277955
Logging: Log tickets to a different log file - murpii
4100774
Ticketsystem: Remove redundant request call - murpii
5dde7d2
Moderator: Add function to notify admins if a staff member leaves the ddnet discord server, formatting - murpii
1315a6f
Playerfinder: Use new DDNet links, formatting - murpii
1ecc262
Ticketsystem: Remove unused import, renamed the 'buttons' function to 'ticket_menu', use list instead of tuples for extract_servers, rename 'other' ticket category to 'admin-mail' and make it (hopefully) more clear we don't provide tech support in tickets, use .title() instead of capitalize(), Ignore admin-mail and complaint tickets, formatting - murpii
ca09766
Merge pull request #69 from murpii/pr_fixes - Learath2{:?}
dbg formatter to print struct fields max output ...
??void abc(vector<unique_ptr<int>>);
.
Am I able to call it with an parameter created in line?
Like: abc({})
works, but with an empty vector ofc.
Tried around with things like abc(std::move(vector<unique_ptr<int>>{make_unique<int>(1)}))
and so on but could not get it done.abc({make_unique<int>(1)})
In template: no matching function for call to 'construct_at'
vector<...>{make_unique<int>(1)}
the part {...}
get's copy constructed and there is no way I could move the values?std::
as well all the time ...initializer_list<unique_ptr<T>>
then I guess. If it's possible to move the value out of this list then.vector
with initiailzer_list
at first. But then I cannot just loop and move out xDvector<unique_ptr<T>>
... but that's probably super bad software design then xDstd::make_move_iterator
though that’s quickly moving out of my knowledgevoid abc(initializer_list<unique_ptr<int>> x) {
auto a = vector<unique_ptr<int>>(make_move_iterator(x.begin()), make_move_iterator(x.end()));
}
make_move_iterator
wasn’t as magic as I thought git clone
always prints the same exact output with wrong number of objects and path. ls
always prints the same files with a LICENSE
files that didn't exist in one of the cloned repositories and .gitignore/
is printed like a folder.gfx_refresh_rate 1500
and the spikes go above the 1500, but it's the same with gfx_refresh_rate 0