Hello, i put my ".menu" with trade option. Disabled/Enables. And method work, block trade request or allow. Depends on state.
And i want to save this choice of player on character_variables. I put as fallow on
.manu
You always find a way to lower the bar.
Consistency matters.
I admire your dedication to being completely unaware of how little you matter.
at least you are not entirely useless you can always serve as a bad example
I already finished my panel for change name and gender, anyway need restart, im used schema
$stmt = $conn->prepare("EXEC lin_ChangeCharacterName2 ?, ?, ?");
for change name... also for change gender i used
if ($race == 5) // Kamael race ID; modify this value as per your database
{
$error = "Gender change is not allowed for Kamael race characters.";
}
else
{
$stmt = $conn->prepare("
UPDATE user_data
SET gender = ?, face_index = 0, hair_shape_index = 0, hair_color_index = 0
WHERE char_id = ? AND account_name = ?
");
Sorry no idea how to add cached update in myext64 about, not have any solution for this yet compatible to myext64 code.
This is my panel make in php http://177.73.143.43:8080/account/
Cool panel for me, without experience in any code. Without help from any people here 🙄
Question
0flee
Hello, i put my ".menu" with trade option. Disabled/Enables. And method work, block trade request or allow. Depends on state.
And i want to save this choice of player on character_variables. I put as fallow on
.manu
TradeRequest.Java
EnterWorld.java
With this settings. if i put enable, after restart, it's still disabled. I use L2j-Mobius. Maybe someone can help. Greeings & Thank you!
6 answers to this question
Recommended Posts