Windows linux Software Super Tips

All Tips For Os & Software

 
Home
Add to Technorati Favorites

GE Command Hotkey
Saturday, December 23, 2006
command hotkey

F1: SelectMyPc(0)
4 : ChangeStance(0)
8 : SkillOnMyPc(0)
ctrl+1: SetSquad(0)
alt +1: SelectSquad(0)
q : Skill(0, 0)
u : UseItem(0,0)
F9: SwitchSingleSelectMode()
F10:GrowChatFrame()
F11:ShrinkChatFrame()
ctrl+alt+1: PoseId(1)
AroundHarvest()

คำสั่งอะไรก็ไม่รู้

GetTarget
SetTarget
GetJobName
GetTargetDefLayer
GetMyAtkLayer
Ra
Rx
GetPickItem
IsNearFromHarvestDestPosition
PickItem
IsExistItem
GetNearItem
GetHoldAtkableEnemy
PlaySound
GetPrevTS
IsTargetInMySkillRange
IsTargetInMyAttackRange
UnHold
GetAtkableActorAttackMe
GetNearAtkableEnemy
Print
IsExist
IsAbleToAttack
IsLeader
IsMoving
IsNearFromKeepDestPosition
IsNearFromMoveDestPosition
IsNearFromAssaultDestPosition
InstantHold
KeepDestMoveTo
HarvestDestMoveTo
AssaultDestMoveTo
UseSkill
GetUsingSkill
IsSkillUsing
IsEqual
IsKd
IsDead
ChangeTacticsAi
GetNearAtkableEnemyOnHold
GetNeedHealFriend
GetNearEnemy
ClearCounterTarget
ClearUserTarget
ClearAiTarget
GetAiTarget
SetAiTarget
GetUserTarget
GetActorAttackMe
GetAiActor
GetActor
AiLog
CAiActor
CActor







FlushAnim
PrintStat
ChatMacroDefaultSetting
ClickMyPcFrame
ApplyGammaRamp
SetDevGamma
ColonyWarpClose
ColonyWarpSelect
QueryColonyList
AroundHarvest
QuickHarvest
QuickAssault
QuickAttack
QuickMove
NoneScp
CancelReInforceItem
CloseWarehouse
CancelEnchantRing
LogOut
QuitApp
ReplayResume
ReplayPause
ReplayEnable
ReplayDelete
ReplayPlay
ReplaySaveCancel
ReplaySaveReserveCancel
ReplaySaveReserve
ChannelList
CancelResetOption
CancelCreateCoupon
HelpSelect
OpenUserShop
RegisterMyShop
CloseMyShop
SquadInviteAck
SquadMemberCount
SquadLeave
SquadInvite
SquadBan
SquadCreate
SquadLeader
SquadJoined
CamWheel
CamRotate
KeyHarvest
KeyAssault
KeyMove
CommChat
LoadServerList
FriendRemove
FriendRegister
SaveProfile
SaveMacro
ChatMacro
ViewProfile
ReqTrade
GetContextCommanderParty
GetContextCommander
ChannelSelect
ToggleZonemap
WarningMsg
SysMsg
PartyTruceAck
PartyInviteAck
PoseId
WaypointClose
WaypointSelect
ShrinkChatFrame
GrowChatFrame
Chat
OpenURL
NewAccount
ExitApp
GetLeaderIndex
GetSlotIndex
GetTeamIndex
RoomLevelLimit
RoomStartMission
RoomAppointLeader
RoomExit
RoomChangeSlotState
RoomSelectTeam
LobbyRefresh
LobbyCreateRoom
LobbyClickCreateRoom
LobbyJoinPrivateRoom
LobbyJoinRoom
LobbyClose
CommWarpCount
CommWarpSave
CommWarpRemove
CommWarpSelect
TeleportSave
TeleportRemove
TeleportSelect
SetAiOptionString
SetAiOptionNumber
SwitchSingleSelectMode
ToggleChatEdit

UseItem
SkillOnMyPc
SelectSquad
SetSquad
ChangeStance
SelectMyPc
SelectAll
ToggleUi
ReserveTactics
ChangeTactics
Call
HideMyPc
ChangeCamera
CamHeight
EnableCamCol
SetResizeLevelOfTextures
SetMouseSensitivity
EnableCharEdge
EnableFastLoading
EnableShowShout
EnableShowMyPcMark
EnableShowMyPcGauge
EnableShowName
EnableWater
EnableGlow
EnableEffect
PlaySnd
Move
PrintAllObj
MyPc
ShowInfo
ShowState
DestroyTexRes
DestroyResAll
gspd
TesterHelp
where
PrintResAl
 
VB6 On Windows XP Sp 2

ถ้าเป็น Windows XP Service Pack 2
การลงด้วยแผ่น window xp ควิกพีซีนะคับ
คลิกปุ่ม start->run ป้อน regedit แล้ว OK
แล้วเข้าไปแก้ registry ดังนี้

