GM 命令[32位服务端GM命令]

//announce message

this basicly tells a announcement on the whole server.. you can't type a big message but you find out once you use it..

//setannounce id message

this sets an announcement and is also not long like announce command so watch the length. thats why you can make more then one.. This is when you login you see this heres a example..

//setannounce 1 welcome to l2nation.com

//setannounce 2 today is chris birthday.

//setannounce 3 don't forget to check forums out!

//setannounce 4 forums.l2nation.com

so when you login it would show that message without the //setannounce 1-4 part. in light blue.. you can make 0-9 and maybe higher like 10 11 never tried or cared.

//delannounce id

this just deletes the announce

//setparam exp number

this a odd command... if you set to like 9999999999 exp thats lvl 70 somthing.. caps lvl 80 if you do it again like 9999 it will actualy act like you were lvl 1 and give you 9999 exp and lvl you to whatever thats gives...

//summon id = items (Itemdata.txt)

example //summon 10 ( that summons id 10 = dagger now if it was //summon 10 5 it would have summon 5 daggers!

//summon name = npc (npc_pch.txt)

example //summon orc_archer (that would summon an orc archer. //summon orc_archer 5 would summon 5 orc archers of them...

//setskill ID LEVEL = skills (skilldata.txt)

example //setskill 3 24 (that would be skill 3 witch is s_power_strike1 level 24) Also make sure you click on your self or person you giving it too!

//gmon

Best command in the game if you ask me lol. It makes you invisable though you start invisable. Also makes it so players can't send a tell don't forget to send a tell it's just "Kane whats up yes using shift " then players name space message sort of diffrent then most games!

//hide on or //hide off

This turns hide on or off. I don't think need explain more lol...

//gmspeed number

well you can use speeds from 1-5 I think i usally use 3 cuz after that it warps you back thinking your speed hacking. It's odd but oh well...

//quiet on or //quiet off

makes the whole world so they can't talk great when your pissed off

//who

Shows how many players are on and the max was on since servers been on and also how many player stores are open.

//sendhome name

This command basicly sends the player to closest city.. Good for when there stuck or being a prick or w/e they want...

//recall name

This just warps the player to you. Good for when there stuck also or when you want them to come to you..

//teleportto name

This makes so you warp to the player. Good when they report a bug or when your hidden and your spying on them...

//home

sends you back to the town you started at just you no one else.

//setkarma number

If you don't know what karma is it's bad to have. this only a self use command and makes you red.. so //setkarma 500 gives you 500 karma.. Killing other reds or killing mobs will get rid of karma or you can //setkarma 0 to become normal..

//killme

don't ask wtf you would use this for but I guess if you want to kill your self thats up to you..

//killnpc

this just kills an npc nothing big click on it and type the command..

//undying on or //undying off

so when it's on makes so when you hit 0 hp you don't die. your a god and of course when it's off when you hit 0 hp you are dead.

//stopsay name time

Great when theres someone being idiot spamming or just an asshole.. What it does is well shuts the player up for amount of mins. example //stopsay bob 50 (= thats 50 min)

//create_pet id

This creates a pet. you unable to make a pet from the items it will not spawn. Cuz has be made by this way or the quest in game. You should be able make a pet from 1-4 or 1-3 I forget..

//whisper on or //whisper off

so when whisper is off means no one can message you when whispers on they can message you..

//kick name

kicks the player out of the game.. Does not banned them just kicks them out and they can just relog in.

//diet on or //diet off

this makes so when diets on and your to heavy with to many items you don't slow down.

//gmchat name message

this just a simple way to tell a player somthing. like //gmchat bob your in big trouble!

//serverstat

tells you how long servers been up and the build date.. You must know that build date does not matter anymore.. I mean we add to it everyday it's just when the exe was compiled.. but we have hex edit many times added many new stuff.

//reset_respawn

//reset_time

//time_info

//time_limit

//viewcomment

//addcomment

//escape- escape to nearest town

//gmchat- chat only to GMs online

//setparam- see bottom of list

