|
You last visited: Today at 17:43
Advertisement
Channel1 Crasht plötzlich. Warum?!
Discussion on Channel1 Crasht plötzlich. Warum?! within the Metin2 Private Server forum part of the Metin2 category.
08/11/2013, 20:42
|
#1
|
elite*gold: 1143
Join Date: Jun 2012
Posts: 800
Received Thanks: 399
|
Channel1 Crasht plötzlich. Warum?!
Ja wie der Titel sagt, Crasht unser Channel 1 plötzlich...
Es ist mir langsam wirklich ein Rätsel...
Hier mal ein ausdruck der Sysrr nachdem der Server grade wieder hochgefahren wurde:
Code:
SYSERR: Aug 11 20:42:31 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Aug 11 20:42:31 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 1
SYSERR: Aug 11 20:42:31 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Aug 11 20:42:31 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 20:42:31 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 20:42:31 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
Und hier mal einmal die Sysrr & Syslog von 19:30 (erster reboot) bis jetzt grade. (20:00 - 20:40 wo zwischen wieder gecrasht ist.)
Sysrr:
Code:
SYSERR: Aug 11 18:56:50 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Aug 11 18:56:50 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 1
SYSERR: Aug 11 18:56:50 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Aug 11 18:56:50 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 18:56:50 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 18:56:50 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 19:02:07 :: Process: SEQUENCE 3a463300 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:02:07 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:02:43 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 19:02:43 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start click
SYSERR: Aug 11 19:02:44 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 19:02:44 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start click
SYSERR: Aug 11 19:04:00 :: Process: SEQUENCE 3a45bb00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:04:00 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:04:14 :: Process: SEQUENCE 3a34b000 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:04:14 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:04:59 :: Process: SEQUENCE 3a69b800 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:04:59 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:05:02 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Aug 11 19:21:11 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Aug 11 19:21:11 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 1
SYSERR: Aug 11 19:21:11 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Aug 11 19:21:11 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 19:21:11 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 19:21:11 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Aug 11 19:22:58 :: affect_add_collect: invalid argument
SYSERR: Aug 11 19:26:01 :: Process: SEQUENCE 39d3a200 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:26:01 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:27:14 :: Process: SEQUENCE 3a337500 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:27:14 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:35:08 :: Process: SEQUENCE 39d3f900 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:35:08 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:39:32 :: Click: CQuestManager::Click(pid=7199, target_npc_name=Arbeitsamt) - NOT EXIST NPC RACE VNUM[20094]
SYSERR: Aug 11 19:39:34 :: Click: CQuestManager::Click(pid=7199, target_npc_name=Arbeitsamt) - NOT EXIST NPC RACE VNUM[20094]
SYSERR: Aug 11 19:39:36 :: Click: CQuestManager::Click(pid=7199, target_npc_name=Arbeitsamt) - NOT EXIST NPC RACE VNUM[20094]
SYSERR: Aug 11 19:41:24 :: Process: SEQUENCE 3a557f00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:41:24 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:51:03 :: Process: SEQUENCE 39d42f00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:51:03 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:51:09 :: Process: SEQUENCE 39d39000 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:51:09 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:53:37 :: Process: SEQUENCE 3a6cfc00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:53:37 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 19:59:29 :: Process: SEQUENCE 3a4c7700 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 19:59:29 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:03:53 :: Process: SEQUENCE 3a7a5200 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:03:53 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:07:48 :: Process: SEQUENCE 3a6d1400 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:07:48 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:14:38 :: Process: SEQUENCE 39d33f00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:14:38 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:16:37 :: _find_npc_by_vnum: invalid argument
SYSERR: Aug 11 20:16:37 :: _find_npc_by_vnum: invalid argument
SYSERR: Aug 11 20:19:28 :: GetUniqueHpPerc: Unknown Key : fake3
SYSERR: Aug 11 20:19:28 :: PurgeUnique: Unknown Key or Dead: fake3
SYSERR: Aug 11 20:19:38 :: IsUniqueDead: Unknown Key or Dead : real
SYSERR: Aug 11 20:19:39 :: Process: SEQUENCE 3a4c3500 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:19:39 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:24:48 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:24:48 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:28:30 :: Process: SEQUENCE 3a6c5c00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:28:30 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:28:58 :: DoRefineWithScroll: REFINE : Unknown refine scroll item. Value0: 1
SYSERR: Aug 11 20:31:37 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:31:37 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:31 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:38 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:38 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:47 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:47 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:51 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:51 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:55 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:55 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:35:40 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:35:40 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:37:28 :: locale_find: LOCALE_ERROR: "ÀÌ¹Ì Å»°ÍÀ» ÀÌ¿ëÁßÀÔ´Ï´Ù.";
SYSERR: Aug 11 20:37:28 :: locale_find: LOCALE_ERROR: "ÀÌ¹Ì Å»°ÍÀ» ÀÌ¿ëÁßÀÔ´Ï´Ù.";
Syslog:
Code:
SYSERR: Aug 11 20:03:53 :: Process: SEQUENCE 3a7a5200 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:03:53 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:07:48 :: Process: SEQUENCE 3a6d1400 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:07:48 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:14:38 :: Process: SEQUENCE 39d33f00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:14:38 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:16:37 :: _find_npc_by_vnum: invalid argument
SYSERR: Aug 11 20:16:37 :: _find_npc_by_vnum: invalid argument
SYSERR: Aug 11 20:19:28 :: GetUniqueHpPerc: Unknown Key : fake3
SYSERR: Aug 11 20:19:28 :: PurgeUnique: Unknown Key or Dead: fake3
SYSERR: Aug 11 20:19:38 :: IsUniqueDead: Unknown Key or Dead : real
SYSERR: Aug 11 20:19:39 :: Process: SEQUENCE 3a4c3500 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:19:39 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:24:48 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:24:48 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:28:30 :: Process: SEQUENCE 3a6c5c00 mismatch 0xaf != 0x0 header 254
SYSERR: Aug 11 20:28:30 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]
SYSERR: Aug 11 20:28:58 :: DoRefineWithScroll: REFINE : Unknown refine scroll item. Value0: 1
SYSERR: Aug 11 20:31:37 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:31:37 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:31 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:38 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:38 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:47 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:47 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:51 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:51 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:55 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:55 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:35:40 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:35:40 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:37:28 :: locale_find: LOCALE_ERROR: "ÀÌ¹Ì Å»°ÍÀ» ÀÌ¿ëÁßÀÔ´Ï´Ù.";
SYSERR: Aug 11 20:37:28 :: locale_find: LOCALE_ERROR: "ÀÌ¹Ì Å»°ÍÀ» ÀÌ¿ëÁßÀÔ´Ï´Ù.";
PS: Diese ganzen LUA Errors & die Log Errors treten erst seit heute auf! Sie sind neu! Niemand hat an den Quests rumgefummelt wie die Log es ausspuckt. Deshalb sind wir ratlos!
PS2: Die Errors ganz oben in der Ersten Sysrr die über den Mapindex von Map1 gehen sind genauso neu! Sie sind heute das ALLERERSTE mal aufgetreten! Niemand hatte was dran geändert. Genau deshalb wissen wir nicht genau was da vor sich geht.
|
|
|
08/12/2013, 00:19
|
#2
|
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,594
|
Code:
SYSERR: Aug 11 20:19:28 :: GetUniqueHpPerc: Unknown Key : fake3
SYSERR: Aug 11 20:19:28 :: PurgeUnique: Unknown Key or Dead: fake3
SYSERR: Aug 11 20:19:38 :: IsUniqueDead: Unknown Key or Dead : real
Das scheint in einem Dungeon zu sein
Code:
SYSERR: Aug 11 20:28:58 :: DoRefineWithScroll: REFINE : Unknown refine scroll item. Value0: 1
SYSERR: Aug 11 20:31:37 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:31:37 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:31 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:38 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:38 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:47 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:47 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:51 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:51 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:55 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:55 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:35:40 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:35:40 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
Da wird eine nicht vorhandene Tabelle indexiert
also zB
a= nil
a.b
statt a = {b=3}; a.b
Fehlt evtl in der Questlib etwas?
Bzw prüft eure locale mal auf Fehler
|
|
|
08/12/2013, 01:51
|
#3
|
elite*gold: 1143
Join Date: Jun 2012
Posts: 800
Received Thanks: 399
|
Quote:
Originally Posted by Mijago
Code:
SYSERR: Aug 11 20:19:28 :: GetUniqueHpPerc: Unknown Key : fake3
SYSERR: Aug 11 20:19:28 :: PurgeUnique: Unknown Key or Dead: fake3
SYSERR: Aug 11 20:19:38 :: IsUniqueDead: Unknown Key or Dead : real
Das scheint in einem Dungeon zu sein
Code:
SYSERR: Aug 11 20:28:58 :: DoRefineWithScroll: REFINE : Unknown refine scroll item. Value0: 1
SYSERR: Aug 11 20:31:37 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:31:37 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:31 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:38 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:38 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:47 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:47 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:51 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:51 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:32:55 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:32:55 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
SYSERR: Aug 11 20:35:40 :: RunState: LUA_ERROR: locale/germany/quest/object/state/pet_menu:1: attempt to call field `is_mine' (a nil value)
SYSERR: Aug 11 20:35:40 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_menu.start letter
Da wird eine nicht vorhandene Tabelle indexiert
also zB
a= nil
a.b
statt a = {b=3}; a.b
Fehlt evtl in der Questlib etwas?
Bzw prüft eure locale mal auf Fehler
|
locale.lua?
Code:
locale = {}
locale.man_postfix = "Mann"
locale.woman_postfix = "Frau"
locale.confirm = "Bestätigen"
locale.reward = "Belohnung"
locale.exp = "Erfahrung"
locale.count_prefix = ""
locale.count_postfix = ""
locale.level = "Level"
locale.quest_word = "Auftrag"
locale.complete = "Abgeschlossen"
locale.start = "Start"
locale.chat = "Dialog"
locale.eliminate_on_begin = "töten"
locale.eliminate_on_end = "getötet"
locale.yes = "Ja"
locale.no = "Nein"
locale.cancel = "Abbrechen"
locale.gold = "Yang"
locale.need_item_prefix = ""
locale.need_item_postfix = "= wird benötigt."
locale.map_name = {
[61] = "Berg Sohan",
[62] = "Dojum-Papier",
[63] = "Yongbi-Wüste",
[64] = "Tal von Seungryoung",
}
locale.empire_names = {
[0] = "Alle Reiche",
[1] = "Chunjo-Reich",
[2] = "Jinno-Reich",
[3] = "Shinsoo-Reich",
}
locale.forked_man_chat = "Die Reiche kämpfen um die Vorherrschafft"
locale.forked_man_say = "Hey! Unter dieser Stadt wurde ein Pass entdeckt. [ENTER] Er verbindet anscheinend alle Reiche...[ENTER] Aber dort ist auch etwas böses anwesend. [ENTER] Für die Sicherheit des Reiches brauchen wir deine Stärke. [ENTER] Hilfst du dabei dieses Böse zu vernichten und für die Sicherheit des Reichs zu sorgen?"
locale.forked_man_say_cant = "Hey! Unter dieser Stadt wurde ein Pass entdeckt [ENTER] Er verbindet anscheinend alle Reiche...[ENTER] Wir untersuchen den Kanal gerade noch."
locale.forked_enter = "Betreten"
locale.forked_no_enter = "Nicht Betreten"
locale.forked_open_gate = "Der Kampf beginnt [ENTER] Das Siegel des Tores wird sich öfffnen und alle werden das heilige Land betreten.[ENTER] Das heilige Land wird sehr bald uns gehören!!! [ENTER][ENTER] Unsere Kämpfer kommen später ins heilige Land."
locale.forked_kill_boss = "Ha!! Niemals werde ich sterben[ENTER] Ich werde wiederkommen, immer wieder !!! [ENTER][ENTER][ENTER] Die Reiche streben nach Vorherrschaft, jeder sollte das nun verstehen."
locale.forked_condition = "Wir müssen den Schlüssel zum Pass finden, bevor ein anderes Reich das heilige Land einnimmt müssen wir es einnehmen.. Zeigt unsere Stärke tötet den Anführer dann werden wir den Schlüssel als Erstes finden."
locale.forked_condition2 = "Bekämpft die Monster des heiligen Landes, solange wie möglich! Zeigt unsere Stärke [ENTER]"
locale.forked_rule = "Jedes der Reiche strebt nach der Vorherrschaft aber es gibt Regeln! [ENTER][ENTER] 1. Wer in diesem Gebiet stirbt, wird ins Dorf teleportiert.[ENTER]Über den Schlachtenverwalter ist ein erneuter Beitritt zur Reichsschlacht möglich. [ENTER] 2. Wenn das Tor zum heiligen Land geöffnet wurde,[ENTER] kann dieses Gebiet nicht mehr über den Schlachtenverwalter betreten werden.[ENTER]3. Um das heilige Land zu erreichen, muss der passende Schlüssel gefunden werden."
locale.forked_rule_sungzi = "Regeln für das heilige Land: [ENTER] 1. Das Reich, das die geringste Anzahl von Siegen gegenüber den gegnerischen Reichen erreicht hat, scheidet als Erstes aus. [ENTER]2. Es erscheinen Monster. Das erste Reich, das eine bestimmte Anzahl an Monster und [ENTER] an Gegnern tötet, hat gewonnen. [ENTER]3. Wer dreimal im heiligen Land stirbt, kehrt zum Dorf zurück.[ENTER]4. Wenn anschließend der elite Neunschwanz getötet ist, endet die Schlacht. [ENTER]5. Das siegreiche Reich erhält einen Bonus (z.B. erhöhte Droprate, erhöhte EXP-Quote). [ENTER]"
locale.NOTICE_COLOR = color256(255, 230, 186)
locale.NORMAL_COLOR = color256(196, 196, 196)
locale.deviltower_man_chat = "Den Turm betreten"
locale.deviltower_man_say = "Viele verstorbene Seelen gibt es dort. [ENTER] Es ist eine Herausforderung für Mutige aber niemand hat es bisher zur obersten Ebene geschafft. [ENTER] Zahllose tapfere Kämpfer haben ihn betreten, aber keiner ist je wieder rausgekommen...[ENTER] Willst du den Turm betreten?"
locale.deviltower_man_say_you_cant = "Viele leute haben in diesem Turm den Tod gefunden. [ENTER] Sehr starke Krieger könnten die Spitze erriechen. [ENTER] Man kann den Turm nichtmehr lebend verlassen. [ENTER] Du kannst nicht eintreten, du bist noch zu schwach erreiche erst Level 40."
locale.deviltower_enter = "Ich muss es versuchen!"
locale.deviltower_no_enter = "Das nächste Mal..."
locale.deviltower2_man_chat = "Das Verlies betreten"
locale.deviltower2_man_say = "Viele verstorbene Seelen gibt es dort. [ENTER] Es ist eine Herausforderung für Mutige aber niemand hat es bisher zur Untersten Ebene geschafft. [ENTER] Zahllose tapfere Kämpfer haben es betreten, aber keiner ist je wieder rausgekommen...[ENTER] Willst du das Verlies betreten?"
locale.deviltower2_man_say_you_cant = "Viele leute haben in diesem Verlies den Tod gefunden. [ENTER] Sehr starke Krieger könnten das Verlies erriechen. [ENTER] Man kann das Verlies nichtmehr lebend verlassen. [ENTER] Du kannst nicht eintreten, du bist noch zu schwach erreiche erst Level 150."
locale.deviltower2_enter = "Ich muss es versuchen!"
locale.deviltower2_no_enter = "Das nächste Mal..."
locale.stargate_man_chat = "Durch das Tor Schreiten"
locale.stargate_man_say = "Viele verstorbene Seelen gibt es dort. [ENTER] Es ist eine Herausforderung für Mutige aber niemand hat es bisher zur Untersten Ebene geschafft. [ENTER] Zahllose tapfere Kämpfer haben es betreten, aber keiner ist je wieder rausgekommen...[ENTER] Willst du das Verlies betreten?"
locale.stargate_man_say_you_cant = "Viele leute haben in diesem Verlies den Tod gefunden. [ENTER] Sehr starke Krieger könnten das Verlies erriechen. [ENTER] Man kann das Verlies nichtmehr lebend verlassen. [ENTER] Du kannst nicht eintreten, du bist noch zu schwach erreiche erst Level 150."
locale.stargate_enter = "Ich muss es versuchen!"
locale.stargate_no_enter = "Das nächste Mal..."
locale.monster_chat = {
[301]={"I am so bored. Isn't there anything interesting to do?",
"Two days ago a really handsome man came here.",
"Let's get our hairs done my sisters!",
"No problem! Hehe, only looking good isn't enough.",
"You want this Sword? We ain't joking."},
[302]={"Hey! That's a good looking guy!",
"I make a diet you know.",
"I want to go shopping.",
"That was my Arrow!",
"See? It's targeted on your heart.",
"Oh my! Direct hit."},
[303]={"Our children are way too lazy nowadays.",
"What happens if suddenly Soldiers storm in?",
"Why do you look at me like this?",
"Oh my, what a coward!",
"Don't take it too easy",
"That fight will be harder than I supposed."},
[304]={"You women came in after the husbands left you. You still long for men.",
"There is no single good man.",
"You are getting on my nerves.",
"How does this feel like? Can't you see Death is looking at you?",
"Oh no! You already give up?",
"Suffering comes fast."},
[305]={"Oh man! That Sword looks fantastic.",
"Upgrade your Tenacity and your Power!",
"You think I can become as strong as you?",
"Okay. What about getting this done?",
"Oh my! I am only a weak woman!",
"You look tired. Why don't you give up? Hehe."},
[306]={"What will you do today, hmm?",
"I am so bored. Play with me!",
"I have to say I like the Sura guy most.",
"Hey! What about a fight?",
"Don't underestimate me only because I am a woman!",
"Pain only lasts a second."},
[307]={"I want to get out of here.",
"How secure are the homes of the single members? Is it good?",
"You Gals, shut up!",
"Let me defeat you with a single Hit.",
"Don't even think abut fleeing.",
"So, why don't we start?"},
[394]={"Don't forget: all men are enemies.",
"If a person has a nice face we could be less mean.",
"What, you want to fight?",
"It won't take long but will hurt.",
"Oh, you seem to be in real pain.",
"And bye, go to hell!"},
[401]={"So, what you do in the White Army?",
"Where to go?",
"Hey, you want to fight?",
"Hehe, you avoid my Hits.",
"You think you can escape from me?",
"Here is my Hit!"},
[402]={"(Yawn) I am so tired.",
"Hey, nice Armour! What did it cost?? ",
"But we have nice weather.",
"Oh, you have trained a lot! Really good.",
"What you say about my Skills? Good, huh? Hehe.",
"What's up? Of course, it's this insane speed!"},
[403]={"Why don't I go hunting.",
"Nobody is attacking our village today.",
"If you want to fight, then fight you bastard!",
"Hehe, you are just a beginner.",
"Shall I hit your leg first or your arm?",
"Here is my arrow!"},
[404]={"I have to go to the village soon and train.",
"I feel so firm.",
"What's for dinner today?",
"I'm watching so scream as much as you want.",
"Waited too long? Whirl your Sword first!",
"The Sword sounds exciting!"},
[405]={"This Sword is ready!",
"Let's see who will be killed first by this Sword.",
"Hey, what are you staring?",
"First your belly!",
"Isn't a Scabbard needed for a Sword Fighter?",
"I'd like to have this Scabbard."},
[406]={"I'm starving.",
"Is there something to eat?",
"Why am I still hungry after all this food?",
"Aaargh, die!",
"My stomach will decide this Fight!",
"I's a choice between heaven and hell!"},
[491]={"I can't stand it anymore! My body is itching.",
"Oh yeah, there are a few pigs.",
"On the ground?",
"I'll get you with one Hit.",
"That will be a great memory, pighead!",
"Die!"},
[492]={"My body is mollycoddled.",
"Why don't I train anymore?",
"Afraid, huh?",
"Ah, just a new victim for my whirling Weapon.",
"You see my attack model? Strong, weak, weak, strong, weak, weak, strong, strong, strong, weak, strong, normal, weak!",
"Even the smallest cut isn't good for your health, did you know?"},
[493]={"It's so uncomforle to have such a hand!",
"What are you staring? Never seen someone with such a hand?",
"You lot really get on my nerves.",
"Shall I get you to the ground or what? If not, better run!",
"I'll show you my Great Hit!",
"I know you stare at my hand!"},
[494]={"Hey if you want to fight come here!",
"I am really great.",
"Why don't we plan something?",
"No, you are not allowed to leave yet. Fight!",
"There you get it!",
"You are nearly dead."},
[501]={"Play with me, stay!",
"(Sing).",
"We haven't trained yet.",
"What a great Armour! I want to have it.",
"You will find it hard to ignore my attacks from now on.",
"hehe, surprised?"},
[502]={"Have you seen my other arm somewhere?",
"Not staring, fighting!",
"I don't like the way you are staring at me. Fight!",
"It's an honour to die through my Sword!",
"",
"Great!"},
[503]={"Hey there, don't touch!",
"Seems like my Arc Chord is cut.",
"Damn, those idiots were here.",
"Not bad. But you will die anyway!",
"You are okay with this? That's great!",
"Here comes the Arrow!"},
[504]={"All come here!",
"(Sing)",
"What a great weather!",
"",
"Well, I like your longing to fight!",
"Level 40 for these Arrows! I'll continue until everything is done."},
[601]={"I am so starving...",
"I want to eat some fruits.",
"Yes. Fish is alright. (Swirl)!",
"Don't run away, stay!",
"I won, it's so obvious!",
"You see? You missed it!",
"Take better care! (Laughter)"},
[602]={"Where am I?",
"Nice weather.",
"You come hunting me? That's absurd.",
"You are my Prey.",
"What kind of torture, hm? Let me get you finished fast.",
"I am very strong, you know? (Swirl)"},
[603]={"Boring!",
"My whole body is itching.",
"Whoever makes it first.",
"You hit me first? I will get you out of here!",
"Once it won't get out again. Fleeing is senseless now!",
"That will be the last Hit, I'll finish you!"},
[604]={"I made a new poison. (Swirl) You want to test it?",
"I want to see how it works! (Swirl)!",
"Hey, you want to be my test person? (Swirl)!",
"I'll poison you!",
"Oh great, a labour rat!",
"No it isn't fun when you give up that fast!! (Swirl)!"},
[631]={"A second, I look for something to hunt.(Swirl)",
"If you are that slow it doesn't work. (Swirl)",
"I am so hungry!",
"Good I have something to hunt! (Swirl)",
"Let all hope to survive!",
"(Swirl) I'll let you feel true pain! (Swirl)"},
[632]={"Boring! (Swirl)",
"Is there anything good as a bait?",
"Come and fight if you want!",
"(Swirl) If you are a Warrior, show me! (Swirl)",
"",
"Flee to the village if you want to live on!"},
[633]={"It's painful to starve.",
"Oh, they are getting at us.",
"How a bout a duel?",
"Don't compare me to those bastards!",
"Here comes a Hit like thunder! (Swirl)",
"If one flees now, he isn't a Warrior! (Swirl)"},
[634]={"This time the poison should be better!",
"If you are hungry, Bats are really tasty.",
"How about a fight?",
"If my poison gets into the body you can't be healed anymore.",
"My Magic will burn everything. (Laughter)",
"Burn! Haha! (Swirl)"},
[635]={"Never forget to sharpen your Sword! There can always be a fight. (Swirl)",
"Blackout?",
"Die to get awoken!",
"Defeat me? Really?",
"Fight like a Warrior! (Swirl)",
"Just a little bit more. (Swirl)"},
[636]={"(Laughter) I look forward to a nice fight. (Swirl)",
"Fighting is fun. (Laughter)",
"I always want to fight.",
"(Laughter) (Swirl) That's good!",
"(Swirl)",
"You'll regret that you hit me!",
"That weak! (Laughter)(Swirl)"},
[637]={"I don't want to be disturbed.",
"Go sleep. (Swirl)",
"Still not asleep?",
"There is much to do! (Swirl)",
"Don't wonder about my powers!",
"I'll pulverise you!"},
[691]={"I always want a strong opponent! (Swirl)",
"What? How do I look like?",
"Don't compare me to that Beginner!",
"I dont' like you! (Swirl, Swirl)",
"Let's fight. (Swirl)",
"Until death! (Swirl)"},
[701]={"Simply believe in it!",
"Don't you see the truth of heaven and hell?",
"Later it will be too late to believe, believe now!",
"Believe the Doctrine of the Mystic!",
"Those who doubt will be killed!",
"Be enlightened in embracing Death!"},
[702]={"The truth of the mystic believe is the arrangement of heaven and earth! ",
"The philosophy of the mystic believe is the arrangement of heaven!",
"Mystic truth, truth of the Tiger God, Sabaha Sabaha.",
"You dare to doubt in the truth of heaven and earth?",
"",
"Here comes my Sword!!"},
[703]={"If the truth of the Tiger God will be repeated always, all suffering will end.",
"The Truth of the Mystic are arrangement and knowledge of heaven.",
"Sabaha Sabaha. Send us knowledge!",
"Don't doubt!",
"Receive the Thunder of heaven!",
"A Hit of the judgement!"},
[704]={"The Truth of the Mystic are arrangement and knowledge of heaven.",
"Mystic truth, truth of the Tiger God, Sabaha Sabaha.",
"The Truth of the Mystic are arrangement and knowledge of heaven.",
"The leader of this sect is Holy and is above everyone!",
"Get the Flames of Hell!",
"Here comes my Sword!"},
[705]={"Mystic truth, truth of the Tiger God, Sabaha Sabaha",
"The Truth of the Mystic are arrangement and knowledge of heaven.",
"Mystic truth, truth of the Tiger God, Sabaha Sabaha",
"(Laughter) Eternal pain and darkness awaits us",
"",
"That's not the end, it will become better."},
[706]={"We ask for peace and privacy! Please!",
"If fear is ruling, the truth of the Tiger God will help!",
"The Truth of the Mystic are arrangement and knowledge of heaven.",
"Let's all go to hell!",
"I won't let you go!",
"I'll give you everything I have."},
[707]={"I plead, please help us!",
"The Truth of the Mystic are arrangement and knowledge of heaven.",
"Mystic truth, truth of the Tiger God, Sabaha Sabaha",
"(Loud Laughter) The gates to hell are wide open, die!",
"(Laughter)",
"I already see your death!"},
[791]={"How can I tell you in short about the truth of the Tiger God?",
"I hear the chants of the believers.",
"That's right! Be full of remorse and you will be rescued!",
"You suffer from eternal pain, because you doubt the Truth!",
"Let me teach you more.",
"Don't see it as pain - this is a instruction."},
[901]={"(Loud Laughter)",
"You have to become like us!",
"(Loud Laughter)",
"(Loud Laughter)",
"And it begins..."},
[903]={"That's like hell!",
"Ahhhhh!",
"We can't do this alone! No!",
"You have to taste the pain as well!",
"You want to exchange pain and fear against your soul?",
"You will soon have eternal peace..."},
[904]={"It hurts, oh, it hurts!",
"My chest feels like burning!",
"Why do we have to suffer, oh why?",
"It isn't that terrible to suffer from this mysterious disease.",
"",
"Ahhhhh!"},
[905]={"Ahhhhh!.",
"I kiiiiiiiiiiill you!",
"Don't watch only, help me!",
"Let's be friends.",
"You are already infected.",
"Now you are my friend."},
[906]={"(Loud Laughter)",
"Come and be staked on my arrow!",
"You are really nerving.",
"I'll infect you with the mysterious disease.",
"Nice smell.",
"Die!"},
[907]={"And If I have to find another pathogen...",
"(Loud Laughter) That'll be fun!",
"Don't watch, do something!",
"Ahhhhh, yeeeees!",
"Let me pass you the disease.",
"Those damn lasting pathogens of the disease!"},
[1001]={"haha, all shall die!",
"Bits, bits, bits, bits!",
"Hehehehe",
"Kukieh! Die! Hehe.",
"hehehe",
"Such a face, deformed by fear! Hehehe."},
[1002]={"Haha!",
"Those Pigheads!",
"They really get on my nerves.",
"",
"The bleed, hehe.",
""},
[1003]={"Hehe! (Loud Laughter)",
"The Spear is worse than the Sword, huh?",
"Hey, don't go away! Come on!",
"Your sight alone makes my mouth water...",
"You provoke me!",
"You will diiiiiie!"},
[1004]={"Kill! Kill! Kiiiiill!",
"Nice samples came in.",
"Today it'll be fun!",
"Not now, don't die now, later! Hehehe",
"What's up? Your weapon hand is shivering.",
"Really brave to visit us huh? Don't worry!"},
[1035]={"I'll get revenge before I die.",
"Yes, play slowly...",
"You are our joy.",
"You body is shivering of fear. (Laughter)",
"Afraid, huh? (Laughter)",
"What's that? Seems afew hands will fall to the ground soon."},
[1036]={"With whom you go to hell?",
"You Dogs! I'll drive you into insanity!",
"(Laughter)",
"Plead for your life in selling your soul.",
"",
"Your sight is blurred, you can't distinct left from right anymore (Laughter)"},
[1037]={"Why don't you wander around like this forever?",
"What's up? Not liking the darkness?",
"Welcome to hell (Laughter)",
"Sure, sure! Just scream more!",
"(Laughter) You can't kill me this way.",
"Yeeees, that's better!"},
[1038]={"That's hell.",
"Welcome to hell.",
"Please die slow...",
"It is senseless to attack me. (Laughter)",
"",
"It isn't good to die fast - we want to have fun with you..."},
[1039]={"Until someone new comes...",
"You really think you could escape?",
"Everything here is made for making people afraid, everything.",
"Welcome to our home (Laughter)",
"You see? You missed it. ",
"Hmm, so fresh..."},
[1040]={"We see all your movements.",
"Nicely slow.",
"If you touch someone you are deas. (Laughter)",
"",
"If this wound doesn't stop bleeding it will be dangerous for you..",
"Yes! Fight, fight! (Laughter)"},
[1041]={"(Laughter)(Laughter)(Laughter)",
"The new bodies are here.",
"Yes, it is time to get into a new body.",
"We resurge, we always have a new body.",
"It is senseless to attack us. (Laughter)",
"What will get you: Exhaustion or death?"},
[1091]={"Who can fly and attack better than me?",
"You can become like me.",
"Don't you want to be like me?",
"Your body and soul are mine! (Laughter)",
"Exhausted? Your legs are shivering...",
"How long will you make it? (Laughter)"},
[1093]={"Who could have ever guessed there is something worse than death?",
"Welcome.",
"Be Pray.",
"I will eat your body and soul.",
"How long can you resist? Huh?",
"Death is laughing behind you. (Laughter)"},
[1105]={"The frozen state is good.",
"The Ice Mountain is surely the best.",
"What a nice weather.",
"You will be exactly like me.",
"You can live forever until the ice melts.",
"How long will it take until you become ice?"},
[1106]={"Moo, moo?",
"So sleepy. Moo.",
"Moomoomoo?",
"Mooooo!",
"Coooooow!",
"Cowcowcow!"},
[1191]={"Let's see if good-looking men come by.",
"So cold and lonely, where is my future husband?",
"Should I work on them?",
"",
"Something is missing, I am not pleased..",
"I will end your last pain."},
[1301]={"Kwuu, Pweck! Pweck!",
"Pweck! Pwiehk!",
"Be nicely firm.. Pwiehk!",
"You attacked me! Pweck! You aren't allowed to survive!",
"Pweck!Pweck!Pwiehk!",
"Pweck! Resist those Hits."},
[1302]={"Pweck! We always see you!",
"Right..Come nearer... Pwiehk!",
"The Sword in my hand is shivering. Pwiehk!!",
"Kwuuh, I kill you! Eat my Sword!",
"Here comes my Sword!",
"Painful, isn't it? (laughter)"},
[1303]={"Even kicked grass can be dangerous.",
"Be careful with the grass.",
"Right. Come to me. (Laughter)",
"You Dog! You came to me so I will kill you now.",
"Die! Die!",
"You regret that you came?"},
[1305]={"Who will defeat me?",
"You? You want to fight?",
"Come here if you want!",
"Let's do it right! Don't go away!",
"How's my Sword?",
"Afraid? (Laughter)"},
[1901]={"Who will I transform today?",
"Oh, I like you...",
"How does it look like?",
"Hey! Do it right and don't run like a coward.",
"Already under my spell? Hmmm?",
"Don't you want to scream a bit? (Laughter)"},
[2091]={"Why is there so much hair to have!",
"He sleeps day and night!",
"A movement!",
"(Laughter) Only the face will be left as a decor.",
"",
"Or I tighten everything with my silk."},
[2092]={"I can't stand the teasing of my wife.",
"Why can't I sleep?",
"Oh, it seems someone was caught in the spiderweb.",
"I like it peacefully. But when I get attacked I'll be angry.",
"Yeeesss, give it all!",
"Here is my Hit!"},
[2104]={"No! This way my Sword will be rusty.",
"As if the poison of the Scorpion Tail is drained.",
"How about fighting?",
"Exhausted already by the heat?",
"I like to leave people behind in the desert.",
"Poor you, buried like this in the desert."},
[2105]={"I share a secret with you - I hate smut.",
"It is so hot, isn't it?",
"This place is dangerous.",
"",
"I'll get you between the eyebrows.",
""},
[2106]={"(Swirl) Something to get today? (Swirl)",
"Oooh yeah here comes someone to hunt.(Laughter)(Swirl)",
"(Laughter) That I like verrry much!",
"(Swirl)(Laughter) That one over there is rather fat. (Laughter)",
"",
"I like the smell of blood."},
[2107]={"(Swirl) Nowadays there isn't much to do.(Swirl)",
"Hey, those are really fat!",
"The leader will love it. (Swirl)",
"",
"Let's move our legs.",
"Here comes the arrow!"},
[2108]={"If I get one I'll..." ,
"Hey, why you look behind?",
"You think I am easily defeated?",
"Your problem to meet me in the desert!",
"Ah, this feeling, I will love it for eternities!",
"Thanks!"},
[2191]={"I smell humans - soo tasty!",
"Good, always come to me...",
"",
"Nice to see someone in the desert!",
"Stand still! Kkkkkk!",
"First a small bit..."},
[2202]={"I really don't know why it has to be that hot.",
"If there was anything cool..",
"Maybe I can cool down with their blood.",
"Hot, hot! I have to cool down with their blood.",
"Give me your blood!",
"Become like me!"},
[2204]={"As long as I am here no one will enter!",
"For some reason you annoy me.",
"",
"Kwuuh, do you know where you are?",
"",
"That rawboned! (Laughter)"},
[2205]={"A Sword is useful only in the hand or a Warrior.",
"Keep the Sword in your hand.",
"War will come.",
"Now we fight until death!",
"Do you want to resist death any longer?",
"Yes, you shouldn't die that fast."},
[2206]={"So nice to swim in lava.",
"I love it to cool down in a lava bath.",
"The lava isn't like before though...",
"You bastard disturbed my peace!",
"Don't disturb my privacy.",
"If you do you will regret it..."},
[2291]={"Nice weather. It would be so nice to simply be able to sleep.",
"Nothing can be compared to the country of Doyyumhwaji.",
"Why don't I go sleeping?",
"You disturbed me.",
"You seem to regret to have disturbed me.",
"Too late to run away and it won't help you anyway."},
}
locale.christmas_tree = {}
locale.christmas_tree.greet = "Hallo, Happy Christmas! Hänge Socke auf!"
locale.christmas_tree.sel_put_sock = "Socke Aufhängen"
locale.christmas_tree.sel_no_need = "Keine Lust"
locale.christmas_tree.sel_intro_event = "Information"
locale.christmas_tree.no_more_sock = "Es Raschelt am Baum du versuchst eine Socke aufzuhängen.[ENTER]"..
"Willst du sie Aufhängen: Wish You A Merry Christmas!"
locale.christmas_tree.gain_item_msg = "Dein Wunsch wird erfüllt es wird dir was gesandt.[ENTER]"..
"Schließen deine Augen und warten 3 Sekunden.[ENTER]"..
"[DELAY value;500]. . .[/DELAY][ENTER]"..
"Hast du schon eine Socke aufgehangen ich hoffe du fühlst dich wohl.[ENTER]"..
"Einmal wieder, ich wünsche Ihnen ein frohes Weihnachtsfest"
locale.christmas_tree.no_sock = "Sie haben keine Socken können einen Wunsch!"
locale.christmas_tree.not_sock_time = "Dies ist nicht die Zeit zum Aufhängen von Socken."
locale.christmas_tree.greet2 = "Merry Christmas ~~~~~~!"
locale.christmas_tree.intro_msg = "10 Socken kannst du aufhängen mehr bescheerung gibt es nicht."
locale.christmas_santa = {}
locale.christmas_santa.intro_msg = "Ho Ho Ho brauchst du Hilfe?"
locale.christmas_santa.skill_book_buy_cost = 10000
locale.christmas_santa.skill_book_msg =
locale.christmas_santa.skill_book_buy_cost.." Es kostet dich etwas Yang"..
"Es gibt verschiedene Arten der Bücher, die können Sie bei mir kaufen.[ENTER]"..
"Willst du etwas?"
locale.christmas_santa.skill_book_sold_out_msg = "Sorry aber das Buch gibt es nicht! "
locale.christmas_santa.hairdye_buy_cost = 10000
locale.christmas_santa.hairdye_msg =
locale.christmas_santa.hairdye_buy_cost.."Du möchtest also ein Haarfärbemittel..[ENTER]"..
"Wenn das dein einziger Wunsch ist..[ENTER]"..
"Hier bitteschön!"
locale.christmas_santa.hairdye_sold_out_msg = "Haarfärbemittel sind leider ausverkauft!"
locale.christmas_santa.not_enough_money = "Du hast zu wenig Yang"
locale.christmas_santa.want_skillbook = "Fertigkeitsbuch"
locale.christmas_santa.want_hairdye = "Haarfärbemittel"
locale.christmas_santa.no_need = "no_need"
locale.christmas_santa.bye_msg = "Auf Wiedersehen und frohe Weihnachten!"
locale.christmas_santa.select_buy = "Kauf auswählen:"
locale.christmas_santa.select_stop = "Abbrechen"
locale.GM_SKILL_NAME_DICT = {
[1] = "Dreiwege-Schnitt",
[2] = "Schwertwirbel",
[3] = "Kampfrausch",
[4] = "Aura des Schwertes",
[5] = "Sausen",
[6] = "Zerschneiden",
[16] = "Durchschlag",
[17] = "Heftiges Schlagen",
[18] = "Stampfer",
[19] = "Starker Körper",
[20] = "Schwertschlag",
[21] = "Blitzschlag",
[31] = "Hinterhalt",
[32] = "Blitzangriff",
[33] = "Degenwirbel",
[34] = "Tarnung",
[35] = "Giftwolke",
[36] = "Angriffssprung",
[46] = "Wiederholter Schuss",
[47] = "Pfeilregen",
[48] = "Feuerpfeil",
[49] = "Federschreiten",
[50] = "Giftpfeil",
[51] = "Wutausbruch",
[61] = "Fingerschlag",
[62] = "Drachenwirbel",
[63] = "Verzauberte Klinge",
[64] = "Furcht",
[65] = "Verzauberte Rüstung",
[66] = "Zauber aufheben",
[76] = "Dunkler Schlag",
[77] = "Flammenschlag",
[78] = "Geist der Flamme",
[79] = "Dunkler Schutz",
[80] = "Geisterschlag",
[81] = "Dunker Stein",
[91] = "Fliegender Talisman",
[92] = "Drachenschießen",
[93] = "Drachengebrüll",
[94] = "Segen",
[95] = "*Reflektieren",
[96] = "Hilfe des Drachen",
[106] = "Blitzwurf",
[107] = "Blitz heraufbeschwören",
[108] = "Blitzkralle",
[109] = "Kurieren",
[110] = "Schnelligkeit",
[111] = "Angriff+"
}
Letzes änderungsdatum: 23.12.2012
Questlib.lua:
Code:
dofile("locale/germany/quest/questing.lua")
CONFIRM_NO = 0
CONFIRM_YES = 1
CONFIRM_OK = 1
CONFIRM_TIMEOUT = 2
MALE = 0
FEMALE = 1
--quest.create = function(f) return coroutine.create(f) end
--quest.process = function(co,args) return coroutine.resume(co, args) end
setstate = q.setstate
newstate = q.setstate
q.set_clock = function(name, value) q.set_clock_name(name) q.set_clock_value(value) end
q.set_counter = function(name, value) q.set_counter_name(name) q.set_counter_value(value) end
c_item_name = function(vnum) return ("[ITEM value;"..vnum.."]") end
c_mob_name = function(vnum) return ("[MOB value;"..vnum.."]") end
-- d.set_folder = function (path) raw_script("[SET_PATH path;"..path.."]") end
-- d.set_folder = function (path) path.show_cinematic("[SET_PATH path;"..path.."]") end
-- party.run_cinematic = function (path) party.show_cinematic("[RUN_CINEMATIC value;"..path.."]") end
newline = "[ENTER]"
function color256(r, g, b) return "[COLOR r;"..(r/255.0).."|g;"..(g/255.0).."|b;"..(b/255.0).."]" end
function color(r,g,b) return "[COLOR r;"..r.."|g;"..g.."|b;"..b.."]" end
function delay(v) return "[DELAY value;"..v.."]" end
function setcolor(r,g,b) raw_script(color(r,g,b)) end
function setdelay(v) raw_script(delay(v)) end
function resetcolor(r,g,b) raw_script("[/COLOR]") end
function resetdelay(v) raw_script("[/DELAY]") end
-- minimap¿¡ µ¿±×¶ó¹Ì Ç¥½Ã
function addmapsignal(x,y) raw_script("[ADDMAPSIGNAL x;"..x.."|y;"..y.."]") end
-- minimap µ¿±×¶ó¹Ìµé ¸ðµÎ Ŭ¸®¾î
function clearmapsignal() raw_script("[CLEARMAPSIGNAL]") end
-- Ŭ¶óÀ̾ðÆ®¿¡¼* º¸¿©ÁÙ ´ëÈ*â ¹è°æ ±×¸²À» Á¤ÇÑ´Ù.
function setbgimage(src) raw_script("[BGIMAGE src;") raw_script(src) raw_script("]") end
-- ´ëÈ*â¿¡ À̹ÌÁö¸¦ º¸¿©ÁØ´Ù.
function addimage(x,y,src) raw_script("[IMAGE x;"..x.."|y;"..y) raw_script("|src;") raw_script(src) raw_script("]") end
function makequestbutton(name)
raw_script("[QUESTBUTTON idx;")
raw_script(""..q.getcurrentquestindex())
raw_script("|name;")
raw_script(name) raw_script("]")
end
function make_quest_button_ex(name, icon_type, icon_name)
test_chat(icon_type)
test_chat(icon_name)
raw_script("[QUESTBUTTON idx;")
raw_script(""..q.getcurrentquestindex())
raw_script("|name;")
raw_script(name)
raw_script("|icon_type;")
raw_script(icon_type)
raw_script("|icon_name;")
raw_script(icon_name)
raw_script("]")
end
function kill_in_my_level(vnum, level)
----Variablen
--Mobs
local mobs = {
{
{101, 657};
{701, 777};
{5101, 5116};
};
{
{901, 937};
{1001, 1071};
{1101, 1107};
{1171, 1177};
{1301, 1303};
{1331, 1335};
{2001, 2076};
{2101, 2158};
{5121, 5157};
};
{
{1401, 1603};
{2201, 2205};
{2231, 2235};
{2301, 2305};
{2311, 2414};
};
}
local metin = {
{8001, 8007};
{8008, 8017};
{8018, 8027};
}
-- Levelbegrenzungen
local lvl = {35, 65, 99}
----
local k=0
for i=1, 3 do
if level<=lvl[i] and k==0 then
k = i
end
end
for i=1, table.getn(mobs[k]) do
for p=mobs[k][i][1], mobs[k][i][2] do
if vnum==p then
return true
end
end
end
for p=metin[k][1], metin[k][2] do
if vnum==p then
return true
end
end
return false
end
function make_quest_button(name) makequestbutton(name) end
function send_letter_ex(name, icon_type, icon_name) make_quest_button_ex(name, icon_type, icon_name) setskin(NOWINDOW) q.set_title(name) q.start() end
function send_letter(name) makequestbutton(name) setskin(NOWINDOW) q.set_title(name) q.start() end
function clear_letter() q.done() end
function say_title(name) say(color256(255, 230, 186)..name..color256(196, 196, 196)) end
function say_reward(name) say(color256(255, 200, 200)..name..color256(196, 196, 196)) end
function say_pc_name() say(pc.get_name()..":") end
function say_size(width, height) say("[WINDOW_SIZE width;"..width.."|height;"..height.."]") end
function setmapcenterposition(x,y)
raw_script("[SETCMAPPOS x;")
raw_script(x.."|y;")
raw_script(y.."]")
end
function say_item(name, vnum, desc)
say("[INSERT_IMAGE image_type;item|idx;"..vnum.."|title;"..name.."|desc;"..desc.."]")
end
function say_item_vnum(vnum)
say_item(item_name(vnum), vnum, "")
end
function setvarchar(name, var)
local laenge = string.len (var)
local setchar = 0
local save_name = 0
local letter = 0
while laenge > setchar do
setchar = setchar + 1
letter = string.sub (var, setchar, setchar)
letter = string.byte(letter, 1)
save_name = ""..name.."_char_"..setchar..""
pc.setqf(save_name, letter)
end
local save_laenge=""..name.."laenge"
pc.setqf(save_laenge, laenge)
end
function getvarchar(name)
local save_laenge = ""..name.."laenge"
local laenge = pc.getqf(save_laenge)
local save_name = 0
local var = ""
local letter = 0
local getchar = 0
while laenge > getchar do
getchar = getchar + 1
save_name = ""..name.."_char_"..getchar..""
letter = pc.getqf(save_name)
if letter!=0 then
letter = string.char(letter)
else
letter = ""
end
var = ""..var..""..letter..""
end
return var
end
function delvarchar(name)
local save_laenge = ""..name.."laenge"
local laenge = pc.getqf(save_laenge)
local getchar = 0
while laenge > getchar do
getchar = getchar + 1
local save_name = ""..name.."_char_"..getchar..""
pc.delqf(save_name)
end
pc.delqf(save_laenge)
end
function global_setvarchar(name, var)
local laenge = string.len (var)
local setchar = 0
local save_name = 0
local letter = 0
while laenge > setchar do
setchar = setchar + 1
letter = string.sub (var, setchar, setchar)
letter = string.byte(letter)
if letter==91 or letter==93 then
letter=32
end
save_name = ""..name.."_char_"..setchar..""
game.set_event_flag(save_name, letter)
end
local save_laenge=""..name.."laenge"
game.set_event_flag(save_laenge, laenge)
end
function global_getvarchar(name)
local save_laenge = ""..name.."laenge"
local laenge = game.get_event_flag(save_laenge)
local save_name = 0
local var = ""
local letter = 0
local getchar = 0
while laenge > getchar do
getchar = getchar + 1
save_name = ""..name.."_char_"..getchar..""
letter = game.get_event_flag(save_name)
if letter!=0 then
letter = string.char(letter)
else
letter = ""
end
var = ""..var..""..letter..""
end
return var
end
function pc_is_novice()
if pc.get_skill_group()==0 then
return true
else
return false
end
end
function pc_get_exp_bonus(exp, text)
say_reward(text)
pc.give_exp2(exp)
set_quest_state("levelup", "run")
end
function pc_get_village_map_index(index)
return village_map[pc.get_empire()][index]
end
village_map = {
{1, 3},
{21, 23},
{41, 43},
}
function npc_is_same_empire()
if pc.get_empire()==npc.empire then
return true
else
return false
end
end
function npc_get_skill_teacher_race(pc_empire, pc_job, sub_job)
if 1==sub_job then
if 0==pc_job then
return WARRIOR1_NPC_LIST[pc_empire]
elseif 1==pc_job then
return ASSASSIN1_NPC_LIST[pc_empire]
elseif 2==pc_job then
return SURA1_NPC_LIST[pc_empire]
elseif 3==pc_job then
return SHAMAN1_NPC_LIST[pc_empire]
end
elseif 2==sub_job then
if 0==pc_job then
return WARRIOR2_NPC_LIST[pc_empire]
elseif 1==pc_job then
return ASSASSIN2_NPC_LIST[pc_empire]
elseif 2==pc_job then
return SURA2_NPC_LIST[pc_empire]
elseif 3==pc_job then
return SHAMAN2_NPC_LIST[pc_empire]
end
end
return 0
end
function pc_find_square_guard_vid()
if pc.get_empire()==1 then
return find_npc_by_vnum(11000)
elseif pc.get_empire()==2 then
return find_npc_by_vnum(11002)
elseif pc.get_empire()==3 then
return find_npc_by_vnum(11004)
end
return 0
end
function pc_find_skill_teacher_vid(sub_job)
local vnum=npc_get_skill_teacher_race(pc.get_empire(), pc.get_job(), sub_job)
return find_npc_by_vnum(vnum)
end
function pc_find_square_guard_vid()
local pc_empire=pc.get_empire()
if pc_empire==1 then
return find_npc_by_vnum(11000)
elseif pc_empire==2 then
return find_npc_by_vnum(11002)
elseif pc_empire==3 then
return find_npc_by_vnum(11004)
end
end
function npc_is_same_job()
local pc_job=pc.get_job()
local npc_vnum=npc.get_race()
-- test_chat("pc.job:"..pc.get_job())
-- test_chat("npc_race:"..npc.get_race())
-- test_chat("pc.skill_group:"..pc.get_skill_group())
if pc_job==0 then
if table_is_in(WARRIOR1_NPC_LIST, npc_vnum) then return true end
if table_is_in(WARRIOR2_NPC_LIST, npc_vnum) then return true end
elseif pc_job==1 then
if table_is_in(ASSASSIN1_NPC_LIST, npc_vnum) then return true end
if table_is_in(ASSASSIN2_NPC_LIST, npc_vnum) then return true end
elseif pc_job==2 then
if table_is_in(SURA1_NPC_LIST, npc_vnum) then return true end
if table_is_in(SURA2_NPC_LIST, npc_vnum) then return true end
elseif pc_job==3 then
if table_is_in(SHAMAN1_NPC_LIST, npc_vnum) then return true end
if table_is_in(SHAMAN2_NPC_LIST, npc_vnum) then return true end
end
return false
end
function npc_get_job()
local npc_vnum=npc.get_race()
if table_is_in(WARRIOR1_NPC_LIST, npc_vnum) then return COND_WARRIOR_1 end
if table_is_in(WARRIOR2_NPC_LIST, npc_vnum) then return COND_WARRIOR_2 end
if table_is_in(ASSASSIN1_NPC_LIST, npc_vnum) then return COND_ASSASSIN_1 end
if table_is_in(ASSASSIN2_NPC_LIST, npc_vnum) then return COND_ASSASSIN_2 end
if table_is_in(SURA1_NPC_LIST, npc_vnum) then return COND_SURA_1 end
if table_is_in(SURA2_NPC_LIST, npc_vnum) then return COND_SURA_2 end
if table_is_in(SHAMAN1_NPC_LIST, npc_vnum) then return COND_SHAMAN_1 end
if table_is_in(SHAMAN2_NPC_LIST, npc_vnum) then return COND_SHAMAN_2 end
return 0
end
function time_min_to_sec(value)
return 60*value
end
function time_hour_to_sec(value)
return 3600*value
end
function next_time_set(value, test_value)
local nextTime=get_time()+value
if is_test_server() then
nextTime=get_time()+test_value
end
pc.setqf("__NEXT_TIME__", nextTime)
end
function next_time_is_now(value)
if get_time()>=pc.getqf("__NEXT_TIME__") then
return true
else
return false
end
end
function table_get_random_item(self)
return self[number(1, table.getn(self))]
end
function table_is_in(self, test)
for i = 1, table.getn(self) do
if self[i]==test then
return true
end
end
return false
end
function giveup_quest_menu(title)
local s=select("ÁøÇàÇÑ´Ù", "Æ÷±âÇÑ´Ù")
if 2==s then
say(title.." Äù½ºÆ®¸¦ Á¤¸»·Î")
say("Æ÷±âÇϽðڽÀ´Ï±î?")
local s=select("³×, ±×·¸½À´Ï´Ù", "¾Æ´Õ´Ï´Ù")
if 1==s then
say(title.."Äù½ºÆ®¸¦ Æ÷±âÇß½À´Ï´Ù")
restart_quest()
end
end
end
function restart_quest()
set_state("start")
q.done()
end
function complete_quest()
set_state("__COMPLETE__")
q.done()
end
function giveup_quest()
set_state("__GIVEUP__")
q.done()
end
function complete_quest_state(state_name)
set_state(state_name)
q.done()
end
function test_chat(log)
if is_test_server() then
chat(log)
end
end
function bool_to_str(is)
if is then
return "true"
else
return "false"
end
end
WARRIOR1_NPC_LIST = {20300, 20320, 20340, }
WARRIOR2_NPC_LIST = {20301, 20321, 20341, }
ASSASSIN1_NPC_LIST = {20302, 20322, 20342, }
ASSASSIN2_NPC_LIST = {20303, 20323, 20343, }
SURA1_NPC_LIST = {20304, 20324, 20344, }
SURA2_NPC_LIST = {20305, 20325, 20345, }
SHAMAN1_NPC_LIST = {20306, 20326, 20346, }
SHAMAN2_NPC_LIST = {20307, 20327, 20347, }
function skill_group_dialog(e, j, g) -- e = Á¦±¹, j = Á÷¾÷, g = ±×·ì
e = 1 -- XXX ¸Þ½ÃÁö°¡ ³ª¶óº°·Î ÀÖ´Ù°¡ Çϳª·Î ÅëÇյǾúÀ½
-- ´Ù¸¥ Á÷¾÷À̰ųª ´Ù¸¥ Á¦±¹ÀÏ °æ¿ì
if pc.job != j then
say(locale.skill_group.dialog[e][pc.job][3])
elseif pc.get_skill_group() == 0 then
if pc.level < 5 then
say(locale.skill_group.dialog[e][j][g][1])
return
end
say(locale.skill_group.dialog[e][j][g][2])
local answer = select(locale.yes, locale.no)
if answer == 1 then
--say(locale.skill_group.dialog[e][j][g][2])
pc.set_skill_group(g)
else
--say(locale.skill_group.dialog[e][j][g][3])
end
--elseif pc.get_skill_group() == g then
--say(locale.skill_group.dialog[e][j][g][4])
--else
--say(locale.skill_group.dialog[e][j][g][5])
end
end
function show_horse_menu()
if horse.is_mine() then
say(locale.horse_menu.menu)
local s = 0
if horse.is_dead() then
s = select(locale.horse_menu.revive, locale.horse_menu.ride, locale.horse_menu.unsummon, locale.horse_menu.close)
else
s = select(locale.horse_menu.feed, locale.horse_menu.ride, locale.horse_menu.unsummon, locale.horse_menu.close)
end
if s==1 then
if horse.is_dead() then
horse.revive()
else
local food = horse.get_grade() + 50054 - 1
if pc.countitem(food) > 0 then
pc.removeitem(food, 1)
horse.feed()
else
say(locale.need_item_prefix..item_name(food)..locale.need_item_postfix);
end
end
elseif s==2 then
horse.ride()
elseif s==3 then
horse.unsummon()
elseif s==4 then
-- do nothing
end
end
end
function show_pet_menu()
if pet.is_mine() then
say(locale.pet_menu.menu)
local s = 0
if pet.is_dead() then
s = select(locale.pet_menu.revive, locale.pet_menu.ride, locale.pet_menu.unsummon, locale.pet_menu.show_state ,locale.pet_menu.close)
else
s = select(locale.pet_menu.feed, locale.pet_menu.ride, locale.pet_menu.unsummon, locale.pet_menu.show_state ,locale.pet_menu.close)
end
if s==1 then
if pet.is_dead() then
pet.revive()
else
local food = pet.get_grade() + 50054 - 1
if pc.countitem(food) > 0 then
pc.removeitem(food, 1)
pet.feed()
else
say(locale.need_item_prefix..item_name(food)..locale.need_item_postfix);
end
end
elseif s==2 then
pet.ride()
elseif s==3 then
pet.unsummon()
elseif s==4 then
say("²{®É°¨ªºÅé¤O: "..pet.get_health_pct().."%")
say("²{®É°¨ªº*@¤O: "..pet.get_stamina_pct().."%")
say("")
elseif s==5 then
-- do nothing
end
end
end
npc_index_table = {
['race'] = npc.getrace,
['empire'] = npc.get_empire,
}
pc_index_table = {
['weapon'] = pc.getweapon,
['level'] = pc.get_level,
['hp'] = pc.gethp,
['maxhp'] = pc.getmaxhp,
['sp'] = pc.getsp,
['maxsp'] = pc.getmaxsp,
['exp'] = pc.get_exp,
['nextexp'] = pc.get_next_exp,
['job'] = pc.get_job,
['money'] = pc.getmoney,
['gold'] = pc.getmoney,
['name'] = pc.getname,
['playtime'] = pc.getplaytime,
['leadership'] = pc.getleadership,
['empire'] = pc.getempire,
['skillgroup'] = pc.get_skill_group,
['x'] = pc.getx,
['y'] = pc.gety,
['local_x'] = pc.get_local_x,
['local_y'] = pc.get_local_y,
}
item_index_table = {
['vnum'] = item.get_vnum,
['name'] = item.get_name,
['size'] = item.get_size,
['count'] = item.get_count,
['type'] = item.get_type,
['sub_type'] = item.get_sub_type,
['refine_vnum'] = item.get_refine_vnum,
['level'] = item.get_level,
}
guild_war_bet_price_table =
{
10000,
30000,
50000,
100000
}
function npc_index(t,i)
local npit = npc_index_table
if npit[i] then
return npit[i]()
else
return rawget(t,i)
end
end
function pc_index(t,i)
local pit = pc_index_table
if pit[i] then
return pit[i]()
else
return rawget(t,i)
end
end
function item_index(t, i)
local iit = item_index_table
if iit[i] then
return iit[i]()
else
return rawget(t, i)
end
end
setmetatable(pc,{__index=pc_index})
setmetatable(npc,{__index=npc_index})
setmetatable(item,{__index=item_index})
--coroutineÀ» ÀÌ¿ëÇÑ ¼±ÅÃÇ× Ã³¸®
function select(...)
return q.yield('select', arg)
end
function select_table(table)
return q.yield('select', table)
end
-- coroutineÀ» ÀÌ¿ëÇÑ ´ÙÀ½ ¿£ÅÍ ±â´Ù¸®±â
function wait()
q.yield('wait')
end
function input()
return q.yield('input')
end
function confirm(vid, msg, timeout)
return q.yield('confirm', vid, msg, timeout)
end
function select_item()
setskin(NOWINDOW)
return q.yield('select_item')
end
--Àü¿ª º¯¼ö Á¢±Ù°ú °ü·ÃµÈ °è¿*
NOWINDOW = 0
NORMAL = 1
CINEMATIC = 2
SCROLL = 3
WARRIOR = 0
ASSASSIN = 1
SURA = 2
SHAMAN = 3
COND_WARRIOR_0 = 8
COND_WARRIOR_1 = 16
COND_WARRIOR_2 = 32
COND_WARRIOR = 56
COND_ASSASSIN_0 = 64
COND_ASSASSIN_1 = 128
COND_ASSASSIN_2 = 256
COND_ASSASSIN = 448
COND_SURA_0 = 512
COND_SURA_1 = 1024
COND_SURA_2 = 2048
COND_SURA = 3584
COND_SHAMAN_0 = 4096
COND_SHAMAN_1 = 8192
COND_SHAMAN_2 = 16384
COND_SHAMAN = 28672
PART_MAIN = 0
PART_HAIR = 3
GUILD_CREATE_ITEM_VNUM = 70101
QUEST_SCROLL_TYPE_KILL_MOB = 1
QUEST_SCROLL_TYPE_KILL_ANOTHER_EMPIRE = 2
apply = {
["MAX_HP"] = 1,
["MAX_SP"] = 2,
["CON"] = 3,
["INT"] = 4,
["STR"] = 5,
["DEX"] = 6,
["ATT_SPEED"] = 7,
["MOV_SPEED"] = 8,
["CAST_SPEED"] = 9,
["HP_REGEN"] = 10,
["SP_REGEN"] = 11,
["POISON_PCT"] = 12,
["STUN_PCT"] = 13,
["SLOW_PCT"] = 14,
["CRITICAL_PCT"] = 15,
["PENETRATE_PCT"] = 16,
["ATTBONUS_HUMAN"] = 17,
["ATTBONUS_ANIMAL"] = 18,
["ATTBONUS_ORC"] = 19,
["ATTBONUS_MILGYO"] = 20,
["ATTBONUS_UNDEAD"] = 21,
["ATTBONUS_DEVIL"] = 22,
["STEAL_HP"] = 23,
["STEAL_SP"] = 24,
["MANA_BURN_PCT"] = 25,
["DAMAGE_SP_RECOVER"] = 26,
["BLOCK"] = 27,
["DODGE"] = 28,
["RESIST_SWORD"] = 29,
["RESIST_TWOHAND"] = 30,
["RESIST_DAGGER"] = 31,
["RESIST_BELL"] = 32,
["RESIST_FAN"] = 33,
["RESIST_BOW"] = 34,
["RESIST_FIRE"] = 35,
["RESIST_ELEC"] = 36,
["RESIST_MAGIC"] = 37,
["RESIST_WIND"] = 38,
["REFLECT_MELEE"] = 39,
["REFLECT_CURSE"] = 40,
["POISON_REDUCE"] = 41,
["KILL_SP_RECOVER"] = 42,
["EXP_DOUBLE_BONUS"] = 43,
["GOLD_DOUBLE_BONUS"] = 44,
["ITEM_DROP_BONUS"] = 45,
["POTION_BONUS"] = 46,
["KILL_HP_RECOVER"] = 47,
["IMMUNE_STUN"] = 48,
["IMMUNE_SLOW"] = 49,
["IMMUNE_FALL"] = 50,
["SKILL"] = 51,
["BOW_DISTANCE"] = 52,
["ATT_GRADE_BONUS"] = 53,
["DEF_GRADE_BONUS"] = 54,
["MAGIC_ATT_GRADE"] = 55,
["MAGIC_DEF_GRADE"] = 56,
["CURSE_PCT"] = 57,
["MAX_STAMINA"] = 58,
["ATTBONUS_WARRIOR"] = 59,
["ATTBONUS_ASSASSIN"] = 60,
["ATTBONUS_SURA"] = 61,
["ATTBONUS_SHAMAN"] = 62,
["ATTBONUS_MONSTER"] = 63,
}
-- ·¹º§¾÷ Äù½ºÆ® -_-
special = {}
special.fortune_telling =
{
-- { prob Å©¸® item money remove money
{ 1, 0, 20, 20, 0 }, -- 10
{ 499, 0, 10, 10, 0 }, -- 5
{ 2500, 0, 5, 5, 0 }, -- 1
{ 5000, 0, 0, 0, 0 },
{ 1500, 0, -5, -5, 20000 },
{ 499, 0, -10, -10, 20000 },
{ 1, 0, -20, -20, 20000 },
}
special.questscroll_reward =
{
{1, 1500, 3000, 30027, 0, 0 },
{2, 1500, 3000, 30028, 0, 0 },
{3, 1000, 2000, 30034, 30018, 0 },
{4, 1000, 2000, 30034, 30011, 0 },
{5, 1000, 2000, 30011, 30034, 0 },
{6, 1000, 2000, 27400, 0, 0 },
{7, 2000, 4000, 30023, 30003, 0 },
{8, 2000, 4000, 30005, 30033, 0 },
{9, 2000, 8000, 30033, 30005, 0 },
{10, 4000, 8000, 30021, 30033, 30045},
{11, 4000, 8000, 30045, 30022, 30046},
{12, 5000, 12000, 30047, 30045, 30055},
{13, 5000, 12000, 30051, 30017, 30058},
{14, 5000, 12000, 30051, 30007, 30041},
{15, 5000, 15000, 30091, 30017, 30018},
{16, 3500, 6500, 30021, 30033, 0 },
{17, 4000, 9000, 30051, 30033, 0 },
{18, 4500, 10000, 30056, 30057, 30058},
{19, 4500, 10000, 30059, 30058, 30041},
{20, 5000, 15000, 0, 0, 0 },
}
special.active_skill_list = {
{
{ 1, 2, 3, 4, 5 ,6},
{ 16, 17, 18, 19, 20 ,21},
},
{
{31, 32, 33, 34, 35 ,36},
{46, 47, 48, 49, 50 ,51},
},
{
{61, 62, 63, 64, 65, 66},
{76, 77, 78, 79, 80, 81},
},
{
{91, 92, 93, 94, 95, 96},
{106, 107, 108, 109, 110, 111},
},
}
special.skill_reset_cost = {
2000,
2000,
2000,
2000,
2000,
2000,
4000,
6000,
8000,
10000,
14000,
18000,
22000,
28000,
34000,
41000,
50000,
59000,
70000,
90000,
101000,
109000,
114000,
120000,
131000,
141000,
157000,
176000,
188000,
200000,
225000,
270000,
314000,
348000,
393000,
427000,
470000,
504000,
554000,
600000,
758000,
936000,
1103000,
1276000,
1407000,
1568000,
1704000,
1860000,
2080000,
2300000,
2700000,
3100000,
3500000,
3900000,
4300000,
4800000,
5300000,
5800000,
6400000,
7000000,
8000000,
9000000,
10000000,
11000000,
12000000,
13000000,
14000000,
15000000,
16000000,
17000000,
}
special.levelup_img =
{
[101] = "dog.tga",
[102] = "wolf.tga",
[103] = "wolf.tga",
[104] = "wolf.tga",
[105] = "wolf.tga",
[105] = "wolf.tga",
[106] = "wolf.tga",
[107] = "wolf.tga",
[108] = "wild_boar.tga",
[109] = "wild_boar.tga",
[110] = "bear.tga",
[111] = "bear.tga",
[112] = "bear.tga",
[113] = "bear.tga",
[114] = "tiger.tga",
[115] = "tiger.tga",
[301] = "bak_inf.tga",
[302] = "bak_gung.tga",
[303] = "bak_gen1.tga",
[304] = "bak_gen2.tga",
[401] = "huk_inf.tga",
[402] = "huk_dol.tga",
[403] = "huk_gen1.tga",
[404] = "huk_gen2.tga",
[501] = "o_inf.tga",
[502] = "o_jol.tga",
[503] = "o_gung.tga",
[504] = "o_jang.tga",
[601] = "ung_inf.tga",
[602] = "ung_chuk.tga",
[603] = "ung_tu.tga",
[701] = "mil_chu.tga",
[702] = "mil_na.tga",
[703] = "mil_na.tga",
[704] = "mil_na.tga",
[735] = "mil_jip.tga",
[901] = "sigwi.tga",
[903] = "gwoijil.tga",
[2001] = "spider.tga",
[2002] = "spider.tga",
[2003] = "spider.tga",
[2004] = "spider.tga",
[2005] = "spider.tga",
[2102] = "2102.tga",
[2103] = "2103.tga",
}
special.levelup_quest = {
-- monster kill monster kill
-- vnum qty. vnum qty. exp percent
{ 0 , 0 , 0 , 0 , 0 } , -- lev 1
{ 101 , 10 , 102 , 5 , 10 } , -- lev 2
{ 101 , 20 , 102 , 10 , 10 } , -- lev 3
{ 102 , 15 , 103 , 5 , 10 } , -- lev 4
{ 103 , 10 , 104 , 10 , 10 } , -- lev 5
{ 104 , 20 , 108 , 10 , 10 } , -- lev 6
{ 108 , 10 , 105 , 5 , 10 } , -- lev 7
{ 108 , 20 , 105 , 10 , 10 } , -- lev 8
{ 105 , 15 , 109 , 5 , 10 } , -- lev 9
{ 105 , 20 , 109 , 10 , 10 } , -- lev 10
{ 109 , 10 , 110 , 5 , 10 } , -- lev 11
{ 110 , 15 , 106 , 10 , 10 } , -- lev 12
{ 106 , 20 , 111 , 5 , 10 } , -- lev 13
{ 111 , 15 , 107 , 5 , 10 } , -- lev 14
{ 111 , 20 , 107 , 10 , 10 } , -- lev 15
{ 107 , 15 , 114 , 5 , 10 } , -- lev 16
{ 107 , 20 , 114 , 10 , 10 } , -- lev 17
{ 114 , 10 , 112 , 10 , 10 } , -- lev 18
{ 112 , 20 , 113 , 10 , 10 } , -- lev 19
{ 113 , 20 , 302 , 15 , 10 } , -- lev 20
{ 302 , 20 , 115 , 10 , "2-10" } , -- lev 21
{ 115 , 25 , 304 , 10 , "2-10" } , -- lev 22
{ 304 , 20 , 401 , 40 , "2-10" } , -- lev 23
{ 401 , 60 , 402 , 80 , "2-10" } , -- lev 24
{ 501 , 80 , 404 , 20 , "2-10" } , -- lev 25
{ 502 , 80 , 406 , 20 , "2-10" } , -- lev 26
{ 406 , 30 , 504 , 20 , "2-10" } , -- lev 27
{ 631 , 35 , 504 , 30 , "2-10" } , -- lev 28
{ 631 , 40 , 632 , 30 , "2-10" } , -- lev 29
{ 632 , 40 , 2102 , 30 , "2-10" } , -- lev 30
{ 632 , 50 , 2102 , 45 , "2-5" } , -- lev 31
{ 633 , 45 , 2001 , 40 , "2-5" } , -- lev 32
{ 701 , 35 , 2103 , 30 , "2-5" } , -- lev 33
{ 701 , 40 , 2103 , 40 , "2-5" } , -- lev 34
{ 702 , 40 , 2002 , 30 , "2-5" } , -- lev 35
{ 704 , 20 , 2106 , 20 , "2-5" } , -- lev 36
{ 733 , 30 , 2003 , 20 , "2-5" } , -- lev 37
{ 734 , 40 , 2004 , 20 , "2-5" } , -- lev 38
{ 706 , 40 , 2005 , 30 , "2-5" } , -- lev 39
{ 707 , 40 , 2108 , 20 , "2-5" } , -- lev 40
{ 901 , 40 , 5123 , 25 , "2-5" } , -- lev 41
{ 902 , 30 , 5123 , 30 , "2-5" } , -- lev 42
{ 902 , 40 , 2031 , 35 , "2-5" } , -- lev 43
{ 903 , 40 , 2031 , 40 , "2-5" } , -- lev 44
{ 731 , 50 , 2032 , 45 , "2-5" } , -- lev 45
{ 732 , 30 , 5124 , 30 , "2-5" } , -- lev 46
{ 903 , 35 , 5125 , 30 , "2-5" } , -- lev 47
{ 904 , 40 , 5125 , 35 , "2-5" } , -- lev 48
{ 733 , 40 , 2033 , 45 , "2-5" } , -- lev 49
{ 734 , 40 , 5126 , 20 , "2-5" } , -- lev 50
{ 735 , 50 , 5126 , 30 , "1-4" } , -- lev 51
{ 904 , 45 , 2034 , 45 , "1-4" } , -- lev 52
{ 904 , 50 , 2034 , 50 , "1-4" } , -- lev 53
{ 736 , 40 , 1001 , 30 , "1-4" } , -- lev 54
{ 737 , 40 , 1301 , 35 , "1-4" } , -- lev 55
{ 905 , 50 , 1002 , 30 , "1-4" } , -- lev 56
{ 905 , 60 , 1002 , 40 , "1-4" } , -- lev 57
{ 906 , 45 , 1303 , 40 , "1-4" } , -- lev 58
{ 906 , 50 , 1303 , 45 , "1-4" } , -- lev 59
{ 907 , 45 , 1003 , 40 , "1-4" } , -- lev 60
}
special.levelup_reward1 =
{
-- warrior assassin sura shaman
{ 0, 0, 0, 0 },
{ 11200, 11400, 11600, 11800 }, -- °©¿Ê lev2
{ 12200, 12340, 12480, 12620 }, -- Åõ±¸ lev3
{ 13000, 13000, 13000, 13000 } -- ¹æÆÐ lev4
}
-- levelup_reward1 Å×À̺í Å©±âº¸´Ù ·¹º§ÀÌ ³ô¾ÆÁö¸é ¾Æ·¡
-- Å×À̺íÀ» ÀÌ¿ëÇÏ¿© ¾ÆÀÌÅÛÀ» ÁØ´Ù.
special.levelup_reward3 = {
-- pct item # item count
{ 33, 27002, 10 }, -- 25%
{ 67, 27005, 10 }, -- 25%
--{ 75, 27101, 5 }, -- 25%
{ 100, 27114, 5 }, -- 25%
}
special.levelup_reward_gold21 =
{
{ 10000, 20 },
{ 20000, 50 },
{ 40000, 25 },
{ 80000, 3 },
{ 100000, 2 },
}
special.levelup_reward_gold31 =
{
{ 20000, 20 },
{ 40000, 40 },
{ 60000, 25 },
{ 80000, 10 },
{ 100000, 5 },
}
special.levelup_reward_gold41 =
{
{ 40000, 20 },
{ 60000, 40 },
{ 80000, 25 },
{ 100000, 10 },
{ 150000, 5 },
}
special.levelup_reward_gold51 =
{
{ 60000, 20 },
{ 80000, 40 },
{ 100000, 25 },
{ 150000, 10 },
{ 200000, 5 },
}
special.levelup_reward_exp21 =
{
{ 2, 9 },
{ 3, 14 },
{ 4, 39 },
{ 6, 24 },
{ 8, 9 },
{ 10, 4 },
}
special.levelup_reward_exp31 =
{
{ 2, 10 },
{ 2.5, 15 },
{ 3, 40 },
{ 3.5, 25 },
{ 4, 8 },
{ 4.5, 5 },
{ 5, 2 },
}
special.levelup_reward_exp41 =
{
{ 2, 10 },
{ 2.5, 15 },
{ 3, 40 },
{ 3.5, 25 },
{ 4, 8 },
{ 4.5, 5 },
{ 5, 2 },
}
special.levelup_reward_exp51 =
{
{ 1, 10 },
{ 1.5, 15 },
{ 2, 40 },
{ 2.5, 25 },
{ 3, 8 },
{ 3.5, 5 },
{ 4, 2 },
}
special.levelup_reward_item_21 =
{
-- no couple ring
{ { 27002, 10 }, { 27005, 10 }, { 27114, 10 } }, -- lev 21
{ 15080, 15100, 15120, 15140 }, -- lev 22
{ 16080, 16100, 16120, 16140 }, -- lev 23
{ 17080, 17100, 17120, 17140 }, -- lev 24
{ { 27002, 10 }, { 27005, 10 }, { 27114, 10 } }, -- lev 25
{ { 27003, 20 }, { 27006, 20 }, { 27114, 10 } }, -- over lev 25
-- with couple ring
-- { { 27002, 10 }, { 27005, 10 }, { 27114, 10 }, { 70301, 1 } }, -- lev 21
-- { 15080, 15100, 15120, 15140, 70301 }, -- lev 22
-- { 16080, 16100, 16120, 16140, 70301 }, -- lev 23
-- { 17080, 17100, 17120, 17140, 70301 }, -- lev 24
-- { { 27002, 10 }, { 27005, 10 }, { 27114, 10 }, { 70301, 1 } }, -- lev 25
-- { { 27003, 20 }, { 27006, 20 }, { 27114, 10 } }, -- over lev 25
}
special.warp_to_pos = {
-- ½Â·æ°î
{
{ 402100, 673900 },
{ 270400, 739900 },
{ 321300, 808000 },
},
--µµ¿°È*Áö
{
--A 5994 7563
--B 5978 6222
--C 7307 6898
{ 599400, 756300 },
{ 597800, 622200 },
{ 730700, 689800 },
},
--¿µºñ»ç¸·
{
--A 2178 6272
{ 217800, 627200 },
--B 2219 5027
{ 221900, 502700 },
--C 3440 5025
{ 344000, 502500 },
},
--¼*ÇÑ»ê
{
--A 4342 2906
{ 434200, 290600 },
--B 3752 1749
{ 375200, 174900 },
--C 4918 1736
{ 491800, 173600 },
},
}
special.devil_tower =
{
--{ 123, 608 },
{ 2048+126, 6656+384 },
{ 2048+134, 6656+147 },
{ 2048+369, 6656+629 },
{ 2048+369, 6656+401 },
{ 2048+374, 6656+167 },
{ 2048+579, 6656+616 },
{ 2048+578, 6656+392 },
{ 2048+575, 6656+148 },
}
special.devil_tower2 =
{
--{ 123, 608 },
{ 717777+126, 717777+384 },
{ 717777+134, 717777+147 },
{ 717777+369, 717777+629 },
{ 717777+369, 717777+401 },
{ 717777+374, 717777+167 },
{ 717777+579, 717777+616 },
{ 717777+578, 717777+392 },
{ 717777+575, 717777+148 },
}
special.lvq_map = {
{ -- "A1" 1
{},
{ { 440, 565 }, { 460, 771 }, { 668, 800 },},
{ { 440, 565 }, { 460, 771 }, { 668, 800 },},
{ { 440, 565 }, { 460, 771 }, { 668, 800 },},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{496, 401}, {494, 951}, {542, 1079}, {748, 9741},},
{{853,557}, {845,780}, {910,956},},
{{853,557}, {845,780}, {910,956},},
{{340, 179}, {692, 112}, {787, 256}, {898, 296},},
{{340, 179}, {692, 112}, {787, 256}, {898, 296},},
{{340, 179}, {692, 112}, {787, 256}, {898, 296},},
{{340, 179}, {692, 112}, {787, 256}, {898, 296},},
{{340, 179}, {692, 112}, {787, 256}, {898, 296},},
{{340, 179}, {692, 112}, {787, 256}, {898, 296},},
{{340, 179}, {692, 112}, {787, 256}, {898, 296},},
{{224,395}, {137,894}, {206,830}, {266,1067},},
{{224,395}, {137,894}, {206,830}, {266,1067},},
{{224,395}, {137,894}, {206,830}, {266,1067},},
{{405,74}},
{{405,74}},
{{405,74}},
{{405,74}},
{{405,74}},
{{405,74}},
{{405,74}},
{{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}},
{{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}}, {{405,74}},
},
{ -- "A2" 2
{},
{{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }},
{{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }},
{{ 640,1437 }}, {{ 640,1437 }}, {{ 640,1437 }}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}},
{{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}}, {{640,1437}},
{{640,1437}},
{{640,1437}},
{{640,1437}},
{{244,1309}, {4567,1080}, {496,885}, {798,975}, {1059,1099}, {855,1351},},
{{244,1309}, {4567,1080}, {496,885}, {798,975}, {1059,1099}, {855,1351},},
{{244,1309}, {4567,1080}, {496,885}, {798,975}, {1059,1099}, {855,1351},},
{{244,1309}, {4567,1080}, {496,885}, {798,975}, {1059,1099}, {855,1351},},
{{193,772}, {390,402}, {768,600}, {1075,789}, {1338,813},},
{{193,772}, {390,402}, {768,600}, {1075,789}, {1338,813},},
},
{ -- "A3" 3
{},
{{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }},
{{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }}, {{ 948,804 }},
{{ 948,804 }},
{{ 948,804 }},
{{ 948,804 }},
{{438, 895}, {725, 864}, {632, 671},},
{{438, 895}, {725, 864}, {632, 671},},
{{438, 895}, {725, 864}, {632, 671},},
{{438, 895}, {725, 864}, {632, 671},},
{{438, 895}, {725, 864}, {632, 671},},
{{847, 412}, {844, 854}, {823, 757}, {433, 407},},
{{847, 412}, {844, 854}, {823, 757}, {433, 407},},
{{847, 412}, {844, 854}, {823, 757}, {433, 407},},
{{847, 412}, {844, 854}, {823, 757}, {433, 407},},
{{847, 412}, {844, 854}, {823, 757}, {433, 407},},
{{316,168}, {497,130}, {701,157}, {858,316},},
{{316,168}, {497,130}, {701,157}, {858,316},},
{{316,168}, {497,130}, {701,157}, {858,316},},
{{316,168}, {497,130}, {701,157}, {858,316},},
{{316,168}, {497,130}, {701,157}, {858,316},},
{{316,168}, {497,130}, {701,157}, {858,316},},
{{316,168}, {497,130}, {701,157}, {858,316},},
{{200,277}, {130,646}, {211,638}, {291,851},},
{{200,277}, {130,646}, {211,638}, {291,851},},
{{200,277}, {130,646}, {211,638}, {291,851},},
{{100,150}},
{{100,150}},
{{100,150}},
{{100,150}},
{{100,150}},
{{100,150}},
},
{}, -- 4
{}, -- 5
{}, -- 6
{}, -- 7
{}, -- 8
{}, -- 9
{}, -- 10
{}, -- 11
{}, -- 12
{}, -- 13
{}, -- 14
{}, -- 15
{}, -- 16
{}, -- 17
{}, -- 18
{}, -- 19
{}, -- 20
{ -- "B1" 21
{},
{{412,635}, {629,428}, {829,586},},
{{412,635}, {629,428}, {829,586},},
{{412,635}, {629,428}, {829,586},},
{{329,643}, {632,349}, {905,556},},
{{329,643}, {632,349}, {905,556},},
{{329,643}, {632,349}, {905,556},},
{{329,643}, {632,349}, {905,556},},
{{329,643}, {632,349}, {905,556},},
{{329,643}, {632,349}, {905,556},},
{{329,643}, {632,349}, {905,556},},
{{329,643}, {632,349}, {905,556},},
{{866,822}, {706,224}, {247,722},},
{{866,822}, {706,224}, {247,722},},
{{617,948}, {353,221},},
{{617,948}, {353,221},},
{{617,948}, {353,221},},
{{617,948}, {353,221},},
{{617,948}, {353,221},},
{{617,948}, {353,221},},
{{617,948}, {353,221},},
{{496,1089}, {890,1043},},
{{496,1089}, {890,1043},},
{{496,1089}, {890,1043},},
{{876,1127}},
{{876,1127}},
{{876,1127}},
{{876,1127}},
{{876,1127}},
{{876,1127}},
{{876,1127}},
{{876,1127}}, {{876,1127}}, {{876,1127}}, {{876,1127}}, {{876,1127}}, {{876,1127}}, {{876,1127}}, {{876,1127}}, {{876,1127}}, {{876,1127}},
{{876,1127}}, {{876,1127}}, {{876,1127}}, {{908,87}}, {{908,87}}, {{908,87}}, {{908,87}}, {{908,87}}, {{908,87}},
},
{ -- "B2" 22
{},
{{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }},
{{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }},
{{ 95,819 }}, {{ 95,819 }}, {{ 95,819 }}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}},
{{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}}, {{746,1438}},
{{746,1438}},
{{746,1438}},
{{746,1438}},
{{ 172,810}, {288,465}, {475,841}, {303,156}, {687,466},},
{{ 172,810}, {288,465}, {475,841}, {303,156}, {687,466},},
{{ 172,810}, {288,465}, {475,841}, {303,156}, {687,466},},
{{ 172,810}, {288,465}, {475,841}, {303,156}, {687,466},},
{{787,235}, {1209,382}, {1350,571}, {1240,852}, {1254,1126}, {1078,1285}, {727,1360},},
{{787,235}, {1209,382}, {1350,571}, {1240,852}, {1254,1126}, {1078,1285}, {727,1360},},
},
{ -- "B3" 23
{},
{{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }},
{{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }}, {{ 106,88 }},
{{ 106,88 }},
{{ 106,88 }},
{{ 106,88 }},
{{230, 244}, {200, 444}, {594, 408},},
{{230, 244}, {200, 444}, {594, 408},},
{{230, 244}, {200, 444}, {594, 408},},
{{230, 244}, {200, 444}, {594, 408},},
{{230, 244}, {200, 444}, {594, 408},},
{{584,204}, {720,376}, {861,272},},
{{584,204}, {720,376}, {861,272},},
{{584,204}, {720,376}, {861,272},},
{{584,204}, {720,376}, {861,272},},
{{584,204}, {720,376}, {861,272},},
{{566,694}, {349,574}, {198,645},},
{{566,694}, {349,574}, {198,645},},
{{566,694}, {349,574}, {198,645},},
{{566,694}, {349,574}, {198,645},},
{{566,694}, {349,574}, {198,645},},
{{566,694}, {349,574}, {198,645},},
{{566,694}, {349,574}, {198,645},},
{{816,721}, {489,823},},
{{816,721}, {489,823},},
{{816,721}, {489,823},},
{{772,140}},
{{772,140}},
{{772,140}},
{{772,140}},
{{772,140}},
{{772,140}},
},
{}, -- 24
{}, -- 25
{}, -- 26
{}, -- 27
{}, -- 28
{}, -- 29
{}, -- 30
{}, -- 31
{}, -- 32
{}, -- 33
{}, -- 34
{}, -- 35
{}, -- 36
{}, -- 37
{}, -- 38
{}, -- 39
{}, -- 40
{ -- "C1" 41
{},
{{385,446}, {169,592}, {211,692}, {632,681},},
{{385,446}, {169,592}, {211,692}, {632,681},},
{{385,446}, {169,592}, {211,692}, {632,681},},
{{385,374}, {227,815}, {664,771},},
{{385,374}, {227,815}, {664,771},},
{{385,374}, {227,815}, {664,771},},
{{385,374}, {227,815}, {664,771},},
{{385,374}, {227,815}, {664,771},},
{{385,374}, {227,815}, {664,771},},
{{385,374}, {227,815}, {664,771},},
{{385,374}, {227,815}, {664,771},},
{{169,362}, {368,304}, {626,409}, {187,882}, {571,858},},
{{169,362}, {368,304}, {626,409}, {187,882}, {571,858},},
{{178,275}, {365,242}, {644,313}, {194,950}, {559,936},},
{{178,275}, {365,242}, {644,313}, {194,950}, {559,936},},
{{178,275}, {365,242}, {644,313}, {194,950}, {559,936},},
{{178,275}, {365,242}, {644,313}, {194,950}, {559,936},},
{{178,275}, {365,242}, {644,313}, {194,950}, {559,936},},
{{178,275}, {365,242}, {644,313}, {194,950}, {559,936},},
{{178,275}, {365,242}, {644,313}, {194,950}, {559,936},},
{{452,160}, {536,1034}, {184,1044},},
{{452,160}, {536,1034}, {184,1044},},
{{452,160}, {536,1034}, {184,1044},},
{{137,126}},
{{137,126}},
{{137,126}},
{{137,126}},
{{137,126}},
{{137,126}},
{{137,126}},
{{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}},
{{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}}, {{137,126}},
},
{ -- "C2" 42
{},
{{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}},
{{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}},
{{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}},
{{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}}, {{1409,139}},
{{1409,139}},
{{1409,139}},
{{1409,139}},
{{991,222}, {1201,525}, {613,232}, {970,751}, {1324,790},},
{{991,222}, {1201,525}, {613,232}, {970,751}, {1324,790},},
{{991,222}, {1201,525}, {613,232}, {970,751}, {1324,790},},
{{991,222}, {1201,525}, {613,232}, {970,751}, {1324,790},},
{{192,211}, {247,600}, {249,882}, {987,981}, {1018,1288}, {1303,1174},},
{{192,211}, {247,600}, {249,882}, {987,981}, {1018,1288}, {1303,1174},},
},
{ -- "C3" 43
{},
{{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}},
{{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}}, {{901,151}},
{{901,151}},
{{901,151}},
{{901,151}},
{{421, 189}, {167, 353},},
{{421, 189}, {167, 353},},
{{421, 189}, {167, 353},},
{{421, 189}, {167, 353},},
{{421, 189}, {167, 353},},
{{679,459}, {505,709},},
{{679,459}, {505,709},},
{{679,459}, {505,709},},
{{679,459}, {505,709},},
{{679,459}, {505,709},},
{{858,638}, {234,596},},
{{858,638}, {234,596},},
{{858,638}, {234,596},},
{{858,638}, {234,596},},
{{858,638}, {234,596},},
{{858,638}, {234,596},},
{{858,638}, {234,596},},
{{635,856}, {324,855},},
{{635,856}, {324,855},},
{{635,856}, {324,855},},
{{136,899}},
{{136,899}},
{{136,899}},
{{136,899}},
{{136,899}},
{{136,899}},
},
{}, -- 44
{}, -- 45
{}, -- 46
{}, -- 47
{}, -- 48
{}, -- 49
{}, -- 50
{}, -- 51
{}, -- 52
{}, -- 53
{}, -- 54
{}, -- 55
{}, -- 56
{}, -- 57
{}, -- 58
{}, -- 59
{}, -- 60
}
function BuildSkillList(job, group)
local skill_vnum_list = {}
local skill_name_list = {}
if pc.get_skill_group() != 0 then
local skill_list = special.active_skill_list[job+1][group]
table.foreachi( skill_list,
function(i, t)
local lev = pc.get_skill_level(t)
if lev > 0 then
local name = locale.GM_SKILL_NAME_DICT[t]
if name != nil then
table.insert(skill_vnum_list, t)
table.insert(skill_name_list, name)
end
end
end
)
end
table.insert(skill_vnum_list, 0)
table.insert(skill_name_list, locale.cancel)
return { skill_vnum_list, skill_name_list }
end
PREMIUM_EXP = 0
PREMIUM_ITEM = 1
PREMIUM_SAFEBOX = 2
PREMIUM_AUTOLOOT = 3
PREMIUM_FISH_MIND = 4
PREMIUM_MARRIAGE_FAST = 5
PREMIUM_GOLD = 6
-- point type start
POINT_NONE = 0
POINT_LEVEL = 1
POINT_VOICE = 2
POINT_EXP = 3
POINT_NEXT_EXP = 4
POINT_HP = 5
POINT_MAX_HP = 6
POINT_SP = 7
POINT_MAX_SP = 8
POINT_STAMINA = 9 --½ºÅ׹̳Ê
POINT_MAX_STAMINA = 10 --ÃÖ´ë ½ºÅ׹̳Ê
POINT_GOLD = 11
POINT_ST = 12 --±Ù·Â
POINT_HT = 13 --ü·Â
POINT_DX = 14 --¹Îø¼º
POINT_IQ = 15 --Á¤½Å·Â
POINT_DEF_GRADE = 16
POINT_ATT_SPEED = 17 --°ø°Ý¼Óµµ
POINT_ATT_GRADE = 18 --°ø°Ý·Â MAX
POINT_MOV_SPEED = 19 --À̵¿¼Óµµ
POINT_CLIENT_DEF_GRADE = 20 --¹æ¾îµî±Þ
POINT_CASTING_SPEED = 21 --ÁÖ¹®¼Óµµ (Äð´Ù¿îŸÀÓ*100) / (100 + ÀÌ°ª) = ÃÖÁ¾ Äð´Ù¿î ŸÀÓ
POINT_MAGIC_ATT_GRADE = 22 --¸¶¹ý°ø°Ý·Â
POINT_MAGIC_DEF_GRADE = 23 --¸¶¹ý¹æ¾î·Â
POINT_EMPIRE_POINT = 24 --Á¦±¹Á¡¼ö
POINT_LEVEL_STEP = 25 --ÇÑ ·¹º§¿¡¼*ÀÇ ´Ü°è.. (1 2 3 µÉ ¶§ º¸»ó 4 µÇ¸é ·¹º§ ¾÷)
POINT_STAT = 26 --´É·ÂÄ¡ ¿Ã¸± ¼ö ÀÖ´Â °³¼ö
POINT_SUB_SKILL = 27 --º¸Á¶ ½ºÅ³ Æ÷ÀÎÆ®
POINT_SKILL = 28 --¾×Ƽºê ½ºÅ³ Æ÷ÀÎÆ®
POINT_WEAPON_MIN = 29 --¹«±â ÃÖ¼Ò µ¥¹ÌÁö
POINT_WEAPON_MAX = 30 --¹«±â ÃÖ´ë µ¥¹ÌÁö
POINT_PLAYTIME = 31 --Ç÷¹À̽ð£
POINT_HP_REGEN = 32 --HP ȸº¹·ü
POINT_SP_REGEN = 33 --SP ȸº¹·ü
POINT_BOW_DISTANCE = 34 --È° »çÁ¤°Å¸® Áõ°¡Ä¡ (meter)
POINT_HP_RECOVERY = 35 --ü·Â ȸº¹ Áõ°¡·®
POINT_SP_RECOVERY = 36 --Á¤½Å·Â ȸº¹ Áõ°¡·®
POINT_POISON_PCT = 37 --µ¶ È®·ü
POINT_STUN_PCT = 38 --±âÀý È®·ü
POINT_SLOW_PCT = 39 --½½·Î¿ì È®·ü
POINT_CRITICAL_PCT = 40 --Å©¸®Æ¼Äà Ȯ·ü
POINT_PENETRATE_PCT = 41 --°üÅëŸ°Ý È®·ü
POINT_CURSE_PCT = 42 --ÀúÁÖ È®·ü
POINT_ATTBONUS_HUMAN = 43 --Àΰ£¿¡°Ô °*ÇÔ
POINT_ATTBONUS_ANIMAL = 44 --µ¿¹°¿¡°Ô µ¥¹ÌÁö % Áõ°¡
POINT_ATTBONUS_ORC = 45 --¿õ±Í¿¡°Ô µ¥¹ÌÁö % Áõ°¡
POINT_ATTBONUS_MILGYO = 46 --¹Ð±³¿¡°Ô µ¥¹ÌÁö % Áõ°¡
POINT_ATTBONUS_UNDEAD = 47 --½Ãü¿¡°Ô µ¥¹ÌÁö % Áõ°¡
POINT_ATTBONUS_DEVIL = 48 --¸¶±Í(¾Ç¸¶)¿¡°Ô µ¥¹ÌÁö % Áõ°¡
POINT_ATTBONUS_INSECT = 49 --¹ú·¹Á·
POINT_ATTBONUS_FIRE = 50 --È*¿°Á·
POINT_ATTBONUS_ICE = 51 --ºù¼³Á·
POINT_ATTBONUS_DESERT = 52 --»ç¸·Á·
POINT_ATTBONUS_MONSTER = 53 --¸ðµç ¸ó½ºÅÍ¿¡°Ô °*ÇÔ
POINT_ATTBONUS_WARRIOR = 54 --¹«»ç¿¡°Ô °*ÇÔ
POINT_ATTBONUS_ASSASSIN = 55 --ÀÚ°´¿¡°Ô °*ÇÔ
POINT_ATTBONUS_SURA = 56 --¼ö¶ó¿¡°Ô °*ÇÔ
POINT_ATTBONUS_SHAMAN = 57 --¹«´ç¿¡°Ô °*ÇÔ
-- ADD_TRENT_MONSTER
POINT_ATTBONUS_TREE = 58 --³ª¹«¿¡°Ô °*ÇÔ 20050729.myevan UNUSED5
-- END_OF_ADD_TRENT_MONSTER
POINT_RESIST_WARRIOR = 59 --¹«»ç¿¡°Ô ÀúÇ×
POINT_RESIST_ASSASSIN = 60 --ÀÚ°´¿¡°Ô ÀúÇ×
POINT_RESIST_SURA = 61 --¼ö¶ó¿¡°Ô ÀúÇ×
POINT_RESIST_SHAMAN = 62 --¹«´ç¿¡°Ô ÀúÇ×
POINT_STEAL_HP = 63 --»ý¸í·Â Èí¼ö
POINT_STEAL_SP = 64 --Á¤½Å·Â Èí¼ö
POINT_MANA_BURN_PCT = 65 --¸¶³ª ¹ø
--/ ÇÇÇؽà º¸³Ê½º =/
POINT_DAMAGE_SP_RECOVER = 66 --°ø°Ý´çÇÒ ½Ã Á¤½Å·Â ȸº¹ È®·ü
POINT_BLOCK = 67 --ºí·°À²
POINT_DODGE = 68 --ȸÇÇÀ²
POINT_RESIST_SWORD = 69
POINT_RESIST_TWOHAND = 70
POINT_RESIST_DAGGER = 71
POINT_RESIST_BELL = 72
POINT_RESIST_FAN = 73
POINT_RESIST_BOW = 74 --È*»ì ÀúÇ× : ´ë¹ÌÁö °¨¼Ò
POINT_RESIST_FIRE = 75 --È*¿° ÀúÇ× : È*¿°°ø°Ý¿¡ ´ëÇÑ ´ë¹ÌÁö °¨¼Ò
POINT_RESIST_ELEC = 76 --Àü±â ÀúÇ× : Àü±â°ø°Ý¿¡ ´ëÇÑ ´ë¹ÌÁö °¨¼Ò
POINT_RESIST_MAGIC = 77 --¼ú¹ý ÀúÇ× : ¸ðµç¼ú¹ý¿¡ ´ëÇÑ ´ë¹ÌÁö °¨¼Ò
POINT_RESIST_WIND = 78 --¹Ù¶÷ ÀúÇ× : ¹Ù¶÷°ø°Ý¿¡ ´ëÇÑ ´ë¹ÌÁö °¨¼Ò
POINT_REFLECT_MELEE = 79 --°ø°Ý ¹Ý»ç
--/ Ư¼ö ÇÇÇؽà =/
POINT_REFLECT_CURSE = 80 --ÀúÁÖ ¹Ý»ç
POINT_POISON_REDUCE = 81 --µ¶µ¥¹ÌÁö °¨¼Ò
--/ Àû ¼Ò¸ê½Ã =/
POINT_KILL_SP_RECOVER = 82 --Àû ¼Ò¸ê½Ã MP ȸº¹
POINT_EXP_DOUBLE_BONUS = 83
POINT_GOLD_DOUBLE_BONUS = 84
POINT_ITEM_DROP_BONUS = 85
--/ ȸº¹ °ü·Ã =/
POINT_POTION_BONUS = 86
POINT_KILL_HP_RECOVERY = 87
POINT_IMMUNE_STUN = 88
POINT_IMMUNE_SLOW = 89
POINT_IMMUNE_FALL = 90
--========
POINT_PARTY_ATTACKER_BONUS = 91
POINT_PARTY_TANKER_BONUS = 92
POINT_ATT_BONUS = 93
POINT_DEF_BONUS = 94
POINT_ATT_GRADE_BONUS = 95
POINT_DEF_GRADE_BONUS = 96
POINT_MAGIC_ATT_GRADE_BONUS = 97
POINT_MAGIC_DEF_GRADE_BONUS = 98
POINT_RESIST_NORMAL_DAMAGE = 99
POINT_HIT_HP_RECOVERY = 100
POINT_HIT_SP_RECOVERY = 101
POINT_MANASHIELD = 102 --Èæ½Å¼öÈ£ ½ºÅ³¿¡ ÀÇÇÑ ¸¶³ª½¯µå È¿°ú Á¤µµ
POINT_PARTY_BUFFER_BONUS = 103
POINT_PARTY_SKILL_MASTER_BONUS = 104
POINT_HP_RECOVER_CONTINUE = 105
POINT_SP_RECOVER_CONTINUE = 106
POINT_STEAL_GOLD = 107
POINT_POLYMORPH = 108 --º¯½ÅÇÑ ¸ó½ºÅÍ ¹øÈ£
POINT_MOUNT = 109 --Ÿ°íÀÖ´Â ¸ó½ºÅÍ ¹øÈ£
POINT_PARTY_HASTE_BONUS = 110
POINT_PARTY_DEFENDER_BONUS = 111
POINT_STAT_RESET_COUNT = 112 --ÇÇÀÇ ´Ü¾à »ç¿ëÀ» ÅëÇÑ ½ºÅÝ ¸®¼Â Æ÷ÀÎÆ® (1´ç 1Æ÷ÀÎÆ® ¸®¼Â°¡´É)
POINT_HORSE_SKILL = 113
POINT_MALL_ATTBONUS = 114 --°ø°Ý·Â +x%
POINT_MALL_DEFBONUS = 115 --¹æ¾î·Â +x%
POINT_MALL_EXPBONUS = 116 --°æÇèÄ¡ +x%
POINT_MALL_ITEMBONUS = 117 --¾ÆÀÌÅÛ µå·ÓÀ² x/10¹è
POINT_MALL_GOLDBONUS = 118 --µ· µå·ÓÀ² x/10¹è
POINT_MAX_HP_PCT = 119 --ÃÖ´ë»ý¸í·Â +x%
POINT_MAX_SP_PCT = 120 --ÃÖ´ëÁ¤½Å·Â +x%
POINT_SKILL_DAMAGE_BONUS = 121 --½ºÅ³ µ¥¹ÌÁö *(100+x)%
POINT_NORMAL_HIT_DAMAGE_BONUS = 122 --ÆòŸ µ¥¹ÌÁö *(100+x)%
-- DEFEND_BONUS_ATTRIBUTES
POINT_SKILL_DEFEND_BONUS = 123 --½ºÅ³ ¹æ¾î µ¥¹ÌÁö
POINT_NORMAL_HIT_DEFEND_BONUS = 124 --ÆòŸ ¹æ¾î µ¥¹ÌÁö
-- END_OF_DEFEND_BONUS_ATTRIBUTES
-- PC_BANG_ITEM_ADD
POINT_PC_BANG_EXP_BONUS = 125 --PC¹æ Àü¿ë °æÇèÄ¡ º¸³Ê½º
POINT_PC_BANG_DROP_BONUS = 126 --PC¹æ Àü¿ë µå·Ó·ü º¸³Ê½º
POINT_PET_SKILL = 127
-- END_PC_BANG_ITEM_ADD
-- POINT_MAX_NUM = 128 common/length.h
-- point type start
function setenergy(typ,value,timez)
pc.setqf("energy_value", value)
pc.setqf("energy_date", get_time() + timez)
pc.setqf("energy_typ", typ)
end
function setenergytime(timez)
pc.setqf("energy_date", timez)
end
function getenergytyp()
return pc.getqf("energy_typ")
end
function getenergyvalue()
return pc.getqf("energy_value")
end
function getenergytime()
return pc.getqf("energy_date")
end
function split(str, delim, maxNb)
if str == nil then return str end
if string.find(str, delim) == nil then return { str } end
if maxNb == nil or maxNb < 1 then maxNb = 0 end
local result = {}
local pat = "(.-)" .. delim .. "()"
local nb = 0
local lastPos
for part, pos in string.gfind(str, pat) do
nb = nb + 1
result[nb] = part
lastPos = pos
if nb == maxNb then break end
end
if nb ~= maxNb then result[nb + 1] = string.sub(str, lastPos) end
return result
end
mysql_query = function(query)
local rt = io.open('CONFIG','r'):read('*all')
local pre= string.gsub(rt,'.+PLAYER_SQL:%s(%S+)%s(%S+)%s(%S+)%s(%S+).+','-h%1 -u%2 -p%3 -D%4')
math.randomseed(os.time())
local fi,t,out = 'mysql_data_'..math.random(10^9)+math.random(2^4,2^10),{},{}
os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi)
for av in io.open(fi,'r'):lines() do table.insert(t,split(av,'\t')) end; os.remove(fi);
for i = 2, table.getn(t) do table.foreach(t[i],function(a,b)
out[i-1] = out[i-1] or {}
out[i-1][a] = b
out[t[1][a]] = out[t[1][a]] or {}
out[t[1][a]][i-1] = b
end) end
return out
end
-- Entferne Leerzeichen vor und nach dem String
function string.trim(str)
return (string.gsub(str, "^%s*(.-)%s*$", "%1"))
end
-- String zu Array über Seperator
function string.explode(str, sep)
if sep == "" or str == "" then
error("Fehlende Parameter")
end
local pos, t = 1, {}
for s, e in function() return string.find(str, sep, pos) end do
table.insert(t, string.trim(string.sub(str, pos, s-1)))
pos = e+1
end
table.insert(t, string.trim(string.sub(str, pos)))
return t
end
function pc.change_money_for_other_pc(name,betrag)
local name2 = pc.get_name()
local m
local d = pc.select(find_pc_by_name(name))
m = pc.get_gold()
pc.select(d)
if m+betrag >= 2*10^9 then
say("Er hat zu viel Geld")
return
end
local d = pc.select(find_pc_by_name(name))
pc.change_money(betrag)
chat('Du hast von '..name2..' '..betrag..' Yang erhalten!')
pc.select(d)
end
Letzes änderungsdatum: 6.11.2012
Erstauftritt der Errors oben in den Sysrr's: Gestern -.-
|
|
|
|
Similar Threads
|
Warum crasht jeder hack ?
03/26/2011 - WarRock - 8 Replies
Be mir crasht jerder verfickte scheiss hack egal wie alt er ist oder so
warum is das so??????????????????????
sorry für die ausdrucksweise bin bisschen agressiv grade!!
|
Warum Crasht WarRock so oft?
01/10/2011 - WarRock - 22 Replies
Hey Comm,
Bei mir und meinem Nachbarn Crasht WarRock seit Heute immer nach 10Minuten (Ohne Hacks).... Das nervt nach der Zeit ziemlich.
Ich habe Win7 64Bit - 4GB Ram
Mein Nachbar hat WinXP - 1GB Ram
|
Warum crasht mein CA immer?
09/01/2010 - Combat Arms - 3 Replies
Wenn ich mein CA starte als administrator startet es.
Es kommt das Nexon logo dann Combat arms und dann beim laden Crasht es.Wieso? Ich habe beim starten keine hack benutzt.Ich habe CA schon 2 mal neu installiert aber es geht immer noch nich!Ich würde mich auf antworten freuen :)
|
Back Up geht plötzlich nicht. Warum?
01/13/2010 - Metin2 Private Server - 2 Replies
Hi, ich wollte grade ein Back Up machen mit FileZilla und sehe da, ich kann meien Datei garnicht herunter laden. kann mir jemand sagen warum?
MfG
|
All times are GMT +2. The time now is 17:43.
|
|