ULX

Author Topic: Questions! Questions! Questions!  (Read 15123 times)

0 Members and 1 Guest are viewing this topic.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Questions! Questions! Questions!
« Reply #45 on: May 11, 2015, 11:18:01 AM »
I'm not sure what our status is with ULX3- we've made partial headway on the basics, but haven't got a full solution in place. In terms of moving forward with ULX4, Megiddo has created OTLib (quite a while ago, actually. There's documentation, too!) that has some useful features regarding storing data in multiple formats- plaintext, sql, etc. based on the user's preference. This is something we plan on using in the future, however far away that is.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Questions! Questions! Questions!
« Reply #46 on: May 11, 2015, 08:03:57 PM »
I'm curious, how many ULX users even know what SQL is/stands for.
I feel it is such a niche request.
Not saying unwanted/un-needed, just underused once we did add it.

Day in and day out I see people that can't figure out how to use Google to search our forums, let alone search for anything already answered anywhere else using a search engine.
Yes, I'm cynical, but I have trouble seeing SQL functionality as a 'big' plus for ULib, since Gmod doesn't even officially support it. (SQLite doesn't count)

I like the idea of SQL/multi server support.
I just have trouble seeing ULib take over the world because of it.

"HAI. I JOINED MAI DRKRP SURVR. ULX BROK, CAINT REMEMBUR ME AS 0WNUR. FIX IT!!"
« Last Edit: May 11, 2015, 08:05:36 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Questions! Questions! Questions!
« Reply #47 on: May 11, 2015, 09:06:26 PM »
"HAI. I JOINED MAI DRKRP SURVR. ULX BROK, CAINT REMEMBUR ME AS 0WNUR. FIX IT!!"

Well, you should at least add mysqli support, then someone can make some sort of other script to take mysqli to mysql. That's just my two cents.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Questions! Questions! Questions!
« Reply #48 on: May 12, 2015, 06:05:03 AM »
Garry's Mod has built in functionality for mysqli. It's what saves to the cl.db and sv.db files.
The major reservation we have for adding MySQL support is that Garry's Mod doesn't support MySQL. You have to have a 3rd party module.
This is something else that could go wrong or stop being supported and we don't want to subject ourselves to all of the support we'd have to provide for people who can't get the module working or when things stop working and now their ULX is broken.

We could add MySQLi support, but it wouldn't really work cross server like most people who want MySQL support would want/expect.
The database files are local to the game installation.

Like we've said though, it's something we're discussing and toying around with the possibility.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Questions! Questions! Questions!
« Reply #49 on: May 12, 2015, 08:43:23 AM »
It wouldn't be hard for myself that is to make a script that reads the sv.db that ulx would one day use, and every like hour or so the server would upload the mysqli data to a mysql server. Simply enough, if you were to make this mysqli, I could literally (or almost) just Ctrl + F in notepad++ and just pretty much replace sql.query ect stuff like that, and replace it with mysql. That's just my two cents though.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Questions! Questions! Questions!
« Reply #50 on: May 12, 2015, 03:37:02 PM »
No one said it would be hard.
Re-Read the part about how gmod doesn't officially support MySQL and how we're hesitant to include support for something that requires a 3rd party module.

Doesn't mean we won't, just means we're hesitant.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Questions! Questions! Questions!
« Reply #51 on: May 25, 2015, 12:02:55 AM »
Does anyone understand how nextbox works, does anyone have a working one that I can review for my a upcoming summer project.

I've decided to come out of retirement, I released whether or not Garry's Mod sucks, I have nothing else to do. That car accident has only made me more bored, and inspired me now to not give up on garry's mod.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Questions! Questions! Questions!
« Reply #52 on: June 20, 2015, 04:18:40 AM »
Alright new question. Anyone know how to spawn props using just lua, and x/y/z cords? (the prop must be static, and solid). I have tried before, but unable to get it to work.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given