//set_siege_period

//unregister

//attack

//defend

//set_door_hp- set the castle doors HP

//ride- available to everyone in a server with styrders of wyverns, made to /mount

//killnpc- kills selected mob, or even imobile NPC, ie store, Gk ect...

//force_peti

//left_peti_chat

//add_peti_chat

//show_castle_door_hp- shows the doors hp derrr

//ask_now

//set_siege_end

//controltower_levelup- make the headquarters for seige stronger

//door_levelup-make door stronger

//load_pledge

//ask_residence

//actorcount

//mid_victory

//enable_plane_collision

//set_interval_announce-sets the time between each of the announcements to repeat

//set_controltower_status

//show_agit_info

//auction_open

//auction_close

//cease_fire2

//cease_fire

//view_enemy_list2

//view_enemy_list

//set_pausable

//set_freeze_field

//setarea

//play_music

//set_quick_siege

//set_siege

//set_pledge_level

//social

//summonnpc- summons an NPC

//summon2- (ex: //summon2 50 dagger) will summon a +50 dagger

//summon- //summon dagger or //summon dagger 50 summons item and # of the item after

//whisper- //whisper on/off able to accept whispers from players or not

//gmspeed- sets how fast GM moves

//hide- goes into hide

//undying- god mode

//diet-overwieght dont matter

//skillmod

//infectedskill

//setbuilder- //setbuilder 1 joebob, sets GM lvl 1 to a person

//delannounce-see rikku

//setannouncesee rikku

//announce- send a message to the entire server

//kick-kicks a player off the server

//teleportto- brings u to a player, use Alt+G

//sendhome-sends a player home, no idea if its just random or not

//recall- brings a player to u

//servername- changes the server name derrrr

//updatecastleincome- checks how much money a castle makes

//settax- change the amount of tax on the castles town

//setcastleincome- sets how much a castle makes

//croplist

//castleincome

//delcrop

//setcrop

//debugnpc

//leavepetimsg- for petition system, never used it

//cancelgmpeti-for petetion system, never used it

//startpet

//endpet

//petans

//dropping

//netping

//teleport

//ping- pings the server

//gmliston- puts GM on active Gm list for server

//stoplogin- turns off login server

//stopsay

//setclass- get class id and set a player class to anything, ie: orc spellsinger lol

//setkarma- see rikku

//qmove

//gotopn

//vviewpn

//worlddebug

//setai

//home

//killme- die die die

//delquest

//gmon- turns all features of a GM

//healthy- on other player or oneself, make hp/mp full

//reset_skill- delets all skills in ones player, or selected charcter

//setquest

//setonetimequest

//reset_npc_db- reloads the npc database

//set_skill_all- sets all skills for ones class that one is

//closeauth

//delete_pet

//create_pet- 1,2,3 wolf or hatchling summons that work

//getbookmark

//partytel- teleports current party to u

//telbookmark- teleports u to selected bookmark

//delbookmark-deletes a bookmark that u set

//addbookmark- adds a bookmark teleport to whereever u set it

//who- view how many people on server, stores, playing, max on all day

//delskill- deletes a certain skill that u choose (//delskill 99)

//eventview

//event

//serverstat

//setskill- sets a skill with certain id that u choose //setskill 99 3 (//setskill skillid skillLvl)

//bbs

//disband <clan> - delete clan.(Clan should not consist in an alliance or is in a condition of war)

//snoop <nik> <on/off> - Espionage of the player.

//quiet [on | off]

Set world chat on/off. When ON noone can type except announce.

//create_pet 8 (8 - Dragonflute of Doom in eqiupment appears) Rideable - tested in c2

//spawn_npcs count ai

Spawn group of NPC's with desired ai

//debugnpc [target | name]

//worlddebug gives you the server side chords where you are currently standing example

(at npc trader lorenzo in aden)

worlddata at (148154, 28985): index (3,3)

-1768

-2248

//debug player_name

//set_interval_announce [start | end | add | del] [interval] [id] [message]

manages announces that repeating with time.

