-
Posts
93 -
Joined
-
Last visited
-
Days Won
1
jWalker last won the day on October 22 2011
jWalker had the most liked content!
About jWalker
- Birthday 01/04/1992
Profile Information
-
WWW
http://www.evrygame.com
jWalker's Achievements
Wayfarer (2/7)
2
Reputation
-
ThomasBennett reacted to a post in a topic:
How to scroll to the end of a webpage
-
Simple flipping of an Image in GDI+?
jWalker replied to jWalker's topic in AutoIt General Help and Support
So as i pick my part of my big spritesheet i will have to put this into an bmp/png file first and then load this and flip it or how?! This GDI is confusing me a lot! -
Simple flipping of an Image in GDI+?
jWalker replied to jWalker's topic in AutoIt General Help and Support
push -
I did as you said the first time i didnt see anything. The picture is in the named folder and all i see is nothing. I use Win7 x64 too! Well, i tried to do some basic 2D dynamic lightning effects. Like just some circles on top of each other. They become more transparent the bigger they are. This is good for like 1 torch. But i want to make a game where there are lets say 10 torches and background and a player and enemies... This would brake the performance as hell i think. Can one simply rise performance?
-
Is it possible to flip an image that is drawn in GDI+? I don't mean opening the image, flip it, save it, reload it, crop it, paste it on screen. I mean i have an animation chart. Many animations in one png. I draw each animationpart with ImageRectRect, so i load my image at the beginning and then i draw different animationstages with just counting up the X Value of my Source rectangle. Now i want sth like THIS rectangle, the one that is seen on the GDI+ window... THIS should be flipped. Do i have to "paint" it into a matrix and then draw the flipped matrix to the screen? If yes then how do i do that? # This leads to an entire flip of the window
-
There is just a grey GUI UEZ... i don't see anything changing when i pull the slider...
-
Is it anyhow possible, to do some lightning or shader effects in gdi+? Like overlaying some alpha blended figures above shapes? Won't this lead to slow FPS? Which leads to the next question: Is it possible to tweak GDI+ to the maximum? Pure Autoit?
-
Thank you
-
$BACKUP = Run('"C:Program Files7-Zip7za.exe" "a C:UsersDannyAppDataRoaming.minecraftmcserverbackup"' & @YEAR & "-" & @MON & "-" & "--" & @MDAY & "-" & @HOUR & "-" & @MIN & "-" & @SEC & '"backup.7z C:UsersDannyAppDataRoaming.minecraftmcserversurvival"', "", "", @SW_HIDE) Y U NO WORK? y u no work madam?
-
And where? Run ( "program" [, "workingdir" [, show_flag [, opt_flag]]] )
-
Hey i am tryin to run 7zip with parameters. I could use the ShellExecute function but it doesn't return the PID. I need the PID to look if its finished... Run returns the PID but i think i can't use any parameters with it?! Any solutions?
-
If i use stdinwrite with PID and Data i start a stream to the console if i use it without a 2nd operator the stream closes. After that i can read console outputs again. If i now want to use stdinwrite again it doesnt work becuase the stream is completely closed. How can i fix this?
-
Getting information from my MinecraftServer
jWalker replied to jWalker's topic in AutoIt General Help and Support
Okay next Problem I used StdErrRead in addition and it works. But not like a charm. This part: 2012-02-29 08:21:31 [INFO] Starting minecraft server version 12w08a 2012-02-29 08:21:31 [INFO] Loading properties 2012-02-29 08:21:31 [INFO] Starting Minecraft server on *:25565 2012-02-29 08:21:31 [INFO] Preparing level "world2" 2012-02-29 08:21:31 [INFO] Default game type: 0 2012-02-29 08:21:31 [INFO] Preparing start region for level 0 2012-02-29 08:21:32 [INFO] Done (730407150ns)! For help, type "help" or "?" looks like this: 2012-02-29 08:21:31 [INFO] Starting minecraft server version 12w08a2012-02-29 08:21:31 [INFO] Loading properties2012-02-29 08:21:31 [INFO] Starting Minecraft server on *:255652012-02-29 08:21:31 [INFO] Preparing level "world2"2012-02-29 08:21:31 [INFO] Default game type: 02012-02-29 08:21:31 [INFO] Preparing start region for level 02012-02-29 08:21:32 [INFO] Done (730407150ns)! For help, type "help" or "?" I think that these Infos come too fast. Any way to avoid that? -
Hey i have a minecraftserver for me and my friends. It's hosted on my PC and now i want to write a gui for it. So i can easily teleport to someone or set the gamemode etc. ;MCSERVER #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <Constants.au3> #region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 615, 438, 192, 124) $Edit1 = GUICtrlCreateEdit("", 8, 8, 449, 393, BitOR($ES_READONLY, $ES_WANTRETURN, $WS_VSCROLL)) GUICtrlSetData(-1, "Edit1") $Button1 = GUICtrlCreateButton("Button1", 384, 408, 75, 25) $Input1 = GUICtrlCreateInput("Input1", 8, 408, 369, 21) GUISetState(@SW_SHOW) #endregion ### END Koda GUI section ### $path = "C:\Users\Danny\AppData\Roaming\.minecraft\mcserver" $minecraftserver = Run(@ComSpec & " /C java -Xms512M -Xmx1024M -jar minecraft_server.jar nogui", $path, @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD ) While 1 $dataout = StdoutRead( $minecraftserver ) If $dataout <> "" Then $log = FileOpen($path & "\MClog.dat", 9) FileWrite($log, $dataout) FileClose($log) $log = FileOpen($path & "\MClog.dat") $logtext = FileRead($log) FileClose($log) GUICtrlSetData($Edit1, $logtext) EndIf $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE StdinWrite( $minecraftserver, "stop" ) Exit EndSwitch WEnd At First i just want to Add Text and Read text. Adding text to the program works, On the Gui Event Close section is a part of the code which stops the server. It works. A Server output at the start usually looks like this: 177 recipes 27 achievements 2012-02-29 08:21:31 [INFO] Starting minecraft server version 12w08a 2012-02-29 08:21:31 [INFO] Loading properties 2012-02-29 08:21:31 [INFO] Starting Minecraft server on *:25565 2012-02-29 08:21:31 [INFO] Preparing level "world2" 2012-02-29 08:21:31 [INFO] Default game type: 0 2012-02-29 08:21:31 [INFO] Preparing start region for level 0 2012-02-29 08:21:32 [INFO] Done (730407150ns)! For help, type "help" or "?" All i get from StdOutRead is just 177 recipes and 27 achievements. The rest of this Output is in the Autoit Console oO Any ideas what i am doing wrong here?
-
Do sumthin like this. While 1 ... WEnd ..............^........ change this to: While 1 Switch $ActiveGUI Case "Main" .... If $ButtonOrOtherThingsToActivateOtherGUI Then $ActiveGUI = "Second" EndIf Case "Second" If $ButtonOrOtherThingsToActivateMainGUI Then $ActiveGUI = "Main" EndIf EndSwitch WEnd
-
Make an array containing your processes Dim $aProcesses[10] = ["newfolder.exe", "svchost.exe",....] Then use a For Loop For $n = 0 To UBound( $aProcesses ) - 1 If ProcessExists( $aProcesses[$n] ) Then ProcessClose( $aProcesses[$n] ) EndIf Next #EDIT by the way: Closing svchost.exe causes the system to crash