Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Help! Odinms v62 script problems

Initiate Mage
Joined
Jul 21, 2017
Messages
1
Reaction score
0
Hi,
I have been trying to solve this issue by going google search but as a noob-coder.. i really need you guys' help! T_T

Problem #1 -ThePack
reibow - Help! Odinms v62 script problems - RaGEZONE Forums

PHP:
DROP TABLE IF EXISTS `readable_gmlog`;DROP VIEW IF EXISTS `readable_gmlog`;CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `readable_gmlog` AS select `g`.`id` AS `logentryid`,`a`.`name` AS `accountname`,`c`.`name` AS `charname`,`g`.`command` AS `command`,`g`.`when` AS `when` from ((`characters` `c` join `gmlog` `g`) join `accounts` `a`) where ((`c`.`id` = `g`.`cid`) and (`c`.`accountid` = `a`.`id`));
Problem #2 -Additional Drops
reibow - Help! Odinms v62 script problems - RaGEZONE Forums

PHP:
insert into monsterdrops values (default, 9409000, 4000300, 1);insert into monsterdrops values (default, 9409001, 4000301, 1);INSERT into monsterdrops VALUES (default, 9300061, 4001101, 1);INSERT monsterdrops (monsterid,itemid,chance) VALUES (9300061,4001101,1);INSERT monsterdrops (monsterid,itemid,chance) VALUES (9300001,4001007,5);INSERT monsterdrops (monsterid,itemid,chance) VALUES (9300000,4001008,1);INSERT monsterdrops (monsterid,itemid,chance) VALUES (9300002,4001008,1);INSERT monsterdrops (monsterid,itemid,chance) VALUES (9300003,4001008,1);INSERT INTO monsterdrops VALUES(0, 9420502, 4000366, 8000);INSERT INTO monsterdrops VALUES(0, 9420502, 4000367, 7000);INSERT INTO monsterdrops VALUES(0, 9420502, 2000000, 300);INSERT INTO monsterdrops VALUES(0, 9420502, 4020004, 100);INSERT INTO monsterdrops VALUES(0, 9420502, 4010005, 100);INSERT INTO monsterdrops VALUES(0, 9420502, 1072048, 12);INSERT INTO monsterdrops VALUES(0, 9420502, 1382002, 10);INSERT INTO monsterdrops VALUES(0, 9420502, 1002177, 8);INSERT INTO monsterdrops VALUES(0, 9420506, 4000368, 7000);INSERT INTO monsterdrops VALUES(0, 9420506, 2002000, 12);INSERT INTO monsterdrops VALUES(0, 9420506, 2000001, 110);INSERT INTO monsterdrops VALUES(0, 9420506, 2000003, 100);INSERT INTO monsterdrops VALUES(0, 9420500, 4000368, 8000);INSERT INTO monsterdrops VALUES(0, 9420500, 4001000, 7000);INSERT INTO monsterdrops VALUES(0, 9420500, 2002000, 100);INSERT INTO monsterdrops VALUES(0, 9420500, 2000001, 100);INSERT INTO monsterdrops VALUES(0, 9420500, 2000003, 50);INSERT INTO monsterdrops VALUES(0, 9420500, 4000368, 1000);INSERT INTO monsterdrops VALUES(0, 9420500, 4001000, 1000);INSERT INTO monsterdrops VALUES(0, 9420500, 2002000, 6);INSERT INTO monsterdrops VALUES(0, 9420500, 2000001, 90);INSERT INTO monsterdrops VALUES(0, 9420500, 2000003, 100);INSERT INTO monsterdrops VALUES(0, 9420500, 4000368, 8);INSERT INTO monsterdrops VALUES(0, 9420500, 4001000, 10);INSERT INTO monsterdrops VALUES(0, 9420500, 2002000, 8);INSERT INTO monsterdrops VALUES(0, 9420500, 2000001, 10);INSERT INTO monsterdrops VALUES(0, 9420500, 2000003, 7);INSERT INTO monsterdrops VALUES(0, 9420500, 2000001, 9);INSERT INTO monsterdrops VALUES(0, 9420500, 2000003, 9);INSERT INTO monsterdrops VALUES(0, 9420503, 4000370, 8000);INSERT INTO monsterdrops VALUES(0, 9420503, 4000371, 7000);INSERT INTO monsterdrops VALUES(0, 9420503, 2000002, 100); INSERT INTO monsterdrops VALUES(0, 9420503, 2000003, 100); INSERT INTO monsterdrops VALUES(0, 9420503, 2070001, 4); INSERT INTO monsterdrops VALUES(0, 9420503, 4010001, 80); INSERT INTO monsterdrops VALUES(0, 9420503, 4020000, 80); INSERT INTO monsterdrops VALUES(0, 9420503, 1061048, 5); INSERT INTO monsterdrops VALUES(0, 9420503, 1002153, 7); INSERT INTO monsterdrops VALUES(0, 9420503, 1002137, 8); INSERT INTO monsterdrops VALUES(0, 9420503, 1061070, 10); INSERT INTO monsterdrops VALUES(0, 9420503, 1040061, 9); INSERT INTO monsterdrops VALUES(0, 9420503, 1002181, 6); INSERT INTO monsterdrops VALUES(0, 9420503, 1060050, 4); INSERT INTO monsterdrops VALUES(0, 9420501, 4000372, 8000); INSERT INTO monsterdrops VALUES(0, 9420501, 2000002, 100); INSERT INTO monsterdrops VALUES(0, 9420501, 2000003, 100); INSERT INTO monsterdrops VALUES(0, 9420501, 4006001, 50); INSERT INTO monsterdrops VALUES(0, 9420501, 1702107, 80); INSERT INTO monsterdrops VALUES(0, 9420501, 2044002, 6); INSERT INTO monsterdrops VALUES(0, 9420501, 2043200, 7); INSERT INTO monsterdrops VALUES(0, 9420501, 2043301, 5); INSERT INTO monsterdrops VALUES(0, 9420501, 2040800, 4); INSERT INTO monsterdrops VALUES(0, 9420501, 4020000, 100); INSERT INTO monsterdrops VALUES(0, 9420501, 4010005, 100); INSERT INTO monsterdrops VALUES(0, 9420501, 1332020, 6); INSERT INTO monsterdrops VALUES(0, 9420501, 1302017, 10); INSERT INTO monsterdrops VALUES(0, 9420501, 4031568, 9); INSERT INTO monsterdrops VALUES(0, 9420501, 1332010, 8); INSERT INTO monsterdrops VALUES(0, 9420501, 1050011, 12); INSERT INTO monsterdrops VALUES(0, 9420501, 1432002, 13); INSERT INTO monsterdrops VALUES(0, 9420501, 1382002, 10); INSERT INTO monsterdrops VALUES(0, 9420501, 1452005, 8); INSERT INTO monsterdrops VALUES(0, 9420501, 1072103, 10); INSERT INTO monsterdrops VALUES(0, 9420501, 1050058, 12); INSERT INTO monsterdrops VALUES(0, 9420501, 1472011, 7); INSERT INTO monsterdrops VALUES(0, 9420501, 1040099, 5); INSERT INTO monsterdrops VALUES(0, 9420501, 1060088, 8); INSERT INTO monsterdrops VALUES(0, 9420507, 4000374, 6000); INSERT INTO monsterdrops VALUES(0, 9420507, 4000376, 6000); INSERT INTO monsterdrops VALUES(0, 9420507, 4000375, 6000); INSERT INTO monsterdrops VALUES(0, 9420507, 2000004, 100); INSERT INTO monsterdrops VALUES(0, 9420507, 2043201, 7); INSERT INTO monsterdrops VALUES(0, 9420507, 2043001, 6); INSERT INTO monsterdrops VALUES(0, 9420507, 4010000, 100); INSERT INTO monsterdrops VALUES(0, 9420507, 4020002, 100); INSERT INTO monsterdrops VALUES(0, 9420507, 4010003, 100); INSERT INTO monsterdrops VALUES(0, 9420507, 1302017, 10); INSERT INTO monsterdrops VALUES(0, 9420507, 1302016, 8); INSERT INTO monsterdrops VALUES(0, 9420507, 1041087, 12); INSERT INTO monsterdrops VALUES(0, 9420507, 1040089, 12); INSERT INTO monsterdrops VALUES(0, 9420507, 1060078, 5);INSERT INTO monsterdrops VALUES(0, 9420507, 1002243, 8);INSERT INTO monsterdrops VALUES(0, 9420507, 1002242, 10);INSERT INTO monsterdrops VALUES(0, 9420507, 1050054, 11);INSERT INTO monsterdrops VALUES(0, 9420507, 1050053, 11); INSERT INTO monsterdrops VALUES(0, 9420507, 1051032, 7); INSERT INTO monsterdrops VALUES(0, 9420507, 1002216, 9);INSERT INTO monsterdrops VALUES(0, 9420507, 1002214, 6);INSERT INTO monsterdrops VALUES(0, 9420507, 1002213, 7);INSERT INTO monsterdrops VALUES(0, 9420507, 1041027, 10);INSERT INTO monsterdrops VALUES(0, 9420507, 1061025, 12);INSERT INTO monsterdrops VALUES(0, 9420507, 1332001, 8); INSERT INTO monsterdrops VALUES(0, 9420507, 1492002, 7); INSERT INTO monsterdrops VALUES(0, 9420507, 1002619, 9);INSERT INTO monsterdrops VALUES(0, 9420504, 4000377, 8000);INSERT INTO monsterdrops VALUES(0, 9420504, 1102003, 20);INSERT INTO monsterdrops VALUES(0, 9420505, 4000378, 8000);INSERT INTO monsterdrops VALUES(0, 9420505, 2000003, 100);INSERT INTO monsterdrops VALUES(0, 9420505, 2002004, 50);INSERT INTO monsterdrops VALUES(0, 9420505, 2000004, 20);INSERT INTO monsterdrops VALUES(0, 9420505, 2070003, 4);INSERT INTO monsterdrops VALUES(0, 9420505, 4010001, 10);INSERT INTO monsterdrops VALUES(0, 9420505, 4010006, 10);INSERT INTO monsterdrops VALUES(0, 9420505, 1002083, 7);INSERT INTO monsterdrops VALUES(0, 9420505, 1032002, 8);INSERT INTO monsterdrops VALUES(0, 9420505, 1432005, 9);INSERT INTO monsterdrops VALUES(0, 9420505, 1041014, 10);INSERT INTO monsterdrops VALUES(0, 9420505, 1041065, 6);INSERT INTO monsterdrops VALUES(0, 9420505, 1061070, 5);INSERT INTO monsterdrops VALUES(0, 9420508, 4000373, 8000);INSERT INTO monsterdrops VALUES(0, 9420508, 2000063, 80);INSERT INTO monsterdrops VALUES(0, 9420508, 1702107, 100);INSERT INTO monsterdrops VALUES(0, 9420508, 1040086, 12);INSERT INTO monsterdrops VALUES(0, 9420508, 1041087, 9);INSERT INTO monsterdrops VALUES(0, 9420508, 1051010, 7);INSERT INTO monsterdrops VALUES(0, 9420508, 1002128, 8);INSERT INTO monsterdrops VALUES(0, 9420509, 4000380, 7000);INSERT INTO monsterdrops VALUES(0, 9420509, 2000004, 80);INSERT INTO monsterdrops VALUES(0, 9420509, 2070004, 5);INSERT INTO monsterdrops VALUES(0, 9420509, 2044201, 6);INSERT INTO monsterdrops VALUES(0, 9420509, 4010006, 90);INSERT INTO monsterdrops VALUES(0, 9420509, 4020008, 20);INSERT INTO monsterdrops VALUES(0, 9420509, 4004004, 20);INSERT INTO monsterdrops VALUES(0, 9420509, 1060081, 12);INSERT INTO monsterdrops VALUES(0, 9420509, 1041093, 12);INSERT INTO monsterdrops VALUES(0, 9420509, 1051014, 11);INSERT INTO monsterdrops VALUES(0, 9420509, 1051001, 11);INSERT INTO monsterdrops VALUES(0, 9420509, 1402007, 10);INSERT INTO monsterdrops VALUES(0, 9420509, 1002210, 9);INSERT INTO monsterdrops VALUES(0, 9420509, 1050037, 8);INSERT INTO monsterdrops VALUES(0, 9420509, 1050036, 8);INSERT INTO monsterdrops VALUES(0, 9420509, 1050039, 8);INSERT INTO monsterdrops VALUES(0, 9420509, 1050059, 7);INSERT INTO monsterdrops VALUES(0, 9420509, 1050060, 6);INSERT INTO monsterdrops VALUES(0, 9420509, 1060064, 5);INSERT INTO monsterdrops VALUES(0, 9420509, 1051039, 5);INSERT INTO monsterdrops VALUES(0, 9420511, 4000382, 7000);INSERT INTO monsterdrops VALUES(0, 9420511, 2000006, 100);INSERT INTO monsterdrops VALUES(0, 9420511, 2070005, 3);INSERT INTO monsterdrops VALUES(0, 9420511, 4020007, 10);INSERT INTO monsterdrops VALUES(0, 9420511, 4010005, 10);INSERT INTO monsterdrops VALUES(0, 9420511, 1102015, 12);INSERT INTO monsterdrops VALUES(0, 9420511, 1102016, 12);INSERT INTO monsterdrops VALUES(0, 9420511, 1041098, 10);INSERT INTO monsterdrops VALUES(0, 9420511, 1040090, 9);INSERT INTO monsterdrops VALUES(0, 9420511, 1492008, 11);INSERT INTO monsterdrops VALUES(0, 9420511, 1041079, 8);INSERT INTO monsterdrops VALUES(0, 9420511, 1082066, 9);INSERT INTO monsterdrops VALUES(0, 9420511, 1041083, 8);INSERT INTO monsterdrops VALUES(0, 9420511, 1061082, 7);INSERT INTO monsterdrops VALUES(0, 9420511, 1002215, 6);INSERT INTO monsterdrops VALUES(0, 9420511, 1050055, 8);INSERT INTO monsterdrops VALUES(0, 9420511, 1050056, 8);INSERT INTO monsterdrops VALUES(0, 9420511, 1072090, 10);INSERT INTO monsterdrops VALUES(0, 9420511, 1051031, 11);INSERT INTO monsterdrops VALUES(0, 9420511, 1051034, 12);INSERT INTO monsterdrops VALUES(0, 9420511, 1382006, 8);INSERT INTO monsterdrops VALUES(0, 9420510, 4000379, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 2070004, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1702107, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 2043701, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 4010006, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 4020008, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 4004004, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1032011, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1102017, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1432003, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1312008, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1382007, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1051034, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1050055, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1051046, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1051047, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1051030, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1452008, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1041068, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1061063, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1002249, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1002210, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1002209, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1040109, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1060098, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1040084, 0);INSERT INTO monsterdrops VALUES(0, 9420510, 1060073, 0);INSERT INTO monsterdrops VALUES(0, 9420512, 4000383, 7000);INSERT INTO monsterdrops VALUES(0, 9420512, 2070005, 5);INSERT INTO monsterdrops VALUES(0, 9420512, 2041022, 3);INSERT INTO monsterdrops VALUES(0, 9420512, 2043302, 3);INSERT INTO monsterdrops VALUES(0, 9420512, 4020006, 80);INSERT INTO monsterdrops VALUES(0, 9420512, 4004004, 80);INSERT INTO monsterdrops VALUES(0, 9420512, 4010006, 80);INSERT INTO monsterdrops VALUES(0, 9420512, 1032015, 12);INSERT INTO monsterdrops VALUES(0, 9420512, 1312009, 13);INSERT INTO monsterdrops VALUES(0, 9420512, 1040089, 9);INSERT INTO monsterdrops VALUES(0, 9420512, 1060078, 10);INSERT INTO monsterdrops VALUES(0, 9420512, 1040093, 11);INSERT INTO monsterdrops VALUES(0, 9420512, 1302011, 12);INSERT INTO monsterdrops VALUES(0, 9420512, 1332015, 8);INSERT INTO monsterdrops VALUES(0, 9420512, 1452007, 7);INSERT INTO monsterdrops VALUES(0, 9420512, 1082082, 9);INSERT INTO monsterdrops VALUES(0, 9420512, 1050093, 12);


Can you tell me what are the parts that i have to edit? :(

Thanks in advance, people!

Sincerely,
Reibow~
 
Interesting...
Loyal Member
Joined
Oct 25, 2008
Messages
1,372
Reaction score
604
For problem #2, you're trying to insert the same value, in this case, 0, when it needs to be a unique value. Try just deleting all the 0's that occupy the first column or replace it with NULL. If neither of those solutions work, try deleting the 0's again but this time manually specifying the other 3 columns (aka everything minus the 'id' column) and that'll definitely work.

Sort of like:

PHP:
INSERT INTO table (column1, column2) VALUES ('a', 'b')
 
Upvote 0
Back
Top