hello! who knows that apple just yesterday released ios 15 with new facetime features? it seams that apple stolen a feature from elten. you also can move in stereo feeld!
a great feature in elten to send attachments from the console. to try this: write in console name_attachments("PDORvqGqSSo1DPX5Na5Noxzl2dytJLVJNSOtlsI32ScyUVh2Fj6G7mT9UcePWSblgiN43HoWsTk3y1XoclVel79hVr8gsEhs9xROHilccjvOodoetVZUQZqH8YpqLekj") it must say example.txt is it working
ok, so here is the command to process the attachment process_attachment(("PDORvqGqSSo1DPX5Na5Noxzl2dytJLVJNSOtlsI32ScyUVh2Fj6G7mT9UcePWSblgiN43HoWsTk3y1XoclVel79hVr8gsEhs9xROHilccjvOodoetVZUQZqH8YpqLekj")
it will ask you to save this file. this is used in private messages and in groups. i think the attachments are stored in some location on the elten server, and the forum post with attachment contains the id of attachment in this very long string in quotes of process_attachment and name_attachments functions.
so basically what it does is as follows: loading forum posts. a post with an attachment was found with that information: post content = hello, post_has_an_attachment=true, attachment_id=this long string. and it sends the id of the attachment to get it's file name. it asks, for example, what is this attachment with this id? and it returns: it is an attachment hello.mp3 and when the user presses on a attachment, it sends a signal to elten server that you want to download this attachment. the file contents are returned. and elten just asks where to save the file. that's all.
I wondered why it kept saying "syntax error" when I tried it, but it's because you accidentally put two left parens. Now I got the command to work. Interesting!
yes. you can send an attachment by typing: send_attachment("c:/path/to/the/file.extention") and it will return an id. you can save this id to a string by typing $myattachment=send_attachment("path") and then you can give this id to another person. or copy it. and he will take the file attached to this id
and yes, i also found how to save a piece of text to a server and return it's ID, but i don't know how to retrieve this text from id. something like buffer post
so ok. that buffer thing is used for internal usage, so i don't think you can retreave the message from buffer id $bufid=buffer("hello") this function returns an id of hello. so it saves that hello on the server maybe.
in elten source code, i found that strange thing. in all win32api request function, the third parameter is strange. something like piiiiiip or pipipipi init = Win32API.new($eltenlib, "OpusRecorderInit", "piiiiiiiiip", "i")
you can play 3d sound in elten! $somefile=Audio3D.new("c:/path/of/the/file.wav") $somefile.play delay(1) $somefile.move(1,1,1) delay(1) $somefile.stop $somefile.free