superman1001 Posted September 11, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 25 Reputation: 0 Joined: 05/17/12 Last Seen: September 18, 2012 Share Posted September 11, 2012 Where can i find a complete guide for npc script? and a complete npc functions script reference? and how to read/write to db? Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 11, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted September 11, 2012 read these... http://rathena.org/wiki/Adding_a_Script http://rathena.org/wiki/Basic_Scripting script reference trunk/doc/script_commands.txt http://rathena.org/wiki/Category:Script_Command and you cant overwrite db through NPC / scripts....except youre using SQL... but you can also read from db through NPC...check the script command on how to use it... Quote Link to comment Share on other sites More sharing options...
superman1001 Posted September 11, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 25 Reputation: 0 Joined: 05/17/12 Last Seen: September 18, 2012 Author Share Posted September 11, 2012 ok thx, so how to execute pure sql in npc script? Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 11, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted September 11, 2012 query_sql(" SQL STAMENT HERE "); http://rathena.org/wiki/Query_sql Quote Link to comment Share on other sites More sharing options...
superman1001 Posted September 12, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 25 Reputation: 0 Joined: 05/17/12 Last Seen: September 18, 2012 Author Share Posted September 12, 2012 and a guide or a complete list about bonuses such as bAllStats, bBaseAtk, bMatkRate, bHPDrainRate, etc? Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 12, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted September 12, 2012 trunk/doc/item_bonus.txt Quote Link to comment Share on other sites More sharing options...
Question
superman1001
Where can i find a complete guide for npc script?
and a complete npc functions script reference?
and how to read/write to db?
Link to comment
Share on other sites
5 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.