• 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

Topics - l2k-Shadow

#1
Battle.net Bot Development / WarCraft III v1.24
August 04, 2009, 03:24 PM
WarCraft III v1.24
Verbyte: 0x18 (24)
Change log:

PC WORLD EDITOR CHANGES

- Added new JASS hash table functions to replace the lost functionality from
fixing unsafe type casting.
- Hash Table - Save Item Handle
- Hash Table - Save Unit Handle
- ...
- Hash Table - Load Item Handle
- Hash Table - Load Unit Handle
- ...
- Hash Table - Get Handle ID

FIXES

- Fixed an exploit related to unsafe type casting that allowed users to
execute arbitrary code in maps.
- Fixed the JASS unsafe type casting exploit ("return bug").
- Fixed several World Editor crashes.


NOTE: Warden is currently disabled on both WarCraft III and StarCraft. I'm assuming this is because they're patching the offsets for the new war3 version... Let's hope they're not patching warden altogether.
#2
Fun Forum™ / Epic Noob - a must see
September 01, 2008, 09:05 PM
Please message this moron and tell him he's got a total of one brain cell.

ClanMMS: yo
ClanMMS: i'm learning C++
ClanMMS:
n00biee LoC 69: rofl
n00biee LoC 69: ok
ClanMMS: it's easy
ClanMMS: lol
n00biee LoC 69: yeah
ClanMMS: yo i got a question
n00biee LoC 69: no its not
ClanMMS: why won't this work
ClanMMS:    cin >> final;
   if(final == "yes") {;
      main(int argc,char *argv[])
   } else if(final == "no"){;
      return 0;
   }
ClanMMS: i used the main's same values lol
ClanMMS: but either way i declared final as a char
ClanMMS: char final[3];
n00biee LoC 69: cuz
n00biee LoC 69: u think C++ is easy
n00biee LoC 69: and u have no clue what char means
n00biee LoC 69: or what a char array is
n00biee LoC 69: so you can wipe your ass with that code
ClanMMS: ?
ClanMMS: are you fucking stupid
ClanMMS: a char is just like STRING
ClanMMS: fucking moron
n00biee LoC 69: no
n00biee LoC 69: it isn't
ClanMMS: i learnt half this language at fucking 12
n00biee LoC 69: but of course you wouldn't know that
ClanMMS: so go wipe your ass with that
ClanMMS: You learnt it at fucking 17
ClanMMS: so stfu
ClanMMS: don't fucking talk
n00biee LoC 69: i'm posting this in the fun forum on vL
ClanMMS: stfu, complete idiot
n00biee LoC 69: LOL
ClanMMS: good go post it
ClanMMS: It goes to show an idiot like you thinks hes all leet
ClanMMS: when he learns the language
ClanMMS: WAY past school
ClanMMS: Maybe i forget how to do comparisons of strings?
ClanMMS: maybe that?
ClanMMS: dumbass
n00biee LoC 69: you don't even know what a string is do you?
ClanMMS: yse
ClanMMS: yes
n00biee LoC 69: ok, define string for me
ClanMMS: store characters
n00biee LoC 69: how
ClanMMS: what you mean how
ClanMMS: you assign it
n00biee LoC 69: what's the format of a string
n00biee LoC 69: actually better yet
n00biee LoC 69: explain to me the difference between a string in C and VB
ClanMMS: shh
ClanMMS: shh
ClanMMS: Listen
ClanMMS: buddy
ClanMMS: Just because
ClanMMS: you had what
ClanMMS: 5 months
ClanMMS: of learning this shit
ClanMMS: i'm actually STARTING the language
n00biee LoC 69: more like 4 years
n00biee LoC 69: but whatever
ClanMMS: lol
ClanMMS: LOL
ClanMMS: 4 years?
ClanMMS: and your still a dumbass?
ClanMMS: WOW
ClanMMS: lol
ClanMMS: ok
ClanMMS: ok top shot
ClanMMS: don't hurt me
ClanMMS: please don't please
ClanMMS: i fucking beg you
n00biee LoC 69: naw i don't make money doing this or anything
n00biee LoC 69: that can't possibly e
n00biee LoC 69: be
ClanMMS: Because your bad at it
ClanMMS: You should go kill yourself
ClanMMS: ok?
n00biee LoC 69: kk
#3
Fun Forum™ / Old but classic
July 31, 2008, 05:59 PM
#4
General Programming / VB - C library error
March 12, 2008, 04:31 PM
So I compiled a C library in visual studio 2005 and everything was fine. However, on certain operating systems (windows server 2003) for instance, When my visual basic 6 application tries to call the dll, it pops up error saying that the library was not found - and yes it is there. I tried countless things to fix it such as moving the library to the system32 folder, installing all possible run time files i could think of, patching both the vs 2005 and vb6 compilers, etc... but it still doesn't work.  Again note that this error doesn't occur all the time, only on a few select operating systems and/or computers. Did anyone ever run into something like this before?
#5
General Programming / vps - using additional ips
December 30, 2007, 09:03 PM
this may be kind of a noob question but if i have a VPS with let's say 3 IPs... it uses only one of them to connect from to the outside. Does anyone know how I could make a program utilize the other 2 IPs so that instead of connecting from 12.13.14.15 to 200.201.202.203 i connect from 12.13.14.16 to 200.201.202.203 ... I tried binding the socket to the specific IP which I want it to use but to no avail...
#6
http://youtube.com/watch?v=FVbf9tOGwno

