This is based on what i know
P-Code
Pros: Smaller EXE Files, Less memory usage
Optimized code
Pros: Faster code?
Cons: More memory usage (so its accutally slower)
I dont know which do use...
Quote from: forum.valhallalegends.com
Battle.net Bot Development
Quote from: You
A post un-related to Battle.net Bot Development
Quote from: UserLoser on October 09, 2004, 07:59 PM
Quote from: forum.valhallalegends.com
Battle.net Bot Development
Quote from: You
A post un-related to Battle.net Bot Development
Yeah im compiling my bot, and i wonder which would be better
Wouldn't that depend if it was Ops, Chat, Annoying Flood/Mass Bot?
Don't use P-Code; that's all there is to it.
Quote from: Yoni on October 09, 2004, 08:28 PM
Don't use P-Code; that's all there is to it.
Any reasons why? It seems to be faster+more stable when i use it, also half the exe size and half the ram usage.....
The whole point of pcode is to shrink the executable size. The fact that VB requires a few megs in dependencies kind of makes that a waste IMO.
Quote from: Tuberload on October 09, 2004, 08:48 PM
The whole point of pcode is to shrink the executable size. The fact that VB requires a few megs in dependencies kind of makes that a waste IMO.
Atleast it makes all the dumb people think your app is small ^_^
Quote from: phvckmeh on October 09, 2004, 07:46 PM
This is based on what i know
P-Code
Pros: Smaller EXE Files, Less memory usage
Optimized code
Pros: Faster code?
Cons: More memory usage (so its accutally slower)
I dont know which do use...
P-Code = pseudo code = interpreted at runtime = slower than native code.
It's as simple as that.
Well personaly the p-code has been running better, i get faster startup times, and it uses about 4 megs less ram...
Why would your bot use more than 4 to begin with?
There are times you will want to use p-code. VB sometimes gets weird errors (application exceptions) on otherwise harmless-looking lines of code when it is compiled to machine code. If you recompile it to p-code, those errors go away. So the machine code compiler for VB is not perfect. I write enough code that I see this condition once every 3-4 months.
Quote from: Puzzle on October 10, 2004, 05:00 AM
Why would your bot use more than 4 to begin with?
:) it went from 6.3megs to 2.4