DarkRP 2.5.1 ATM system

Hey, I worked on this projekt to learn some basic about SqLite.

I’ve been working alot with MySQL so i wanted to learn SqLIte aswell.
The system is ofc, based on SqLite, witch means that it saves on the server, so next time you log in the money will still
be there.

The addon works well, no glitches, and no errors. In case you find a error please contact me :slight_smile:
:v:

Pictures:

Main menu

http://puu.sh/7vaiT.jpg

Withdraw menu:

http://puu.sh/7vare.jpg

Deposit menu:

http://puu.sh/7vauh.jpg

Logging system:

http://puu.sh/7vazP.jpg

How to install:
Basicly you only have to put this in your addon folder.
If you then go in the BankSystem/lua/autorun/server/sv_sql.lua
In there you will se the config.

**Download link: **http://puu.sh/7vbFP.zip

I hope this is usefull for someone around in the community. Enjoy.

Looks like a solid and nice release!

But don’t offer a download from puush, the files will be deleted sometime (although that happens only if it’s not used for some time). Instead you should start working with github.

Oh, ehh okay.

Probably the only released ATM system without a back door :v:

Hhahahahh!! xD It has no back door. I simply just wanted to creat something and learn of it, witch i did.

NukeTek eh? I always knew ATM’s were going to eventually hit the nuclear age.

neat

No backdoor but there is possible exploit. Fix it.

shhhhhh

Where xD

How do i get tge (Vector) Possition?, getpos in console and the first three? Or how?, If thats how it is, It did not seem to work for me, I dontknow if it was actualy run but im guessing it is, Since i put it in addons.

Regards SpreadKiller.

Edit:

I get an error in console


[ERROR] addons/banksystem/lua/autorun/server/sv_sql.lua:64: Tried to use a NULL
entity!
  1. SetPos - [C]:-1
   2. Initiate - addons/banksystem/lua/autorun/server/sv_sql.lua:64
    3. unknown - addons/banksystem/lua/autorun/server/sv_sql.lua:75
     4. include - [C]:-1
      5. unknown - addons/banksystem/lua/autorun/autorun.lua:4

[BankSystem] Done initiating.
Attempted to create unknown entity type banksystem_atm!

[ERROR] addons/banksystem/lua/autorun/server/sv_sql.lua:64: Tried to use a NULL
entity!
  1. SetPos - [C]:-1
   2. Initiate - addons/banksystem/lua/autorun/server/sv_sql.lua:64
    3. unknown - addons/banksystem/lua/autorun/server/sv_sql.lua:75

Yes. Take the first three, and shot them down a bit to a floor value. 300.115391321 << 300 ect.

Make sure you aren’t allowing negative values to be entered anywhere. That’s the no1 exploit with ATM’s.

I know, I made so you can’t.

if plymoney - bankmoney < 0 then return end.

nice

How do u spawn one>>

Look in config, it spawn at the pos you deside…

Mirror, just in case the puush file gets removed.

Mirror (updated 04/04/2014)

I put it in the addons folder and edit the spawn location, but it dont works… help pls, http://steamcommunity.com/id/Attila494/

It’s so simple?! How can you mess it up?