nobukadnezar Posted April 1, 2014 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Share Posted April 1, 2014 I have question, which one better? if have 300 quest npc and each of them have 20 permanent variables. or using database for npc quest, so each time user click on npc, it will query for correspond npc quest. thank you. Quote Link to comment Share on other sites More sharing options...
Emistry Posted April 1, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted April 1, 2014 you can read this as reference... http://www.eathena.ws/board/index.php?s=126f1dea16ce16b4ac3cd6fc3160da3c&showtopic=181741&view=findpost&p=998360 for your case...definitely SQL better Quote Link to comment Share on other sites More sharing options...
Capuche Posted April 1, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted April 1, 2014 300 quest npc and each of them have 20 permanent variables 300*20=6000 pvariables https://github.com/rathena/rathena/blob/master/src/common/mmo.h#L58 #define GLOBAL_REG_NUM 256 ///Max permanent character variables per char ... Quote Link to comment Share on other sites More sharing options...
nobukadnezar Posted April 1, 2014 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Author Share Posted April 1, 2014 300 quest npc and each of them have 20 permanent variables 300*20=6000 pvariables https://github.com/rathena/rathena/blob/master/src/common/mmo.h#L58 #define GLOBAL_REG_NUM 256 ///Max permanent character variables per char ... does it mean it only give max 256 permanent variables overall? or 256 per npc? also is it ok to have 300 quest npc that use query? thank you Quote Link to comment Share on other sites More sharing options...
Question
nobukadnezar
I have question, which one better?
if have 300 quest npc and each of them have 20 permanent variables.
or
using database for npc quest, so each time user click on npc, it will query for correspond npc quest.
thank you.
Link to comment
Share on other sites
3 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.