elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   SRO Coding Corner (https://www.elitepvpers.com/forum/sro-coding-corner/)
-   -   [Release][C#]zBot Source Code (https://www.elitepvpers.com/forum/sro-coding-corner/2199656-release-c-zbot-source-code.html)

zeteris 10/26/2012 18:33

[Release][C#]zBot Source Code
 
Quote:

Since I don't have time to keep this project alive ( also silkroad got really boring to me ), I decided to close this project and release the source of the bot.
Code may look messy, but that just how I code.

Maybe there will be some more motivated people who could upgrade this bot and make it even better !
Also there might be some usefull information of packet structure. So, thats it, I hope it'll help someone.
It's written in C# (Visual Studio 2010).

You can download it from [rsro] [Only registered and activated users can see links. Click Here To Register...]

You can download it from [vsro] [Only registered and activated users can see links. Click Here To Register...]

^AquaFresh^ 10/26/2012 18:42

Awesome! I've started writing bot in vb.net. It'll help me a lot. Big Thanks.

zeteris 10/26/2012 18:50

Quote:

Originally Posted by ^AquaFresh^ (Post 19391231)
Awesome! I've started writing bot in vb.net. It'll help me a lot. Big Thanks.

Good luck ! Also today or tomorrow gonna release my emulator source (sro_open client), also I'll check if I have any other usefull sources.

[Snow] 10/26/2012 23:42

can u upload it again with another mirrors .
i got error with mediafire m, ty alot :)

Th3K1nG 10/27/2012 09:57

limit for this file has been reached ...

zeteris 10/27/2012 11:43

Uploaded to MultiUpload.

[Snow] 10/28/2012 00:28

thanks alot bro :)
very helpful

muhand12 10/28/2012 02:11

Simple question brother, what do I have to update in order to make it work with the latest version of the game? and this is for Rsro right?
thanks!

zeteris 10/28/2012 09:42

Quote:

Originally Posted by muhand12 (Post 19413500)
Simple question brother, what do I have to update in order to make it work with the latest version of the game? and this is for Rsro right?
thanks!

Yes, it's for rsro. You only need to edit version in server.cfg file and it will work ( well it should work, it does for me).

Added [vsro 1.188]zBot source code. Check first post.

muhand12 10/28/2012 16:36

well I apologize bro :) but I am really beginner with those stuff, so I apologize again!
I actually have server.ini and not server.cfg
this what it contains
Quote:

[Server]
NAME=Russian
IP=212.24.57.34
PORT=15779
LOCALE=40
VERSION=50
PATH=C:\Program Files (x86)\Silkroad\SRO_Client.exe
and the version it says "50" so I am a little bit wondering about this!
Thank you so much in advance if you can help me with this :)

and a general question, is it possible to make it work on Sro?

zeteris 10/29/2012 10:22

Quote:

Originally Posted by muhand12 (Post 19422939)
well I apologize bro :) but I am really beginner with those stuff, so I apologize again!
I actually have server.ini and not server.cfg
this what it contains


and the version it says "50" so I am a little bit wondering about this!
Thank you so much in advance if you can help me with this :)

and a general question, is it possible to make it work on Sro?

Just check rsro version and put it into server.ini, thats it. Also this package contains source code of bot, so it can be adapted to every sro.

martynas123boxter 10/29/2012 12:04

Zeteris you are my hero !!!!

fox564 10/29/2012 13:01

thanks,
i will use some codes from your bot & i will give credits to you in the next version.

muhand12 10/30/2012 05:38

Quote:

Originally Posted by zeteris (Post 19433977)
Just check rsro version and put it into server.ini, thats it. Also this package contains source code of bot, so it can be adapted to every sro.

Thank you so much bro :) I will do my best to make it work with Sro!
I actually did and it launches but at 7K ~ 12K memory it just goes off right away! so I am guessing that I am doing something wrong!

detCode 10/30/2012 10:45

your release works fine on debug folder. When i run with source code, bot crashing closing bot form

idk why something wrong *.*

did you break some codes?

lukas2abc 10/30/2012 11:07

Quote:

Originally Posted by detCode (Post 19449029)
your release works fine on debug folder. When i run with source code, bot crashing closing bot form

idk why something wrong *.*

did you break some codes?

is it the System.InvalidOperationException:"Cross-thread operation not valid: Control 'btn_ok' accessed from a thread other than the thread it was created on."
?

If yes this is "normal". you can compile it and then run it from debug/release folder. Maybe you there is a setting in VS but i dont know it.

-lukas2new

detCode 10/30/2012 11:59

Quote:

Originally Posted by lukas2abc (Post 19449271)
is it the System.InvalidOperationException:"Cross-thread operation not valid: Control 'btn_ok' accessed from a thread other than the thread it was created on."
?

If yes this is "normal". you can compile it and then run it from debug/release folder. Maybe you there is a setting in VS but i dont know it.

