Zalogowany jako: gość

Forum

Wątek: hidden features of elten

Wróć do listy wątków

2 z 2

Poprzednia

21 z 39: bomberman29

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!
my github: https://github.com/denizsincar29
08.06.2021 09:00

22 z 39: thespyde

I have an iPhone 6S and I don't see the update yet, so I'm still running 14.6. Yay for the new feature, I reckon.
Charles Wells
08.06.2021 11:00

23 z 39: bomberman29

ios15 is beta and it doesn't support 6s, reply to thespide
my github: https://github.com/denizsincar29
08.06.2021 11:34

24 z 39: patrykkubaszczyk

it supports all Iphones which were supported In 14.6.
because I am now using mac as main comp, I will not come here too much.NEW
12.07.2021 12:46

25 z 39: thespyde

I hope so, but if not I'll move up to something other than my 6S.
Charles Wells
12.07.2021 17:07

26 z 39: bomberman29

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
my github: https://github.com/denizsincar29
22.09.2021 18:08

27 z 39: hozosch

Well yes, the output shows that, but what about the attachment? Is that file created or what?

22.09.2021 19:35

28 z 39: bomberman29

ok, so here is the command to process the attachment
process_attachment(("PDORvqGqSSo1DPX5Na5Noxzl2dytJLVJNSOtlsI32ScyUVh2Fj6G7mT9UcePWSblgiN43HoWsTk3y1XoclVel79hVr8gsEhs9xROHilccjvOodoetVZUQZqH8YpqLekj")

my github: https://github.com/denizsincar29
22.09.2021 19:59

29 z 39: bomberman29

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.

my github: https://github.com/denizsincar29
22.09.2021 20:01

30 z 39: bomberman29

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.
my github: https://github.com/denizsincar29
22.09.2021 20:05

31 z 39: hozosch

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!

22.09.2021 21:33

32 z 39: bomberman29

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
my github: https://github.com/denizsincar29
23.09.2021 08:39

33 z 39: bomberman29

and this command is not really for people, it is for messages in forum. but i learned how to use it.
my github: https://github.com/denizsincar29
23.09.2021 08:40

34 z 39: bomberman29

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
my github: https://github.com/denizsincar29
23.09.2021 08:42

35 z 39: bomberman29

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.
my github: https://github.com/denizsincar29
23.09.2021 09:22

36 z 39: bomberman29

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")

my github: https://github.com/denizsincar29
23.09.2021 09:32

37 z 39: bomberman29

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

my github: https://github.com/denizsincar29
23.09.2021 09:35

38 z 39: bomberman29

the move function coordinates are from -1 to 1. it meens x=-1 is far left, x=1 is far right. x=0.5 is a little bit right.
x=0.1 is closed to center
my github: https://github.com/denizsincar29
23.09.2021 09:36

39 z 39: bomberman29

woohoow! i thaught i can bypass the error of creating folder with name con in elten, but elten just simply doesn't create a folder with name con.
my github: https://github.com/denizsincar29
05.02.2022 13:19

Wróć do listy wątków

2 z 2

Poprzednia

Nawigacja


Copyright (©) 2014-2024, Dawid Pieper