Cusy Posted June 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/26/12 Last Seen: September 18, 2012 Share Posted June 26, 2012 This should be the non-working line in item_db.txt 15037,Pertz_Plate,Pertz Plate,5,20,,3000,,110,,0,0x00000080,8,2,16,,100,1,0,{ bonus bMdef,10; bonus bBaseAtk,20; bonus bFlee,17; if(isequipped(2476,2575,2884)) { bonus2 bAddRace,RC_NonBoss,10; bonus2 bAddRace,RC_Boss,10; bonus2 bSkillAtk,"RK_SONICWAVE",100; bonus2 bSkillAtk,"RK_WINDCUTTER",100; autobonus "{ sc_start SC_CONCENTRATION,10000,getskilllv(\"LK_CONCENTRATION\") ? getskilllv(\"LK_CONCENTRATION\"):1; bonus bAspd,2; }",1,10000,BF_WEAPON,"{}"; } },{},{} But even if i comment, remove or edit that line,mapserv-sql.exe still reads the old one. Any suggestion? Quote Link to comment Share on other sites More sharing options...
JoWei Posted June 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 117 Reputation: 18 Joined: 01/06/12 Last Seen: April 1, 2021 Share Posted June 26, 2012 Was that line in pre-RE DB or RE DB? Also what server mode are you on right now? If you're using RE then you should modify the one in db/RE folder else if you're using pre-RE then you should modify the one in db/pre-RE folder Quote Link to comment Share on other sites More sharing options...
Cusy Posted June 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/26/12 Last Seen: September 18, 2012 Author Share Posted June 26, 2012 rAthena\db\re Even if i remove that file, the error is still the same Quote Link to comment Share on other sites More sharing options...
jysn Posted June 26, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 72 Reputation: 4 Joined: 01/22/12 Last Seen: March 18, 2013 Share Posted June 26, 2012 your using sql db? check the database on that particular item. Quote Link to comment Share on other sites More sharing options...
Cusy Posted June 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/26/12 Last Seen: September 18, 2012 Author Share Posted June 26, 2012 SELECT * FROM ragnarok.item_db WHERE id=15037; gave me this result: '15037', 'Pertz_Plate', 'Pertz Plate', '5', '20', NULL, '3000', NULL, '110', NULL, '0', '128', '8', '2', '16', NULL, '100', '1', '0', 'bonus bMdef,10; bonus bBaseAtk,20; bonus bFlee,17; if(isequipped(2476,2575,2884)) { bonus2 bAddRace,RC_NonBoss,10; bonus2 bAddRace,RC_Boss,10; bonus2 bSkillAtk,"RK_SONICWAVE",100; bonus2 bSkillAtk,"RK_WINDCUTTER",100; autobonus "{ sc_start SC_CONCENTRATION,10000,(getskilllv("LK_CONCENTRATION"))?getskilllv("LK_CONCENTRATION"):1; bonus bAspd,2; }",1,10000,BF_WEAPON,"{}"; }', NULL, NULL This is the insert query from item_db.sql: REPLACE INTO `item_db` VALUES (15037,'Pertz_Plate','Pertz Plate',5,20,NULL,3000,NULL,110,NULL,0,0x00000080,8,2,16,NULL,100,1,0,'bonus bMdef,10; bonus bBaseAtk,20; bonus bFlee,17; if(isequipped(2476,2575,2884)) { bonus2 bAddRace,RC_NonBoss,10; bonus2 bAddRace,RC_Boss,10; bonus2 bSkillAtk,\"RK_SONICWAVE\",100; bonus2 bSkillAtk,\"RK_WINDCUTTER\",100; autobonus \"{ sc_start SC_CONCENTRATION,10000,(getskilllv(\"LK_CONCENTRATION\"))?getskilllv(\"LK_CONCENTRATION\"):1; bonus bAspd,2; }\",1,10000,BF_WEAPON,\"{}\"; }',NULL,NULL); Quote Link to comment Share on other sites More sharing options...
znromonk Posted June 26, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 05/18/12 Last Seen: June 26, 2012 Share Posted June 26, 2012 Run this query: REPLACE INTO `item_db` VALUES (15037, 'Pertz_Plate', 'Pertz Plate', 5, 20, 0, 3000, 0, 110, 0, 0, 0, 8, 2, 16, 0, 100, 1, 0, '{ bonus bMdef,10; bonus bBaseAtk,20; bonus bFlee,17; if(isequipped(2476,2575,2884)) { bonus2 bAddRace,RC_NonBoss,10; bonus2 bAddRace,RC_Boss,10; bonus2 bSkillAtk,\"RK_SONICWAVE\",100; bonus2 bSkillAtk,\"RK_WINDCUTTER\",100; autobonus \"{ sc_start SC_CONCENTRATION,10000,getskilllv(\"LK_CONCENTRATION\") ? getskilllv(\"LK_CONCENTRATION\"):1; bonus bAspd,2; }\",1,10000,BF_WEAPON,\"{}\"; } }', '{}', '{}'); What's different ? The NULLs are 0 and the last 2 NULLs are parentheses. This is how my db has it and I do not get any errors. Quote Link to comment Share on other sites More sharing options...
jysn Posted June 28, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 72 Reputation: 4 Joined: 01/22/12 Last Seen: March 18, 2013 Share Posted June 28, 2012 i also encountered this error on that item then i change my sql script base on ratemyserver. bonus bMdef,10; bonus bBaseAtk,20; bonus bFlee,17; if(isequipped(2476,2575,2884)){ bonus2 bAddRace,RC_NonBoss,10; bonus2 bAddRace,RC_Boss,10; /* bonus2 bSkillAtk,"RK_SONICWAVE",100; bonus2 bSkillAtk,"RK_WINDCUTTER",100; bonus3 bAutoSpell,"RK_STORMBLAST",1,10; */ bonus bAspd,2; } Quote Link to comment Share on other sites More sharing options...
novacrash Posted July 22, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 07/22/12 Last Seen: July 22, 2012 Share Posted July 22, 2012 There's another post about this http://rathena.org/board/topic/66035-pertz-plate-itemdb-error/ See my answer there. Quote Link to comment Share on other sites More sharing options...
Question
Cusy
This should be the non-working line in item_db.txt
But even if i comment, remove or edit that line,mapserv-sql.exe still reads the old one. Any suggestion?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.