Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Is there any way to make your bot show the minimap of the world on the form? I'd appreciate it if you tell me.
http://capasha.com/ee/blocks/ee/plain.txt here are the uint color codes of the blocks, use a worlddata reader to get all blocks.
create a image, place blocks on it using right coordinations and colors
if you can read this....good for you
Offline
alkazam1448 wrote:Is there any way to make your bot show the minimap of the world on the form? I'd appreciate it if you tell me.
http://capasha.com/ee/blocks/ee/plain.txt here are the uint color codes of the blocks, use a worlddata reader to get all blocks.
create a image, place blocks on it using right coordinations and colors
I do understand what you mean but I'm not as experienced as you in coding. Can you please explain?
Offline
1) Create your form/GUI
2) Add TextBox and a Button
3) Add a Panel
4) Add a PictureBox over the Panel
The rest is to code a worlddata reader, and add small 1x1 dots on the minimap. Use plain.txt to add the colors.
Here is a worlddata reader, http://pastebin.com/Yzy06edk
Here you have a working but kinda bugging sourcecode, http://www.mediafire.com/download/jy15q … xample.zip
You need to fix the rest. Like progressbar and other stuff, like the new colors for example.
Here you have the sourcecode for my minimap tool, http://www.mediafire.com/download/xwe71 … source.zip
Offline
why a panel if i can ask?
i created a bitmap and after placing all blocks on the bitmap i have set the picturebox image to the bitmap
if you can read this....good for you
Offline
why a panel if i can ask?
i created a bitmap and after placing all blocks on the bitmap i have set the picturebox image to the bitmap
^
So all you have to do is make the bitmap worldWidthxworldHeight and SetPixel(I think that was the method used to change the colors of the pixels.) to the color of the block.
Offline
why a panel if i can ask?
i created a bitmap and after placing all blocks on the bitmap i have set the picturebox image to the bitmap
If the world-picture is bigger than the GUI it will not look good.
If you add a panel it will add scrollbars when the bitmap get bigger than the GUI.
Offline
ewoke wrote:why a panel if i can ask?
i created a bitmap and after placing all blocks on the bitmap i have set the picturebox image to the bitmapIf the world-picture is bigger than the GUI it will not look good.
If you add a panel it will add scrollbars when the bitmap get bigger than the GUI.
ah yeah of course
^
So all you have to do is make the bitmap worldWidthxworldHeight and SetPixel(I think that was the method used to change the colors of the pixels.) to the color of the block.
this has nothing to do with the panel
if you can read this....good for you
Offline
ewoke wrote:why a panel if i can ask?
i created a bitmap and after placing all blocks on the bitmap i have set the picturebox image to the bitmapIf the world-picture is bigger than the GUI it will not look good.
If you add a panel it will add scrollbars when the bitmap get bigger than the GUI.
Could make a separate GUI that gets the worlds and resizes based on world width/heighth
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
capasha wrote:ewoke wrote:why a panel if i can ask?
i created a bitmap and after placing all blocks on the bitmap i have set the picturebox image to the bitmapIf the world-picture is bigger than the GUI it will not look good.
If you add a panel it will add scrollbars when the bitmap get bigger than the GUI.ah yeah of course
DarkDragon4900 wrote:^
So all you have to do is make the bitmap worldWidthxworldHeight and SetPixel(I think that was the method used to change the colors of the pixels.) to the color of the block.this has nothing to do with the panel
Indeed, a panel is not a necessity.
Offline
ewoke wrote:capasha wrote:ewoke wrote:why a panel if i can ask?
i created a bitmap and after placing all blocks on the bitmap i have set the picturebox image to the bitmapIf the world-picture is bigger than the GUI it will not look good.
If you add a panel it will add scrollbars when the bitmap get bigger than the GUI.ah yeah of course
DarkDragon4900 wrote:^
So all you have to do is make the bitmap worldWidthxworldHeight and SetPixel(I think that was the method used to change the colors of the pixels.) to the color of the block.this has nothing to do with the panel
Indeed, a panel is not a necessity.
well its nice for long worlds or ultra wide worlds, since a huge looking bot isnt that good looking
if you can read this....good for you
Offline
I updated the worlddata reading with new ids, so they work for effects, team door/gate and team color. I added also a comment so you know what the ids are for.
Pastebin: http://pastebin.com/Yzy06edk , I don't know their colors yet.
How I handle everything from goal, this is directly pasted from my minimap tool, with comments. http://pastebin.com/yMBkQwnH
Offline
Pages: 1
[ Started around 1732484316.4541 - Generated in 0.073 seconds, 14 queries executed - Memory usage: 1.62 MiB (Peak: 1.81 MiB) ]