logo
IRC Archive / Freenode / #mumble / 2010 / March / 30 / 1
Ogoor
http://tatom.org/documents/CNN.com-StudyNewstudyshows.htm
DireFog
oO
"suck on it if you wanna live!"
best. pick-up. line. ever.
_KaszpiR_
and oral sex decreases thrat cancer? XD
DireFog
^^
_KaszpiR_
now, let's not discuss about anal
Ogoor robie ci tego cod'a
`Zuko
w0w
_KaszpiR_
Ogoor ale zeby miec mappack trzeba miec zainstalowana gre :/
CIA-20
pcgod * r8ce81feb794d /src/mumble/os_win.cpp: Allow read-only access to the logfile on Windows
pcgod * rd556ca3ce0f1 /src/ (13 files in 2 dirs): priority speaker - client side
pcgod * r359d01c39dca /src/murmur/ (Messages.cpp MurmurIce.cpp RPC.cpp Server.h): priority speaker - server side
rawnar
How can I get information printed to the screen or command line from a positional audio plugin?
I am using MS windows 7 as an OS. There is also a post on the mumble forum that I started conserning this problem.
The topic is General->General->Positional Audio for Borderlands
pcgod
rawnar: you could use outputdebugstring in your plugin code and dbgview to see them...
B0nuse
hi all
rawnar
Do you need to add a specific include to address the function
B0nuse
i dont understand - how can i use "icesecret" in icedemo.php?
rawnar
pcgod: I will give it a try. Thanks.
B0nuse
http://sourceforge.net/projects/mumble/forums/forum/492607/topic/3625801 have answers?
slicer
B0nuse: Check the .ini
B0nuse
slicer: I set the icesecret value in murmur.ini How do I specify it in icedemo.php?
slicer
Unless you're using Ice 3.4, you don't.
And if you're using 3.4, do the same as is done for Python etc.
B0nuse
Is ise-3.3.1_1 not fit for use icesecret?
ice*
slicer
Not with php, no.
B0nuse
Consequently, icesecret can be used only with ice-3.4 and only with pyton?
dD0T
B0nuse: No. On php only with 3.4 while the rest of the languages have no such restrictions.
at least that's how I understand it. Don't use php
B0nuse
why can not I set in icedemo.php something like $ meta-> setIceSecret ("somesecret"); to use icesecret?
Ok. How do I use icesecret, if I install Ice-3.4.?
dD0T
B0nuse: Ice is stateless. There's no such thing as a connection (much like http). So it cannot really tell appart your app from any other.
The way secrets work is that they are added to the calls context. Meaning it'll be transmitted with every single call you do.
B0nuse: Sry. I never used php. If you can't find a packet I guess you'll have to compile the php extension yourself with the sources from zeroc.
B0nuse
You can give a specific example?
dD0T
B0nuse: Though from what I read 3.4 is absolutely worth it with PHP. It gets so much saner ;-)
B0nuse: Specific example for what?
B0nuse
for using icesecret with Ice-3.4, PHP and some command from icedemo.php
dD0T
B0nuse: I guess it'll work pretty much like in python. With your communicator you do ice.getImplicitContext().put("secret", "supersecretsecret")
ipnoz
B0nuse, use ice_context(array(secret => 'password')) to set the icesecret with php
dD0T
well. Not quite like in python^^ Thanks for the info opnoz
-o+i
ipnoz
no pb :)
B0nuse
ipnoz: ice_context() - is a function for Ice3.4?
ipnoz
You can found it in ice 3.2 & 3.3, but i don't know for 3.4
B0nuse
with Ice-3.3.1_1 - Fatal error: Call to undefined function ice_context() in /path/to/icedemo.php on line (num line with ice_context(array(secret => 'password')))
ipnoz
Well you have to add this function to your $meta endpoint thing
$meta = $meta->ice_context(array(secret => 'password'));
Then you have to set the icesecret again if you cal the getServer() function
$getServer = $meta->getServer(intval($serverID))->ice_context(array(secret => 'password'));
etc...
dD0T
ipnoz: So it does work with 3.3?
B0nuse
i try to check
ipnoz
dDot, yes, I try it with a ice-php 3.3.1-12 from debian testing
it's works
dD0T
ipnoz: I guess you have to set it for every call (= it isn't implicit)?
ipnoz
dDot : yes
dD0T
I guess that's what slicer meant when he said it would only be available in 3.4
ipnoz: just fyi, it's dD0T (well actually .D0T but irc doesn't like that^^). dDOT won't trigger my highlighting ;-)
ipnoz
ok ok :)
B0nuse
ipnoz: You can lead a realties working example for me, so I just replaced icesecret and was able to use it on your server?
because I tried - the script gives me either that he did not know such a function, or that icesecret not set.
ipnoz
B0nuse: try to find this line in the icedemo.php $meta = $base->ice_checkedCast("::Murmur::Meta"); and change it to $meta = $base->ice_checkedCast("::Murmur::Meta")->ice_context(array(secret => 'password'));
B0nuse
Fatal error: main() [<a href='function.main'>function.main</a>]: unknown method getDefaultConf invoked on untyped proxy in /path/to/icedemo.php on line (where $default->getDefaultConf();)
slicer
B0nuse: Why do you need to use the ice secret, btw?
B0nuse
because not only am I using server
ipnoz: okay.. it works..
ipnoz
good :)
B0nuse
but whire is - $name = $s->getConf("registername");
script return error - Ice_UnknownUserException Object
[unknown] => Murmur::InvalidSecretException
I need to find a challenge call $s (like $meta)?
I found $servers = $meta->getAllServers();
$booted = $meta->getBootedServers();
ipnoz
well you have to set again the icesecret for every call : $name = $s->ice_context(array(secret => 'password'))->getConf("registername");
$servers = $meta->getAllServers(); no need
B0nuse
then foreach($servers as $s) {
$name = $s->getConf("registername");
Can we not somehow add it to the main function?
slicer
B0nuse: Not until Ice 3.4.
B0nuse
i just replace $meta = $base->ice_checkedCast("::Murmur::Meta"); to $meta = $base->ice_checkedCast("::Murmur::Meta")->ice_context(array(secret => 'password'));
then add $s=$s->ice_context(array(secret => 'password'));
before foreach($servers as $s) {
and all is fine :)
ipnoz: many thanks!!!!
ipnoz
you're welcome :)
B0nuse
slicer: I think you need to add a script file like icedemo_secret.php ;)
I can be added at the beginning of the script $icesecret="password";
DireFog
Svedrin: Strato is awesome, I'm in a chat to get an authcode for my domains, and the support rep offered to nuke the whole server contract oO
B0nuse
then replace ice_context(array(secret => 'password')); to ice_context(array(secret => $icesecret));
and users, who want to use this example, should only replace the value $icesecret
it works well on with Ice-3.3.1_1
Frymaster
<CIA-20> [11:00] pcgod * r8ce81feb794d /src/mumble/os_win.cpp: Allow read-only access to the logfile on Windows <--- thank you thank you thank you :)
DireFog
(Action) seconds that emotion
DireFog
;_;
B0nuse
:'(
CIA-20
pcgod * r77e70aa902c7 /src/murmur/ (5 files): Add Ice checksum and priority speaker flag
pcgod * r80a79071ab63 /scripts/ (testauth.py testcallback.py testdynamic.py): Fix some Ice examples
pcgod
(Action) likes to break things ;)
dD0T
pcgod: Eh. What is that test thing you did there?
s/test/fix
Ice.loadSlice('', ['-I' + Ice.getSliceDir(), 'Murmur.ice'])
Is this checksum checking automated?
pcgod
dD0T: no, checksums testing requires some more code :)
dD0T: see http://www.zeroc.com/doc/Ice-3.4.0/manual/Python.23.17.html
dD0T
pcgod: I'm a bit confused by the getSliceDir() stuff. Is there a predefined directoty you should place slice files in on every system?
pcgod
dD0T: for the files provided by zeroc, yes ...
dD0T
pcgod: So you are basically "Including" all the default files?
pcgod
dD0T: no, but I added a include for a file in Ice and loading Murmur.ice fails if it doesn't know the include directory
dD0T
pcgod: -I sets the working dir for that stuff then? (next try^^)
pcgod
dD0T: -IDIR Put DIR in the include file search path.
dD0T
Ah. ok
Now I get it.
Couldn't find the docs
pcgod
dD0T: http://www.zeroc.com/doc/Ice-3.4.0/manual/Slice.5.20.html#52041
or http://www.zeroc.com/doc/Ice-3.4.0/manual/Python.23.16.html
dD0T
I hope slice2py will learn how to create a non-dynamically generated module in a future version.
pcgod
dD0T: huh? slice2py stuff is non dynamic, but you still can't load the same slice file twice :)
dD0T
pcgod: It isn't...it still dynamically generates the Murmur module at runtime instead of directly creating that in the slice2py run....which is strange
you have to do import ThingSlice2PySpitOut and after that import Murmur....
CIA-20
pcgod * r9b296bcc42a8 /src/murmur/MurmurIce.cpp: Don't require a secret for getSliceChecksums()
pcgod
dD0T: hmm no? slice2py .. Murmur.ice, import Murmur -> works ...
dD0T
pcgod: For me it creates a Murmur_ice.py I have to import. If I do that I have to import Murmur to get the real deal.
pcgod
dD0T: it creates Murmur_ice.py and a directory Mumur
+r
dD0T
pcgod: Hm. I wonder why I missed that earlier. Though I don't think this changes anything for what I'm doing
B0nuse
bye all
dD0T
(Action) *facepalm* It works *head on hard surface*
mattiku_
pcgod: Have you build libmumbleclient on windows? I still have some problems to build it. 'error C2491: 'std::ws' : definition of dllimport function not allowed'
Killmore
damn damn.. I want a mumble server.. why my sponsor dont give us choice between vent/ts and mumble :(
pure QQ, nothing else
pcgod
mattiku_: never tried it on windows :)
mattiku_
pcgod: I almost knew that =)
pcgod
(Action) waits for his windows build env to come up..
mattiku_
pcgod: btw what is the license for libmumbleclient?
pcgod: I would like to use libmumbleclient to integrate mumble client functionality to open source based virtual world viewer.
dD0T
mattiku_: I hope you are aware that libmumbleclient, at this point, is only an (incomplete) implementation of our wire protocol. It has no means to handle microphone or output yet :-( Though it would be great to see it extended to do so.
mattiku_: And I guess it'll be BSD since that's what all our other code is licensed in. Though better wait for a definite answer from pcgod ;-)
mattiku_
dD0T: thanks for info. Audio capture or playback is not a problem since we already have those functionalities. If libmumble client can connection to server(s) and transmit audio and positional data it enough for us at the moment.
pcgod
hmm the question is: why doesn't cmake want my boost libraries :/
mattiku_
pcgod: cmake didn't find boost for me so I just set variables manually
pcgod
setting them manually doesn't work... they get unset everytime i run cmake :)
mattiku_
pcgod: I set them in cmakelists.txt =)
pcgod
ah... it works if i set(Boost_USE_STATIC_LIBS ON), set(Boost_USE_MULTITHREADED ON) -> works :)
mattiku_
I will try those
I think I was alraedy using static multi threaded version of boost. Does it matter which version of boost you use?
I mean version number?
I have 1.42
pcgod
same here
AnthonyDa
" Please try the new Ɯberlay" gief link?
dD0T
AnthonyDa: It's in the snapshots
mattiku_
pcgod: when you build libmumbleclient on windows did you use static or dynamic link for runtime libraries?
pcgod
building windows stuff is strange :/
mattiku_: pushed windows build fixes
hmm but you need http://msinttypes.googlecode.com/svn/trunk/stdint.h ... because ms vc has no stdint.h :/
(and I'm too lazy to change everything to boost::uint64_t etc) ;)
mattiku_
pcgod: yeah, I got stdint.h from somewhere it's not a problem. I'll do pull and test those fixes, thanks
pcgod: so you did managed to build it on windows? Did you use Visual Studio or some another compiler?
pcgod
mattiku_: it builds and works with visual studio :)
(and now also as a dll...)
mattiku_
pcgod: you must have more luck than I have. I get still errors like this: error LNK2005: _memmove_s already defined in LIBCMT.lib(memmove_s.obj)
Ogoor
http://tatom.org/documents/CNN.com-StudyNewstudyshows.htm
pcgod
mattiku_: I have lots of warnings but no errors...
mattiku_
pcgod: sounds good. So I have to have something different on my environment then.
pcgod: mumbleclient project builds ok but main project fails
pcgod
mattiku_: try to disable WITH_MPG123 (with cmake gui or by editing the cache file)
Ogoor
_KaszpiR_, `Zuko:co jest z mumble?
`Zuko
wyjebalo sie
Ogoor
zobacz mumble.hlds.pl
heh
`Zuko
nie ma nikogo kto moglby zobaczyc co sie stalo, kaszpir pije z trawa
Ogoor
napisz smsa
http://www.polykaj.pl/umow-sie-na-loda/
lol
nie tu
Uncle|Sam
Hi there. One question, how can i find out the channel ids of my server? at the wiki page there is a howto with murmurcl.py but i cannot find this tool anywhere
pcgod
they are in the log if you edit a channel or use the sqlite3 command line tools to get them
Uncle|Sam
<7:UncleSam(1)> Renamed channel AllTalk[39:0] to AllTalk test <-- does this mean my channel id is 39 ? or 39:0 ?
pcgod
Uncle|Sam: 39
Uncle|Sam
thx
pcgod
Uncle|Sam: 0 is the id of the parent
Uncle|Sam
ah ok
so if there is a subchannel it will be XX:39
pcgod
yes
Uncle|Sam
thx
ubuntu
mumble.newtype.pl, if sb is looking for free mumble servers
Ogoor
mumble.hlds.pl :P
hmm nadal lezy serwer
ubuntu
t.zn.?
Ogoor
wysypal sie serwer 1.5 h temu
:}
niewazne
ubuntu
jak chcecie to mozemy u nas wam zrobic kanaB.
Ogoor
nie trzeba
i tak nei mam czasu siedziec dzis
rawnar
Question about the pointers in the pos audio plugins.