Comments (5)
At the moment the timestamp would be the unique ID.
Wouldn't this suffice? Or do you have something different in mind?
from combatmetrics.
hummm yes it's not that false.
Actually, if i'm not wrong when I delete my fight 1
, the fight 2
become the fight 1
and so on ?
Wouldn't be better to auto-increment the ID ? Like if I delete my fight 1
, my fight 2
will still be 2
, for his whole life.
I currently have in mind to create a parse-sharing web platform using these SavedVariables, and I don't really know how to handle this ID issue while having a clean and not too heavy code ^^
from combatmetrics.
Yes that is just the local index in the table and for technical reasons in lua this has to be continuous, starting at 1. I'd really recommend using the timestamp as a unique id for your purposes.
from combatmetrics.
Every fight has a field "date" which actually is a standard unix timestamp (which is converted on display)
from combatmetrics.
Oh yes I didn't notice the date field, good ! thanks
from combatmetrics.
Related Issues (12)
- Combat events for trial mechanics HOT 1
- Question about saved fight data HOT 1
- User ID too long HOT 2
- Dummy shows up as "unknown" HOT 1
- Light Attacks not counted on 'Info' panel HOT 12
- Arcanist Ability not being counted HOT 5
- Cannot load logdata from saved fight HOT 2
- Supposedly LibStub isn't needed anymore HOT 1
- problem with the russian version of the game HOT 4
- All of my previous parses are gone HOT 1
- How to hide or modify the yellow chat log after parsing? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from combatmetrics.