-lukas2new


yea thanks

and gz for hack 127.0.0.1 :P

lukas2abc 10/30/2012 12:52

Quote:

Originally Posted by detCode (Post 19449756)
and gz for hack 127.0.0.1 :P

Thanks!! It took me months to break the security but i finally i got it haha

muhand12 10/30/2012 19:10

Oh there we go, I got it working with Sro-R and Sro
but now the problem is when I log in, it actually gets all my info correctly except the following: (x, y, inventory items, skills, and I can't set the position) do you have any idea why?
I mean it gets, my exp, gold, lvl, etc... but not what I listed above!
Thank you so much!

zeteris 10/30/2012 19:31

Quote:

Originally Posted by muhand12 (Post 19456812)
Oh there we go, I got it working with Sro-R and Sro
but now the problem is when I log in, it actually gets all my info correctly except the following: (x, y, inventory items, skills, and I can't set the position) do you have any idea why?
I mean it gets, my exp, gold, lvl, etc... but not what I listed above!
Thank you so much!

CharData packet (3013) is different in sro-r, you need to parse and update the bot yourself.

muhand12 10/30/2012 19:36

aha I see, well thank you so much! I really appreciate it...

One more question :) is iSro CharData packet different as well? because when I logged in with iSro it still didn't get my skills, x,y, items and etc...

worldgs 11/06/2012 22:12

nice project

^AquaFresh^ 11/07/2012 14:31

Quote:

Originally Posted by worldgs (Post 19574974)
your release works fine on debug folder. When i run with source code, i have 8 warning zerk_bar ,exp_bar, mp_bar, hp_bar, Silkroad.zProgressBar so what should i do ?

Ingore it.

Darkness™ 11/10/2012 10:02

Hi, nice release, i need some help.

i changed every thing to make it work with Myth Online.

but there are no server in server list.

Myth online uses GATEPORT 40510, so i changed every 15779 to 40510.

what can be wrong ?


EDIT: using zbot vsro src.

zeteris 11/10/2012 12:02

Quote:

Originally Posted by Darkness™ (Post 19622346)
Hi, nice release, i need some help.

i changed every thing to make it work with Myth Online.

but there are no server in server list.

Myth online uses GATEPORT 40510, so i changed every 15779 to 40510.

what can be wrong ?


EDIT: using zbot vsro src.

Myth online changed some opcodes, so you need to update them.

nesrelshark 11/10/2012 18:12

There isn't any documentation please?

far3on 11/29/2012 11:50

can anyone tell me Config for isro
cause i get C8 when i try to login any server of isro

tarek1500 11/29/2012 15:03

how to Analyze 0x2114 packet , plz

far3on 12/06/2012 19:25

Quote:

Originally Posted by muhand12 (Post 19457342)
aha I see, well thank you so much! I really appreciate it...

One more question :) is iSro CharData packet different as well? because when I logged in with iSro it still didn't get my skills, x,y, items and etc...

can u tell me Config for isro because i get C8 when i try to login

daftones 12/09/2012 06:22

can someone re-upload it in medifire plzz..

tarek1500 12/12/2012 22:36

Quote:

Originally Posted by daftones (Post 20081024)
can someone re-upload it in medifire plzz..

rSro [Only registered and activated users can see links. Click Here To Register...]
vSro [Only registered and activated users can see links. Click Here To Register...]

frogi55 12/18/2012 11:41

Can anyone tell me what i have to change to make it work for sroR please ?
I always get the C8 error when trying to log in

blackout069 12/19/2012 15:23

Why i cant connect to any silkroad server (vsro) it open the client but dont load it :D
CL also not works

VoldeMorted 12/21/2012 18:30

is this bot able to run on the original sro servers?

or will we be able fix it so that it does?

ikar59 01/03/2013 19:25

[rsro]
Excuse for my English
DataGenerator doesn't create files as in a bot.
Zeteris can lay out normal DataGenerator?
for bot up-dating

BackEnd_1 01/05/2013 09:17

Reupload plz zBot for rSRO.
thx

martynas123boxter 01/28/2013 16:56

Guyz, can this Source can work with Official sro? if yes, how to make it work?:D

12345armin12345 01/28/2013 22:23

Well, I know what to do to run that but on rSro and vSro... and I'm so close to run it on iSro too, it alrdy log me on with bot on iSro, load some data, got some problems cuz different packets, cuz that bot is generaly for russian silkroad...if is here any coder or "smart-head" add me on skype: topic118, to solve this problem together ^^

mss29 02/03/2013 19:30

how to working auto parser with "sro_client.exe" -_-

hs blocking.

Shark112 02/12/2013 22:17

Zeteris, hi! Help me. Bot didn't see 100 + lvl character (skill, storage, name, have dc after tp). Where should I make changes? rsro Thanks


All times are GMT +2. The time now is 09:03.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.