Topic: [SUGGESTION] Copy-paste IP adresses
1. It should be able to, copy and paste the ip-adress because its realy
nerving if you have to write the full ip-adress to a friend if you want to
play with him
2. Maybe a list of favourite servers
You are not logged in. Please login or register.
Teeworlds Forum → Development → [SUGGESTION] Copy-paste IP adresses
1. It should be able to, copy and paste the ip-adress because its realy
nerving if you have to write the full ip-adress to a friend if you want to
play with him
2. Maybe a list of favourite servers
Yes that wold be so nice
I play in instagib server all the time so if we can have favorite servers I will freak out
MertenNor
1. It should be able to, copy and paste the ip-adress because its realy
nerving if you have to write the full ip-adress to a friend if you want to
play with him
2. Maybe a list of favourite servers
1. ??? You can find players just by typing in their name at the server search bar!
2. is going be in 0.5.0
1. ??? You can find players just by typing in their name at the server search bar!
Doesn't work with servers not registered to the masterserver.
create a a.cfg file in teeworlds directory and type in : "connect ip" then ingame F1=>exec a.cfg
xD
Hi there,
although this thread is not the newest, i will post it here instead of a new thread.
1. It should be able to, copy and paste the ip-adress
It annoys me too that you cannot paste an adress in the textbox, so i built a paste function into the textboxes (using ctrl+v). It only works for win32 because i dont know how the clipboard in linux/mac works.
Here it is:
<edited, use link below>
It contains an .exe which is compiled based on 0.5.1 as well as the modified sources (src\game\client\components\menus.cpp ,\src\base\clipboard.c ,\src\base\clipboard.h)
so you can compile it yourself (or any dev can adopt it for 0.5.2 or something)
PS. there is no check for valid chars in the clipboard, so you can paste 'newlines' but i didn't test what happens, so please don't try it
edit: fixed, thx to gordzo70
edit:
I added also a copy-function but only to copy the whole textbox without selecting the text, just hit ctrl+c to copy the content of the box.
here is the new link:
http://darktemp.dizconnected.de/dl.php? … ypaste.rar
It annoys me too that you cannot paste an adress in the textbox, so i built a paste function into the textboxes (using ctrl+v). It only works for win32 because i dont know how the clipboard in linux/mac works.
Awesome!
PS. there is no check for valid chars in the clipboard, so you can paste 'newlines' but i didn't test what happens, so please don't try it
You may want to check out the str_sanitize_strong function:
/*
Function: str_sanitize_strong
Replaces all characters below 32 and above 127 with whitespace.
Parameters:
str - String to sanitize.
Remarks:
- The strings are treated as zero-termineted strings.
*/
void str_sanitize_strong(char *str);
Thx, that is a good idea.
I fixed it and updated the file (same link as before)
Teeworlds Forum → Development → [SUGGESTION] Copy-paste IP adresses
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.