I have been wondering if there is a way to make a donation shop online and connect it straight with a TTT server. I am quite a noob at lua and I haven't touched MySQL / JavaScript at all.
But basically, I would like it to either give the purchasing player a randomly generated code to enter into a webpage or give the player ingame items right after purchasing a select packet.
Is this possible?
Yep completely possible.
[QUOTE=brandonj4;41968825]Yep completely possible.[/QUOTE]
Is it possible to make that donation shop work ingame?
It's usually done by having the client use a webpage. Once the package is bought the callback from paypal is sent to a php script. That php script will insert the info into mysql. In-game, lua will have to connect to your mysql server and check the tables to see if the player bought anything.
It's easy, but ca$h shop games/servers are ruining the industry. We run ours purely on donations with no benefits. Our content is brilliantly unique though.
Sorry, you need to Log In to post a reply to this thread.