Jump to content
Luffy

[duvida]Como obter o rank ou level de um mob através da função mysql_query

Recommended Posts

Pessoal, eu queria saber como faço pra acessar o rank ou level de um mob através da função mysql_query.

Por exemplo, eu derroto o mob de ID 101 e quero que apareça no chat o rank ou level do mob que derrotei. Porém quero acessar o rank ou level através da função mysql_query.

Share this post


Link to post
Share on other sites

 @Luffy  podes fazer por mysql, mas não sei de todo se é a forma mais correcta de o fazer.  Eu aconselho-te a fazer isso por quest.

 

Please login or register to see this spoiler.

 

  • Upvote 1

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

A primeira parte vai no questlib.lua?

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

add a função na sua source em game/src/questlua_npc.cpp ....

Mandei várias funções lua pra ti por PM.......

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.