All posts by teliaz

Copy command to USB printer

roller_printer3
If you need to sent a dump text to your printer for testing purposes you can you this command

> copy test.txt lpt1:
(in case your printer is connected to that port)

What do you do when we want to use copy command to a usb connected printer ?
In the printer properties , Ports tab, as you can see the port name is usually as USB001 or USB002.

If you change the command to
> copy test.txt usb001
a new file named usb001 will be created as a copy of test.txt.
But we need to sent the test.txt content for printing..

Here is what we do to override this..

First Step
>net use lpt1: \\localhost\printername
(lpt1: will be useless after that, also printer must me shared)
Second Step
> copy test.txt lpt1:

try it…
it will do the job if you want to make your tests.

AS3 Flash Resources List

actionscripticon_400
BOOKS:

1. Essential Actionscript 3.0
2. Foundation Actionscript 3.0 Animation – Making Things Move – Keith Peters – Friendsofed
3. Object Oriented ActionScript 3
4. Flash Game University
5. The Actionscript Bible
6. AI Game Programming Wisdom
7. Advanced.ActionScript.3.with.Design.Patterns
8. O’Reilly’s Learning Actionscript 3.0
9. Flash Professional 8 Game Development

WEBSITES:

  1. http://www.senocular.com/flash/tutorials/as3withflashcs3/
  2. ByteArray.org
  3. polygonal labs
  4. BIT-101 Blog
  5. Kirupa’s ActionScript 3 Tips and Tricks
  6. http://gotoandlearn.com/
  7. http://chrisbrimelow.com/blog/
  8. http://livedocs.adobe.com/flex/3/html/
  9. http://flashgameu.com/
  10. Flash Enabled Blog
  11. http://www.8bitrocket.com/
  12. PeachPit
  13. Cartoon Smart ~ (sadly, this isn’t free)
  14. http://www.newgrounds.com/bbs/topic/229808/50
  15. http://www.lynda.com/ – $25/month access to all videos. I have a subscription, it explains it so ANYONE can understand it. If you’re just starting in AS3, these are highly recomended, even if you’re semi experienced.3D Engine:
  16. Papervision3D
  17. Away3D Flash Engine
  18. AlternativaPlatform
  19. Sandy
  20. Mathieu Badimon | FIVe3D
  21. custom:media & SWFZ
  22. shirotokoro & WOW-Engine ~ 3D Physics Engine
  23. moock.org

Isometric Engine:

  1. zenbullets Isometric Game Engine
  2. FFilmation

Tween animation library:

  1. GO ASAP
  2. GreenSock & TweenLite (AS3) – A Lightweight (2K) and FAST Tweening Engine
  3. Twease | visualcondition playground
  4. tweener – Google Code
  5. Uza’s Blog & More & AS3 Easing
  6. AnimationPackage
  7. boostworthyisryantaylor & AS3 Animation System v2.0

Artificial Intelligence

  1. http://munsterkiler.890m.com/wordpress/?p=24
  2. http://www.red3d.com/cwr/steer/
  3. http://www.ai-junkie.com/ai-junkie.html
  4. http://www.kirupa.com/forum/showthread.php?s=&threadid=16649

Game

  1. http://www.permadi.com/tutorial/flashSharedObject/index.html
  2. sephiroth

Physics:

  1. APE – Actionscript Physics Engine
  2. Fisix Engine | Flash Action Script 3 Physics Engine for Game Developers
  3. Flash Physics Engine Box2DFlashAS3 1.4.2
  4. foam-as3 – Google Code
  5. motor2 – Google Code
  6. glaze engine
  7. physaxe – Google Code

Socket server:

  1. ElectroServer 3 – socket-server, multiplayer, server-side ActionScript, server plug-ins, database support
  2. moock>> unity
  3. Palabre :: Flash Xml Multiuser Socket Server – Home
  4. SmartFoxServer: Socket server for Flash multiplayer games and applications
  5. Swocket – A Modular XML Socket server in Python
  6. RED5Server
  7. MMOcha – Platform for Multiplayer Games
  8. Nonoba Multiplayer API – Nonoba.com

Other:

  1. Flint Particle System
  2. Projects < ByteArray.org (various, including alivePDF and wiiFlash)
  3. flare | visualization on the web
  4. AsWing
  5. as3ds – Google Code
  6. ASProf – Realtime Actionscript Profiler
  7. evoengine – Google Code

Forums:

  1. FFILES
  2. Official Adobe Forum
  3. Kipura

Path Finding:

http://www.gameai.com/pathfinding.html

Apache Protected Folder – How to

In normal Windows Installation
Path to your Apache Folder (C:\apache\ )
Path to your Apache Config Folder ( C:\apache\conf )

In Windows WampServer
Path to your Apache Folder (C:\wamp\bin\apache\apacheX.X.X )
Path to your Apache Config Folder (C:\wamp\bin\apache\apacheX.X.X\conf )

In Linux XAMPP
Path to your Apache Conf Folder ( /etc/httpd/conf/)

1.Open the httpd.conf file located in the Apache

2. Look for the word “AccessFileName .htaccess”
and change it to “AccessFileName ht.acl .htaccess”

3. this is how it should look like

AllowOverride All
Options None
Order deny,allow

4. Go to Apache bin directory and execute these commands

c:\apache\bin>htpasswd
(will show the available options)

c:\apache\bin>htpasswd -c -b passwd.txt username password
(A text file will be created holding the username and password, be careful if there are already passwords stored for other folder in your apache server using the same named convension)

If you execute a dir or ls in the apache\bin directory a password file name “psswd.txt” will be created

5. The next step is to create the .htaccess file in linux or ht.acl in Windows
The reason we added ht.acl file in htppd.conf is because in Windows machine its a hard thing to name a file that way. (the only solution I found was to download a file from my net hosting provider and edit it later for my use)

Here are the contents in the .htaccess or ht.acl file

AuthUserFile c:/apache/passwd.txt
AuthName "My Secured Folder"
AuthType Basic


require valid-user

6.Place this file in the root of each directory you want to secure

7. Restart Apache ( just in case)

8. This is the resulting modal authentication screen each time
you open the folder with your browser

htaccesspop

JUST IN CASE YOU MISUNDERSTOOD THIS IS A TUTORIAL FOR YOUR LOCAL APACHE SERVER.
If you have a hosting there are other more simple ways to do that. (in case you forgot your paying the hoster, ask them to do it for you)

Werfault.exe Process

WerFault.exe is part of the Windows Error Reporting Service. To remove that process from your memory simple disable the Windows Error Reporting Service in the service manager. Here’s how you can get it done:

1. Run “services.msc”.
2. Find the Windows Error Reporting Service and disable it.
3. Next to go the Properties dialog of this service and set startup mode to “Disabled” or “Manual”.
4. Reboot. The WerFault.exe service should then be inactive.

It’s a good idea to disable this service by the way. It locks up on many occarions, using up 100% system resources when doing so.