Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/20/17 in all areas

  1. Got a offer accepted and sale agreed on a 3 bed terrace house As long as nothing bad shows up in the survey if anyone wants to know my money making method its picking flax
    9 points
  2. I'm just saying that this website was a huge part of my life for 2-3 years. I really enjoy this website, I've created a lot of great friends here, and want to do so in the future. I also am putting myself through college, and so sure, I run a website that just so happens to be about the game that I love. I love OSBot because I enjoy RuneScape. I created RSJackpot because I enjoy RuneScape. I don't love OSBot because of RSJackpot. I have loved OSBot way before RSJackpot was even considered being a thing, and the reason I came back wasn't because of RSJackpot, but because I have more time of my hands, I'm playing RuneScape 07 again, and because nostalgia.
    6 points
  3. Mio ruined this community - was great until that specimen who doesnt bot, doesnt script, doesnt farm, doesnt even know anything about RS became a Forum moderator here on a RS related bot site lmao
    5 points
  4. Our school set default passwords for all new accounts as "123". Every year, we would maybe get 1-2 more staff with the same amount leaving. 2 months in, I decided to check if any of the teachers still had the default password set. Her username was easy to find out - it was just the initials of their name. So I attempt to login, and lo and behold I'm in! I spent the next 20 minutes browsing the teacher portal, lots of boring stuff here but I got to find out this teachers salary and I was able to access the "book a computer room" page. Now, I don't know if you had this in your school, but if our none IT class wanted to access computers, the teacher had to book it in advance and we'd get to dick about on club penguin or something all lesson. So what did I do? I booked the next 3 months of classes in the computer room. 3 day external suspension. Another time I started playing around with the network. There was this shared network drive which had all the domain controller stuff like wallpaper/default permissions etc, stuff that gets executed when the PC turns on. This folder you could only read from and not write - or else I would have changed everyones wallpaper to a dick or something. So I'm browsing this shared network drive looking at what I can find, and I find a permissions file. I open it up and I see that it refernces some tech admin's home directory. My logic was that if this shared directory could read from this dudes home dir, then I would be able aswell. So I hit File->Create Shortcut -> to network w/e and input the details. I pray, I clench my butt, and I'm in! 1337 hax0rs unite and all that. Inside his home directory there was various text files - FTP login details for the intranet, ftp details for the website page and various login/passwords for services that our network uses. I read a little about what happened to other people when they fucked with the FTP and as tempting as it was, I'd rather not get expelled for changing the schools home page. Inside this text file contained a username/password to our firewall/antivirus/web blocker as well as the login url - thanks random admin techie! I login and I'm greeted with a web panel and full admin rights. I remember a big red button that said "Shut Off" which I could only assume would take down either 1. The web blocker or 2. The entire internet access for the school. I was in dangerous territory here so I opted to stay away from it. After some digging, I finaly found the page I had been looking for - PERMISSIONS. This is where I personaly chose to add myself into the staff list and have full access to all of the internet - freedom at last! I could now play runescape instead of club penguin. I sold access to a select few people aswell, since crime pays an' all that. Had full access for a good serveral months up to which point me and another guy fell out over some b/s and he decided to rat me out. 5 day internal suspension.
    5 points
  5. I can't do anything for copywrite issues. I will be closing this however. He isn't a paid affiliate on osbot so he can't advertise his website or name anyways. If you take legal actions and something else needs to be told let me know or we can reopen this.
    4 points
  6. Hi to all those interested in this drama, We actually do not wish answer his poor accusation but we decided that it will be bad our brand. We would like to address several accusation made by Jordan. 1. Our site was built from scratch, we gotten the concept from a similar site but from a different game and I'm pretty sure Jordan got his from there too. 2. Anyone with HTML knowledge and see that our site RSCrates.com and Jordan's site is built with a different framework. (RSCrates.com is an SPA, his is not) 3. Our crates' rewards uses a provably random algorithm to determine the rewards given out, as far as I know Jordan's site doesn't do that 4. Jordan claims that we copied his site's terms and condition, however that is not true because we took it from CSGOlottos. Jordan using it was just a mere coincidence, he even copied the entire thing while we read through the ToS and edited it to fit our site. He even copied the state of operation (Florida) and may have deceived their customers. 5. Jordan's claims that we copied his site's Login/Register display CSS, however as far I'm advised a snippet of CSS is not enough to make a copyright strike. Using someone's site as inspiration is different from copying it. However, to prevent conflicts on this issue we have modified RSCrates.com If a small similarity in CSS is considered copyright infringement, then shouldn't Oracle won their lawsuit over Google for copying 11,500 lines of code? SOURCE We feel that we have answered enough, however if he (Jordan) has anything else to say. We will gladly continue if needed.
    4 points
  7. PPOSB - AIO Hunter Brand new trapping system just released in 2024! *ChatGPT Supported via AltChat* https://www.pposb.org/ ***Black chinchompas and Black salamanders have been added back*** Supports the completion of Varrock Museum & Eagle's Peak OR CLICK HERE TO PAY WITH 07 GOLD! The script has been completely rewritten from the ground up! Enjoy the all new v2 of the script JOIN THE DISCORD CHAT FOR QUESTIONS/ SUPPORT/ CHATTING/ UPDATES! New GUI: Features: Click Here Current functioning hunter tasks: (green - complete || yellow - started || red - incomplete) Screenshots: Progressive Leveling: 1-19 --> Crimson swift 19-43 --> Tropical wagtail 43-63 --> Falconry 63+ --> Red chinchompas Updates How to setup Dynamic Signatures Report a bug CLI Support - The script now supports starting up with CLI. The commands are given below. Please put in ALL values (true or false) for CLI to work properly. Make sure they are lowercase values, and they are each separated with an underscore. The script ID for the hunter bot is 677. Parameters: EnableProgression_EnableVarrockMuseum_EnableEaglesPeak_EnableGrandExchange Example: -script 677:true_true_false_true ***Don't forget to check out some of my other scripts!*** OSRS Script Factory Click here to view thread LEAVE A LIKE A COMMENT FOR A TRIAL The script is not intended for Ironman accounts. It still works for Ironman accounts, but you must have all equipment, gear, and items.
    3 points
  8. Disputed member: @RSCrates Explanation: I run and operate http://rsjackpot.org/ that we created that allows users a chance to win items in RuneScape from buying "Cases". We have paid thousands to have the website created and spent many more thousands to keep it online. The user in question has created a website that undeniably copies our content, our design, and most damning, our code. The issue is that we have spent so much to create our website, and now our code is being stolen and they are using our code for profit. I've contacted them and they claim that they haven't stolen our code and that they would "Address" issues. The problem is, if they modify or cover up the fact they stole code, they have still used our stolen code for profit. They should have to rewrite the entire code from scratch before they are allowed to advertise on this website, even if it is through his username. They are using our website, content, and code in order to attempt to steal a market share, steal users, and to make a profit. What I want from OSBot: The user's name to be changed and him be banned from advertising the website in any form. As for damages and payments, we will decide this through legal methods. Evidence: Compare the code/css of our website and theirs and you will find that it was clearly built off of our code. Modifying a few words and some code is not acceptable. https://web.archive.org/web/20160712011903/http://rsjackpot.org/how-to-win.php http://rsjackpot.org/ https://rscrates.com/ My site: Their site: My site: (on our old version of the site, it said "how to win") Their site: Our old site + the login | register code Their site + the login | register code Our saradomin case: Their "saradomin crate" Our terms Thier terms I could sit here all day and make comparisons. I think it's very clear their site was based off of our idea and just reworked to hide similarities. Chat log with their livechat:
    3 points
  9. Before buying, please ensure you check-out with the correct script. Swapping scripts is not possible. View in store $4.99 for lifetime access Features: All spawns - Supports every multi-crab spawn point both along the south coast of Zeah and Crab Claw Isle All combat styles - Supports Ranged, Magic and Melee combat training. The script will not bank runes of any type Saving GUI - Intuitive, re-sizeable and fully tool tipped GUI (Graphical User Interface) allowing you to tailor the script session to your needs, with configuration saving / loading Human replication - Designed with human simulation in mind - multiple options to replicate human behaviour available in the GUI Setup customiser - Inventory customiser allows you to visually see your trip setup CLI support - The script can be started from the command line All potions - Supports all relevant potion types (including divine potions!), multiple potion types simultaneously and varying potion ratios Healing in a range - Dual slider allows you to specify a range within which to consume food. Exact eat percentages are calculated using a Gaussian distributed generator at run time Healing to full at the bank - When banking, the script will eat up to full hit points to extend trip times Safe breaking - Working alongside the OSBot break manager, the script will walk to safe place approximately two minutes before a break starts to ensure a successful log out Anti-crash - Smart crash detection supports multiple anti-crash modes (chosen in the GUI): Hop worlds if crashed - the script will walk to a safe place and hop worlds until it finds a free one, at which point it will resume training Force attack if crashed - the script will fight back and manually fight pre-spawned sand crabs until the crasher leaves Stop if crashed - the script will walk to a safe place and stop Ammo and Clue looting - Clue scroll and Ammo looting system based on a Gaussian-randomised timing scheme All ammo - Supports all OSRS ammo types and qualities Spec activation - Special attack support for the current weapon to maximise your exp per hour Auto-retaliate toggling - The script will toggle auto-retaliate on if you forget Move mouse outside screen - Option to move the mouse outside the screen while idle, simulating an AFK player switching tabs Refresh delay - Option to add a Gaussian-randomised delay before refreshing the chosen session location, simulating an AFK player's reaction delay Visual Paint and Logger - Optional movable self-generating Paint and Timeout Scrolling Logger show all the information you would need to know about the script and your progress Progress bars - Automatically generated exp progress bars track the combat skills that you are using Web walking - Utilises the OSBot Web alongside a custom local path network to navigate the area. This means the script can be started from anywhere! Safe banking - Custom banking system ensures the script will safely stop if you run out of any configured items Safe stopping - Safely and automatically stops when out of supplies, ammo or runes Dropping - Drops useless/accidentally looted items to prevent inventory and bank clutter All food - Supports pretty much every OSRS food known to man. Seriously - there's too many to list! ... and many more - if you haven't already, trial it! Things to consider before trying/buying: Mirror mode - currently there appear to be some inconsistencies with behaviour between Mirror mode and Stealth Injection meaning the script can behave or stop unexpectedly while running on Mirror. I would urge users to use the script with Stealth Injection to ensure a flawless experience! Since Stealth Injection is widely considered equally 'safe' to mirror mode and comes with a host of other benefits such as lower resource usage, this hopefully shouldn't be a problem. Using breaks - the script supports breaks and will walk to a safe place ready to log out approximately two minutes before a configured break starts. However, upon logging back in, your spot may no longer be open. If you configure the crash mode to be either 'Hop if crashed' (default) or 'Stop if crashed', this will not prove to be a problem. However if using 'Force attack if crashed', the script will attempt to take back the spot by crashing the occupying player and manually attacking spawned sand crabs. Be aware that players have a tendency to report anti-social behaviour such as this! Avoiding bans - while I have done my utmost to make the script move and behave naturally, bans do occasionally happen, albeit rarely. To minimise your chances of receiving a ban, I would strongly suggest reviewing this thread written by the lead content developer of OSBot. If you take on board the advice given in that thread and run sensible botting periods with generous breaks, you should be fine. That being said, please keep in mind that botting is against the Oldschool Runescape game rules, thus your account will never be completely safe and you use this software at your own risk. Setting the script up - I have done my best to make the GUI (Graphical User Interface) as intuitive as possible by making all options as self explanatory as I could, however if you are not sure as to what a particular setting does, you can hover over it for more information. If that doesn't help, just ask on this thread! Web-walking - alongside a network of paths, the script moves around with the OSBot web-walking system, using it when in unknown territory. While it has proven very reliable, there are naturally some areas for which the web-walker may struggle. As a result, prior to starting the script, I would highly recommend manually navigating your player close to the sand crabs bank, however in practice, anywhere on Zeah should be fine. Script trials: I believe that trying a script before buying is paramount. After trying the script, hopefully you will be convinced to get a copy for yourself, but if not you will have gained some precious combat experience! If you're interested in a trial, please follow the instructions on my trials thread which can be found here. Gallery: Start up GUI (Graphical User Interface): Paint (optional, movable and self-generating): User screenshots: Recent Testimonials: Starting from CLI: This script can be started from the command line interface. There is a single parameter, which can take two (and only two) values: 'gui' or 'nogui'. 'gui' will start the script and show the gui, 'nogui' will skip the GUI setup and start the script using your save file as the configuration. To start from CLI with 'nogui', the script requires a valid GUI save file to be present - if you haven't already, start the script manually and configure the GUI to suit your needs. Then hit 'Save configuration' and in future starting from CLI will use these configured settings. The script ID is 886. Example CLI startup: java -jar "osbot 2.4.137.jar" -login apaec:password -bot apaec@example.com:password:1234 -debug 5005 -script 886:nogui
    2 points
  10. Greetings! Today I am releasing an AFK Splasher How to use it (AUTO RETALIATE ON) Start Splashing on your target Start the script The script will move the mouse every 3-18 minutes. There's some paint in the corner. The script will not attack your target, it just moves the mouse so that you don't log out during the course of 60 hours. If you get a random event, the auto handler will remove it and if you have auto retaliate on (You should if you want to use this script) you'll automatically attack back on your target. Reported over 700 HOURS of usage with 0 BANS. Short Proggies: Download: https://mega.nz/#!OphR2R5A!JAv6lKkxDxwww-p-GYN0xysQc0VQObu3w9GeUiAh2m4 If you guys want me to add anymore paint or anything else please let me know! Update V1.2 Made mouse actually click in the inventory rather than just sit there Also improved Clicking area. Update V1.3 [current] Improved clicking area s/o to @koboldNinja Source: https://hastebin.com/sudekaquru.java idc if script kiddie
    2 points
  11. Same rules as 2014. Getting a pizza for free makes it taste better, I promise. I'll give away 1 or 2 pizzas. We will discuss how to give pizza to you after you win, will most likely be through a gift card. 2014 pizza giveaway Thread
    2 points
  12. 2 points
  13. When i first got into highschool, i used to throw rocks at the bus's that were passing by from our playground. didnt realise a lady was recordin me on her phone.
    2 points
  14. @Saiyan cuz paki he never had the heavenly taste of pizza
    2 points
  15. i dont see many @Fruity here @Saiyan needs food
    2 points
  16. I deserve it because I am retarded and I just burnt a pizza in the oven cause i forgot about it lul
    2 points
  17. oh i get it now, yall arent savages, your schools were just retarded
    2 points
  18. What's with those nose rings tho. Do girls think they're cows?
    2 points
  19. been looking for about 6 months.. but finally found one (hopefully everything goes ok) but thanks bud
    2 points
  20. Hmm prayer flick uses quickprayer to flick the prayers, set quickprayer to protect magic and then start the script, after 3-4 attacks the script will time the npc's attack, figure out an average and then always delay the quickprayer prayer flick, e.g. average speed for normal npc = 2.4 seconds or 4 game ticks, after a hit is received by the npc the script will wait 3.5 ticks, then double click quickprayer button and then repeat. I haven't tested quickprayer on infernal mages though and will focus more on slayer in the coming versions. ^^ ^ That includes nechyraels and various other slayer npcs. The script still doesn't support some slayer npcs such as nechyraels but I am definitely working on it, including wyverns too. As for sand crabs and breaks in general, already finished coding breaks handler, next update coming up very soon in either the next post or will edit this post with new changelog.
    2 points
  21. What does it matter? He does an outstanding job.
    2 points
  22. When you recover an account as stolen it gets quashed.
    2 points
  23. ware are yew, and awim soh sawreeh
    2 points
  24. Man this is the best thing i have seen on osbot ever
    2 points
  25. About: This is a Java Class + PHP & MySQL website I wrote in order to save user data to your database for tracking purposes. I'll explain the files first, then you may view them below the explanation. Also, included at the very end is an example SQL file required to complete this project. Usage (OSB Script): First, in order to call the Class, you need to use the code below. I use it in the onExit function log("Saving your runtime data."); String updateUser = SaveUserData.saveUserDataMethod(accessKey, authToken, scriptName, username, startTime, String.valueOf(xpGained), String.valueOf(levelsGained), String.valueOf(fishCaught), String.valueOf(profit)); if (updateUser.equals("success")) { log("We have successfully updated your account statistics online."); } else { log(updateUser); } SaveUserData Class Call Function: I tried converting the values of the String.valueOf variables in the class itself, or ignoring it, but it was failing to execute properly. In any case, you must send the following 4 variables at a minimum in order to know where to send the statistic data. Other than that, the calling script here checks the response of the website to let the user know, via the log, if their data has been saved or not. This is called in my onExit function. Required Data: accessKey A randomly generated and encrypted key used to validate the script (mostly used just to prevent the PHP page from being access from a browser). This is generally a key that you could use for all your scripts. This is a global variable. authToken A randomly generated and encrypted key used to validate the script (mostly used just to prevent the PHP page from being access from a browser). This is a unique authentication token for each script. This is a global variable. scriptName This is the name of your script that will be saved in the database. NOTE: I used this variable in the URL of my Java class, so if you intend of doing that as well, make sure that it is the same value for the actual URL. This is a global variable. username This is the user's account name which will be the unique identified that is used to save the data. This is set in the onStart function. Statistical Data: startTime This is used to calculate the runtime of the script. This is set in the onStart function. xpGained Can be coded in however you like, but it should be a global variable. This is updated in my onPaint function. levelsGained Can be coded in however you like, but it should be a global variable. This is updated in my onPaint function. fishCaught Can be coded in however you like, but it should be a global variable. This is updated in my onPaint function. profit Can be coded in however you like, but it should be a global variable. This is updated in the onMessage function, since this came from a fishing script. SaveUserDataMethod (Java Class): As I previously mentioned, the variable scriptName is utilized in my URL as a means of shortening the amount of things I must change between scripts (since I've only just started scripting and plan on making more). Keep that in mind if you decide to utilize it, and when you're making your file tree if you do. The website returns a JSON response in the format below. Instead of handling the data with a JSON parser, since I know the data has two defined results, I parse it as a regular string instead. I then return to the main function either a value of success or the error message. On Success: success true On Failure: success false message Message based on the event that caused the failure. index.php (PHP File): This file includes the config, database, and encryption files. I have provided these with the exception of the encryption file. You may encrypt your data however you'd like. The file returns a JSON result as described in the SaveUserDataMethod above. Please note that the database file MUST be included after the config file. See the database.php section below. File Handling: The file first checks to insure the accessKey, authToken, scriptName, username, and other required variables are available to read before continuing. After that, we set up our local variables. We then check to make sure the accessKey and authToken sent match the ones defined in the config. Again, I use my own encryption class. You may use your own class to encrypt and decrypt this data. The accessKey validation is setup like this: $encryption->decrypt256Bit($_REQUEST["accessKey"] == $encryption->decrypt256Bit($scriptAccessKey[$scriptName]) NOTE: $scriptAccessKey[$scriptName] scriptAccessKey is an array defined in the config, and its value is grabbed by using the scriptName as the key. The authToken validation is setup like this: $encryption->decrypt256Bit($_REQUEST["accessKey"] == $encryption->decrypt256Bit($scriptAccessKey[$scriptName]) NOTE: $scriptAuthToken[$scriptName] scriptAuthToken is an array defined in the config, and its value is grabbed by using the scriptName as the key. We then just check to make sure the scriptName is the correct one for the data trying to be saved. Again, this is more for preventing users from access the page outside of the client. We then initiate the database class. See below for usage. We then check to see if the user already has data saved under the specified username for the specified script. Required variables scriptName username If the query executes, then we perform another check: Is there one row or two? The query will generally always execute, unless you have a database error, but I always check to insure it executes before I continue. If there is already a user, then we update their information. If the user does not exist, then we insert their information. Both update and insert utilize the same variables. Required variables username Statistical Variables runtime xpGained levelsGained profit If the insert or update query is successful, then we update another table which is used for tracking all of the skill experience gained and levels gained. This is not required, and if you intend on not using this, you should remove the following code: $db->beginTransaction(); $db->endTransaction(); $db->cancelTransaction(); Those lines are not required in updating 1 table, however, if updating multiple tables, like I am, they should be used. Why are they used? Say you have 5 queries that need to be executed, and they're all tied to each other in terms of information. If one of the queries fails, you don't want the other 4 to execute. Well, these functions allow us to roll back the data in a previously executed query should one of the queries fail. Finally, if the second table update is complete, we change the commit variable to true. Commit variable states true We end the database transaction which completes the update. false We cancel the database transaction which un-does any queries that executed successfully. We then return any error message that indicates a failure to update the user's information. The returnArray is then displayed on the page for the SaveUserDataMethod functionto process. database.php (PHP Class File): This file is a class which I utilize in projects to make process database queries much easier. Be it noted that the config file MUST be included before this one in the main PHP handling file because this file sets global variables that are defined in the config file. I'm not going to go into too much detail with this file; you can read up about PHP and PDO methods online if you wish. However, I will make one thing clear. Variable Names: host This is defined as DB_HOST which is defined in the config file. dbhname This is defined as DB_NAME which is defined in the config file. user This is defined as DB_USERNAME which is defined in the config file. pass This is defined as DB_PASSWORD which is defined in the config file. config.php (PHP File): This file is a configuration file I utilize to set up constant and global values. Typically used for things such as the database setup, among other things. Variable Names: DB_HOST This is the hostname used to access your SQL database, typically MySQL if using a website. DB_NAME This is the database name you're trying to connect to which stores the tables for the data to be saved in. DB_USERNAME This is the username that has access rights to DB_NAME. DB_PASSWORD This is the password for DB_USERNAME on DB_NAME. availableScripts This is utilized in my online users function used in my scripts, but it can be used for other purposes as well. It declares the script names available. scriptAccessKey This is an array that holds a key value pair of the access keys authorized. Format as follows: Key The script name Value A randomly generated, encrypted, key utilized to authorize access to the PHP file (index.php in this case). This must match with the value sent from the OSB client. scriptAuthToken This is an array that holds a key value pair of the authorization tokens authorized. Format as follows: Key The script name Value A randomly generated, encrypted, key utilized to authorize access to the PHP file (index.php in this case). This must match with the value sent from the OSB client. Java Class import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; class SaveUserData { public static String saveUserDataMethod(String accessKey, String authToken, String scriptName, String username, long startTime, String xpGained, String levelsGained, String fishCaught, String profit) { String returnedValue = "Saving your data failed. Unknown reason."; try { // open a connection to the site StringBuilder sb = new StringBuilder("https://www.mmaengineer.com/app/osb/" + scriptName + "/index.php?accessKey="); sb.append(accessKey); sb.append("&authToken=" + authToken); sb.append("&scriptName=" + scriptName); sb.append("&username=" + username); sb.append("&runtime=" + (System.currentTimeMillis() - startTime)); sb.append("&xpGained=" + xpGained); sb.append("&levelsGained=" + levelsGained); sb.append("&fishCaught=" + fishCaught); sb.append("&profit=" + profit); InputStream inputStream = new URL(sb.toString()).openStream(); InputStreamReader inputStreamReader = new InputStreamReader(inputStream); BufferedReader bufferedReader = new BufferedReader(inputStreamReader); String line; String newString = null; while ((line = bufferedReader.readLine()) != null) { if (line.contains("{")) { sb = new StringBuilder(line); //Remove { and } sb.deleteCharAt(0); newString = sb.substring(0, sb.length()-1); } } newString = newString.replace("\"", ""); if (newString.equals("success:true")) { returnedValue = "success"; } else { String[] returned = newString.split("message:"); returnedValue = returned[1]; } } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } return returnedValue; } } index.php <?php require_once "../config.php"; require_once "../database.php"; require_once "../encryption.php"; $encryption = new encryption(); $returnArray["success"] = false; if (isset($_REQUEST["accessKey"], $_REQUEST["authToken"], $_REQUEST["scriptName"], $_REQUEST["username"], $_REQUEST["runtime"], $_REQUEST["xpGained"], $_REQUEST["levelsGained"], $_REQUEST["fishCaught"], $_REQUEST["profit"])) { $scriptName = $_REQUEST["scriptName"]; $username = $_REQUEST["username"]; $runtime = ($_REQUEST["runtime"] / 1000); $xpGained = $_REQUEST["xpGained"]; $levelsGained = $_REQUEST["levelsGained"]; $fishCaught = $_REQUEST["fishCaught"]; $profit = $_REQUEST["profit"]; if (($encryption->decrypt256Bit($_REQUEST["accessKey"]) == $encryption->decrypt256Bit($scriptAccessKey[$scriptName])) && ($encryption->decrypt256Bit($_REQUEST["authToken"]) == $encryption->decrypt256Bit($scriptAuthToken[$scriptName]))) { if ($scriptName == "engineerFishing") { $db = new database(); $commit = false; $db->query("SELECT `id` FROM `engineerFishing` WHERE `username` = :username"); $db->bind(":username", $username); if ($db->execute()) { $rows = $db->rowCount(); $db->beginTransaction(); if ($rows == 1) { $db->query("UPDATE `engineerFishing` SET `runtime` = runtime+:runtime, `xp_gained` = xp_gained+:xp_gained, `levels_gained` = levels_gained+:levels_gained, `fish_caught` = fish_caught+:fish_caught, `profit` = profit+:profit WHERE `username` = :username"); } else { $db->query("INSERT INTO `engineerFishing` (`id`, `username`, `runtime`, `xp_gained`, `levels_gained`, `fish_caught`, `profit`) VALUES(0, :username, :runtime, :xp_gained, :levels_gained, :fish_caught, :profit)"); } $db->bind(":username", $username); $db->bind(":runtime", $runtime); $db->bind(":xp_gained", $xpGained); $db->bind(":levels_gained", $levelsGained); $db->bind(":fish_caught", $fishCaught); $db->bind(":profit", $profit); if ($db->execute()) { $db->query("UPDATE `skills` SET `fishing_xp` = fishing_xp+:fishing_xp, `fishing_levels` = fishing_levels+:fishing_levels WHERE `id` = 1"); $db->bind(":fishing_xp", $xpGained); $db->bind(":fishing_levels", $levelsGained); if ($db->execute()) { $commit = true; } } if ($commit) { $returnArray["success"] = true; $db->endTransaction(); } else { $returnArray["message"] = "Failed to save your data for the Engineer Fishing script."; $db->cancelTransaction(); } } else { $returnArray["message"] = "Failed to access our database to save your data for the Engineer Fishing script."; } } else { $returnArray["message"] = "The script you are trying to save your data to does not match our database."; } } else { $returnArray["message"] = "Bad access key or authorization token for utilizing the online users function."; } } else { $returnArray["access"] = "We did not receive all of the parameters to save your data for the Engineer Fishing script."; } echo json_encode($returnArray); ?> database.php <?php if (count(get_included_files()) <= 1) { exit; } class database { private $host = DB_HOST; private $dbhname = DB_NAME; private $user = DB_USERNAME; private $pass = DB_PASSWORD; private $dbh; private $stmt; private $error; public function __construct() { // Set Connection $con = 'mysql:host=' . $this->host . ';dbname=' . $this->dbhname; // Set options // If you want to display errors, use the following values // true // ERRMODE_EXCEPTION $options = array( PDO::ATTR_PERSISTENT => false, PDO::ATTR_ERRMODE => PDO::ERRMODE_SILENT ); // Create a new PDO instanace try { $this->dbh = new PDO($con, $this->user, $this->pass, $options); } catch(PDOException $e) { $this->error = $e->getMessage(); } } public function query($query) { $this->stmt = $this->dbh->prepare($query); } public function bind($param, $value, $type = null) { if (is_null($type)) { switch (true) { case is_int($value): $type = PDO::PARAM_INT; break; case is_bool($value): $type = PDO::PARAM_BOOL; break; case is_null($value): $type = PDO::PARAM_NULL; break; default: $type = PDO::PARAM_STR; } } $this->stmt->bindValue($param, $value, $type); } public function execute() { return $this->stmt->execute(); } public function resultSet() { $this->execute(); return $this->stmt->fetchAll(PDO::FETCH_ASSOC); } public function single() { $this->execute(); return $this->stmt->fetch(PDO::FETCH_ASSOC); } public function rowCount() { return $this->stmt->rowCount(); } public function lastInsertId() { return $this->dbh->lastInsertId(); } public function beginTransaction() { return $this->dbh->beginTransaction(); } public function endTransaction() { return $this->dbh->commit(); } public function cancelTransaction() { return $this->dbh->rollBack(); } public function debugDumpParams() { return $this->stmt->debugDumpParams(); } } ?> config.php <?php define("DB_HOST", "localhost"); define("DB_NAME", "databaseName"); define("DB_USERNAME", "databaseUsername"); define("DB_PASSWORD", "databasePassword"); $availableScripts = array( 1 => "testPlatform", 2 => "engineerFishing", 3 => "engineerPickpocket" ); $scriptAccessKey = array( "testPlatform" => "scriptAccessKey", "engineerFishing" => "scriptAccessKey", "engineerPickpocket" => "scriptAccessKey" ); $scriptAuthToken = array( "testPlatform" => "scriptAuthToken", "engineerFishing" => "scriptAuthToken", "engineerPickpocket" => "scriptAuthToken" ); ?> engineerFishing.sql -- -- Table structure for table `engineerFishing` -- CREATE TABLE `engineerFishing` ( `id` int(8) NOT NULL, `username` varchar(100) NOT NULL, `runtime` bigint(35) NOT NULL, `xp_gained` bigint(35) NOT NULL, `levels_gained` int(8) NOT NULL, `fish_caught` int(8) NOT NULL, `profit` bigint(35) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `engineerFishing` -- ALTER TABLE `engineerFishing` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `username` (`username`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `engineerFishing` -- ALTER TABLE `engineerFishing` MODIFY `id` int(8) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; skills.sql -- -- Table structure for table `skills` -- CREATE TABLE `skills` ( `id` int(8) NOT NULL, `agility_xp` bigint(35) NOT NULL, `agility_levels` int(8) NOT NULL, `attack_xp` bigint(35) NOT NULL, `attack_levels` int(8) NOT NULL, `construction_xp` bigint(35) NOT NULL, `construction_levels` int(8) NOT NULL, `cooking_xp` bigint(35) NOT NULL, `cooking_levels` int(8) NOT NULL, `crafting_xp` bigint(35) NOT NULL, `crafting_levels` int(8) NOT NULL, `defense_xp` bigint(35) NOT NULL, `defense_levels` int(8) NOT NULL, `farming_xp` bigint(35) NOT NULL, `farming_levels` int(8) NOT NULL, `firemaking_xp` bigint(35) NOT NULL, `firemaking_levels` int(8) NOT NULL, `fishing_xp` bigint(35) NOT NULL, `fishing_levels` int(8) NOT NULL, `fletching_xp` bigint(35) NOT NULL, `fletching_levels` int(8) NOT NULL, `herblore_xp` bigint(35) NOT NULL, `herblore_levels` int(8) NOT NULL, `hitpoints_xp` bigint(35) NOT NULL, `hitpoints_levels` int(8) NOT NULL, `hunter_xp` bigint(35) NOT NULL, `hunter_levels` int(8) NOT NULL, `magic_xp` bigint(35) NOT NULL, `magic_levels` int(8) NOT NULL, `mining_xp` bigint(35) NOT NULL, `mining_levels` int(8) NOT NULL, `prayer_xp` bigint(35) NOT NULL, `prayer_levels` int(8) NOT NULL, `ranged_xp` bigint(35) NOT NULL, `ranged_levels` int(8) NOT NULL, `slayer_xp` bigint(35) NOT NULL, `slayer_levels` int(8) NOT NULL, `smithing_xp` bigint(35) NOT NULL, `smithing_levels` int(8) NOT NULL, `strength_xp` bigint(35) NOT NULL, `strength_levels` int(8) NOT NULL, `thieving_xp` bigint(35) NOT NULL, `thieving_levels` int(8) NOT NULL, `woodcutting_xp` bigint(35) NOT NULL, `woodcutting_levels` int(8) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `skills` -- ALTER TABLE `skills` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `skills` -- ALTER TABLE `skills` MODIFY `id` int(8) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
    1 point
  26. 1. Account 1: Account 2: Account 3: Account 4: SOLD Account 5: SOLD Account 6: SOLD 2. All accounts have no bans on them 3. All accounts have no membership on them 4. I am the original owner of all accounts. They all have unverified emails. Post offers below or contact me if interested. 3.5m/account
    1 point
  27. 1 point
  28. @Imateamcape Because he's helped me a lot with my coding. @Qwerd See previous point @Saiyan See previous point @Night See previous point
    1 point
  29. @Saiyan cuz fat ass need pizza and cannot buy his own
    1 point
  30. @Sysm deserves the pizza because he's real.
    1 point
  31. @Saiyan I nominate him bc fat
    1 point
  32. Got suspended for mooning a car that was following our bus in grade 8 coming back from a school trip. Car followed us an hour after i did it back to the school, it was the grade 7 teacher smh.
    1 point
  33. It's a cost of business. We do it because PayPal also has a failed dispute system that allows for chargebacks. At least with friends and family there's a little more security. PayPal isn't an upstanding company, but is only used because it's the biggest and has a lot of connections around the world. That being said, every time I send as friends and family I understand the risk involved.
    1 point
  34. Prayer flick only turns on prayer and doesn't ever flick when fighting Infernal Mages for some reason.
    1 point
  35. im getting banned as I type this. lol
    1 point
  36. As a HUGE fan of your perfect fighter script, I was wondering if I could give this a try?
    1 point
  37. You're forever in our hearts We love you fren
    1 point
×
×
  • Create New...