PDA

View Full Version : Leaked gunz bot source code.



dexgod
1st June 2007, 23:26
You got to love moderators: It's my code, i'm just posting it officially so people won't get the leaked source code from untrusted ends.

Here you go, this is the source code that got leaked, it's 100% functional.

-----
Well, veldi is very flexible, if this is the first time you will run it, you have to know a few things:

- What is veldi?
Veldi is a fully functional (Yet not finished) GunZ bot that emulates the whole communication gunz does
with the servers in order to be able to create user-specific functions protocol-limited only.

- What can it do?
Anything that the gunz protocol lets us do, which is pretty much everything.

- Commanding the bot.
There is two ways of controlling a bot, via console-text mode and by whispers.

The whisper mode is quite easy, you have the same commands as in the console-text mode, but you first need to
authorize yourself to the bot, to do that, you do (in gunz) /whisper <botname> !auth dexgod dexy
You should see the bot greeting you, after that, you can send commands to the bot by just whispering it and

starting the line with !
For example:

`/w triviabot !auth dexgod dexy`
`/w triviabot !join private dexgod's trivia bot`
`/w triviabot !trivia start gunz`
`/w triviabot !say Hey people!`


- How to join a channel
We will be using the command "join" for this purpose, it's quite easy really, all you need to do
is type "join <type> <channel name>", type being either "private", "clan" or "general". You need to know the type

of the
channel in order to join it.

There is also another thing called Aliases, which are for general channels, to avoid typing the whole name

("Expert channel 1 (For level 21 and over")
Those aliases will only translate easy words to complex names, such as:

EX1, EX2, EX3: Expert Channel 1,2,3 (Level 21 and over)
E1, E2, E3: Elite channels.
F1, F2, F3: Free channels.

For example, if you want to join Free Channel 1, you would do:
`join general F1`

To join a clan channel, Twilight for instance, you would do:
`join clan Twilight`


- How to join a stage
First of all, you should obviously join a channel, if you don't know how to do this, read the above text, it

explains it all.

After you joined a channel, you can type "stagelist (currently broken)" to see the stage list, and you can join a

stage by
just doing `join stage <stagenumber>`, for instance:
`join stage 1`

If it didn't tell you it was full or anything like that, it means you joined.

There is one thing that people don't realize when trying to join stages, there is two phases
1. Joining the stage
2. Joining the battle.

After doing `join stage <stagenumber> you will only be on phase 1, we need to enter the battle, to do that, we

do:
`startstage`


- Getting UIDs
It's quite simple to get an UID, we have the `getuid` command for that.

First, make sure you are in the same channel as the guy you're trying to get the uid from.
after that, just type `getuid <user>`

After we get the uid, it gets binded to a variable called `foundUid`, which will help us save the UID for

commands that
require it, such as `annoy`, `plvl`, `forcejoinclan` and so on.

- "Your friend is not online" message box
This is a malicious command, and should be treated with respect.

After getting the users UID (which is required, of course), you only type `annoy` to start spamming, and `stop`

to stop it.

- Triggers
Open up triggers.txt in the same folder, all the help you need is there.
After that, just make sure trigger switch is enabled by typing `triggers`, hit it until it's enabled obviously.

- The bot network
Veldi bots can talk to each other to make awesome things by using a technology i implemented in the later months

of development.
the command is `botnet`, and should be clear enough what it does when you type it.

Currently there is only one functional botnet command implemented, which is powerlevel (or mega-powerlevel).
You can connect two bots so they powerlevel each other.

There is two types of bots in a bot network: Slaves and masters.

To add a slave, you type `botnet add <user> 0`, to add masters you do `botnet add <user> 1`. Obviously 0 is

slave, and 1 is master.

After you do that, you connect two bots to the same server, and you connect them by typing in a master `botnet

connect <slave>`
Once it's connected, you can mega-powerlevel by just typing `botnet plvl <slave>`.

- the command `set`
`set` can help us modify the behavior of the program or even control the way it is going to act by just modifying

variable values.
One example of this is the peer_ variables (peer_clone_stick, peer_clone_flip and peer_clone_massive).

You can set variables to be true (active) by typing `set <variable> = 1`, and you can make it false (inactive)
by typing `set <variable> = 0`

For instance, if you do not want the bot to stick clones to everybody in the game, you can type `set

peer_clone_stick = 0`.

- Our own commands


There is about 85 commands as of today (The private, updated version has even more) and i can't really give such a

long help for every
single one of it. I just gave you a few tips and hints on how to use the bot so you can start using it without

being completely confused.

Remember, for any further assistance, you can always just type `help` on the bot, every command has a help line on

it.

- Diego bauche -> dexgod@genexx.org

Lisa
1st June 2007, 23:38
Guess that was a misunderstanding then,

approved. ;x

Ping_pong
2nd June 2007, 12:52
:tired: Leaking your own code? That makes sense...

Lisa
2nd June 2007, 13:32
Ping_pong, it was leaked by someone else so he's officially releasing it now.

axiscyclone
2nd June 2007, 14:38
wow.. this is uber complex cant u at least say what program tatz needed to compile it?

kingdelboy
2nd June 2007, 16:25
And what exactly does this do?

nicwhitts
2nd June 2007, 21:03
*EDIT* is PATH the system vaiables path ?

getting aload of c1083 errors....unable to open source file .. i might be able to figure it out..im really nooby

Ping_pong
3rd June 2007, 01:49
Wow dude, you sure created some fine piece of "art" here.

I feel sorry for you that it leaked. All that time you wasted on creating this.

Re-Approved the re-attached file.

COMPILE AT OWN RISK!

woodcutterni
8th June 2007, 14:45
Would AutoIT3 complie this file?

Lisa
8th June 2007, 17:06
No.. don't even bother.

woodcutterni
8th June 2007, 23:38
Tried every program I could get my hands on, this file is way too complex for me to even think of how to compile it xD

Anyone know any programs to compile this with?

pk3r0wn3r
9th June 2007, 02:28
And what exactly does this do?

i dont not know joining channels and games, i cant do that with my mouse...