• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Chriso

#1
###If GameList not empty###
(DWORD)  14000000 |Always 0x14? Maby its game version (Zero if GameList is empty)

^ This is actually the number of games returned in packet 0x09
#2
Very interesting, great job on this iago, doesn't seem as complicated as everyone once thought!

Just two problems I am encountering while trying to compile this in Java, 1 you haven't included the util.Buffer source code; and 2 WardenSHA1 is missing...
#3
Quote from: MyndFyre[vL] on December 18, 2007, 11:04 AM
One other thing - if you wanted 1002 / 1000 to come out as 1.002, you'd really need to divide 1002 / 1000.0.  Otherwise, like most other languages, the compiler will infer integral division, which will result in an answer of 1. 

Haha you're right, my bad... Been doing some VB6 programming a bit lately, getting me back into bad habits ;\
#4
You could try setting it to 1000 - 100000 then dividing by 1000. For example: 1002 / 1000 == 1.002
#5
This guy has a heap of bots available for uploading:
http://bnetdev.net/very-lot-bots-t832/index.html
#6
They weren't resizable when I used the code at vbforums.com, but when I tried cacheing the RTF code and replacing the phrase with the cached smiley it was resizable. Not sure what happened, the entire RTF code looks the same in both circumstances...
#7
It works, but it also takes a while to process.  Since it has to convert a picture to its byte representation, create a temp file, write the data, close the file, open the file, read the data, close the file, delete the file, then replace TextRTF with a new modified one EVERY time.  Therefore the more data that is in the RTB and the more smileys that are used, the longer this function will take to process.
#8
Well that's a pain, I'm assuming the RTF format didn't support it in the period during which the RichTextBox 6.0 control was created by Microsoft? Which is version RTF 1.5 (or lower) I think...
#9
Hi everyone,

In the program I am writing I am attempting to implement a 'smiley' feature where someone says a particular phrase and a picture representation is shown instead of the text. For example ; ) (without space) == ;)

So far the images are showing up fine, but when you click the image it allows you to resize the BMP to arbitrary dimensions.

Is there a way to gain access to the properties of these images at run time to disable this behaviour? Or is there any way to redirect/ignore the click event on these images?

I've successfully tried both the 'clipboard - paste' and 'OLEObjects.Add' method to print on the RichTextBox but both behave the same way when you click an image. Locking the text box has no effect either.

Any clues would be greatly appreciated.

Cheers,
- Chriso
#10
Battle.net Bot Development / Re: MCP_MOTD
December 01, 2007, 12:10 AM
Yeah that worked, seems stupid that you have to request the MOTD each time you logon or change character... Although I guess thats how the client acts by not showing the chat window until you have logged in...
#11
Battle.net Bot Development / MCP_MOTD
November 30, 2007, 11:46 PM
When should you request the realm MOTD? I just got disconnected for requesting it on MCP_STARTUP (S->C)
#12
Andy, you forgot to include the values for FindStr it will just error... :P
#13
If it didn't it would cause problems with gaming (one would think) since newer versions have exploits (crashes, hacks) fixed while others don't...
#14
Quote from: Joex86] link=topic=17165.msg174881#msg174881 date=1195298953]
Out of curiosity, what could anyone possibly want with old hash files?
Documentation, downgrading private servers (for hacking or exploits), and of course theres always comparisons between old files with new to find similarities or patterns.
#15
Battle.net Bot Development / Re: EID_ShowUser
November 13, 2007, 10:28 PM
Quote from: brew on November 13, 2007, 08:14 PM
Or when there's some flag update ;) (doesn't necessarily mean just gaining/losing operator status, squelch/unsquelch, users gaining speaker flags, etc)
Yeah it was just an example.

Another little thing you might want to support is void viewing, which is done by sending /unignore [yourname].  It will send an EID_USERFLAGS event for each user in The Void and you will need to add each user to the listview.