• Welcome to Valhalla Legends Archive.
 

D2GS Open Source [VB6]

Started by Ringo, June 22, 2005, 10:48 PM

Previous topic - Next topic

Ringo

D2GS Open Source.zip

Its fairly buggy and messy, and i hope alot of people put it to GOOD use. (it only logs on D2XP, i was to lazzy to add D2DV as well)
Iv added 3 very simple ingame chat commands and a follow player thing to give people some idea in witch way to explore.
Iv parsed out about 3 packets and about 10 packets in the main parser, but it could have done with alot more time spending on it :(

The 3 things iv added for D2GS are follow another player (0x0F), a debugging thing and a bot master thing (so a d2 client can use its 3 shitty commands)

I have how ever parsed enough packets for it to be fairly silent when idleing in game, and every so offten some unparsed messages will pop up.
As for as it is at the moment, it can create new chars, maintain the char list, join/create games/pass games on n/nm/h and set total player numbers as well as the small bit of D2GS stuff.
So as it is it can be used to create games and chat with people who join; mule; and leave the game.

Anything that you dont understand about the D2GS stuff, and the unknown packets, see here
Anything you dont understand about the other stuff see here
Anything u dont understand about the code in general, PM me and i will try and help.

This topic is for public open research, there for anyone (on topic) can contribute any of there findings; ask any questions; post verification that a packets format is correct (tryed and tested); post new packets so others can help verify it/them faster and anything else that goes with it.

Feed back is muchly needed!

Good luck!

[edit] made link more visible

UserLoser.

Schat &H91FBB6, "Joined " & Message
Schat &HD97385, Message

Wow man, use constants, wtf

Hdx

Wow... My brain hurts just reading that code.
Honestly, you make me look like I have good coding habbits. -.-
But good work on the research.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

PaiD

Hm. I hope this doesnt disappear.  ::)

Ringo

lol
When i said i started it a few days ago, i wasnt joking.
I didnt make a quick typed up bot for open source to impress with my code, seems the way i made it shows no sign of effort.
Logon it and join/create a game, it will flash some frames around and show u decompressed data!
And for the record :P iv never once made a bot in that way ever, and i dont expect i ever will again ;)
Its nice to see you both tolk the time to download it to judge me coding standerds, and asume i was trying to write a bot that was both good and impressive. :P

Quote
Public Function BNCS_PARSER(Data As String)
On Error Resume Next
'all needs doing properly
Says it all really :P
(Also notice i didnt even put my name in it? :P)

Giving my best work away would be very stupid of me. ;)

QwertyMonster

I was the first one to get it, i like it. :P

Good work Ringo! Now lets see OnlyMeat dowload it and rip it ;)

Hint the ";):-\

Archangel

Really nice bot, and really nice source code, it just show the way of using D2GS.
I'm not an Addict.

QwertyMonster

When Onlymeat's post gets deleted, i will laugh. Well nice bot both of you.

Ringo

Quote from: OnlyMeat on June 23, 2005, 09:46 AM
Quote from: [Unknown] on June 23, 2005, 01:57 AM
Now lets see OnlyMeat dowload it and rip it ;)

I take it you haven't seen my clientless bot then ;):-
http://mercury.walagata.com/w/ddjl/AutoParty.png
http://mercury.walagata.com/w/ddjl/FollowCmd.png
http://mercury.walagata.com/w/ddjl/HelpCmd.png
http://mercury.walagata.com/w/ddjl/StashInv1.png
http://mercury.walagata.com/w/ddjl/StashInv2.png
http://mercury.walagata.com/w/ddjl/Visualize.png

I did that about a year ago, haven't really touched much since then apart from giving the UI a rework.

The last code line count was 78k for the project + tools:-
http://mercury.walagata.com/w/ddjl/LineCount.png

What have you written?

Not bad :)
Altho im not sure what im looking at, are the d2 screen shots you on d2 useing the bot? or the bot controlling d2?
And wheres the onscreen clicky stuff? :P
The GUI is none existant! :P


QwertyMonster

#9
Exactly, its like a SC Bot, but without a GUI. Just commands, Very stupid if you ask me, a gui is handy. :P

Edit: I wrote some homework last night, thats about it. Planning to program my sc bot later.

Ringo

I tihnk i now know the differance between a clientless bot and a client bot!
A clientless bot has a fantastic plastic GUI? :P

I can see you have put alot of time into it tho.
Can you 'play' on it as such? like move around, click things, or is it all script controlled? (automatic)

It looks pritty nice tho (apart from the Tic Tac Toe style Stash) ;)

Warrior

Nevermind them, nice job OnlyMeat.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

Blaze

You have an interesting programming style Ringo. ;)

Nice job both of you. :)
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

Ringo

Quote from: Warrior on June 23, 2005, 06:13 PM
Nevermind them, nice job OnlyMeat.
I wasnt making fun out of his bot, i generaly like plastic GUI's! :)


Quote from: Blaze on June 23, 2005, 06:33 PM
You have an interesting programming style Ringo. ;)
That might have been the lack of sleep :(

Warrior

Oh well, good job to everyone who contributed to this project.
Good to see work like this being done for the benefit of others :)
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?