Onairda Posted yesterday at 03:58 AM Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 179 Reputation: 9 Joined: 12/30/16 Last Seen: 1 hour ago Share Posted yesterday at 03:58 AM I have a custom skills in map/skill.cpp Could someone give me a syntax to insert data in SQL Table Name: CustomMonster Fields: id, char_id, mob_id, mob_name what sysntax I can use to insert the data? Quote case SG_CUSTOMMMONSTER: { if (!sd || !bl || bl->type != BL_MOB) break; struct mob_data* md = (TBL_MOB*)bl; // Check if monster is if custom if (md->db->mexp != 999999) { clif_displaymessage(sd->fd, "This monster custom!."); //INSERT TO SQL PLEASE GIVE SYNTAX THAT will insert the char_id, mob_id, and mob_name to Table CustomMonster break } Quote Link to comment Share on other sites More sharing options...
0 Onairda Posted 8 hours ago Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 179 Reputation: 9 Joined: 12/30/16 Last Seen: 1 hour ago Author Share Posted 8 hours ago ERROR RECVING LINK2001 SOVLED! Just get the format in Vending.cpp Quote Link to comment Share on other sites More sharing options...
Question
Onairda
I have a custom skills in map/skill.cpp
Could someone give me a syntax to insert data in SQL
Table Name: CustomMonster
Fields: id, char_id, mob_id, mob_name
what sysntax I can use to insert the data?
Link to comment
Share on other sites
1 answer 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.