这是游戏里的GM所能使用的指令
//admin - Brings up the admin menu.
开启GM指令
//gmchat - Sends a global message that only GMs can see.
游戏GM专用公告讯息,只有其他GM看得到
Ussage - //gmchat Type message here
//gm - Turns on or off your GM status.
开启或关闭GM
//invul - Makes you invulnerable.
开始或关闭无敌状态
//delete - Used to remove a targetted Mob. Mob will not respawn.
删除NPC脚色(包括怪物),删除后不会重生
//kill - Used to kill a targetted Mob. Mob will respawn.
杀死 NPC脚色(包括怪物),杀死后会重生
//target - Used to target a Mob or player.
锁定NPC,怪物,或其他玩家
Usage: //target kadar
使用方法://target 然后再键入NPC,怪物,或其他玩家名称
//buy - Opens the GMShop.
开启GM商店
//gmshop - Opens the GMShop.
开启GM商店
//announce_menu - Opens the announce menu.
开启公告选单
//list_announcements - Lists the current announcements.
显示之前的公告选单
//reload_announcements - Reloads the announcement list.
饥猜明 重新显示公告选单
//announce_announcements - Posts all announcements in list.
把所有公告选单里的内容全部公告出来
//add_announcement - Adds an announcement.
增加公告选单的内容
Usage: //add_announcement Your announcement here
使用方法://add_announcement 然后你要说的话
//del_announcement - Deletes an announcement.
删除公告
Usage: //del_announcement Your announcement here
使用方法://del_announcement 然后你要删除的话
//announce - Posts an announcement.
公布公告
Usage: //announce Your announcement here
使用方法://announce 然后你要烂告说的话
//itemcreate - Opens the item creation menu.
打开物品制造选单
//create_item - Creates an item.
创造物品
Usage: //create_item item_id
使用方法://create_item 然后兆棚物品ID
//server_shutdown - Starts the shutdown process.
开始进行服务器关机程序
Usage: //server_shutdown Number of seconds
使用方法://server_shutdown 然后倒数计时的秒数
//server_restart - Starts the restart process.
开始进行服务器重启程序
Usage: //server_restart Number of seconds
使用方法://server_restart 然后几秒后重起的秒数
//server_abort - Stops the server shutdown.
停止服务器关机程序
//show_spawns - Opens spawn menu.
打开NPC召唤选单
//spawn - Spawns a Mob on current target.
召唤NPC
Usage: //spawn npc_id
使用方法://spawn 然后NPC的ID
//spawn_monster - Spawns a Mob on current target.
召唤怪物
Usage: //spawn_monster npc_id
使用方法://spawn_monster 然后怪物的ID
//spawn_index - Shows menu for monsters with respective level.
显示怪物选单(特定的等级排列)
Usage: //spawn_index level
使用方法://spawn_index 然后怪物们的等级
//show_skills - Lists targetted players skills.
显示玩家的技能
//remove_skills - Removes the targetted players skills.
删除玩家的所有技能
//skill_list - Opens skill menu.
打开技能选单
//skill_index - Opens skill menu according to players stats.
显示玩家的技能表
//add_skill - Adds a skill to a targetted player.
帮玩家增加技能
Usage: //add_skill Skill_id level
使用方法://add_skill 然后技能的ID,接着是技能等级
//remove_skill - Removes a skill from a targetted player.
删除玩家的技能特定技能
Usage: //remove_skill Skill_id
使用方法://remove_skill 然后技能ID
//get_skills - Temporarily gives you the skills of a targetted player.
暂时性的给你所选择的玩家技能
//reset_skills - Restores your skills from before the get_skills command.
从新启动玩家的技能(在学到技能前的状态)
//add_exp_sp_to_character - Opens the xp sp menu of the targetted player.
打开替玩家加经验值,SP值的选单
//add_exp_sp - Adds xp sp to targetted player.
替你所选择的玩家加经验值,SP值
Usage: //add_exp_sp xp_number sp_number
使用方法://add_exp_sp 然后是经验值,接着是SP值
//edit_character - Opens menu to edit targetted player.
开启玩家变动选单
//current_player - Opens character list.
开启玩家选单
//character_list - Opens list of online players.
开启在线玩家选单
//show_characters - Opens list of online players.
开启在线玩家选单
//find_character - Opens the find player menu.
开启搜寻玩家选单
//save_modifications - Saves the edits done to the targetted player.
储存你选择的玩家所作的改动
//show_moves - Opens the teleport menu.
开启传送选单
//show_moves_other - Opens the teleport menu named other.
开启其他名字的传送选单(这句我不懂,我就用原文翻译)
//show_teleport - Opens the teleport menu.
开启传送选单
//teleport_to_character - Teleports you to the named player.
传送到玩家的身边
Usage: //teleport_to_character kadar
使用方法://teleport_to_character 然后玩家的名字
//move_to - Teleports you to coordinates given.
传送到你所指定的坐标
Usage: //move_to 11111 22222 3333
使用方法://move_to 然后坐标
//teleport_character - Teleports targetted player to coordinates given.
传送你所选择的脚色到你指定的坐标
Usage: //move_to 11111 22222r 3333
使用方法:选择你要选择的脚色,然后//move_to 之后坐标
//recall - Summons a named player to you.
把你所选择的脚色叫来
Usage: //recall kadar
使用方法://recall 然后脚色名字
//restore - Restores a broken player info.
回复已经破损的玩家资料
//repair - Repairs a broken player info.
修复已经破损的玩家资料
Read GM Commands list Page 2
GM指令第二页
These are the available GM commands in game.
这是游戏里的GM所能使用的指令
//changelvl - Changes a targetted players access level.
更改所选泽的玩家的权限等级
Usage: //changelvl Access_level_number
使用方法://changelvl 然后权限等级
//ban - Used to kick and ban a named players account.
封掉玩家的账号
Usage: //ban kadar
使用方法://ban 然后玩家名字
//unban - Used to unban a named players account.
解除封掉玩家的账号的指令
Usage: //unban kadar
使用方法://unban 然后玩家名称
//kick - Used to disconnect named player.
踢除玩家
Usage: //kick kadar
使用方法://kick 然后再打玩家名称
//ride_wyvern - Command used to summon and ride a wyvern.
骑飞龙
//unride_wyvern - Command to dismount and unsummon a wyvern.
不骑飞龙
//mons - Used to start the Monster Races.
开启怪物竞赛
//edit_npc - Used to edit a NPCs stats.
更改NPC的资料
Usage: //edit_npc npc_id
使用方法://edit_npc 然后NPC的ID
//save_npc - Saves the editted NPC info.
储存已经更改过的NPC资料
//recall_npc - Teleports targetted NPC to you.
把NPC传送过来
//show_droplist - Shows the named NPCs drop list.
开启你所选取的NPC掉宝资料
Usage: //show_droplist npc_id
使用方法://show_droplist 然后NPC的ID
//edit_drop - Edits the named NPCs droplist.
更改你所选取的NPC的掉宝资料
Usage: //edit_drop npc_id item_id [min max sweep chance]
使用方法://edit_drop 然后NPC的ID,物品ID,掉宝率
//add_drop - Adds a drop to the named NPCs droplist.
增加物品到你所选取的NPC的掉宝资料里
Usage: //add_drop npc_id item_id [min max sweep chance]
使用方法://add_drop 然后是NPC的ID,物品ID,掉宝率
//del_drop - Deletes a drop to the named NPCs droplist.
删除你所选取的NPC的掉宝资料的物品
Usage: //del_drop npc_id item_id
使用方法://del_drop 然后是NPC的ID,物品ID
//showShop - Shows a targetted vendors shoplist.
开启商店的物品贩卖资料
//addShopItem - Adds an item to a vendors shop.
增加物品到商店里面
Usage: //addShopItem Shop_ID item_id Price
使用方法://addShopItem 然后商店ID, 物品ID,之后是物品价格
//delShopItem - Deletes an item from a vendors shoplist.
删除商店里的物品
Usage: //delShopItem Shop_ID item_id
使用方法://delShopItem 然后是商店ID,物品ID
//editShopItem - Edits an item in a vendors shoplist.
更改商店里的物品
Usage: //editShopItem Shop_ID item_id Price
使用方法://editShopItem 然后是商店ID,物品ID,价钱
//gonorth
往北
//gosouth
往南
//goeast
往东
//gowest
往西
//goup
往上
//godown
往下
//setcastle
设置攻城
//clean_up_siege
删除攻城
//spawn_doors
召唤城门
//move_defenders
移动守卫
//startsiege
开始攻城
//endsiege
结束攻城
//list_siege_clans
显示攻城及守城的盟
//add_defender
增加守卫
//add_attacker
增加攻击者
//clear_siege_list
删除攻城列表
//sgspawn <npc_id><group>
召唤守卫及组
//siege - Castle names: gludio, giran, dion, oren
选定所要攻打的城
//play_sounds
开启音乐
//nokarma - Removes karma from target player
移除红人资料
//setkarma value - Sets karma of target player to value
设定玩家红人资料
//setew value - Sets enchantment of target player currently equipped weapon to value
设定玩家武器的等级
Usage: //setew 9999
使用方法://setew 然后是数值
//banchat - Mutes a player
让玩家禁言
Usage: //banchat kadar
使用方法://banchat 玩家名称
//unbanchat - Unmutes a player
解除禁言
Usage: //unbanchat kadar
使用方法://unbanchat 玩家名称
----------------------------------------我是分隔线----------------------------------------
感谢幻亦真给与指导
//polymorph character npc id
把你所选取的角色变成另外一位角色
//polymorph item id to poly target into id|
把你所选取的物品变成另外一件物品
//polyself <npc id>- Used to polymorph yourself into a mob
把自己变成另外一个NPC的样子(自己看不出来)
//unpolyself - Returns you to the normal state
把自己变成原来的样字
//polymorph item <itemid>- Polymorphs an item
复制一样物品
----------------------------------------我是分隔线----------------------------------------
Read GM Commands list Page 3
GM指令第三页
These are the available GM commands in game.
这是游戏里的GM所能使用的指令
//invis - To hide your character
隐形脚色
//invisible - To hide your character
隐形脚色
//vis - To unhide your character
解除隐形
//visible - To unhide your character
解除隐形
//earthquake <Intensity><Duration>- Creates an earthquake
地震
//para_all - Paralyzes all players}}
让所有玩家无法移动
//unpara_all - Unparalyze all players
让所有玩家能自由移动
//para - Paralyze Target
让你所选取的目标无法移动
//unpara - Unparalyze Target
让你所选取的目标能自由移动
//bighead - Gives target a big head
让你所选取的目标变大头
//shrinkhead - Returns targets head to normal size
让你所选取的目标的头变回原来的样子
----------------------------------------我是分隔线----------------------------------------
以下的内容指令为试验使用,但是我不知道该如何使用
//test - These //test commands are for the universe mapping feature (developmental)
//test uni flush
//test hash <number>
//test uni
//res
----------------------------------------我是分隔线----------------------------------------
//mammon_find - Lists the current location (if any) of the Mammon NPCs
找到财富商人的位置
//mammon_respawn - Lists the current respawn times (if any) of the Mammon NPCs
让财富商人能再次出现
//list_spawns <npcId>- Lists all the spawns for the specified NPC ID. If teleIndex is specified,
player targets to the location of that spawn.
标示出所有特定的NPC ID
//list_spawns <npcId><teleIndex>- Teleports to the player based on the given spawn index (from using //list_spawns <npcId>Wink.
传送到特定的NPC那里
//gmliston - (To add Gm from gmlist)
多加GM列表
//gmlistoff - (To remove GM from gmlist)
移除GM列表
//silence - (To enable/disable message mode)
开启或关闭任何秘密讯息
----------------------------------------我是分隔线----------------------------------------
感谢乾坤无极给与指导
//diet - Current status of diet mode for player.
现在玩家的负重情况
//diet on - Enables diet mode.
开启负重模式
//diet off - Disables diet mode.
解除负重模式
----------------------------------------我是分隔线----------------------------------------
//tradeoff - Current status of trading for player.
显示目前玩家的交易情形
//tradeoff on -Enables trading with other players.
让玩家之间可以进行交易
//tradeoff off - Disables trading with other players.
禁止玩家交易
----------------------------------------我是分隔线----------------------------------------
感谢乾坤无极给与指导
/block <name>
封玩家的号
/unblock <name>
解除玩家的号
/blocklist
被封号玩家列表
/allblock
全部玩家封号
/allunblock
全部玩家解除封号
----------------------------------------我是分隔线----------------------------------------
//heal - Heals yourself
自行加血
//heal (with a character selected) - Heals selected character
对你所选取的玩家加血
//heal <radius>- Heals all characters within <radius>
在一定范围内对所有玩家加血
//heal <name>- Heals character with the name <name>. Does not have to be targeted.
对玩家加血(不许要选取,只要打出玩家的名字即可)
//give_all_skills - It will give your target all the skills he can learn at his level with his class
给与你所选取的玩家在他的等级下所有的技能
/friendlist
好友列表
//openall - Opens all doors
打开所有的门
//closeall - Closes all doors
关闭所有的门
//unspawnall - Remove all npcs from world
移除天堂2里所有的NPC
//respawnall - Reload npc data
从新启动所有的NPC资料
//reload skill - Reloads skill data.
从新启动所有的技能资料
//reload multisell - Reloads multisell data.
从新启动所有的商店资料
//atmosphere <signsky><dawn|dusk>- Sets current sky to either Dawn or Dusk, as seen by members of the winning cabal.
决定天空是黄昏还是黎明阵营
//atmosphere <sky><day|night>- Sets current sky to either day or night.
决定天空是白天还是晚上
//cache_htm_rebuild - Rebuilds and reloads the HTML cache.
从新建立html的资料
//cache_htm_reload - Reloads the HTML cache.
从新启动html的资料
二、如何设置GM号:
你到Navicat里面找到characters找到你的角色的accesslevel 把数值设为200``
三、部分常用物品ID:
很多东西经常要用到 但GM商店里又没卖 自己找ID觉得累死,现在整理出部分要用到的物品ID 希望大家喜欢:
大家还需要那些物品ID 请在后面留言 我会陆续增加的.
血盟升级道具:
血之证: 1419
结义之证: 3874
盼望之证: 3870
各类结晶宝石:
D结晶: 1458
C结晶: 1459
B结晶: 1460
A结晶: 1461
S结晶: 1462
D宝石: 2130
C宝石: 2131
B宝石: 2132
A宝石: 2133
S宝石: 2134
头箍类:
因纳得立头箍: 6834
狄恩头箍: 6835
高达德头箍: 6836
欧瑞头箍: 6837
古鲁丁头箍:6838
奇岩头箍: 6839
亚丁头箍: 6840
城主王冠: 6841
命运之翼头箍: 6842
猫耳: 6843
狸耳: 7680
兔耳: 7683
部分BOSS首饰:
安塔瑞斯德耳环: 6656
巴拉卡斯德项链: 6657
巴温的戒指: 6658
札肯的耳环: 6659
巨蚁女王的戒指: 6660
奥尔芬的耳环: 6661
3种封印石:
蓝色封印石: 6360
绿色封印石: 6361
红色封印石: 6362
搜魂石:
红色搜魂石: 4629
红色搜魂石1段~10段 4630~4639
红色搜魂石11段~13段 5906~5908
绿色搜魂石: 4640
绿色搜魂石1段~10段 4641~4650
绿色搜魂石11段~13段 5909~5911
蓝色搜魂石: 4651
蓝色搜魂石:1段~10段 4652~4661
蓝色搜魂石11段~13段 5912~5914
下为财富铁匠合成物品时使用的搜魂石ID(感谢prince97
提供):
红11 - 5577
红12 - 5580
绿11 - 5578
绿12 - 5581
蓝11 - 5579
蓝12 - 5582
宠物召唤物品:
小水牛箫: 6648
小狮子钟: 6649
小笑翠鸟笛: 6650
星期一星期二星期三星期四型瞎星期五星期六五月六月七月八明租歼月SeptemberOctober 11 12星期日星期一星期二星期三星期四星期五星期六星期日1 2 3 4 5 6 7 8 9 10 11 Dec0January二月三月四月= Overflowwhileconvertingvariantoftype ( % s的) intotype ( % s的) Variantoverflow Invalidargument Invalidvarianttype Operationnotsupported Unexpectedvarianterror Externalexception % x Assertionfailed Interfacenotsupported Exceptioninsafecallmethod的% s ( % s后, % d行) AbstractError ? Accessviolationataddress %激冲 pinmodule '的% s ' 。 % sofaddress % , p值SystemError.Code : % d.% s的AcalltoanOSfunctionfailed / Applicationisnotlicensedtousethisfeature
控制银Privilegedinstruction (异常% sinmodule %坐在%页
的% s % s的
ApplicationError1Format ' % s'invalidorincompatiblewithargument Noargumentforformat ' % s的“ Variantmethodcallsnotsupported读写$ Errorcreatingvariantorsafearray ) Variantorsafearrayindexoutofbounds Variantorsafearrayislocked Invalidvarianttypeconversion Invalidvariantoperation % Invalidvariantoperation ( % s的% 0.8 x )的
% s5Couldnotconvertvariantoftype ( % s的) intotype ( % s的) Fileaccessdenied Readbeyondendoffile Diskfull Invalidnumericinput Divisionbyzero Rangecheckerror IntegeroverflowInvalidfloatingpointoperation Floatingpointdivisionbyzero Floatingpointoverflow Floatingpointunderflow Invalidpointeroperation Invalidclasstypecast0Accessviolationataddress %山口% sofaddress % , p值Accessviolation Stackoverflow % s.Seeknotimplemented $ Operationnotallowedonsortedlist $ % snotinaclassregistrationgroup
COBOL语言测试(只有部分答案,其他可在书上或电子文档找到)
一. 名词解释(每题2分)共10分
1. HIGH-VALUE(一个字节)= FF LOW-VALUE(一个字节)= 00 QUOTE表示是引号
JUSTIFIED RIGHT表示是右对齐 POSITIVE表示是正数 NEGATIVE表示是负数
2. 数据类型为”A”和”X”分别代表是:A字母X字符
3. 解释bit, Byte, Word,半字, 双字及它们的关系(占多少位).
4. 解释 01 B COPY LIB1
REPLACING A1 BY B1
A2 BY B2
A3 BY B3
A4 BY B4.
5. 解释TRANSFORM T FROM ‘TNU’ TO ‘*’.T为”TOTAL AMOUNT”
二. 填空题(共33分)
1. (4分)
描述 数值 在内存中表示
02 A PIC 999V99 99.2 09920
02 A PIC 9(6) 8010 008010
02 A PIC P(3)9(2) 0.00011 11
02 A PIC -9999 +1268 _1268
02 A PIC S9(4)V99 -0.49 000049
02 A PIC $ Z(2). Z Z 0.01 $_ _.01
02 A PIC ++++.++ 0.0 _ _ _ _ _ _ _
02 A PIC $9(2). 99DB 856. 19 $56.19_ _
02 A PIC +Z(3).99 6.4 +_ _6.40
2. (2分)
77 TPIC 99999V9999
77 NPIC 99.999,9
若T的原值为567. 5685, MOVE T TO N
N为:67.568,5
3. (2分)
77 R PIC 999PP
77 T PIC B99900
当R的在内存值为123时, MOVE R TO T
T为:_12300
4.画出下列对应关系(4分)
外部十进制DISPLAY
外部明哗浮点数DISPLAY
内部十进制COMP-3
定点二进制COMP
内部短浮点COMP-1
内部长浮点COMP-2
数值为14外部十进制为_F1F4_内部十进制_014C_定点二进制000E
5.比较大小(2分)
EBCPIC码’V’_<_‘8’ASCII码’V’_>_‘8’
6. (2分)
定点二进塌槐旦制:
在PIC子句中描述字符9的个数 占内存字节
1-4 2
5-9 4
10-18 8
7. (2分)
02 A PIC S9(3) SIGN IS LEADING SEPARATE
A为-648
60 F6 F4 F8
“--”在EBCDIC码中为60
8. (3分)
01 A.
02 A1 PIC 9(3) SYNC LEFT VALUE 82.
02 A2 PIC X(3) SYNC RIGHT VALUE ‘ABC’.
02 A3 PIC 9(5) SYNC LEFT VALUE 82345.
02 A4 PIC X(2) VALUE ‘RE’.
02 A5 PIC 9(4) VALUE 123
画出上面变量在内存结团扰构.
9. (1分)
Y*C=>C
MULTIPLY Y _BY_ C.
10. (2分)
DIVIDE 43 INTO 456 GIVING C REMAINDER D
C为_10_ D为_26_
11. (2分)
A=FGH_, B=KLM_, C=XYZ_, D 为PIC X(12)
MOVE 4 TO T.
STRING A, B, C DELIMITED BY ALL SPACE WITH POINTER T INTO D
D为_ _ _ FGHKLMXYZ
12. (4分)
A=DATE_ _PSDASDFT_GDSGDTITY_
B PIC X(6), C PIC X(8), D PIC X(9)
UNSTRING A DELIMITED BY ‘R’ INTO B COUNT IN W.
W为_25_
MOVE 7 TO U.
UNSTRING A INTO B,C,D WITH POINTER U TALLYING IN N.
N为_3_
13. (2分)
INSPECT A TALLYING N FOR ALL ‘L’
REPACING LEADING A BY ‘E’ AFTER ‘L’.
A=SAALAMALI, N=2, A为SAALEMALI
14. (1分)
COBOL语言中变量名最长长度为_30_
三. 判断题: (每题2分)共10分
1.77 A PIC 9(4)V99
77 B PIC $(6). 99
MOVE B TO A 是否可以?为什么?
2. IF B**2-4*A*C NOT <0 THEN
NEXT SENTENCE
ELSE
DISPLAY ‘B**2-4*A*C<0’. 是否可以? 为什么?
3.GOTO 0000-MAIN. 是否可以? 为什么?
4.表元素B(I+1),A(3+5) 是否可以? 为什么?
5.定义一个变量
00 WORK-RECORD.
01 NAME PIC X(20). 是否可以? 为什么?
四. 简答: (共47分)
1. COBOL程序的结构并说明和包含四个部(中英文)及作用. (10分)
2. COBOL源程序的书写格式并加以说明(3分)
3. 在层次的概念中, 层次结构是什么, 层次规定是什么,66层,77层, 88层一般用于定义什么.
(8分)
4. (3分)
01 PAY-RECORD.01 EDITTED-RECORD.
04 A1 PIC 9(4)V99. 04 B3 PIC ZZZZ.99.
04 A2 PIC 9(4)V99. 04 A2 PIC ZZZ9.99.
04 A3 PIC 9(3)V99. 04 A1 PIC ZZZ9.99.
MOVE CORR PAY-RECORD TO EDITTED-RECORD. 左边这个语句相当于:
MOVE A1 OF PAY-RECORD TO A1 OF EDITTED-RECORD.
MOVE A2 OF PAY-RECORD TO A2 OF EDITTED-RECORD.
5. (3分)
01A.
02 A1 PIC 9(3).
02 A2 PIC 9(2)V99.
02 A3 PIC 9V9.
01 B.
02 A1 PIC 99V99.
02 A3 PIC 9V9.
02 A2 PIC 99V99.
ADD CORR A TO B 左边这个语句相当于:
ADD A1 OF A TO A1 OF B.
ADD A2 OF A TO A2 OF B.
ADD A3 OF A TO A3 OF B.
6. (4分)
将下面公式对应的COBOL语句.(禁止用COMPUTE)
C = A + B + C
COBOL语句:ADD A,B TO C.
D = Z-A-B-C
E = Z-A-B-C
F = Z-A-B-C
COBOL语句(用一条语句写):
SUBTRACT A,B,C FROM Z GIVING D,E,F.
6. (2分)
将下面COBOL语句对应的数学公式.
DIVIDE Y INTO Z GIVING C. C=Z/Y
DIVIDE Y BY Z GIVING C.C=Y/Z
7. (2分)
根据优先级顺序用括号画出优先级
(X=Y) OR *((T=W) AND (G IS NOT POSITIVE)) AND (C>D))
8. (6分)
根据下图写出COBOL语句
A->X
当X<= 5
执行T1到T2段
X+B->X
执行PERFORM的下一语句
PERFORM T1 THRU T2 VARYING X FROM A
BY B UNTIL X >5.
9.解释下面COBOL语句(4分)
01 STUDENT-SCORE-RECORD.
03 NAME PIC X(10).
03 QTY-OF-COURSE PIC 9(2).
03 SCORE OCCURS 1 TO 15 TIMES
DEPENDING ON QTY-OF-COURSE PIC 9(3).
11. (2分)
’LABEL RECORD IS STANDARD’和’LABEL RECORD IS OMITTED’区别?
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)