From the original SynthMaker forum (2004–2014), with its members’ names and dates.
aliasant ·
Im currently working on a game ( exported .exe) and I was thinking about a function that lets the user take a screenshot of the SM exe's window and then send that screenshot as a mail without opening the mail app.
It should all work in the background.
Has anyone made such a thing or has any ideas of how to do it?
tester ·
Mail can be sent via "WEB url" primitive. Just use instead "http://name" address the "mailto:name@..." formula. It opens your mail client. Use label as a trigger. On label write anything and format it anyway, only the triggered address must be correct.
How to make a screen capture inside SM and open it as default attachement inside empty e-mail - I don't know.
aliasant ·
tester wrote: Mail can be sent via "WEB url" primitive. Just use instead "http://name" address the "mailto:name@..." formula. It opens your mail client. Use label as a trigger. On label write anything and format it anyway, only the triggered address must be correct.
Aah. Yes but thats exactly what i dont want. I dont want the mail app to pop up.
Im hoping theres a way to send mails without using the mail application.
tester ·
There is also "http post" primitive for sending data via web contact forms, but not tested how it works. Probably text only.
Otherwise - you would need to have a localhost smtp server started or something like that.
DigitalWhiteByte ·
This could be for you?
HTTP-POST - SMTP Send Mail - Example
aliasant ·
tester wrote: There is also "http post" primitive for sending data via web contact forms, but not tested how it works. Probably text only.
Otherwise - you would need to have a localhost smtp server started or something like that.
That sounds like promising gibberish to me 🙂
Why I want this... Well. I tested an early version of the game on some friends and I noticed how they emediatly started to ( if they werent in the same room) take a picture of their results using their iPhones and mailing that to the others.
Like an instant way to show others what they have achieved.
I was thinking I could have that function built into the game itself. Just enter the mailadress, unless you already have that person entered in the game as a "friend" and hit Send. Then a screenshot is taken of the games window ( I guess its easy to to that from within the game app) and mailed to those on the users Friends List. No more interaction should be required. Having your bloated mailapp pop up and requiring interaction is very annoying.
Also having it sent in the back makes it a little ( and perhaps enough?) harder for cheater to intercept the screenshot and manipulate it.
btw. I doesnt even have to be a screenshot. It could be just the scores and statistics listed neatly.
I have also been thinking about having a webbased scoreboard were a user can upload the score to compete with others.
First I need to understand how to send that mail 🙂
aliasant ·
DigitalWhiteByte wrote: This could be for you?
HTTP-POST - SMTP Send Mail - Example
That looks really intersting! Thanx DWB!
Ill have to try this with a fresh head though.
Maybe I could use the same system to upload scores to a scoreboard?
DigitalWhiteByte ·
I think you could use the same system for your scoreboard.
if you wanted to, you also attach the link for the base64 encoder-decoder.
shame that our primitive Http_Post, is only one way,
which, in Flowstone now it is two way, you can also get answers from the server.
aliasant ·
DigitalWhiteByte wrote: I think you could use the same system for your scoreboard.
if you wanted to, you also attach the link for the base64 encoder-decoder.
shame that our primitive Http_Post, is only one way,
which, in Flowstone now it is two way, you can also get answers from the server.
Ah. nice.
Reminded me... I have built several different Enc/Dec but they had a huge scramble computer, for lack of a better word, that I used in my serialnumber protection thing...... way back when I still believed in those 🙂
Yours is much neater!
I just hate that I have to learn all about how to do this.
I have a host were I and others from the family have our webpages so I should be able to create a new subdomain there and use that the the mail right?
DigitalWhiteByte ·
You must verify that your server has the SMTP SENDMAIL.
If you want you can create your own subdomain, for convenience, but it is not really necessary.
In your control panel of your host, you can find information about the isp to use and the port in use (usually 25), and other data to be included in the configuration file smtp.php.
That remains is to test it out, with the schematic example, to see if it works.
Then for the management, delegate everything you can, to php, to update the scoreboard and other things you have in mind.
aliasant ·
Just for fun.
Found one of my weird Text to Array and back Enc/Dec systems.
The nice thing is perhaps that it doesnt have a limit of characters.
As is theres the natural limit of 1000 but the Int Loops can be set to Unlimited if needed allthough i didnt add that as a function. You would have to add the true bools yourselves.
EDIT: Just realised that the included VST parameter has its own limits and Im not sure it can handle more then 1000N if that even?
I made this to be able to save large text info without using the buggy String VST thing.
I will try to set the host up tomorrow when I have ( hopefully) a fresher head.
Been skiing with my brother and his family ( 5 kids) over the weekend and Im still beat up pretty seriously .... 😕
Had fun though 🙂
Wrote something here? To have a post removed or your name hidden, write to [email protected].