Giter VIP home page Giter VIP logo

Comments (7)

cbnolok avatar cbnolok commented on July 19, 2024

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.

AtillaG1 avatar AtillaG1 commented on July 19, 2024

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.

AtillaG1 avatar AtillaG1 commented on July 19, 2024

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.

canerksk avatar canerksk commented on July 19, 2024

image

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.

AtillaG1 avatar AtillaG1 commented on July 19, 2024

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.
image

This one is im trying to use, once player activates function doesnt matter how, it writes into DB.
image

I honestly tried many different ways, execute or query, both have same result. The ldb.query line is from X scriptpack.

from source-x.

AtillaG1 avatar AtillaG1 commented on July 19, 2024

Is it possible that somehow using it from game, not from server console, there are some permissions missing?

from source-x.

AtillaG1 avatar AtillaG1 commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.