Giter Site home page Giter Site logo

mta-sarp's Introduction

Welcome

Languages

C#

Lua

PHP

JavaScript

TypeScript

Java

HTML5

CSS3

Sass


Frameworks & Technologies

dotNet

dotNetCore

Bootstrap

Angular

Laravel

Unity Game Engine

Node.js


Databases

Java


IDE, Code Editors & Version Control System

Visual Studio Code

Visual Studio

Git

GitHub


mta-sarp's People

Contributors

hexondev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mta-sarp's Issues

sarp_inventory/sourceS.lua problem.

Hello, i found error in sarp_invertory/sourceS.lua.
debugscript 3 :
sarp_inventory/sourceS.lua:1396: dbPoll failed; You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELECT *FROM items ORDER BY dbID DESC LIMIT 1'at line 1

ERROR:sarp_inventory/sourceS.lua:1396:attempt to index a boolean value

code :
dbQuery(
function (qh, sourceElement)
if isElement(sourceElement) then
local result = dbPoll(qh, 0, true)[2][1][1]

						if result then
							addItemEx(sourceElement, result.dbID, result.slot, result.itemId, result.amount, result.data1, result.data2, result.data3)

							triggerItemEvent(sourceElement, "addItem", getElementType(sourceElement), result)
						end
					end
				end, {sourceElement}, connection, "INSERT INTO items (itemId, slot, amount, data1, data2, data3, ownerType, ownerId) VALUES (?,?,?,?,?,?,?,?); SELECT * FROM items ORDER BY dbID DESC LIMIT 1", itemId, slotId, amount, data1, data2, data3, ownerType, ownerId
			)

Error at line :
local result = dbPoll(qh, 0, true)[2][1][1]

Thanks for help!z

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.