You need to use the Complete.bat file, just nvm, I'll uypload new batch files to make it easier on you
Printable View
Lol freddy. Looks like everyone just wants to use the bot not help you build it :P
Looks waaayyy cool though. Release to some of us first to build up a nice script base. And then do like SS did in the beginning and charge per month for it.
And then you become a millionaire and share some of the goldz with me.
O nah im just saying.
Dont be asking omfg how to compile, wheres the run button etc just for now. Considering there isnt much you can do with it just yet :)
O and sorry king. It wasnt actually aimed at you.
Well, I'm currently looking over the code to familiarize myself with it. It'll probably take me a while.
Anyway, when I try to run the injection version of genesis, I get an error. The reflection version works just fine.
Here is the error log generated:
Code:#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (safepoint.cpp:558), pid=2372, tid=6640
# Error: Deadlock in safepoint code. Should have called back to the VM before blocking.
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00b96800): JavaThread "main" [_thread_in_native_trans, id=6640, stack(0x00030000,0x00130000)]
Stack: [0x00030000,0x00130000]
[error occurred during error reporting (printing native stack), id 0xe0000000]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x02defc00 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=6900, stack(0x04740000,0x04840000)]
0x02dcb800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2500, stack(0x03fc0000,0x040c0000)]
0x02d63800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=7364, stack(0x03dc0000,0x03ec0000)]
0x02d41800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5684, stack(0x03410000,0x03510000)]
0x02d3b400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5184, stack(0x03310000,0x03410000)]
0x02d39c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=4844, stack(0x03210000,0x03310000)]
0x02d38800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7924, stack(0x03110000,0x03210000)]
0x02d33800 JavaThread "Finalizer" daemon [_thread_blocked, id=7052, stack(0x03010000,0x03110000)]
0x02d2f000 JavaThread "Reference Handler" daemon [_thread_blocked, id=8136, stack(0x02f10000,0x03010000)]
=>0x00b96800 JavaThread "main" [_thread_in_native_trans, id=6640, stack(0x00030000,0x00130000)]
Other Threads:
0x02d2d400 VMThread [stack: 0x02e10000,0x02f10000] [id=7316]
0x02d4bc00 WatcherThread [stack: 0x03510000,0x03610000] [id=2908]
VM state:synchronizing (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00b955e0] UNKNOWN - owner thread: 0x02d2d400
Heap
def new generation total 960K, used 362K [0x22990000, 0x22a90000, 0x22e70000)
eden space 896K, 33% used [0x22990000, 0x229daba0, 0x22a70000)
from space 64K, 100% used [0x22a70000, 0x22a80000, 0x22a80000)
to space 64K, 0% used [0x22a80000, 0x22a80000, 0x22a90000)
tenured generation total 4096K, used 655K [0x22e70000, 0x23270000, 0x26990000)
the space 4096K, 16% used [0x22e70000, 0x22f13ec8, 0x22f14000, 0x23270000)
compacting perm gen total 12288K, used 991K [0x26990000, 0x27590000, 0x2a990000)
the space 12288K, 8% used [0x26990000, 0x26a87e28, 0x26a88000, 0x27590000)
ro space 8192K, 63% used [0x2a990000, 0x2aea3ae8, 0x2aea3c00, 0x2b190000)
rw space 12288K, 53% used [0x2b190000, 0x2b7f83f8, 0x2b7f8400, 0x2bd90000)
Dynamic libraries:
0x00400000 - 0x00470000 C:\Documents and Settings\Administrator\Desktop\Genesis\genesis.exe
0x7c900000 - 0x7c9af000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\advapi32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\comctl32.dll
0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
0x77120000 - 0x771ab000 C:\WINDOWS\system32\oleaut32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\version.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476c000 C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll
0x47fb0000 - 0x47fe6000 C:\Program Files\Common Files\Microsoft Shared\Ink\tiptsf.dll
0x74c80000 - 0x74cac000 C:\WINDOWS\system32\OLEACC.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x6d800000 - 0x6da56000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x7c360000 - 0x7c3b6000 C:\WINDOWS\system32\MSVCR71.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre6\bin\hpi.dll
0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
0x03610000 - 0x03619000 C:\Program Files\windows journal\nbmaptip.dll
0x5c2c0000 - 0x5c300000 C:\WINDOWS\ime\sptip.dll
0x10000000 - 0x10011000 C:\WINDOWS\IME\SPGRMR.DLL
0x03650000 - 0x03915000 C:\WINDOWS\system32\xpsp2res.dll
0x727d0000 - 0x727dc000 C:\Program Files\Common Files\Microsoft Shared\Ink\tipcomponentsps.dll
0x60e70000 - 0x60e83000 C:\WINDOWS\system32\msctfp.dll
0x6d000000 - 0x6d138000 C:\Program Files\Java\jre6\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x6d220000 - 0x6d274000 C:\Program Files\Java\jre6\bin\fontmanager.dll
0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\shell32.dll
0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x16080000 - 0x160a5000 C:\Program Files\Bonjour\mdnsNSP.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\Iphlpapi.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x04190000 - 0x041d6000 C:\WINDOWS\system32\MSAFDLsp.dll
0x78050000 - 0x78120000 C:\WINDOWS\system32\WININET.dll
0x041f0000 - 0x041f9000 C:\WINDOWS\system32\Normaliz.dll
0x78000000 - 0x78045000 C:\WINDOWS\system32\iertutil.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
VM Arguments:
java_command: <unknown>
Launcher Type: generic
Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\;C:\WINDOWS\system32;
C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn;
C:\Program Files\ESTsoft\ALZip;C:\Program Files\MATLAB\R2008a\bin;
C:\Program Files\MATLAB\R2008a\bin\win32;C:\Program Files\TortoiseSVN\bin;
C:\Program Files\Subversion\bin;C:\Program Files\QuickTime\QTSystem\;
C:\Program Files\Java\jdk1.6.0_10\bin;C:\Program Files\ESTsoft\ALZip
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 2097151k(1991228k free), swap 4194303k(4006964k free)
vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1
time: Sun Jan 11 19:25:17 2009
elapsed time: 5 seconds
Yeah, there's some sort of problem with it. Freddy's working to try and figure it out, I believe.
Each time I run the complete.bat It deletes the .exe and it doesnt finish what its doing, because access is denied. Yes I am running shitty vista. Ill try this on my xp comp.
The injection loader is currently broken, I'm still working on resolving the issue.
Glad to know that it's not me doing something horribly stupid and not realizing it.
Well, that's a good sign. Pity that I've realized, after reading through everything, that my knowledge of Java is insufficient to contribute anything at this point in time. Time to read over lots of tutorials and crack open my Java textbooks once more.
Alright, I shall try in Delphi 7 then. I'd really like to get involved in this, after exams are finished, though :)
I've almost got it done, well, the problem is solved, but the signed loader is not working yet, I'll still need some time to get that working, but the unsigned loader works as it did before again :) I'll be committing soon, also did some changes, you'll have to build the injection loader with the delphi 7 ide, then in root run the batchfile for injection, it'll create a folder named Genesis in the root containing everything needed to run injection
EDIT: The changes have been committed, thanks to Method's jar I can greatly increase the abilities of the injection loader now, so that's what I'm working on at the moment.
Alright, so what is there to do now? Check-list?
Its reallly nice compared to rsbot.
All the get animation and so on.
Atm I'm hoping someone will take care of working on the java part, seeing I'm a bit occupied with the delphi side of things :) It's in need of a virtual mouse and keyboard and it should be able to block userinput + preferably add a lag switch to the drawing or something to reduce cpu consumption... Also needs tabs, the original build had them, but I removed them to ease the development, I'll be re-adding them soon though
Pity the Robot class takes control of the keyboard and mouse. That would've made things easier.
Time to go digging through the Javadocs for possible solutions.
Hmm a mouse listener?
Mmm:http://java.sun.com/javase/6/docs/ap...awt/Robot.html
Yeah.
Well I found the bot called cherokee by moparisthebest. It has alot of stuff we can use from it.
For an example its FocusManager:
Should we take from it? Or make our own code.Code:public class FocusManager {
public static void giveFocus(Component target) {
FocusEvent fe = new FocusEvent(target, FocusEvent.FOCUS_GAINED, false);
target.dispatchEvent(fe);
}
public static void loseFocus(Component target) {
FocusEvent fe = new FocusEvent(target, FocusEvent.FOCUS_LOST, true);
target.dispatchEvent(fe);
}
public static void readyForInput(Component target) {
if (!target.hasFocus())
giveFocus(target);
}
}
Well, we obviously shouldn't just take code and try and pass it off as our own. But for something that simple, I don't see why we can't incorporate it into what we use.
Looking over it, I say we use it. It has what we need in terms of mouse and keyboard, but nothing else.
It generates its own MouseEvents and KeyboardEvents, which was what I was just looking into.
I was hoping we could write the code from scratch rather than just copying it from someone else... + cherokee is licensed under gpl and genesis lgpl.
People who are interested in helping, go learn the basics of Java (Google), so that you've got the syntax and shit down, then if you need to do stuff you can do it by just checking the functions from the API or googling "How To...", because you're not the only one in the world wanting to do it, and you don't have to remember the whole API...
I've updated Reflection, it now loads all hooks from a file, new hooks can be added by adding to this file, the file is parsed by a new included commandline tool from Method's updater output. Reflection now has a general interface to access the fields which makes creating classwrappers a lot easier. Also it works for #527 now. (Injection already did)
I'm a little late, but good luck to all working on this project. =]
Is this dead now or...?
Freddy1990 you should make a nice GUI Reflection bot. Since it is less detectable then all those other "Client-Hacking" bots.
He said it was Rsbot in Delphi, Windows only.
I think I could help you.
I have experience making RS Private Servers and Clients and I also do some RSBot scripting once and a while.
I understand Delphi and know how to code a bit.
Here is a compiler that i made that automaticly find the JDK when you run it so you dont have to alter anything:
http://trilez.comuf.com/downloads/do...ezcompiler.bat
People are having troubles so i just thought that could help some people.
EDIT: Oops I thought this was current lol
Actually I've decided to take this project another way, hoping to be coding this along with SCAR 4, the Idea will be to create a stand-alone java bot and then create an interface which will let SCAR 4 create instances of the bot and control them 100% reflection based or using color, kind of like a rly extensive version of SMART
So SMART won't be needed with SCAR 4+?