Jump to content

Medusa

Scripter II
  • Posts

    710
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by Medusa

  1. Most likely won't ever be a thing since the average botter doesn't even know how to use mirror mode. (Meaning the average botter also won't know how to install a custom apk or ipa)
  2. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.Base64; public class API { public static void main(String[] args) throws IOException { String message = "Hello, how are you?"; String email = "EMAIL"; String apiKey = "API_KEY"; String token = authenticate(email + ":" + apiKey); System.out.println("provided token:" + token); System.out.println("please type exit to terminate chat"); System.out.println("chatbot:" + chat(token, message)); } public static String authenticate(String usrCredit) { String userAuth = usrCredit; String basicAuthPayload = "Basic " + Base64.getEncoder().encodeToString(userAuth.getBytes()); BufferedReader httpResponseReader = null; String result = ""; try { // Connect to the web server endpoint URL serverUrl = new URL("http://api.altchat.app/login"); HttpURLConnection urlConnection = (HttpURLConnection) serverUrl.openConnection(); // Set HTTP method as GET urlConnection.setRequestMethod("GET"); // Include the HTTP Basic Authentication payload urlConnection.addRequestProperty("Authorization", basicAuthPayload); // Read response from web server, which will trigger HTTP Basic Authentication // request to be sent. httpResponseReader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream())); String lineRead; while ((lineRead = httpResponseReader.readLine()) != null) { result = result + lineRead; } } catch (IOException e) { e.printStackTrace(); } finally { if (httpResponseReader != null) { try { httpResponseReader.close(); } catch (IOException e) { e.printStackTrace(); } } } result = result.split(":")[1]; result = result.replaceAll("}", ""); result = result.replaceAll("\"", ""); return result; } public static String chat(String token, String sent) throws IOException { URL url = new URL("http://api.altchat.app/" + token); HttpURLConnection con = (HttpURLConnection) url.openConnection(); con.setRequestMethod("POST"); con.setRequestProperty("Content-Type", "application/json; utf-8"); con.setRequestProperty("Accept", "application/json"); con.setDoOutput(true); String result = ""; String jsonInputString = "{\"message\": \"" + sent + "\"}"; try (OutputStream os = con.getOutputStream()) { byte[] input = jsonInputString.getBytes("utf-8"); os.write(input, 0, input.length); } try (BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(), "utf-8"))) { StringBuilder response = new StringBuilder(); String responseLine = null; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } result = response.toString(); } return result; } }
  3. Stop being wide irl and the site will stop being wide virtually
  4. Nah bro all info is there. You determine the starting price (Since he didn't put one), so I'd just go with $1 for 20 hours of vorkath. Gl!
  5. Okay. I recently got a scratch on our (My parents car), and I was wondering if you could fix it for us? I'm not sure what your standard price is, so I'm gonna assume you'll charge us $10. 33% of $10 is $3.3, which means we're gonna pay you $6.7 I hope to hear from you soon!
  6. $10 is a lot to me. If it really is nothing to you, then I'll accept it. DM me to get my bank account details
  7. I'm just gonna answer the question in the thread title. What counts as "anti-ban"? Anything that makes the script user/customer think the script is playing more like a real person (In reality it makes no difference) = anti ban Okay bye
  8. Gotta agree with ez. Why are you posting it here if you didn't macro?
  9. Medusa

    hey

    Why is it just me and ez who weren't paid to advertise? :pepehands:
  10. I remember being able to bot on the same accounts for weeks in those periods.
  11. In case this is too hard, you can use https://explv.github.io/
  12. Not sure how you expect to make any sales when alch is selling for $0.6/m
×
×
  • Create New...