Jump to content
  • 0
Sign in to follow this  
Rumor

syserr problems :D

Question

Would appreciate some assistance ^^

Channel:

SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 24
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 41
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 44
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 44
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 44
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 24
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 1
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 1
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 21
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 24
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 24
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 24
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 4
SYSERR: Feb 14 09:43:24 :: ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 4
SYSERR: Feb 14 09:43:24 :: LoadSkillMotion: Motion: Skill exist but no motion data for index 0 mob 3591 skill 256
SYSERR: Feb 14 09:44:45 :: Process: UNKNOWN HEADER: 52, LAST HEADER: 6(525), REMAIN BYTES: 86, fd: 22
SYSERR: Feb 14 09:46:43 :: Process: SEQUENCE 34c33800 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:46:43 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:46:45 :: Process: SEQUENCE 34c32800 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:46:45 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:47:02 :: RunState: LUA_ERROR: [string "drop_event"]:5: attempt to perform arithmetic on local `limit' (a nil value)
SYSERR: Feb 14 09:47:02 :: WriteRunningStateToSyserr: LUA_ERROR: quest drop_event.(null) letter
SYSERR: Feb 14 09:47:27 :: Process: SEQUENCE 34c38800 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:47:27 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:47:30 :: Process: SEQUENCE 34c39400 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:47:30 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:47:58 :: Process: SEQUENCE 36119400 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:47:58 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:48:18 :: Process: SEQUENCE 34c38000 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:48:18 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:49:35 :: Process: SEQUENCE 362d2800 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:49:35 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:50:12 :: Resume: wrong QUEST_WAIT request! : 951
SYSERR: Feb 14 09:50:47 :: RunState: LUA_ERROR: [string "drop_event"]:5: attempt to perform arithmetic on local `limit' (a nil value)
SYSERR: Feb 14 09:50:47 :: WriteRunningStateToSyserr: LUA_ERROR: quest drop_event.(null) letter
SYSERR: Feb 14 09:50:47 :: RunState: LUA_ERROR: [string "drop_event"]:5: attempt to perform arithmetic on local `limit' (a nil value)
SYSERR: Feb 14 09:50:47 :: WriteRunningStateToSyserr: LUA_ERROR: quest drop_event.(null) letter
SYSERR: Feb 14 09:51:21 :: Process: SEQUENCE 3634c800 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:51:21 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:52:23 :: Process: SEQUENCE 364a3400 mismatch 0xaf != 0x64 header 254
SYSERR: Feb 14 09:52:23 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
	[254 : 0xaf]

SYSERR: Feb 14 09:35:22 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'player_level' at row 1 (query: INSERT INTO quest_reward_log VALUES('collect_quest_lv70',36117,130,2,50113,1,NOW()) errno: 1264)

drop event quest:

quest drop_event begin
	state start begin
		when login with game.get_event_flag("drop_event") > 0 begin
			local level = pc.get_level()
			if game.get_event_flag("drop_event") == 1 then
				pc.setqf("rate",500-math.floor(level/4))
				set_state(xmasgift)
			elseif game.get_event_flag("drop_event") == 2 then
				pc.setqf("rate",400-math.floor(level/4))
				set_state(moon)				
			end
		end
		when enter begin
			clear_letter()
		end
	end

	state xmasgift begin
		when login with game.get_event_flag("drop_event") == 0 begin
			set_state(start)
		end
		when letter begin
			q.set_icon("scroll_open_blue.tga")
			send_letter("*Christmas Gift Box")	
		end
		when button or info begin
			-- addimage(20, 12, "xmasgiftlight.tga")
			-- say("")
			-- say("")
			-- say("")
			say_title("")
			----"123456789012345678901234567890123456789012345678901234567890"|
			say("Merry Christmas!")
			say("")
			say("Today you can farm Christmas Gifts")
			say("from monsters you kill and open them with")
			say("a Nirvana key found in the itemshop")
			say("or at the Christmas Tree in map 1.")
			say("")
			say("You can receive excellent prizes from these")
			say("Christmas gift boxes.")
			say("")
			say_reward("Enjoy what gifts it holds for you!")
			say("")
		end
			
		when kill begin
			if game.get_event_flag("drop_event") == 1 then
				local level = pc.get_level()
				local rate = pc.getqf("rate")
				local limit = tonumber(get_mob_level[npc.get_race()])
				if level <= limit+11 then
					local drop = number(1,rate)
					if drop == 1 then
						pc.setqf("rate",rate+3)
						game.drop_item_with_ownership(50036)
					end
				end
			else
				set_state(start)
			end
		end
	end
	state moon begin
		when login with game.get_event_flag("drop_event") == 0 begin
			set_state(start)
		end
		when letter begin
			q.set_icon("scroll_open_blue.tga")
			send_letter("*Moonlight Treasures")	
		end
		when button or info begin
			addimage(20, 12, "moonlight.tga")
			say("")
			say("")
			say("")
			say_title("")
			----"123456789012345678901234567890123456789012345678901234567890"|
			say("Hello young hero!")
			say("")
			say("Today the moon is shining in its")
			say("brightest form. And that's because it's")
			say("a full moon today.")
			say("")
			say("On this special day, you can obtain")
			say("Moonlight Boxes from every monster you hunt.")
			say("")
			say_reward("Enjoy what treasures it holds for you!")
			say("")
		end
			
		when kill begin
			if game.get_event_flag("drop_event") == 2 then
				local level = pc.get_level()
				local rate = pc.getqf("rate")
				local limit = tonumber(get_mob_level[npc.get_race()])
				if level <= limit+11 then
					local drop = number(1,rate)
					if drop == 1 then
						pc.setqf("rate",rate+3)
						game.drop_item_with_ownership(50011)
					end
				end
			else
				set_state(start)
			end
		end
	end
end

lv70 collect quest:
http://pastebin.com/Ek5jJFK4

Auth:

SYSERR: Feb 14 09:44:46 :: locale_find: LOCALE_ERROR: "¾ÆÀÌÅÛÀÌ ³ª¿Ã È®·ü";
SYSERR: Feb 14 09:44:46 :: locale_find: LOCALE_ERROR: "ÀüÁ¦±¹";
SYSERR: Feb 14 09:44:46 :: locale_find: LOCALE_ERROR: "%sÀÇ %sÀÌ %d%% Áõ°¡Çß½À´Ï´Ù!";
SYSERR: Feb 14 09:44:48 :: locale_find: LOCALE_ERROR: "µ·ÀÌ ³ª¿Ã È®·ü";
SYSERR: Feb 14 09:44:48 :: locale_find: LOCALE_ERROR: "ÀüÁ¦±¹";
SYSERR: Feb 14 09:44:48 :: locale_find: LOCALE_ERROR: "%sÀÇ %sÀÌ %d%% Áõ°¡Çß½À´Ï´Ù!";
SYSERR: Feb 14 09:44:49 :: locale_find: LOCALE_ERROR: "°æÇèÄ¡ ¹èÀ²";
SYSERR: Feb 14 09:44:49 :: locale_find: LOCALE_ERROR: "ÀüÁ¦±¹";
SYSERR: Feb 14 09:44:49 :: locale_find: LOCALE_ERROR: "%sÀÇ %sÀÌ %d%% Áõ°¡Çß½À´Ï´Ù!";

locale_string.txt

"¾ÆÀÌÅÛÀÌ ³ª¿Ã È®·ü";
"Item drop rate";

"ÀüÁ¦±¹";
"All Kingdoms";

"%sÀÇ %sÀÌ %d%% Áõ°¡Çß½À´Ï´Ù!";
"%s 's %s raised up to %d%% !";

"µ·ÀÌ ³ª¿Ã È®·ü";
"Gold drop rate";

"°æÇèÄ¡ ¹èÀ²";
"Experience rate";

db syserr:

Check attachment

db_syserr.txt

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

1.

 

local limit = tonumber(get_mob_level[npc.get_race()])

Have you this function (get_mob_level) in questlib.lua?

 

2. Default player_level (in log.quest_reward_log) is tinyint(4), it supports only 127 of max level. Change the column type to smallint(4).

 

3. You have some missing line in locale_string. I don't know what, because the character encoding is wrong. Try to attach the syslog.

 

4. Maybe your mob_proto table is crashed. Try to re-create it.

DROP TABLE `mob_proto`;
CREATE TABLE IF NOT EXISTS `mob_proto` (
  `vnum` int(11) NOT NULL DEFAULT '0',
  `name` varbinary(24) NOT NULL DEFAULT 'Noname',
  `locale_name` varbinary(24) NOT NULL DEFAULT 'Noname',
  `rank` tinyint(2) NOT NULL DEFAULT '0',
  `type` tinyint(2) NOT NULL DEFAULT '0',
  `battle_type` tinyint(1) NOT NULL DEFAULT '0',
  `level` smallint(3) NOT NULL DEFAULT '1',
  `size` enum('SMALL','MEDIUM','BIG') NOT NULL DEFAULT 'SMALL',
  `ai_flag` set('AGGR','NOMOVE','COWARD','NOATTSHINSU','NOATTCHUNJO','NOATTJINNO','ATTMOB','BERSERK','STONESKIN','GODSPEED','DEATHBLOW','REVIVE') DEFAULT NULL,
  `mount_capacity` tinyint(2) NOT NULL DEFAULT '0',
  `setRaceFlag` set('ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT') NOT NULL DEFAULT '',
  `setImmuneFlag` set('STUN','SLOW','FALL','CURSE','POISON','TERROR') NOT NULL DEFAULT '',
  `empire` tinyint(4) NOT NULL DEFAULT '0',
  `folder` varchar(100) NOT NULL DEFAULT '',
  `on_click` tinyint(4) NOT NULL DEFAULT '0',
  `st` smallint(5) unsigned NOT NULL DEFAULT '0',
  `dx` smallint(5) unsigned NOT NULL DEFAULT '0',
  `ht` smallint(5) unsigned NOT NULL DEFAULT '0',
  `iq` smallint(5) unsigned NOT NULL DEFAULT '0',
  `damage_min` smallint(5) unsigned NOT NULL DEFAULT '0',
  `damage_max` smallint(5) unsigned NOT NULL DEFAULT '0',
  `max_hp` int(10) unsigned NOT NULL DEFAULT '0',
  `regen_cycle` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `regen_percent` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `gold_min` int(11) NOT NULL DEFAULT '0',
  `gold_max` int(11) NOT NULL DEFAULT '0',
  `exp` int(10) unsigned NOT NULL DEFAULT '0',
  `def` smallint(5) unsigned NOT NULL DEFAULT '0',
  `attack_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
  `move_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
  `aggressive_hp_pct` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `aggressive_sight` smallint(10) unsigned NOT NULL DEFAULT '0',
  `attack_range` smallint(5) unsigned NOT NULL DEFAULT '0',
  `drop_item` int(10) unsigned NOT NULL DEFAULT '0',
  `resurrection_vnum` int(10) unsigned NOT NULL DEFAULT '0',
  `enchant_curse` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_slow` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_poison` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_stun` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `enchant_critical` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `enchant_penetrate` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `resist_sword` tinyint(4) NOT NULL DEFAULT '0',
  `resist_twohand` tinyint(4) NOT NULL DEFAULT '0',
  `resist_dagger` tinyint(4) NOT NULL DEFAULT '0',
  `resist_bell` tinyint(4) NOT NULL DEFAULT '0',
  `resist_fan` tinyint(4) NOT NULL DEFAULT '0',
  `resist_bow` tinyint(4) NOT NULL DEFAULT '0',
  `resist_fire` tinyint(4) NOT NULL DEFAULT '0',
  `resist_elect` tinyint(4) NOT NULL DEFAULT '0',
  `resist_magic` tinyint(4) NOT NULL DEFAULT '0',
  `resist_wind` tinyint(4) NOT NULL DEFAULT '0',
  `resist_poison` tinyint(4) NOT NULL DEFAULT '0',
  `dam_multiply` float DEFAULT NULL,
  `summon` int(11) DEFAULT NULL,
  `drain_sp` int(11) DEFAULT NULL,
  `mob_color` int(10) unsigned DEFAULT NULL,
  `polymorph_item` int(10) unsigned NOT NULL DEFAULT '0',
  `skill_level0` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum0` int(10) unsigned DEFAULT NULL,
  `skill_level1` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum1` int(10) unsigned DEFAULT NULL,
  `skill_level2` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum2` int(10) unsigned DEFAULT NULL,
  `skill_level3` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum3` int(10) unsigned DEFAULT NULL,
  `skill_level4` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum4` int(10) unsigned DEFAULT NULL,
  `sp_berserk` tinyint(4) NOT NULL DEFAULT '0',
  `sp_stoneskin` tinyint(4) NOT NULL DEFAULT '0',
  `sp_godspeed` tinyint(4) NOT NULL DEFAULT '0',
  `sp_deathblow` tinyint(4) NOT NULL DEFAULT '0',
  `sp_revive` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`vnum`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  • Love 1

Share this post


Link to post
  • 0

1. get_mob_level function: http://pastebin.com/bVGPQqxe

2. Thankyou

3. In my original post here I showed the locale_string.txt and showed that those things are not missing. I copied and pasted the ones from the error and listed them in that spoiler.

4. I actually had just applied the official one which was released by Shogun on this forum for 34k games. I can try to run that again if you still think it's useful.

Share this post


Link to post
  • 0

You should use this:

when kill with not npc.is_pc() begin

Because if you don't specify what pc is killing it would always try to get a number with the mob vnum (npc.get_race()), and as you know, players don't have vnums.

Share this post


Link to post
  • 0

You should use this:

when kill with not npc.is_pc() begin
Because if you don't specify what pc is killing it would always try to get a number with the mob vnum (npc.get_race()), and as you know, players don't have vnums.

okay thankyou I'll make this change.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.