mm, we'll get it to work in this one!
#7
General Programming / Run a file from memory?
August 18, 2007, 10:57 PM
let's say i have a buffer that holds the contents of an executable... what would be the best way to map that buffer inside memory and run the exe which it holds, without writing it to a file?
#8
C/C++ Programming / C++ thread synchronization
June 30, 2007, 01:52 PM
in my program i have one thread which handles incoming data from the socket and one other thread which processes the data. the problem is that the incoming data thread is going faster than the processing thread and therefore calls the processing function before it has a chance to finish.. that results in the outcome to be shit. i need advice on how to optimally model the threading system. If i should implement a semaphore to only call the other thread when it gives an ok signal, or create another thread to process the data, or process the data in the same thread as where i call recv() on the socket.
#9
This is a little project I put together based off of the idea and code from TheMinistered's ExtraWork marshaller class.  Basically it allows you to call C/C++ dlls without the need to declare them and their functions first... it is very useful for plugins written in C but being called from VB. Thorough documentation on exactly how to call functions is included in the project, as well as example C dll to work with. Have fun. Comments/suggestions are appreciated.

http://www.instimul.com/fjaros/VB%20DLL%20Caller.zip
#10
Fun Forum™ / Lawsuits these days
May 29, 2007, 09:08 PM
http://yro.slashdot.org/article.pl?sid=07/05/11/1248219

cool, under a free-market system, a company is suing large corporations for NOT using one of their products and therefore breaking the law.

nice!
#11
Yes, while procrastinating on a school project, I finally decided to port this now that I have a greater understanding of C so I could actually understand the code and port it accordingly... Feel free to leave comments or suggestions, or ideas how to push VB in order to make this faster :P

clsCheckRevision.cls

EDIT: While VB is still an amazing language for small utilities, hopefully this will motivate people to consider moving onto better languages for larger and more demanding projects. Also I'd like to add that this code is extremely fast for VB due to the use of API instead of native VB when hashing files. Using native VB takes somewhere from 5-15 seconds longer.
#13
Fun Forum™ / BNET NERDZ
May 06, 2007, 01:03 PM
#14
So I just bought a new graphics card (GeForce 7600GS AGP 8x), reformatted my comp, and installed the latest drivers from NVIDIA website.. and I get crap color lines displaying over my screen like this:


any ideas..?
#15
Battle.net Bot Development / 0x26 last game key
February 23, 2007, 06:36 PM
For the record\game\0\last game key, the server sends back:

9817155 3780018076


Starcraft outputs: 10/26/2006 14:15 for the time last game was played, does anyone know how to convert the value into that time?
#16
C/C++ Programming / Reading Files
December 11, 2006, 11:53 PM
Ok, so I have a function using CreateFile() and ReadFile to read a binary file. Basically what i'm doing is storing length in the first byte of a chunk data that has to be read at once and then parsing it. A single chunk is usually 20-30 bytes long. The function is this:

__declspec(dllexport) int getclong(const char* filename, const char* temp, int mn, unsigned long* clong)

and the part of the chunk of code used to read the file:

while (ReadFile(file, ptr, len, &read, &ol))
{
if (mn == *((BYTE*)ptr+1))
{
if (strcmp(temp, (const char*)ptr+2) == 0)
{
b = strlen(temp)+3;
*clong = *((DWORD*)ptr+b);
}
}

The first if is fine, the second if is fine, however when i'm trying to retrieve the clong value, it returns something completely different, is this because the buffer isn't stored in line in memory, or is there something i'm doing wrong? how can i retrieve the correct value?
#17
Battle.net Bot Development / psistorm-PMAC-XX.mpq
November 17, 2006, 04:19 PM
Yep it's here, just got this logging onto 63.240.202.139:

                         ff 50 3f 00 00 00 00 00 57 9b  .. ....P?.....W.
0040   f4 59 5b b7 1b 00 00 73 25 e1 aa 03 c7 01 70 73  .Y[....s%.....ps
0050   69 73 74 6f 72 6d 2d 50 4d 41 43 2d 31 35 2e 6d  istorm-PMAC-15.m
0060   70 71 00 dd e5 af 6a c7 96 7e 45 90 07 0c 4c b0  pq....j..~E...L.
0070   2d 59 02 02 00                                   -Y...


EDIT: This also applies to XMAC, psistorm-XMAC-XX.mpq
#18
So recently I actually picked up learning C++ seriously, and finally managed to get a bot to connect to battle.net and enter a channel successfully. However, right after it enters the channel, the program closes out, no errors or anything, it just simply quits. Also there are no errors or warnings given by the compiler (I'm using Dev-C++). Any ideas on why this would be happening?
#19
Let's say I'm trying to access an ActiveX .dll using this code

Dim obj as Object
     Set obj = CreateObject("Project1.Class1")
     obj.HelloWorld

now how can I properly free this object?

Set obj = Nothing

is not doing it.

Unload obj

cannot be done
#20
Is this possible? Let's say I use LoadLibrary() to load a .dll and GetProcAddress to retrieve a pointer to a function in the library, how can I then call the function using VB?