Jump to content
  • 0

How I Call Xml Files[Lock It]


Question

Posted (edited)

hello again...i have some problems on gs from the code [balance from hellas]

 

well when i open gs i have problem...

 

DEX ,STR ..etc is unknown column....so i need to call the xml files to fix this...but i dont know how to do it...anybody know?

 

 

 

public static int loadEvasion(int classId)

{
int i = 0;
 
try (Connection con = L2DatabaseFactory.getInstance().getConnection())
{
PreparedStatement stm = con.prepareStatement("SELECT ev FROM balance WHERE class_id=" + classId);
ResultSet rset = stm.executeQuery();
 
if (rset.next())
{
i = rset.getInt("ev");
}
 
stm.close();
}
catch (Exception e)
{
System.err.println("Error while loading balance stats from database.");
e.printStackTrace();
}
return i;
}

 

Edited by ourat1995

15 answers to this question

Recommended Posts

  • 0
Posted (edited)

hello again...i have some problems on gs from the code [balance from hellas]

 

well when i open gs i have problem...the dont fix DEX,STR ...etc

 

its unknown column....so i need to call the xml files to fix this...but i dont know how to do it...anybody know?

i say to you yesterday you must edit CharStat.java for work the balancer. you have edit this file correct? and 2nd you have put the balance.sql file from hellas to your db?

Edited by nikosdevil20
  • 0
Posted

i say to you yesterday you must edit CharStat.java for work the balancer. you have edit this file correct? and 2nd you have put the balance.sql file from hellas to your db? as i see from error you havent put the balance.sql to your db. that code doesnt use xml take stats from db.

yes i have edit charstat its fine...and yes i have put balance.sql

  • 0
Posted

Nikos stop giving him false information. As I said to you through the skype outrat you need to call the xml database instead of the navicat databse call since it does not exist.

  • 0
Posted

Nikos stop giving him false information. As I said to you through the skype outrat you need to call the xml database instead of the navicat databse call since it does not exist.

ok i cant understund what you mean so i stop reply..

  • 0
Guest Elfocrash
Posted

Nikos stop giving him false information. As I said to you through the skype outrat you need to call the xml database instead of the navicat databse call since it does not exist.

What

the

fuck...

  • 0
Posted

What

the

fuck...

 

Whoops sorry about that, I do love my phone, he is using Acis, and the char template.sql has been moved to xml, hence when he tries to use the command //balance and call the char template sql, it's giving him errors. That's what I meant however my phone decided that auto correct/filling knows best.

  • 0
Guest Elfocrash
Posted

Whoops sorry about that, I do love my phone, he is using Acis, and the char template.sql has been moved to xml, hence when he tries to use the command //balance and call the char template sql, it's giving him errors. That's what I meant however my phone decided that auto correct/filling knows best.

Still wrong.

  • 0
Guest Elfocrash
Posted

how is it still wrong?

 

Never mind he fixed it.

cuz balance uses it's very own stats table and doesn't affect the retail char template stats. it just add the added value in the end.

Guest
This topic is now closed to further replies.


  • Posts

    • Where's the proof? I can tell you're a scammer.
    • Where was I called a scammer? Is there any proof, etc.? There are a lot of reviews about our store online, etc. https://zhyk.org/forum/showthread.php?t=1108673
    • U was reported as scammer in your previos topic why u create new topic?
    • 🔍 Inventory 1.0 is a next-generation inventory system that stands out with its special minimal clothing system. Carefully designed and prepared according to the highest standards of your server, it not only enhances your gaming experience but also contributes to your server's infrastructure. ⚙️ Supported: QB-CORE Features: ✅ Instant Delivery: All products you purchase will be instantly assigned to your account as soon as your payment is completed. ✅ Clothing System: With the special animated clothing configurations in your inventory, you will be able to change outfits with ease. Experience a unique roleplaying experience with high-quality animations and customizable clothing options. ✅ Minimalist Inventory System: This inventory system, with its visuals, animations, and mechanics, offers maximum efficiency without overwhelming your screen and limiting your roleplaying experience. It’s designed to be user-friendly while enhancing your roleplaying experience. ✅ Continuous Updates: The content in the inventory is regularly updated with innovative features added. New animations, additional clothing options, and cutting-edge features ensure a fresh and dynamic experience. ✅ Easy Setup and Compatibility: Compatible with QB-CORE, this system is easy to install and optimized for quick integration into your server. It works seamlessly with a simple drag-and-drop method. ✅ Performance Optimization: The system is optimized to avoid low FPS and performance drops. All features of the inventory run smoothly without affecting your server’s performance. ✅ Multilingual Support: With support for different languages, you can cater to an international player base and build a larger community on your server. ✅ Flexible Customization Options: You can fully customize the inventory according to your needs and server rules. Choose between different outfits and animations to create a unique gaming experience. ✅ Comprehensive Help and Support: With 24/7 support, you can quickly resolve any issues you encounter. Our technical support and user guides are always here to assist you. Shop Now! Take your game to the next level with Inventory 1.0  and enjoy its unique features. Get ready to make a real difference in your roleplaying experience!   --------------------------TEBEX: https://matza.tebex.io/package/7174862 --------------------------
  • 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