kooldude888(12-17-2012)
This sounds like alot of talk from people who do not want there golden egg taken away. I know what I am doing. So I may slow down the account account market , so what? I have been hacking this game for 14 years and theres never been any problems with the market before cracking accounts.
And yeah it will take a while but so what , the problems not going to fix itself magically it needs fixing , like it or not.
Last edited by DarkByte; 12-17-2012 at 06:39 AM.
kooldude888(12-17-2012)
@(you need an account to see links)
Why use PHP and Python?
Why not stick with one the whole way through?
If you get stuck or need a wall to bounce ideas off, you can feel free to talk to me anytime, I've been known to have a few good ideas of mine over the years, though never really worked with any python. I've made enough waves that TNT fought back... =[
What are your thoughts on the legal aspects of doing this at such a large scale? The legal ramifications stopped me taking this too serious.
=====
My favorite trick while it lasted... I was farming item data for all images in the game, from any method I could find. The general store came out and I substituted the item id in the ajax request hoping to find...
"[Image] Item X has been sold out!".
What I found instead however was...
"[Image] Thanks for buying Item X"
I thought the message must just be wrong, however to my surprise, the item was in my inventory. I tried the ID of a retired item and the result was the same.
It wasn't exactly free, but was the item's "recommended price" which for many retired or difficult to obtain items is very low.
The result was quite a lot of real $, but that's another story...
If my post helped please send $2,000,000 via PayPal!
Hey I use python on my servers but php as the frontend to manage it all , that way when I come to rent the servers out (each person gets there own server that they control) people wont have access to my source codes as they would if I just gave them full server access and let them run .py files.
Compiled .py files are to easy to decode and I would not let them have acess to it anyway I would loved to of released my habi bot but if its gets used on a large scale there servers will just die again so its pointless.
The legal aspects:
Im cheating not using bugs or glitches in the current version , just imagine a bot that plays everything on neopets possible to earn np for you 24/7 , this is what my bot does. Its not doing anything shady , just automating there entire system. Game hacking is a grey area is it illegal to cheat in a game if you are not actually commiting a crime to do it? I have seen cases against wow hackers but if you read into it they usually just get charged for all the money they make and do not declare , not for any actual hacking crime.
When I see people selling pincracks , hacked accounts openly I am not to worried about it to be honest.
Last edited by DarkByte; 12-17-2012 at 08:25 AM.
@(you need an account to see links)
I am and was assuming that you'd not give them access to the server itself, just a web interface to use it.
> Signin
>> Add Account(s) / Select Account
>> Select account automated features and options
>> Freeze account automation
>> Save & Go
(Obviously not in that particular messed up order, but just some basic bits.)
Keeping code safe from prying eyes is always a major concern.
What I actually meant to ask was why not write the actual bot part in PHP too? Is there a particular advantage to using python for it? I've personally always done all mine in total PHP. Well, I did some in JAVA, but.. no...
If my post helped please send $2,000,000 via PayPal!
I have never used php in that way I have made games with it (a full blown mmorpg) , facebook api games too and curl bots in the past.
With Curl I always found servers did not like you running them , and they seemed to be laggy anyway. The more resources I save the more accounts I can run at once and python on a linux server runs sweet. Also going about random refresh times , using curl to download captcha images ect it just gets to messy for me especially with 50 accounts per server or so running. It is to restricted for me to do it like that I would rather a real program that actually runs on the server , python is not my language of choice I made a few things in the past with it (probably about 4 releases) but linux servers cost half that of a windows server and python runs sweet in linux. so to save money I shifted from vb.net to python.
Edit also , I have a basic account manager , this itself is a python script that runs on a chron....
(sql pass is for localhost testing only)#Program manager s- RareDareDevil
import urllib2, re
from cookielib import CookieJar
from urllib import urlencode
import urllib
CJ=CookieJar()
import threading
import sys
import time
import random
import ConfigParser
import os
import sys
import time
import subprocess
config1 = ConfigParser.RawConfigParser()
from classes.dailys import dailys
from classes.habi import habi
from classes.sqllink import sqllink
from classes.NeoAccount import NeoAccount
from classes.InventoryManager import InventoryManager
itemcol=[]
acc = NeoAccount("blank","blank")
newsql = sqllink("localhost","root","","neopets",acc)
itemcol= newsql.getsettingall("loginstate,username,password ")
for x in itemcol:
print x
if x[0] == "Idle":
theusername =x[1]
thepassword = x[2]
acc = NeoAccount(theusername,thepassword)
if acc.login()[0] == False:
print "Invalid Login"
sql = "DELETE FROM neoaccounts WHERE username='%s'" % (theusername)
newsql.insertsql (sql)
sys.exit() #Exit and redo next loop
#Make sure this login is valid (not checked before)
for x in itemcol:
print x
pids= [pid for pid in os.listdir('/proc') if pid.isdigit()]
accfound=0
theusername =x[1]
thepassword = x[2]
for pid in pids:
strname = open(os.path.join('/proc', pid, 'cmdline'), 'rb').read()
if strname.find(theusername) > 1:
accfound=1
if accfound == 0:
cmd = "/usr/local/bin/python2.7 /root/bin/client.py " + theusername + " " + thepassword
subprocess.Popen(cmd, shell=True)
Slimmed down version , basically when I add a account via my account manager (php) it is given the state "idle" , this above script runs every 5 minutes , if its finds a "idle" entry it will log the account and perform checks on what avatars ect the user has (it sets itself targets , coming soon) then it sets the state to logged in
If the account is bad for now it just removes the account on badlogin. Then when all is setup and good to go it scans all currently open processes. that are running on the server. If no bot is found for the current account it launches one. It all needs alot more code yet...
Last edited by DarkByte; 12-17-2012 at 09:25 AM.
Celestial (12-19-2012)
why the hell was I tagged in this thread??
Reemer (12-17-2012)
I've never found it to be laggy or that servers didn't like it at all.
Though your point about using 50 accounts I can relate to, PHP does lack multi-threading capabilities, which would make my life much easier at times.
If my post helped please send $2,000,000 via PayPal!
DarkByte(12-18-2012)
I may be talking out of my ass its been about 11 years since I last tried something similar .
I don't think CURL is such a problem on it's own, or PHP. I don't think in general they'd use up much more resources than python in any scale that matters.
However if you wanted to run 50 accounts concurrently, you could not do this (well) with PHP the way it is now. Since PHP doesn't have support for multi-threading, you'd have to run an instance of the PHP script through PHP.exe once for each account.
One execution should take about 4-6MB of ram, which isn't a whole lot, but if you multiply that by 50 accounts we'll start seeing some issues.
Yes, we could do them in a chain or using curl_multi_request(), but it's never as good as true multi-threading.
But for 1 or 2 account commands, or a simple bot running on your PC, PHP is fine and I love it.
If my post helped please send $2,000,000 via PayPal!
DarkByte(12-19-2012)