• ATM Banker V3 (Fixed for Gmod 13)
    49 replies, posted
[B]*ATM Banker v3*[/B] *Coded By: Fish, fixed by Robotboy655* -Designed to work for DarkRP ONLY!- Note: Usage of the latest DarkRP recommended. DL: [url]http://filesmelt.com/dl/rb655_atm_banker1.zip[/url] -- Robotboy655 briefly stated he had to re-write it, so i'm not sure if all the credit goes to him? or partly, but everyone should thank Robotboy655 for fixing the remarkable addon. -- [B]*Installation*[/B] -PLACE the 'ATM Banker v3' folder into the server's 'addons' folder and make sure the server restarts! *How to Set-Up (OWNERS/SUPER-ADMINS ONLY!)* -To set up the ATM, you must be in the server with the ATM installed. [B]*Spawning*[/B] -After, you can set the spawn points by looking at the place where you would like an ATM to spawn and then typing in chat: /setatmspawn or putting: atm_setspawn into console. The ATM's will spawn each time the server is on that map. -I've included three spawn-ready ATM's in these maps: rp_downtown_v2, rp_evocity_v2d, rp_bangclaw. To spawn all of the ATMs, type into console: atm_spawnall To remove all of them, type into console: atm_removeall To remove all spawns, then type into console: atm_removespawns [B]*What is this?*[/B] -This is an ATM Banker which allows users to deposit and withdraw money from their bank account. [B]*How does it work?*[/B] -Press E on the ATM to get started. When you come to the ATM for the first time, you will create a PIN Code. This can be made up of either letters or digits. -After, you can login to your account by entering the PIN to your own account and pressing 'OK' or by just pressing ENTER. If you forget the PIN to your account, no worries, just press 'Reset Your PIN' and you're good to go. -Once you're in the main ATM menu, you can deposit into your account or withdraw money from your bank account. -At the top you'll be able to see the amount that's in your account including which account you're logged into. -When you're done doing stuff, just simply press the 'X' on the top right of the menu. [B]*Super-Admin Tab*[/B] -Super-Admins are given a tab where they can control everyone's bank account. -This includes: printing everyone's money and pin codes, resetting money and pin codes, withdrawing money from a specific account or depositing, and so on. This is very useful for Super-Admins. [B]*Anything else I should know about?*[/B] -There's a down arrow on the security menu which reveals names of people in the server. This allows you to login to someone else's bank account, IF you have their PIN and then you can deposit and withdraw money. -An example might be if your friend gives you their PIN so you can deposit some of your money into their bank account, etc I will remove this if requested to by Robotboy655 or Fish
LOL funny how im dumb for saying thanks :P
Why doesn't robotboy or fish release the new one? I don't think you should be releasing what they coded without permission ahead of time.
This addon will just crash your server. Why are you posting over peoples work??
[QUOTE='[CC]Curtis;40642380']This addon will just crash your server. Why are you posting over peoples work??[/QUOTE] I've stated clearly i will take it down if they want me to, i've clearly stated robotboy made it. Someone else did this with something else he fixed and he seemed alright about it, so I took the risk and did it as well. I'm not claiming ANYTHING from this addon.
I'm am pretty sure currently the code doesn't work the way you state it does. [quote]-After, you can set the spawn points by looking at the place where you would like an ATM to spawn and then typing in chat: /setatmspawn or putting: atm_setspawn into console. The ATM's will spawn each time the server is on that map.[/quote] These commands don't exist in the code at all
[QUOTE=TheFallen;40642123]Thanks[/QUOTE] Time for TheFallen to customize the text and claim it as his own.
As far as I can tell it doesn't come with ATM spawns predefined because there isn't an ATM folder which it attempts to read from and since you can set locations ingame it is kinda useless in its current form.
[QUOTE=ZachPL;40642581]As far as I can tell it doesn't come with ATM spawns predefined because there isn't an ATM folder which it attempts to read from and since you can set locations ingame it is kinda useless in its current form.[/QUOTE] Make yourself a script to spawn it. Quite simple.
Id like to say this is a flexible too. in the init files you can change the model that it spawns. im using aperbanks models right now.
[QUOTE=mib999;40642764]Make yourself a script to spawn it. Quite simple.[/QUOTE] Yeah I know I already did got it working. If you guys want this to work if you have to make ATM_Machine lowercase otherwise it won't pick the entity up. I didn't realize he just copied the release notes from the original thread.
You didn't even make this, Why are you posting it?
[QUOTE=Dannyman;40643039]You didn't even make this, Why are you posting it?[/QUOTE] You didn't read the OP. Why are you posting here?
[QUOTE='[CC]Curtis;40642380']This addon will just crash your server. Why are you posting over peoples work??[/QUOTE] Hi Curtis your Mod Speaking here ^^ the ATM isn''t the actual problem why the Server crashes To the other just stop bothering to post here anything if the only thing you want to say is WHY YOU POST THIS without permission. Read the OP. He doesn't claim anything. Be thankful that this got fixed for you unthankful people (not all)
rp_atm_login looks like a fun function, I could easily write a function that brute forces an admins bank account (admins usually have $999999999999999999999 or something stupid like that), and become rich :D
Is it possible to make password more then 4 digits lenght (or maybe with letters ?) ? I don't wan't the accounts to be brute forced :/
It would be better to just have an ATM that had withdraw and deposit, nothing else. This way you won't have to worry about people accessing others bank accounts.
[QUOTE=koz;40651860]It would be better to just have an ATM that had withdraw and deposit, nothing else. This way you won't have to worry about people accessing others bank accounts.[/QUOTE] That's not the point, its supposed to be hack-able.
The way you are supposed to make saved spawns is: 1) Spawn and position the ATMs. You must spawn them using the spawnmenu. 2) Open one of the ATMs, switch to super admin tab and press Save All. 3) ATMs will spawn automatically when server starts. P.S. I suggest you don't trust [CC]Curtis in money questions, he told me he's going to pay and he never did. [editline]16th May 2013[/editline] And you can edit pin length in the code. ( Just replace 4 with whatever you want )
[QUOTE=Robotboy655;40664863]The way you are supposed to make saved spawns is: 1) Spawn and position the ATMs. You must spawn them using the spawnmenu. 2) Open one of the ATMs, switch to super admin tab and press Save All. 3) ATMs will spawn automatically when server starts. P.S. I suggest you don't trust [CC]Curtis in money questions, he told me he's going to pay and he never did. [editline]16th May 2013[/editline] And you can edit pin length in the code. ( Just replace 4 with whatever you want )[/QUOTE] Because it crashes the server
Listen to xSyndicate.
nothing works, not atm console command + nothing spawns when i atm_spawnall and changelevel
[QUOTE=twitchyb1t;40681472]nothing works, not atm console command + nothing spawns when i atm_spawnall and changelevel[/QUOTE] Spawn the ATM through the entities menu. Make sure in the entites folder the name is changed from "ATM_Machine" to "atm_machine" When you spawn it from the menu, Place it where you want it hold C, right click, and set the machine to "set persistent" It should save and be there when you do a changelevel.
You can also so make permanent textscreens oh and in the Admin Tab you can Save the atm to the Map Position and then let them respawn After you saved them so they are a world prop.
I customized it, I added MySQL support... If someone want it, send me PM :)
edit: I want this taken down.
[QUOTE=Fisheater;40694329]Yeah, I originally coded this. I'm alright with its release, but I'm going to check it out. I did make a fixed version of it and I will be 100% happy to release it once I fix some exploits first.[/QUOTE] You should make a version without all the excess pins. Just make it so people have the option to deposit and withdraw.
[QUOTE=koz;40694874]You should make a version without all the excess pins. Just make it so people have the option to deposit and withdraw.[/QUOTE] Do it yourself, its using pins for a reason.
I just skimmed over it, but it looks like you can take money from anyone by doing this: [lua] concommand.Add( "atm_getmoney", function(ply, cmd, args) local name = args[1] local money = args[2] if not money or not name then chat.AddText( nil, cmd.." name money" ) return end local vict for k,v in pairs(player.GetAll()) do if string.find( v:Nick(), name ) then vict = v break end end if not IsValid(vict) then chat.AddText( nil, "No player found with "..name.." in their name." ) return end chat.AddText( nil, "Attempting to take $"..money.." from "..vict:Nick().."." ) RunConsoleCommand( "rp_atm_withdraw", vict:UniqueID(), money ) end )[/lua] What the shit :v:
[QUOTE=.\\Shadow};40705982]I just skimmed over it, but it looks like you can take money from anyone by doing this: [lua] concommand.Add( "atm_getmoney", function(ply, cmd, args) local name = args[1] local money = args[2] if not money or not name then chat.AddText( nil, cmd.." name money" ) return end local vict for k,v in pairs(player.GetAll()) do if string.find( v:Nick(), name ) then vict = v break end end if not IsValid(vict) then chat.AddText( nil, "No player found with "..name.." in their name." ) return end chat.AddText( nil, "Attempting to take $"..money.." from "..vict:Nick().."." ) RunConsoleCommand( "rp_atm_withdraw", vict:UniqueID(), money ) end )[/lua] What the shit :v:[/QUOTE] Um, I just skimmed it also and didn't find that part. What's going on :v
Sorry, you need to Log In to post a reply to this thread.