HKEY_LOCAL_MACHINE>SOFTWARE>MICROSOFT>WINDOWS NT>CURRENT VERSION->perlib

แก้ไข Disable Performance Counters จาก 1 ให้เป็น 0 โดยคลิกเมาส์ปุ่มขวา เลือกเมนู modify
 
FreeBsd tip
Thursday, December 21, 2006
เพิ่ม user/stand/sysinstall addUser
ดู CPUdmesg grep CPU
เมื่อ 202.29.80.1 คือหมายเลข Gateway ของเครือข่าย # route add default 202.29.80.1
เมื่อเราต้องการดูว่าแต่ละไดเรกทรอรีนั้นมีการใช้งาน disk ไปเท่าไรแล้ว เราจะใช้คำสั่ง du -h นะครับเช่น

# cd /home/kitti
# du -h

โปรแกรม cvsup จะใช้เพื่อการปรับปรุง port
(ส่วนที่ใช้ในการติดตั้งโปรแกรมอัตโนมัติผ่านเน็ต) ซึ่งโปรแกรมนี้จะทำการปรับปรุง /usr/ports
ต่าง ๆ ของเราให้ทันสมัย เพราะบาง package ต้องการการปรับปรุงคับ

วิธีการติดตั้ง www

# cd /usr/ports/net/cvsup www
# make install && make clean


วิธีการ config
www # cp /usr/share/examples/cvsup/ports-supfile /tmp
www # cd /tmp www
# pico ports-supfile
ให้แก้ไขหรือปรับเปลี่ยนตามเหมาะสม default host = cvsup1.freebsd.org
# src-all mail จากนั้นทำการ save ครับ หมายเหตุ cvsup Server มีตั้งแต่
cvsup1 - 9 นะหรืออาจจะมากกว่านี้ เปลี่ยนได้ตามใจชอบ ส่วน mail หมายถึง update
เฉพาะ Category mail ครับ จะได้ไม่เสียเวลามาก ชอบ Cat ไหนก็ทำเฉพาะ Cat นั้น
วิธีการใช้งาน
www # cd /tmp
www # cvsup ports-supfile
รอจนกว่าจะติดตั้งเสร็จ จากนั้นก็จะทำให้เราได้โปรแกรมใน /usr/ports เป็นตัวใหม่ล่าสุดครับ
 
Speed up Firefox
Monday, December 18, 2006
Speed up Firefox

There is a lot you can do to really speed up the way Firefox loads pages. It involves making a few changes "Under the hood".
While all of what I am saying below is still valid, there is a great tool

