Banner
Views: 730,767,907
Time:
27 users online: Beaser, BeeKaaaay, Bodacious_snail, bruninhopz, caiqueleo, CenTdemeern1, Darolac, ECS.98, GbreezeSunset, Golden Yoshi, Gutawer, kamekku14, KKevinM, Kusrry, kyasarintsu, Linkdeadx2, o Manofer, MARIO DOIDO, Mariocrash, MarioFanGamer, Meirdent, NintendoPerson, pakkie, RaspberryAlpine, Super Maks 64, TheSpeedyJay, tiagophoenix - Guests: 48 - Bots: 120Users: 38,455 (2,086 active)
Latest: tiagophoenix
Tip: Do not put an excessive number of lives in a level; they should have a value to them.Not logged in.
Automated tools for submitting stuff
Forum Index - Valley of Bowser - Site Questions, Feedback & Bugs - Automated tools for submitting stuff
Pages: « 1 »
I am designing a music markup language (DSL) that compiled to AddMusicK MML. I would like adding a feature that let you submit your music in one command when you imported your SMWC cookie into the tool. So you may write something in the file like:

Code
#title          Mega Man 5 - Wave Man
#description    Could fit with watery theme
#author         Capcom Sound Team
#tags           castle, factory, urban
#note           Ported by tcdw

and so on, which will avoid time-wasting of filling the submission frum repeatly. The length and insert size would be handled automaticlly, too.

However, since SMW Central is intended for human use (like most websites), I am not sure if submitting things automatically is officially allowed, especially when I made a tool that let everyone importing their cookie and do it.

I am not intended to do malicious stuff. I would write my tool in JavaSctipt (or probably TypeScript) and runs with Node.js. While it can be compiled to obfuscript format, I would make my tool fully open-source, so the transparency of my tool will be increased, and people may audit my code in any time.
I see no reason to prevent you from doing this. Account security is the responsibility of each individual users, so who you give your login cookie to and what they subsequently decide to do with it is not something that concerns me. Feel free to check what input fields exist on the submission page and send custom POST requests for them.

The only thing I'd advise against is parsing the response HTML to avoid breaking changes. I'll contact you so we can discuss possible solutions to avoid that if possible.
Originally posted by Telinc1
I see no reason to prevent you from doing this. Account security is the responsibility of each individual users, so who you give your login cookie to and what they subsequently decide to do with it is not something that concerns me. Feel free to check what input fields exist on the submission page and send custom POST requests for them.

I think the best way of doing such stuff is provide open API for automated task, and user could generate an API key for doing such stuff. If user think they would never use the API or think their API key leaked, user can just regenerate or disable the key easily.

As a developer, I understand build a reliable open API service needs real effort for things like ACL, access logging and alerting, frequent controlling, etc.

Originally posted by Telinc1
The only thing I'd advise against is parsing the response HTML to avoid breaking changes.

I would get rid of parsing HTML codes, since I actually made various custom crawlers for certain websites. It's really painful and awkward even using libraries like jsdom. Plus, I don't see much point of parsing HTML, I would like submit a SINGLE post request with the appreciate cookie.

Originally posted by Telinc1
I'll contact you so we can discuss possible solutions to avoid that if possible.

Feel free to DM me. My timezone is UTC+8, and usually I can reply you in reasonable time.
Pages: « 1 »
Forum Index - Valley of Bowser - Site Questions, Feedback & Bugs - Automated tools for submitting stuff

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 25

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented