how about compose ? there is one in market but i am sure thats was not the way to compose items in 5065.
I have an composition npc done for wuxing oven.As compostion with progress it was added in 5095 i think .For 5065 this is the right way, after +9 with dbs and under, 2 of same + for upgrade.Quote:
how about compose ? there is one in market but i am sure thats was not the way to compose items in 5065.
public override void Run(Game_Server.Player _client, ushort _linkback)
{
Responses = new List<NpcDialogPacket>();
AddAvatar();
switch (_linkback)
{
case 0:
AddText("Hello there do you have something to report? Please let us know.");
AddOption("report", 1);
AddOption("Just passing by.", 255);
break;
case 1:
AddText("Please Enter your report");
AddInput("Report", 2);
break;
case 2:
String Report = _client.NpcInputBox;
var report = new Database.Domain.DbBugReport();
report.Reporter = _client.Name;
report.Description = Report;
report.ReportedAt = DateTime.Now;
Database.ServerDatabase.Context.BugReports.Add(report);
break;
}
AddFinish();
Send();
}
Use full mysql community server or in appserv use innodb .Quote:
guys i got problem with the database i can't add it some
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
-- ----------------------------
-- Procedure structure for `GetNobilityRa' at line 3
[Err] INSERT INTO `stats` VALUES ('402', '2', '42', '82', '24', '27', '0');
INSERT INTO `stats` VALUES ('403', '2', '43', '85', '24', '27', '0');
INSERT INTO `stats` VALUES ('404', '2', '44', '87', '24', '28', '0');
INSERT INTO `stats` VALUES ('405', '2', '45', '89', '25', '28', '0');
INSERT INTO `stats` VALUES ('406', '2', '46', '91', '25', '29', '0');
INSERT INTO `stats` VALUES ('407', '2', '47', '93', '25', '30', '0');
INSERT INTO `stats` VALUES ('408', '2', '48', '95', '26', '30', '0');
INSERT INTO `stats` VALUES ('409', '2', '49', '97', '26', '31', '0');