[id] - number 1..6

[interval] might be 10, 20, 30, 40, etc

below //s = /set_interval_announce

//s - list all announces

//s /? - help message. Also current status (is announces showing or stopped);

//s end - START announces if there any.

//s start - STOPS announces. They must be stopped before deleting them. Yes, "start" stops them and "end" starts. dunno why.

//s add <interval> <id> [message]

ex: //s add 30 1 Have a nice playing. - this adds announce with id=1 and interval 30 mins

//s del <interval> <id>

ex: //s del 30 1 - this will remove announce with id=1 and interval=30

(just type //setparam dex 99 for example)

//setparam variables:

WIT 0 - 99 works

MEN 0 - 99 works

INT 0 - 99 works

CON 0 - 99 works nice, try //setparam con 999 -2 for more kick

DEX 0 - 99 works

STR 0 - 99 works

PK_Counter-no idea

Magic_defend-no idea

Magic_attack-no idea

Base_critical-no idea

Base_attack_speed-no idea

Base_physical_attack-no idea

Noise-no idea

Org_speed-no idea

Org_hp_regen-no idea

Org_mp-no idea

Org_hp-no idea

SP- set the amount of sp a person has

EXP- sets the amount of exp a person has

Level- sets the persons level

[Share] GM commands, setparam,

--------------------------------------------------------------------------------

Code:

unicode '//setskill [skill id] [level]',0000h

unicode '//create_pet 1~3',0000h

unicode '//delskill [skill id]',0000h

unicode '//addbookmark [bookmark name]',0000h

unicode '//delbookmark [bookmark name]',0000h

unicode '//telbookmark [bookmark name]',0000h

unicode '//setquest [quest id] [state]',0000h

unicode '//delquest [quest id]',0000h

unicode '//leavepetimsg [username] [msg]',0000h

unicode '//setcastleincome [id] [0..1] [1..2] [0..100000000]',0000h

unicode '//settax [0..100]',0000h

unicode '// [interval] [ANNOUNCE_ID] [ANNOUNCE_MESSAGE]',0000h

unicode '// [type][interval] [ANNOUNCE_ID] [ANNOUNCE_MESSAGE]',0000h

unicode '//setannounce [ANNOUNCE_ID] [interval] [ANNOUNCE_MESSAGE]',0000h

unicode '//delannounce [ANNOUNCE_ID]',0000h

unicode '//diet [on|off]',0000h

unicode '//undying [on|off]',0000h

unicode '//hide [on|off]',0000h

unicode '//gmspeed [0..5]',0000h

unicode '/BuilderCmd_summonnpc [Object id|Object name] [number]',0000h

unicode '//social [num]',0000h

unicode '//play_music music_name',0000h

unicode '//set_freeze_field castle_name [on|off]',0000h

unicode '//set_pausable castle_name [on|off]',0000h

unicode '//set_controltower_status control_tower_name [idle|dest|work|breakable|unbreakable]',0000h

unicode '//auction_close agit_name',0000h

unicode '//auction_open agit_name',0000h

unicode '//set_siege_end castle year mon day hour min',0000h

unicode '//left_peti_chat char',0000h

unicode '//setparam param value',0000h

unicode '//addcomment COMMENT',0000h

unicode '//time_limit char_name (Add | Del) min',0000h

unicode '//reset_respawn npc_db_name',0000h

unicode '//teleport x y [z]',0000h

unicode '/summon [Object id|Object name] [number]',0000h

unicode '/summon2 [enchanted] [Object id|Object name]',0000h

unicode '//setonetimequest [quest id] [state]',0000h

unicode '//show_castle_door_hp castle',0000h

unicode '//ride (//ride off)',0000h

unicode '//show_agit_info agit_name',0000h

unicode '//stopsay [CHAR_NAME] [STOP_MINUTE]',0000h

unicode '//stoplogin [CHAR_NAME] [STOP_MINUTE]',0000h

unicode '//cancelgmpeti [username]',0000h

unicode '//recall [CHAR_NAME]',0000h

unicode '//sendhome [CHAR_NAME]',0000h

unicode '//teleportto [CHAR_NAME]',0000h

unicode '//kick [CHAR_NAME]',0000h

unicode '//setbuilder [CHAR_NAME] [BUILDER_LEVEL]',0000h

unicode '//set_pledge_level pledge level',0000h

unicode '//setarea area_name [on|off]',0000h

unicode '//cease_fire pledge1 pledge2',0000h

unicode '//cease_fire2 alliance1 alliance2',0000h

unicode '//enable_plane_collision collisio_name 1/0',0000h

unicode '//mid_victory castle pledge',0000h

unicode '//load_pledge pledge',0000h

unicode '//add_peti_chat char',0000h

unicode '//force_peti charname message',0000h

unicode '//gmchat charname message',0000h

unicode '//time_info [char_name | .(target)]',0000h

unicode '//set_castle_owner castle pledge',0000h

unicode '//reset_castle_owner castle',0000h

unicode '//polymorph [npc id|npc name]',0000h

unicode '//debug [name | .]',0000h

unicode '//snoop [char name | .] [no | off]',0000h

unicode '//snoop [char name | .] [ON | OFF]',0000h

unicode '//quiet [on|off]',0000h

unicode '//spawn_npcs count ai',0000h

unicode '//set_bp param value(sec)',0000h

unicode '//set_castle_status castle no',0000h

unicode '//view_enemy_list pledge_name',0000h

unicode '//view_enemy_list2 alliance_name',0000h

unicode '//door_levelup [doorname|all] level(total%)',0000h

unicode '//controltower_levelup [controltower|all] level',0000hCode:

unicode 'WIT : 0..99',0000h

unicode 'MEN : 0..99',0000h

unicode 'INT : 0..99',0000h

unicode 'CON : 0..99',0000h

unicode 'DEX : 0..99',0000h

unicode 'STR : 0..99',0000h

unicode 'pk_counter',0000h

unicode 'magic_defend',0000h

unicode 'magic_attack',0000h

unicode 'base_critical',0000h

unicode 'base_attack_speed',0000h

unicode 'base_physical_attack',0000h

unicode 'level',0000hCode:

/announce message - this basicly tells a announcement on the whole server.. you can't type a big message but you find out once you use it..

//setannounce id message - this sets an announcement and is also not long like announce command so watch the length. thats why you can make more then one.. This is when you login you see this heres a example..

//delannounce id - this just deletes the announce

//setparam exp number - this a odd command... if you set to like 9999999999 exp thats lvl 70 somthing.. caps lvl 80 if you do it again like 9999 it will actualy act like you were lvl 1 and give you 9999 exp and lvl you to whatever thats gives...

//summon id = items (Itemdata.txt) - example //summon 10 ( that summons id 10 = dagger now if it was //summon 10 5 it would have summon 5 daggers!

//summon name = npc (npc_pch.txt) - example //summon orc_archer (that would summon an orc archer. //summon orc_archer 5 would summon 5 orc archers of them...

//setskill ID LEVEL = skills (skilldata.txt) - example //setskill 3 24 (that would be skill 3 witch is s_power_strike1 level 24) Also make sure you click on your self or person you giving it too!

//gmon - Best command in the game if you ask me lol. It makes you invisable though you start invisable. Also makes it so players can't send a tell don't forget to send a tell it's just "Kane whats up yes using shift " then players name space message sort of diffrent then most games!

//hide on or //hide off - This turns hide on or off. I don't think need explain more lol...

//gmspeed number - well you can use speeds from 1-5 I think i usally use 3 cuz after that it warps you back thinking your speed hacking. It's odd but oh well...

//quiet on or //quiet off - makes the whole world so they can't talk great when your pissed off

//who - Shows how many players are on and the max was on since servers been on and also how many player stores are open.

//sendhome name - This command basicly sends the player to closest city.. Good for when there stuck or being a prick or w/e they want...

//recall name - This just warps the player to you. Good for when there stuck also or when you want them to come to you..

//teleportto name - This makes so you warp to the player. Good when they report a bug or when your hidden and your spying on them...

//home - sends you back to the town you started at just you no one else.

//setkarma number - If you don't know what karma is it's bad to have. this only a self use command and makes you red.. so //setkarma 500 gives you 500 karma.. Killing other reds or killing mobs will get rid of karma or you can //setkarma 0 to become normal..

//killme - don't ask wtf you would use this for but I guess if you want to kill your self thats up to you..

//killnpc - this just kills an npc nothing big click on it and type the command..

//undying on or //undying off - so when it's on makes so when you hit 0 hp you don't die. your a god and of course when it's off when you hit 0 hp you are dead.

//stopsay name time - Great when theres someone being idiot spamming or just an asshole.. What it does is well shuts the player up for amount of mins. example //stopsay bob 50 (= thats 50 min)

//create_pet id - This creates a pet. you unable to make a pet from the items it will not spawn. Cuz has be made by this way or the quest in game. You should be able make a pet from 1-4 or 1-3 I forget..

//whisper on or //whisper off - so when whisper is off means no one can message you when whispers on they can message you..

//kick name - kicks the player out of the game.. Does not banned them just kicks them out and they can just relog in.

//diet on or //diet off - this makes so when diets on and your to heavy with to many items you don't slow down.

//gmchat name message - this just a simple way to tell a player somthing. like //gmchat bob your in big trouble!

//serverstat - tells you how long servers been up and the build date.. You must know that build date does not matter anymore.. I mean we add to it everyday it's just when the exe was compiled.. but we have hex edit many times added many new stuff.

//reset_respawn

//reset_time

//time_info

//time_limit

//viewcomment

//addcomment

//escape - escape to nearest town

//gmchat - chat only to GMs online

//setparam - see bottom of list

//set_siege_period

//unregister

//attack

//defend

//set_door_hp - set the castle doors HP

//ride - available to everyone in a server with styrders of wyverns, made to /mount

//killnpc - kills selected mob, or even imobile NPC, ie store, Gk ect...

//force_peti

//left_peti_chat

//add_peti_chat

//show_castle_door_hp - shows the doors hp derrr

//ask_now

//set_siege_end

//controltower_levelup - make the headquarters for seige stronger

//door_levelup - make door stronger

//load_pledge

//ask_residence

//actorcount

//mid_victory

//enable_plane_collision

//set_interval_announce - sets the time between each of the announcements to repeat

//set_controltower_status

//disband <clan> - delete clan.(Clan should not consist in an alliance or is in a condition of war)

//snoop <nik> <on/off> - Espionage of the player.

//quiet [on | off] Set world chat on/off. When ON noone can type except announce.

//spawn_npcs count ai

//show_agit_info

//auction_open

//auction_close

//cease_fire2

//cease_fire

//view_enemy_list2

//view_enemy_list

//set_pausable

//set_freeze_field

//setarea

//play_music

//set_quick_siege

//set_siege

//set_pledge_level

//social

//summonnpc - summons an NPC

//summon2 - (ex: //summon2 50 dagger) will summon a +50 dagger

//summon - //summon dagger or //summon dagger 50 summons item and # of the item after

//whisper - //whisper on/off able to accept whispers from players or not

//gmspeed - sets how fast GM moves

//hide - goes into hide

//undying - god mode

//diet - overwieght dont matter

//skillmod

//infectedskill

//setbuilder - //setbuilder 1 joebob, sets GM lvl 1 to a person

//delannounce - see rikku

//setannouncesee rikku

//announce - send a message to the entire server

//kick - kicks a player off the server

//teleportto - brings u to a player, use Alt+G

//sendhome - sends a player home, no idea if its just random or not

//recall - brings a player to u

//servername - changes the server name derrrr

//updatecastleincome - checks how much money a castle makes

//settax - change the amount of tax on the castles town

//setcastleincome - sets how much a castle makes

//croplist

//castleincome

//delcrop

//setcrop

//debugnpc

//leavepetimsg - for petition system, never used it

//cancelgmpeti - for petetion system, never used it

//startpet

//endpet

//petans

//dropping

//netping

//teleport

//ping - pings the server

//gmliston - puts GM on active Gm list for server

//stoplogin - turns off login server

//stopsay

//setclass - get class id and set a player class to anything, ie: orc spellsinger lol

//setkarma - see rikku

//qmove

//gotopn

//viewpn

//worlddebug

//setai

//home

//killme - die die die

//delquest

//gmon - turns all features of a GM

//healthy - on other player or oneself, make hp/mp full

//reset_skill - delets all skills in ones player, or selected charcter

//setquest

//setonetimequest

//reset_npc_db - reloads the npc database

//set_skill_all - sets all skills for ones class that one is

//closeauth

//delete_pet

//create_pet - 1,2,3 wolf or hatchling summons that work

//getbookmark

//partytel - teleports current party to u

//telbookmark - teleports u to selected bookmark

//delbookmark - deletes a bookmark that u set

//addbookmark - adds a bookmark teleport to whereever u set it

//who - view how many people on server, stores, playing, max on all day

//delskill - deletes a certain skill that u choose (//delskill 99)

//eventview

//event

//serverstat

//setskill - sets a skill with certain id that u choose //setskill 99 3 (//setskill skillid skillLvl)

//bbs

//setparam - variables:

WIT 0-99

MEN 0-99

INT 0-99

CON 0-99

DEX 0-99

STR 0-99

STR 499

INT 499

DEX 199

WIT 99

CON 999

MEN 910

//PK_Counter

//Magic_defend

//Magic_attack

//Base_critical

//Base_attack_speed

//Base_physical_attack

//Noise

//Org_speed

//Org_hp_regen

//Org_hp

//SP - set the amount of sp a person has

//EXP - sets the amount of exp a person has

//Level - sets the persons level

//set_interval_announce [start | end | add | del] [interval] [id] [message] - manages announces that repeating with time:

[id] - 1-6

[interval] - might be 10, 20, 30, 40, etc

below //s = /set_interval_announce

//s - list all announces

//s /? - help message. Also current status (is announces showing or stopped);

//s end - START announces if there any.

//s start - STOPS announces. They must be stopped before deleting them. Yes, "start" stops them and "end" starts. dunno why.

//s add <interval> <id> [message] - ex: //s add 30 1 Have a nice playing. - this adds announce with id=1 and interval 30 mins

//s del <interval> <id> - ex: //s del 30 1 - this will remove announce with id=1 and interval=30

32bit GM命令的更多相关文章

  1. 扩展的GM命令

    命令 说明 例子 .rl all 重载核心所有自定义数据表   .rl item 重载item_template   .backup a 备份Auth数据库   .backup c 备份Charact ...

  2. CommandExtra.lua --游戏命令扩展

    --[[作者信息: Command Extra (游戏命令扩展) 作者QQ:247321453 作者Email:247321453@qq.com 修改日期:2014-3-12 功能:添加额外的命令.G ...

  3. UE4游戏开发基础命令

    在个人的Unrealengine账户中关联自己的GitHub账户成功之后,就可以访问UE4引擎的源码了. git clone -b release https://github.com/EpicGam ...

  4. 使用gm和imageMagick处理图片

    第一步安装imageMagick和gm模块 1, cnpm install --save imageMagick gm 第二步在服务器上安装imageMagick,下载地址http://www.ima ...

  5. 手游服务端框架之GM金手指的设计

    玩过单机游戏的朋友,应该对金山游侠这个软件很熟悉把.当初我经常嫌刷怪升级非常辛苦,很多时候都是直接用金山游侠来修改游戏的经验或者等级内存,直接把角色调得很牛逼. 游戏开发也非常需要这些可以修改玩家数据 ...

  6. 魔兽世界私服Trinity,从源码开始

    缘起因由 在一个无所事事的周末下午,突然想起魔兽世界,官方的账号很久没有上了,里面的大小号现在连满级都不是.以前曾经搭过传奇和星际争霸战网的私服自娱自乐,也听说过魔兽世界有开源的服务端模拟,既然兴致来 ...

  7. PVPGN 暗黑破坏神2 1.11b战网配置问题汇总

    写了第一篇配置指南之后,很多人向我咨询有关战网搭建的问题.于是觉得很有必要把若干常见的问题,和常用的进阶配置汇总一下,以方便更多人. 1.游戏版本和PVPGN与D2GS版本的问题. PVPGN建议选择 ...

  8. 如何简单的实现新手引导之UGUI篇

    一个完整的游戏项目肯定是要做新手引导的,而引导做的好坏可能会影响玩家的留存.那么怎么简单的实现个简有效的引导呢!先不说废话,先看看效果,这是一个基于UGUI做的一个简单的引导! 怎么样,看着是那么回事 ...

  9. GhostCore核心使用完全指南 - 传送门

    Ghostcore,小坏制作,QQ 532073265,切记不要使用破解版本,后果自负 更新日志 数据表集合 了解模板机制 基本设置 自动备份数据库 自定义字符 扩展的GM命令 NPC脚本(包括幻化. ...

随机推荐

  1. 如何运行vue项目(从gethub上download的开源项目)

    前提:入坑vue.js,从GitHub上download一个vue.js的开源项目,发现不知如何在浏览器运行,通过查阅网上教程,发现网上的很多是教你怎么新建项目,并没有一个是教如何打开已有的项目.自已 ...

  2. echarts中datazoom相关配置

    dataZoom=[ //区域缩放 { id: 'dataZoomX', show:true, //是否显示 组件.如果设置为 false,不会显示,但是数据过滤的功能还存在. backgroundC ...

  3. JavaScript设计模式—工厂模式

    工厂模式介绍 将new操作符单独进行封装,遇到new时,就要考虑是否该使用工厂模式 举一个生活当中的示例: 你要去购买汉堡,直接点餐,取餐,不会自己动手做,商店要“封装” 做汉堡的工作,做好直接给购买 ...

  4. Android 高级UI设计笔记23:Android 夜间模式之 两种常用方法(降低屏幕亮度+替换theme)

    1. 夜间模式 所谓的夜间模式,就是能够根据不同的设定,呈现不同风格的界面给用户,而且晚上看着不伤眼睛.特别是一些新闻类App实现夜间模式是非常人性化的,增强用户体验. 2. 我根据网上的资料 以及自 ...

  5. Hadoop学习之路(九)HDFS深入理解

    HDFS的优点和缺点 HDFS的优点 1.可构建在廉价机器上 通过多副本提高可靠性,提供了容错和恢复机制 服务器节点的宕机是常态   必须理性对象 2.高容错性 数据自动保存多个副本,副本丢失后,自动 ...

  6. 更改backend

    keras默认的backend是tensorflow,更改成theano方法如下: vim ~/.keras/keras.json { "image_dim_ordering":& ...

  7. 横向滑动页面,导航条滑动居中的 js 实现思路

    最近在做新闻咨询页的项目,各个新闻频道通过横向滑动切换,顶部的导航active栏需要跟着切换到对应频道,并且active到达中部时,要一直处在中间. 类似效果就是uc浏览器<UC头条>的导 ...

  8. empty与isset,null与undefined

    一. null VS undefined VS NaN 1. null 定义:null是特殊的object,是空对象,没有任何属性和方法. document.writeln(typeof null); ...

  9. 优化升级logging封装RotatingFileHandler

    1.升级优化,提供用户自定义日志level文件夹生成控制,提供日志错误显示到日志打印异常补获到日志 # coding=utf-8 import logging import time import o ...

  10. oracle 序列 视图 索引 同义词

    序列 Oracle 12C 之后,Oracle 之中提供的是一种手工的自动增长列控制,而这样的控制在 Oracle 之中使用序列(对象)完成. 序列的创建: CREATE SEQUENCE 序列名称 ...