daylily-zeleen / gd-eos Goto Github PK
View Code? Open in Web Editor NEWEpic Online Services for Godot. Use as C++ SDK or compile as GDScript SDK.
License: MIT License
Epic Online Services for Godot. Use as C++ SDK or compile as GDScript SDK.
License: MIT License
When i try to write using playerdatastorage, i always get WriteData callback failed.
Both cache directory and encryption key are set.
code:
func _ready():
# wait for login
await Main.logged_in
# Init
# Checking for username
var check_username = await EOSPlayerDataStorage.query_file(Main.local_id, "username.txt")
var username = ""
if check_username.result_code == EOS.NotFound:
# Generate new username
username = "NewPlayer" + str(randi_range(1111, 9999))
# Save File
var file = FileAccess.open(Global.cache_directory + "username.txt",FileAccess.WRITE)
print(Global.cache_directory + "username.txt")
file.store_string(username)
file.close()
#
var options = EOSPlayerDataStorage_WriteFileOptions.new()
options.filename = "username.txt"
options.chunk_length_bytes = 4096
options.local_user_id = Main.local_id
var test = EOSPlayerDataStorage.write_file(options)
Error:
[LogEOSPlayerDataStorage]: WriteData callback failed.
[LogEOSPlayerDataStorage]: Deleting local scratch file as the file was not written to successfully. ScratchFilename=[C:/...emp/datastorage/scratch/e06da7e7775748b1a792fcedf088a3ce/000...b00/username.txt]
is host migration implemented, if not is it possible to implement using this addon
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.