Jump to content
  • 0

Guide?


superman1001

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/17/12
  • Last Seen:  

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


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/17/12
  • Last Seen:  

ok thx, so how to execute pure sql in npc script?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

query_sql("  SQL STAMENT HERE ");

http://rathena.org/wiki/Query_sql

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/17/12
  • Last Seen:  

and a guide or a complete list about bonuses such as bAllStats, bBaseAtk, bMatkRate, bHPDrainRate, etc?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...