OSRS [Kronos] How to integrate Xenforo Web Auth + World List

The integration folder is missing a index.php file where it checks auth.

Code:
[ForkJoinPool.commonPool-worker-3] ERROR rollingErrorFileLogger - Failed to post: https://XXXXX.com/integration/index.php
java.io.FileNotFoundException: https://XXXXX.com/integration/index.php
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1896)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
    at io.ruin.api.utils.PostWorker.post(PostWorker.java:65)
    at io.ruin.api.utils.PostWorker.postArray(PostWorker.java:82)
    at io.ruin.api.utils.XenPost.post(XenPost.java:15)
    at io.ruin.central.utility.XenUser.load(XenUser.java:51)
    at io.ruin.central.utility.XenUser.lambda$forName$1(XenUser.java:44)
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
    at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
null

So, still can't get CC/friends chat to work now?

EDIT: Got the folder, if u need it feel free to msg me.
do you mind sharing? I have the same issue.
I have the forums installed as well.

cant seem to get friends chat, cc, chat to work w/out dc.
 
Thanks for the PHP script, added error handling and secure environment variable to hold the key.

```
<?php

// Define the key in a secure way, ideally from environment variables or a config file
$secureKey = getenv('RSPS_KEY');

if (!isset($_GET['k']) || $_GET['k'] !== $secureKey) {
http_response_code(403);
die('Forbidden');
}

$dataDir = 'data';
$filePath = $dataDir . '/worlds.ws';

if (!is_dir($dataDir)) {
if (!mkdir($dataDir, 0755, true)) {
error_log('Failed to create data directory');
die('0');
}
}

if (!is_writable($dataDir)) {
error_log('Data directory is not writable');
die('0');
}

// Write the raw POST data to the file
$n = file_put_contents($filePath, file_get_contents('php://input'));

if ($n === false) {
error_log('Failed to write data to file');
die('0');
}

die('1');

?>
```
 

Users who are viewing this thread (total: 1, members: 0, guests: 1)