cq_action (in c#)

07/20/2013 05:06 LordGragen.#16
is python or lua good for npc scripting
07/20/2013 06:42 Spirited#17
Quote:
Originally Posted by LordGragen. View Post
is python or lua good for npc scripting
Both are great for scripting. Lua is normally used for C++ (it's written in C, compiled in libraries for C++) and python is normally used alone or with java. Neither were made for C#, but there are wrappers that can be used for C#. The python version is IronPython. It's what Chris (Pro4Never) and I use (very different implementations, but still roughly the same). As far as benchmarks go, I'll be making a far, optimized benchmark for C# soon and post my results on my blog. There are other languages as well, such as Visual Basic. Again, I'll benchmark it. I'll let you know what my findings are in the [Only registered and activated users can see links. Click Here To Register...].
07/20/2013 11:15 Korvacs#18
Quote:
Originally Posted by pro4never View Post
Most dialogues and actions are something you can outsource to testers on the server and I've yet to see a database worth using that's public. They are all horrendously translated or barely functional.

I'd rather have a few of my testers spend a few weeks writing npcs properly and have things working properly and in legible english.
I guess its different for me as I have the Love2Hate actions database which is already translated and works, attempting to recreate this would be a nightmare for people to try and script.
07/20/2013 11:28 pro4never#19
Quote:
Originally Posted by Korvacs View Post
I guess its different for me as I have the Love2Hate actions database which is already translated and works, attempting to recreate this would be a nightmare for people to try and script.
Indeed but have to remember all the time that went into getting as far as you guys did.

Either way there's going to be a huge amount of time invested if you are starting a new server/project in order to do things properly.
07/20/2013 15:31 angel12345#20
Quote:
Originally Posted by Korvacs View Post
I guess its different for me as I have the Love2Hate actions database which is already translated and works, attempting to recreate this would be a nightmare for people to try and script.
I bet to differ for the basic structure of co its probably like 10k action at max. Then adding the addon's you can usually copy+paste. As for my database Im recreateing it yet again to minimize action's once its done Im probably gonna give it to certain people since noone in the bin community deserves it and I think it might a few people that are actually developing.

@Fang I used python and its a very powerful language aswell as enjoyable to use as a scripting engine.
07/20/2013 16:21 Korvacs#21
Quote:
Originally Posted by angel12345 View Post
I bet to differ for the basic structure of co its probably like 10k action at max. Then adding the addon's you can usually copy+paste. As for my database Im recreateing it yet again to minimize action's once its done Im probably gonna give it to certain people since noone in the bin community deserves it and I think it might a few people that are actually developing.

@Fang I used python and its a very powerful language aswell as enjoyable to use as a scripting engine.
Well, in the database that I work from we have just over 64k actions, this is not the heavily modified database which l2h has become, its much older. So I would say your estimate of 10k, is about 30 - 40k off what is needed to utilize the actions system as TQ intended.
07/20/2013 16:50 angel12345#22
Quote:
Originally Posted by Korvacs View Post
Well, in the database that I work from we have just over 64k actions, this is not the heavily modified database which l2h has become, its much older. So I would say your estimate of 10k, is about 30 - 40k off what is needed to utilize the actions system as TQ intended.
Well once I finish my base I dont mind shareing it with ya and show that the amount of tq action's aren't really neccessary since TQ keeps older quests and such for no reason since there not going to be function by the regular player's since they have no access to it.

Quote:
Originally Posted by lostsolder05 View Post
You don't need 64k actions... sounds like a really messy DB to me, I have one that's around 10k actions and includes nearly everything needed. The proficiency god alone is over 2000 actions if memory serves me correct.


The above script was for a classic server, which is why it's not using XP balls. :rolleyes:
var's always comes in handly for everything almost.