you can go download called Firetune (http://www.totalidea.com/freestuff4.htm).
Firetune lets you choose a mix of settings based on the speed of your computer and the speed of your internet connection then simply make a few mouse clicks, restart your browser and you're done. Or, you can perform your own tweaks:
To really speed up Firefox, you should create your own user.js file with some recommended settings. The user.js is just a text file in your profile folder. Where is your profile folder you ask? Well, that depends on your operating system (OS). Go
here to find out where yours is. In Windows XP, it is located in
C:\Documents and Settings\USERNAME\Application Data\Mozilla\Firefox\Profiles\default.###\
I spent quite a bit of time combing Mozillazine to determine some accurate settings.

I put together a user.js and commented it with sources of the information. You can see it here
(http://users.tns.net/~skingery/weblog/user.js).
The thread on Mozillazine about fine tuning Firefox is
here
 
Mysql ภาษาไทยกลายเป็น ????
$charset = "SET character_set_results=tis620";
mysql_query($charset) or die("Invalid query: " . mysql_error());



ผลปรากฎว่าการกำหนดค่าให้ตัวแปร character_set_results มีค่าเป็น tis620 ดังกล่าว
สามารถช่วยแก้ปัญหาแสดงผลภาษาไทยที่ไม่ถูกต้องได้ นอกจากนี้สามารถใช้คำสั่งต่อไปนี้ในการแก้ปัญหาภาษาไทย คือ

SET NAMES 'tis620' ซึ่งมีค่าเทียบเท่ากับ
SET character_set_client='tis620'SET character_set_results='tis620'SET character_set_connection='tis620'
SET character_set_results=NULL


ซึ่งมีความหมายคือ ไม่ต้องการให้ server ทำการแปลงข้อมูลก่อนที่จะทำการส่งให้กับ client
 
วิธีแก้ให้เล่น MSN เข้าไม่ได้

วิธีแก้ให้เล่น MSN ได้
ไปที่ start Menu>>Run
พิมพ์ notpad C:\Windows\System32\Drivers\etc\hosts
เมื่อโปรแกรมNotepadเปิด และ ใส่ 2ตัวนี่ลงไปข้างล่าง
65.54.239.80 messenger.hotmail.com
65.54.239.80 dp.msnmessenger.akadns.net
เซฟ มัน แล้ว ปิดเปิด MSN ใหม่อีกครั้งจ้า

แก้ไข err
สาเหตุที่เกิด โดยดูจาก Error code

ErrorCode : 800b001
- สาเหตุ: เกิดจาก MSN หาไฟล์พวก .dll บางตัวไม่เจอ ทำให้ไม่สามารถ sign in ได้
- วิธีแก้: แก้ตามวิธีแก้ที่ 3 คับ

ErrorCode : 80048820
- สาเหตุ: เกิดจากวันที่ของเครื่องไม่ถูกต้อง
- วิธีแก้: แก้ตามวิธีแก้ที่ 3 คับ หรือตั้งวันที่ใหม่ครับ

ErrorCode : 80072ee7
- สาเหตุ: เกิดจากปัญหาของ Firewall หรือการติดต่อออกอินเตอร์เน็ต มีปัญหา
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 และ 2 คับ

ErrorCode : 80072eff , 80070193 , 800701f7
- สาเหตุ: เป็นปัญหาจาก .NET Messenger Service มีปัญหา ซึ่งอาจจะเกิดจากตัว .Net server
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 , 2 และ 4 คับ

ErrorCode : 80072efd
- สาเหตุ: ปัญหานี้เกิดจาก ในส่วนของ windows update
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 , 2 , 3 และ 5 คับ

ErrorCode : 80072f0d
- สาเหตุ: เกิดจากที่ส่วนที่เกี่ยวข้องกับ security ของ MSN ไม่ทำงาน
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 , 2 , 3 และ 6 คับ ถ้ายังไม่หายให้เพิ่มข้อ 10 ด้วยคับ

ErrorCode : 80070190
- สาเหตุ: เกิดจากปัญหาการเชื่อมต่ออินเตอร์เน็ต
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 , 2 , 4 และ 3 คับ

ErrorCode : 80070301
- สาเหตุ: เกิดจากปัญหา ของ .NET Messenger Service
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 , 2 , 4 , 7 และ 8 คับ

ErrorCode : 81000303 หรือ " Microsoft .NET Passport has made your account temporarily unavailable to help prevent other users from guessing or obtaining your password."
- สาเหตุ: เกิดจากปัญหา ของ .NET Messenger Service หรือ รหัสผ่านผิด
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 , 2 , 3 ,4 และ 7 คับ

ErrorCode : 81000306
- สาเหตุ: เกิดจากปัญหา ของ .NET Messenger Service หรือ การเชื่อมต่ออินเตอร์เน็ต
- วิธีแก้: แก้ตามวิธีแก้ที่ 1 , 2 , 4 และ 8 คับ
-------------------------------------------------------

notpad C:\Windows\System32\Drivers\etc\hosts
65.54.239.80 messenger.hotmail.com
65.54.239.80 dp.msnmessenger.akadns.net
 
Convert a db to UTF8
If you've ever used a UTF8 application on a pre-4.1 MySQL server, or never cared about encodings on a 4.1 setup even, you may have a non-UTF8 database containing UTF8 data. While this doesn't bother most applications (e.g. PHP weblogs), it's not clean and you can't sort properly with any non-Western characters. This procedure will fix it:

code:
mysqldump --user=username --password=password --default-character-set=latin1 --skip-set-charset dbname > dump.sqlchgrep latin1 utf8 dump.sqlmysql --user=username --password=password --execute="DROP DATABASE dbname; CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;"mysql --user=username --password=password --default-character-set=utf8 dbname <>


The chgrep part is important, because the table definitions in your dump will likely have "latin1" preserved. If you don't have chgrep, you may use any search-and-replace capable editor, but remember that it must open and save UTF8 properly. Edit: Instead of 'chgrep', you can use 'sed'
e.g.:

sed -i "" 's/latin1/utf8/g' dump.sql

Alternatively you may attach "--skip-create-options" to the mysqldump command, but that could omit some needed options (e.g. PACK_KEYS=1 etc.).You may change the utf8_general_ci collation to whatever you need, e.g. utf8_czech_ci for my purposes.




 
NET.exe Comamnd
NET.exe
The
NET Command is used to manage services as follows: Syntax
NET START [service]
NET STOP [service]
NET PAUSE [service]
NET CONTINUE [service]

Key
service : The service name as shown in Control Panel, Services
To list the basic NT Services:
NET HELP SERVICES
To list the running NT Services:
NET START
If you try to start a service that is already running you will get this error message:"The requested service has already been started. More help is available by typing

NET HELPMSG 2182"
You can redirect and FIND this type of error as follows:
NET START alerter 2>&1FIND "2182"
IF errorlevel 1 goto :s_started
 
Search



Previous Post
Archives
Links
    Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online Add to My AOL Add to Technorati Favorites!
Powered by

BLOGGER

© 2005 Windows linux Software Super Tips
eXTReMe Tracker