为了使客户端脚本编辑更加方便,特意添加此工具用来编辑lua及laye脚本。
下载EditPlus_3.41.rar,下载后解压,然后双击进行注册,就可以正常使用了。如果还需要输入注册码,那就点注册,下载keygen.exe并打开,随便输入用户名,然后点击生成注册码,将用户名和注册码分别复制到要注册的框里面就好了。
此工具支持Zen Coding功能,在使用时可以编写标记然后按Ctrl+E快捷键转到对应内容,现已添加的标记如下:
--lua语言标记
f function |()\n\t\nend
ff function(|)\n\t\nend
for for | do\n\t\nend
fori for i=1,| do\n\t\nend
forp for k, v in pairs(|) do\n\t\nend
--窗口操作标记
gf GenForm(|)
gfs GenFormByString(|)
gfstr GenFormByString(|)
wsmv WndSetMoveWithLB(|)
wsec WndSetEscClose(|)
wsesc WndSetEscClose(|)
wsf WndSetFlags(|)
wsflg WndSetFlags(|)
wscrm WndSetCanRevMsg(|)
wsmsg WndSetCanRevMsg(|)
wc WndClose(|)
wil WndIsLive(|)
wlive WndIsLive(|)
wp WndGetParent(|)
wparent WndGetParent(|)
we WndGetEnable(|)
wenb WndGetEnable(|)
wse WndSetEnable(|)
wsenb WndSetEnable(|)
wpos WndGetPos(|)
wv WndGetVisible(|)
wvsb WndGetVisible(|)
ws WndGetSize(|)
wsz WndGetSize(|)
wid WndGetID(|)
wsid WndSetID(|)
wpm WndGetParam(|)
wparam WndGetParam(|)
wspm WndSetParam(|)
wsparam WndSetParam(|)
wap WndAddProperty(|)
waprop WndAddProperty(|)
wdp WndDelProperty(|)
wdprop WndDelProperty(|)
wgp WndGetProperty(|)
wprop WndGetProperty(|)
wsp WndSetPos(|)
wspos WndSetPos(|)
wss WndSetSize(|)
wssz WndSetSize(|)
wsfcs WndSetFocus(|)
wsv WndSetVisible(|)
wsvsb WndSetVisible(|)
wsa WndSetActive(|)
wsact WndSetActive(|)
wskf WndSetKeyFocus(|)
wskfcs WndSetKeyFocus(|)
wscrp WndGetScreenPos(|)
wscrpos WndGetScreenPos(|)
wrs WndRegistScript(|)
wrscrpt WndRegistScript(|)
wurs WndUnRegistScript(|)
wurscrpt WndUnRegistScript(|)
wps WndPurgeScript(|)
wpscrpt WndPurgeScript(|)
wat WndAddTimer(|)
watm WndAddTimer(|)
watb WndAddTimerBrief(|)
watmb WndAddTimerBrief(|)
wdt WndDelTimer(|)
wdtm WndDelTimer(|)
wdat WndDelAllTimer(|)
wdatm WndDelAllTimer(|)
wstf WndSetTipFunction(|)
wstipf WndSetTipFunction(|)
wsti WndSetTipInfo(|)
wstipi WndSetTipInfo(|)
wsta WndSetTipAutoRemove(|)
wstipa WndSetTipAutoRemove(|)
wmb WndMoveToParentBottom(|)
wmbtm WndMoveToParentBottom(|)
wmt WndMoveToParentTop(|)
wmtop WndMoveToParentTop(|)
wstc WndSetTextColor(|)
wstxtclr WndSetTextColor(|)
wst WndSetText(|)
wstxt WndSetText(|)
wsm WndSetMagicUI(|)
wsmgc WndSetMagicUI(|)
wae WndAddEffect(|)
waeff WndAddEffect(|)
wde WndDelEffect(|)
wdeff WndDelEffect(|)
wclk WndClick(|)
wrclk WndRClick(|)
wdbclk WndDbClick(|)
wrdbclk WndRDbClick(|)
bsi ButtonSetImageID(|)
bsimg ButtonSetImageID(|)
bp ButtonGetIsActivePageBtn(|)
bpg ButtonGetIsActivePageBtn(|)
bsp ButtonSetIsActivePageBtn(|)
bspg ButtonSetIsActivePageBtn(|)
bss ButtonSetShine(|)
bssh ButtonSetShine(|)
estc EditSetTextColor(|)
estxtclr EditSetTextColor(|)
en EditGetBNumber(|)
enum EditGetBNumber(|)
esn EditSetBNumber(|)
esnum EditSetBNumber(|)
et EditGetText(|)
etxt EditGetText(|)
est EditSetText(|)
estxt EditSetText(|)
ei EditGetInt(|)
eint EditGetInt(|)
esi EditSetInt(|)
esint EditSetInt(|)
esp EditSetIsPassWord(|)
espsw EditSetIsPassWord(|)
emn EditGetMaxCharNum(|)
emaxn EditGetMaxCharNum(|)
esmn EditSetMaxCharNum(|)
esmaxn EditSetMaxCharNum(|)
esce EditSetCanEdit(|)
sst StaticSetText(|)
sstxt StaticSetText(|)
ii ImageGetImageID(|)
iimg ImageGetImageID(|)
isi ImageSetImageID(|)
isimg ImageSetImageID(|)
isc ImageSetColor(|)
isclr ImageSetColor(|)
ic ImageGetColor(|)
iclr ImageGetColor(|)
isa ImageSetAlpha(|)
isalpha ImageSetAlpha(|)
ia ImageGetAlpha(|)
ialpha ImageGetAlpha(|)
isf ImageSetFitSize(|)
isfsz ImageSetFitSize(|)
ispm ImageSetParam(|)
isparam ImageSetParam(|)
iscp ImageSetCheckPoint(|)
iscpoit ImageSetCheckPoint(|)
isr ImageSetAroundImage(|)
isrnd ImageSetAroundImage(|)
isane ImageSetAnimateEnable(|)
isanme ImageSetAnimateEnable(|)
isan ImageSetAnimate(|)
isanm ImageSetAnimate(|)
rse RichEditSetEnable(|)
rsenb RichEditSetEnable(|)
rc RichEditClear(|)
rclr RichEditClear(|)
ra RichEditAppendString(|)
ras RichEditAppendString(|)
rastr RichEditAppendString(|)
rsels RichEditGetSelectClickString(|)
rselstr RichEditGetSelectClickString(|)
rlc RichEditLinkControl(|)
rlctl RichEditLinkControl(|)
rsf RichEditSetCurFont(|)
rsfnt RichEditSetCurFont(|)
rsc RichEditSetDefaultTextColor(|)
rsclr RichEditSetDefaultTextColor(|)
icd RDItemCtrlGetGUIData(|)
icgd RDItemCtrlGetGUIData(|)
icp RDItemCtrlGetGUIDataPropByType(|)
icprop RDItemCtrlGetGUIDataPropByType(|)
ick RDItemCtrlGetGUIDataKeyName(|)
ickey RDItemCtrlGetGUIDataKeyName(|)
icsp RDItemCtrlSetGUIDataPropByType(|)
icsporp RDItemCtrlSetGUIDataPropByType(|)
icse RDItemCtrlSetGUIDataEnable(|)
icsenb RDItemCtrlSetGUIDataEnable(|)
icsid RDItemCtrlSetGUIDataPropByItemID(|)
icsk RDItemCtrlSetGUIDataPropByKeyName(|)
icskey RDItemCtrlSetGUIDataPropByKeyName(|)
icsguid RDItemCtrlSetGUIDataPropByGUID(|)
icc RDItemCtrlClearGUIData(|)
icclr RDItemCtrlClearGUIData(|)
icfd RDItemCtrlFillGUIData(|)
icfgd RDItemCtrlFillGUIData(|)
icr RDItemCtrlUpdateRefineAnimate(|)
icrfine RDItemCtrlUpdateRefineAnimate(|)
icsfi RDItemCtrlSetFrontImageID(|)
icsfimg RDItemCtrlSetFrontImageID(|)
icsbi RDItemCtrlSetBackImageID(|)
icsbimg RDItemCtrlSetBackImageID(|)
icshi RDItemCtrlSetHighlightImageID(|)
icshimg RDItemCtrlSetHighlightImageID(|)
icsei RDItemCtrlSetEffectImageID(|)
icseimg RDItemCtrlSetEffectImageID(|)
icsj RDItemCtrlSetJson(|)
icsjsn RDItemCtrlSetJson(|)
css ComboBoxSetEditSize(|)
cssz ComboBoxSetEditSize(|)
csl ComboBoxSetListLength(|)
cslen ComboBoxSetListLength(|)
ct ComboBoxGetText(|)
ctxt ComboBoxGetText(|)
cst ComboBoxSetText(|)
cstxt ComboBoxSetText(|)
cas ComboBoxAddString(|)
castr ComboBoxAddString(|)
case ComboBoxAddStringEx(|)
castre ComboBoxAddStringEx(|)
cssel ComboBoxSetCurSelect(|)
csel ComboBoxGetCurSelect(|)
cselid ComboBoxGetCurSelectID(|)
csi ComboBoxSetImageID(|)
csimg ComboBoxSetImageID(|)
ce ComboBoxGetEdit(|)
cedit ComboBoxGetEdit(|)
cc ComboBoxClear(|)
cclr ComboBoxClear(|)
chsch CheckSetCheck(|)
chch CheckGetCheck(|)
chst CheckSetText(|)
chstxt CheckSetText(|)
chsi CheckSetImageID(|)
chsimg CheckSetImageID(|)
--游戏接口标记
at UI:Lua_AddDelayTask(|)
atsk UI:Lua_AddDelayTask(|)
dt UI:Lua_DelDelayTask(|)
dtsk UI:Lua_DelDelayTask(|)
sf UI:Lua_SubmitForm(|)
smf UI:Lua_SubmitForm(|)
sg UI:Lua_Str2GUID(|)
gs UI:Lua_GUID2Str(|)
ps UI:Lua_GetPlayerSelfPropBase(|)
ps32 UI:Lua_GetPlayerSelfProperty32(|)
ps64 UI:Lua_GetPlayerSelfProperty64(|)
p UI:Lua_GetPlayerPropBase(|)
p32 UI:Lua_GetPlayerProperty32(|)
p64 UI:Lua_GetPlayerProperty64(|)
pl UI:Lua_GetPackageItemGUIDList(|)
pkglst UI:Lua_GetPackageItemGUIDList(|)
thguid UI:Lua_GetItemTemplateHandleByGUID(|)
ehguid UI:Lua_GetItemEntityHandleByGUID(|)
epguid UI:Lua_GetItemEntityPropByGUID(|)
eph UI:Lua_GetItemEntityPropByHandle(|)
thid UI:Lua_GetItemTemplateHandleByID(|)
thk UI:Lua_GetItemTemplateHandleByKeyName(|)
thkey UI:Lua_GetItemTemplateHandleByKeyName(|)
tpid UI:Lua_GetItemTemplatePropByID(|)
tph UI:Lua_GetItemTemplatePropByHandle(|)
hkr UI:Lua_HotKeyRegister(|)
hkdn UI:Lua_HotKeyDeleteByName(|)
hkd UI:Lua_HotKeyDelete(|)
hkda UI:Lua_HotKeyDeleteAll(|)
ss UI:Lua_GetScreenSize(|)
scrsz UI:Lua_GetScreenSize(|)
sw UI:Lua_GetScreenWidth(|)
scrw UI:Lua_GetScreenWidth(|)
sh UI:Lua_GetScreenHeight(|)
scrh UI:Lua_GetScreenHeight(|)
od UI:Lua_OpenGameFormDlg(|)
odlg UI:Lua_OpenGameFormDlg(|)
cd UI:Lua_CloseGameFormDlg(|)
cdlg UI:Lua_CloseGameFormDlg(|)
--laye专用标记
form <form>\n\t|\n\n</form>
:f <form>\n\t|\n\n</form>
script <script><![CDATA[\n\t|\n\n]]></script>
:s <script><![CDATA[\n\t|\n\n]]></script>
script_entry <script_entry><![CDATA[\n\t|\n\treturn true\n]]></script_entry>
:se <script_entry><![CDATA[\n\t|\n\treturn true\n]]></script_entry>
wnd <wnd id=| x= y= >\n\t\n</wnd>
:w <wnd id=| x= y= >\n\t\n</wnd>
dialog <dialog id=| w= h= image= title="" close=1 savepos=1 magic=1 OnInit="">\n\t\n</dialog>
:d <dialog id=| w= h= image= title="" close=1 savepos=1 magic=1 OnInit="">\n\t\n</dialog>
button <button id=| x= y= image= OnLButtonClick=""/>
:b <button id=| x= y= image= OnLButtonClick=""/>
check <check id=| x= y= image= text= text_color=BROWN checked=1/>
:ch <check id=| x= y= image= text= text_color=BROWN checked=1/>
image <image id=| x= y= image= />
:i <image id=| x= y= image= />
eidt <edit id=| x= y= w= h=20 revmsg=0 text="" text_color=WHITE/>
:e <edit id=| x= y= w= h=20 revmsg=0 text="" text_color=WHITE/>
richedit <richedit id=| x= y= w= h= text_color= />
:r <richedit id=| x= y= w= h= text_color= />
itemctrl <itemctrl id=| x= y= use_back=0 init_item="" OnItemMoveIn="" />
:ic <itemctrl id=| x= y= use_back=0 init_item="" OnItemMoveIn="" />
combobox <combobox id=| x= y= w= h= image= fill_image= text="" text_color="WHITE" length="150" content=""/>
:c <combobox id=| x= y= w= h= image= fill_image= text="" text_color="WHITE" length="150" content=""/>