Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
A website and API for getting data for use in the online MMORPG Adventure.land.
This is an API for getting data for use in the online MMORPG Adventure.land.
The API endpoint might be live at https://aldata.earthiverse.ca
Some API functionality (specifically, PUT
requests) requires an authentication key to ensure that players don't overwrite others' data.
Notes:
https://aldata.earthiverse.ca/auth/character_name
).In Adventure.land, you can use the following code to send mail and set or update your auth key:
send_mail("earthiverse", "aldata_auth", "put key here")
Retrieves the latest achievement data for the given characters.
Examples:
https://aldata.earthiverse.ca/achievements/earthiverse
https://aldata.earthiverse.ca/achievements/earthiverse,lolwutpear
Retrieves historical achievement data for the given characters and monster.
Examples:
https://aldata.earthiverse.ca/achievements/earthiverse/goo
https://aldata.earthiverse.ca/achievements/earthiverse/goo/1640995200/1643673600
https://aldata.earthiverse.ca/achievements/earthiverse,lolwutpear/goo
https://aldata.earthiverse.ca/achievements/earthiverse,lolwutpear/goo/1640995200/1643673600
Updates achievement information for the given character. Set the request body to JSON text representing your character's achievement information in Adventure.land.
Example code:
const ALDATA_KEY = "thisisnotmyrealkey"
parent.socket.once("tracker", (data) => {
const url = `https://aldata.earthiverse.ca/achievements/${character.id}/${ALDATA_KEY}`
const settings = {
method: 'PUT',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ max: data.max, monsters: data.monsters })
};
// if response.status == 200, it was successfully updated
fetch(url, settings).then(response => show_json(response.status))
})
parent.socket.emit("tracker")
Checks ALData authentication status.
Examples:
https://aldata.earthiverse.ca/auth/earthiverse
https://aldata.earthiverse.ca/auth/earthiverse/thisisnotmyrealauth
Retrieves bank information for the given owner
Examples:
https://aldata.earthiverse.ca/bank/5622711463182336
Updates bank information for the given owner.
Set the request body to JSON text representing your character's banking information, e.g. character.bank
in Adventure.land.
Example code:
const ALDATA_KEY = "thisisnotmyrealkey"
const url = `https://aldata.earthiverse.ca/bank/${character.owner}/${ALDATA_KEY}`
const settings = {
method: 'PUT',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(character.bank)
};
// if response.status == 200, it was successfully updated
fetch(url, settings).then(response => show_json(response.status))
Returns an array containing data about characters.
Examples:
https://aldata.earthiverse.ca/characters/earthiverse
https://aldata.earthiverse.ca/characters/earthiverse,earthPri,earthWar,earthMer
Returns an array containing data about monsters.
NOTE: cutebee
and goldenbat
will not be returned, even if the database contains information about them.
Examples:
https://aldata.earthiverse.ca/monsters/franky
https://aldata.earthiverse.ca/monsters/phoenix,mvampire,fvampire
https://aldata.earthiverse.ca/monsters/snowman/US/PVP
Returns an array containing data about given NPCs
Examples:
https://aldata.earthiverse.ca/npcs/Kane/US/I
https://aldata.earthiverse.ca/npcs/Angel,Kane/EU/II
https://aldata.earthiverse.ca/npcs/Kane
This code will populate a parent.S2
variable with some data retrieved from the API every 30s.
async function checkServersForMonsters(monsters) {
// Safety Checks
if(!Array.isArray(monsters)) return
if(monsters.length == 0) return
// Query API
const url = "https://aldata.earthiverse.ca/monsters/" + monsters.join(",")
const response = await fetch(url)
if(response.status == 200) {
const data = await response.json()
parent.S2 = data
return data
}
}
// Check now, and every 30s
checkServersForMonsters(["franky"])
setInterval(() => { checkServersForMonsters(["franky"]) }, 30000)
FAQs
A website and API for getting data for use in the online MMORPG Adventure.land.
The npm package aldata receives a total of 0 weekly downloads. As such, aldata popularity was classified as not popular.
We found that aldata demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.