Kalispera se olous kai xronia polla. Tha ithela na sas rotiso kati paidia, thelw na ftiakso mia entoli pou na kanei kapion hero, dld na ton prostheti sto table "heroes" sto navicat. Tha sas dikso ti exo ftiaksi os tora, an kai malon exo kanei kati lathos alla telos panton, gia deite ligo:
else if (command.startsWith("admin_addhero"))
{
L2Object target = activeChar.getTarget();
L2PcInstance player = null;
java.sql.Connection con = null;
try
{
PreparedStatement statement;
ResultSet rs;
con = L2DatabaseFactory.getInstance().getConnection();
statement = con.prepareStatement("Select * from heroes");
rs = statement.executeQuery();
while (rs.next())
{
_charId = rs.getInt("char_id");
_charName = rs.getString("char_name");
_charClassId = rs.getInt("class_id");
_charCount = rs.getInt("count");
_charPlayed = rs.getInt("played");
}
statement.close();
}
catch (Exception e)
{
_log.debug("Hero Add Error");
}
int targetid = target.getObjectId();
}
bebea akoma exei kapia lathi(opos me to "Hero Add Error" ta exo ftiaksi ligo proxira, ekei pou thelw boithia einai ekei pou sindeete stin DB, gt den exo asxolithi ksana me DB, dld na sindeete kai na diabazi ktlp.
Telos panton thelw na diabazo tou hero, kai an iparxi idi to Char objId apla na kanei to "played" se 1 gia na einai hero, allios na to kanei diagrafi telios k na to ksana pernaei.. apla thelw ligi help gt dn exo ksana doulepsi panw se auto.. euxaristo !
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello everyone,
I'm currently working on a project and experimenting with different elements inside the game.
Right now, I'm using UnrealEd 2.0 on Windows 11, along with other tools to work with .utx, .unr, and .t3d files. However, I’m facing some serious compatibility issues.
I’m well aware that Windows 11 isn’t ideal for running such old software, and UnrealEd 2.0 is struggling to function properly. For example:
The editor crashes whenever I try to add a new object to the level.
Converting .UNR to .T3D often results in a crash or disconnection.
I assume that running UnrealEd 2.0 on Windows 11 is part of the problem, but I’d really appreciate any advice on improving compatibility or making the editor more stable.
Would switching to a different Windows version help? Are there any tweaks, patches, or emulators that could make UnrealEd 2.0 run better? Any guidance would be greatly appreciated!
Thanks in advance!
Question
[DEV]DjSt3rios
Kalispera se olous kai xronia polla. Tha ithela na sas rotiso kati paidia, thelw na ftiakso mia entoli pou na kanei kapion hero, dld na ton prostheti sto table "heroes" sto navicat. Tha sas dikso ti exo ftiaksi os tora, an kai malon exo kanei kati lathos alla telos panton, gia deite ligo:
bebea akoma exei kapia lathi(opos me to "Hero Add Error" ta exo ftiaksi ligo proxira, ekei pou thelw boithia einai ekei pou sindeete stin DB, gt den exo asxolithi ksana me DB, dld na sindeete kai na diabazi ktlp.
Telos panton thelw na diabazo tou hero, kai an iparxi idi to Char objId apla na kanei to "played" se 1 gia na einai hero, allios na to kanei diagrafi telios k na to ksana pernaei.. apla thelw ligi help gt dn exo ksana doulepsi panw se auto.. euxaristo !
0 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.
Note: Your post will require moderator approval before it will be visible.