Jump to content
Existing user? Sign In

Sign In



Sign Up

Zenyte - Login issue


baxian

Recommended Posts

I have been having problems running zenyte i have got server and client running but when i login i just get error connecting to server what am i doing wrong ive checked the RSA in client and server and they match ive checked ip and port there both the same set to localhost (127.0.0.1) is there something im missing? 

 

Do i need to set up API to login or something API is disabled so im not sure if i have to do something with this?

 

i have set up the ping, worldinfo and runelite/items/prices 

app.post('/worldInfo', (req, res) => {
    const worldInfo = req.body;
    console.log('Received world information:', worldInfo);
    
    // Respond to the client confirming the data was received
    res.json({ status: 'success', message: 'World info received' });
});

// Add the /ping route
app.post('/ping', express.urlencoded({ extended: true }), (req, res) => {
    const payload = req.body.payload;

    // Check if the payload is 'ping'
    if (payload === "ping") {
        res.send("pong");
    } else {
        res.status(400).send("Invalid payload");
    }
});

// API route to handle item prices from the APIClient
app.post('/runelite/items/prices', (req, res) => {
    const prices = req.body; // Receive the JSON data from the APIClient

    // Log the received prices for debugging
    console.log('Received item prices:', prices);

    // Here you can process the prices data, save it to a database, etc.
    // For now, just send a confirmation response
    res.json({ status: 'success', message: 'Item prices received' });
});

 

but im not sure if i have to set anything up for login?

Edited by baxian
API Edit
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Contact

[email protected]

astra.security

What is a RSPS?

A RSPS, also known as RuneScape private server, is an online game based on RuneScape, and controlled by independent individuals.

Popular RSPS Servers

Runewild Ikov RedemptionRSPS

Disclaimer

Runesuite is not affiliated with runescape, jagex in any way & exists solely for educational purposes.

×
×
  • Create New...