Recent Posts

Pages: [1] 2 3 ... 10
1
Off-Topic / Re: What do you guys use to code?
« Last post by iViscosity on Today at 12:29:50 PM »
Just to clarify, there is a difference between "Visual Studio" and "Visual Studio Code" :)
There is? Not positive which I have but I will check when I get home.

Sent using Tapatalk. Owner of iViscosity Gaming.

2
Off-Topic / Re: What do you guys use to code?
« Last post by Stickly Man! on Today at 12:23:04 PM »
Just to clarify, there is a difference between "Visual Studio" and "Visual Studio Code" :)
3
Off-Topic / Re: What do you guys use to code?
« Last post by iViscosity on Today at 12:16:13 PM »
I do have Visual Studio from when I was messing around in C#... Maybe I'll check it out
4
Off-Topic / Re: What do you guys use to code?
« Last post by Stickly Man! on Today at 12:09:49 PM »
I just switched from Sublime to Visual Studio Code. With a bit of tweaking it can be just as powerful as Sublime, it has a pretty awesome extension "Marketplace", and it's entirely free! aStonedPenguin has created a glua plugin that seems to work pretty well for autocompletes.
5
Developers Corner / Anyone good with MySQLOO?
« Last post by iViscosity on Today at 09:15:48 AM »
I've been using Drakehawke's MySQLoo module (Facepunch article) to handle saving for an addon I'm creating, and I was wondering if anyone was good with it. I understand the basics of how it works, and I have a basic knowledge of the SQL language, but I'm having trouble understanding one thing. According to the docs, there is a "Query.onSuccess( q, data )" function, (which I'm writing as "q:onSuccess( data )") but my question is how is that data returned?

I know it's returned in a table, but is it a sequential key-value table or is it sorted based on my query? Basically, my query is "SELECT * FROM aset" (aset is the table I've created) which has the following structure:
Code: [Select]
aset (
    username VARCHAR(50) NOT NULL,
    steamid VARCHAR(255) NOT NULL,
    exp INT NOT NULL,
    level INT NOT NULL,
    PRIMARY KEY (steamid)
)
(Yes, I know allocating 255 to the VARCHAR isn't the best practice, but if anyone could explain how much I'd need that for me that'd be great)

so if I ran the query "SELECT * FROM aset", how would then that data be sorted?

As a side note, if I included a "WHERE steamid = %s" (using string.format() on the query), would that table then be sorted in the same way or the keys being the steamid?

I tried to make this as clear as possible, let me know if you need any clarification.

EDIT: For more information, the SteamID I'm using is a SteamID64, not 32.
6
ULib/ULX version:
ULib v2.63,
ULX v3.73.
(Utime is currently the latest version)
Game mode: Sandbox.

There was recently a minor problem which I've ran into after installing the plugin Utime, Pac3's parented models would appear to jump around as if it were overcompensating for prediction, this became annoying so I referred to any issues on Pac3's github page:
https://github.com/CapsAdmin/pac3/issues/107
https://github.com/CapsAdmin/pac3/issues/250
https://github.com/CapsAdmin/pac3/issues/300

These 3 threads appear to describe the exact same problem I am facing, and as of so far no fix has been made.
The suggested culprit is the way that Utime traces other players in the hook think. (lua\autorun\cl_utime.lua line 142)

I am in no way competent to fix this issue on my own, nor do I know if it is possible to solve this issue, I am seeking for help.
7
Off-Topic / Re: What do you guys use to code?
« Last post by iViscosity on February 23, 2018, 04:06:57 AM »
I used NP++ for years. I still like how simple it is, but they removed the plugin manager in the more recent builds and that prevented me from easily downloading the gLua highlighter. I switched to Sublime 3 and spent some time tweaking the UI to my liking and installed a glua highlighter and lexer. I quite like it.

I don't really know of any alternatives besides NP++ and Sublime 3.

Why are you looking to move away from Sublime?
Just looking for something new, really.

Sent using Tapatalk. Owner of iViscosity Gaming.

8
Off-Topic / Re: What do you guys use to code?
« Last post by MrPresident on February 22, 2018, 09:18:56 PM »
I used NP++ for years. I still like how simple it is, but they removed the plugin manager in the more recent builds and that prevented me from easily downloading the gLua highlighter. I switched to Sublime 3 and spent some time tweaking the UI to my liking and installed a glua highlighter and lexer. I quite like it.

I don't really know of any alternatives besides NP++ and Sublime 3.

Why are you looking to move away from Sublime?
9
Off-Topic / What do you guys use to code?
« Last post by iViscosity on February 22, 2018, 08:21:49 PM »
Title.

I've been using Sublime 3 for the past 4 years, but I'm looking for something new. Some features I miss in Sublime are the auto-formatting (that is, on "ends" and the such, not just new lines inside "if" or "for" statements). Any suggestions? I'm a bit turned off to Notepad++, but if someone can convince me (MrP ;) ) I'll consider it.
10
General Chat & Help and Support / Re: I can't delete the folders..?
« Last post by JamminR on February 22, 2018, 07:32:23 PM »
ULX and ULib have no control over the file system when the server isn't running.
Make sure your server isn't running, then try deleting.
if that still doesn't work, contact your web host for assistance.
Pages: [1] 2 3 ... 10