Comments (7)
That's indeed weird, it worked at the time, might have been broken by a sqlite update? I'll look into it
from source-x.
That's indeed weird, it worked at the time, might have been broken by a sqlite update? I'll look into it
Is there any recent commit for sqlite with older artifact that I could test to confirm?
from source-x.
It kind of works If u use the function from console, but this way, im not able to run it from players or from ingame to change their progres or so. Dont know if its intended or not, or im doing something wrong.
from source-x.
https://www.sqlite.org/rescode.html
ldb.execute "INSERT OR REPLACE INTO '<def.DTL_DB_Table>' ('defname','class','race','sex','expansion','flags') VALUES("<local.defname>","<local.c>","<local.r>","<dlocal.sid>","<dlocal.e>","<dlocal.f>")";
insert, replace, update, delete these are executes. not query.
Also, what is the table structure and data types of columns?
from source-x.
This is for the dynamictemplates, the thing is, it was working using the function as GM char from game, now it works only through console.
But If I want to use other DB or tables for players, I just cant write from ingame.
This one is im trying to use, once player activates function doesnt matter how, it writes into DB.
I honestly tried many different ways, execute or query, both have same result. The ldb.query line is from X scriptpack.
from source-x.
Is it possible that somehow using it from game, not from server console, there are some permissions missing?
from source-x.
Well magicaly I found the correct syntax, so i guess syntax was a problem. Im pretty sure I 100% tried it like this and it didnt work. Closing the issue.
ldb.execute INSERT INTO 'Progres' ('name','fame') VALUES ("<src.name>",<src.fame>)
from source-x.
Related Issues (20)
- Spellbook Spells behaviour (OLD vs OSI) (Feature Request) HOT 1
- Debug and t_multi (custom?) HOT 4
- t_multi_custom remove HOT 3
- Vendor (Item without Value) HOT 9
- Feature Request: TIMERFD HOT 6
- TEVENTS not being saved on the item HOT 12
- COMP (Gets the number of components) HOT 5
- T_Multi_Addons Position
- ADDCOMP, DELCOMP HOT 8
- ISSTUCK HOT 15
- CAN_I_SCRIPTEDMORE
- PLEVEL commands not working on GM account HOT 2
- Problems with Curse Weapon magic in i_magic_necromancer
- Problems with pain_spike magic in i_magic_necromancer
- ISVALID female gump HOT 7
- LIST and math HOT 2
- can_i_damageable and ItemHitpointsUpdate, do not update status HOT 2
- Giant Spiders drops i_spider_web in sleeping sector HOT 1
- @PersonalSpace trigger malfunctioning HOT 8
- ON=@FollowersUpdate not working as intended? HOT 3
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 source-x.