Author Topic: ULX with MySQL  (Read 3590 times)

0 Members and 1 Guest are viewing this topic.

Offline gameguysz

  • Newbie
  • *
  • Posts: 10
  • Karma: -1
ULX with MySQL
« on: February 24, 2011, 06:22:26 PM »
OKay i want to change only one thing in ULX so that i can manage the users groups via MySQL

I just want to be able to change there group with mysql for a donation script i want to make but i have no idea how to do it..

Dont get me wrong i know how to use mysql but i just dont understand lua that well to know where i need to have everything..

I want the server to send the steam id and guest or what ever the default group is over to the database.
Then i want to use my php script which i already have working so that when the player pays it will update there table to VIP

But heres the thing i dont know how to integrate it with ULX so that it will read the table value and place the user in that group...

Can anyone help me?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX with MySQL
« Reply #1 on: February 24, 2011, 07:23:56 PM »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline gameguysz

  • Newbie
  • *
  • Posts: 10
  • Karma: -1
Re: ULX with MySQL
« Reply #2 on: February 24, 2011, 07:35:55 PM »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX with MySQL
« Reply #3 on: February 24, 2011, 07:56:45 PM »
I'm locking this thread because it's in the wrong place and there's already something to do just this.
Experiencing God's grace one day at a time.