Jump to content

Question

10 answers to this question

Recommended Posts

  • 0
Posted (edited)

It got nothing related to chars templates, this info is stored on characters.sql

  `classid` TINYINT UNSIGNED DEFAULT NULL,
  `base_class` TINYINT UNSIGNED NOT NULL DEFAULT 0,

baseClass being the initial class, and classId the current class (can be subclass). To retrieve class name :

CharTemplateTable.getInstance().getClassNameById(player.getBaseClass()) 

or more simply

player.getTemplate().getClassName()

You can build a simple array on your website with id<>name and retrieve classid the same way you retrieve pvpkills.

Edited by Tryskell
  • 0
Posted

character templates is in xml files located in data/xml/classes. why do you need them on website

For section classes on statistics

  • 0
Posted

How i can make char_template.sql for acis pack? ...I need for a connect to website

Depends. Do you need all the info in there?

If yes then only manually i guess.

If not then you can right some regex to generate the insert statement.

  • 0
Posted

If you want it only for for heroes,top pvp/pk statistics you can import any char_templates on your database, that will not cause any problems

  • 0
Posted

If you want it only for for heroes,top pvp/pk statistics you can import any char_templates on your database, that will not cause any problems

Any hah but from where i can take such file??

  • 0
Posted (edited)

What specific static infos do you want to call ?

 

Easiest would be to reuse already loaded templates maps, and run a single method which build sql strings based on those maps. But you will probably need multiple sql tables to handle all infos (like npcs, which is a merge of something like 5+ sql tables : drops, ai, templates, teachto, minions,...).

Edited by Tryskell
  • 0
Posted

What specific static infos do you want to call ?

 

Easiest would be to reuse already loaded templates maps, and run a single method which build sql strings based on those maps. But you will probably need multiple sql tables to handle all infos (like npcs, which is a merge of something like 5+ sql tables : drops, ai, templates, teachto, minions,...).

i need to connect classes of characters in the website. 

http://postimg.org/image/iwhm2ov8r/

  • 0
Posted

 

It got nothing related to chars templates, this info is stored on characters.sql

  `classid` TINYINT UNSIGNED DEFAULT NULL,
  `base_class` TINYINT UNSIGNED NOT NULL DEFAULT 0,

baseClass being the initial class, and classId the current class (can be subclass). To retrieve class name :

CharTemplateTable.getInstance().getClassNameById(player.getBaseClass()) 

or more simply

player.getTemplate().getClassName()

You can build a simple array on your website with id<>name and retrieve classid the same way you retrieve pvpkills.

 

Thank you Tryskell 

Guest
This topic is now closed to further replies.


  • Posts

    • There is a ready-made option and the possibility to work according to "Wishlist"
    • Contact me, Discord: xbaus
    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock