Login
Register
Menu
Home
Help
Members
View the memberlist
Search For Members
L2JMobius
L2JMobius
»
Free Users
»
Shares/Contributions
»
Committed User Contributions
»
C6
Save and delete Recipe
C6
Save and delete Recipe
ReynalDev
·
4 ·
6672
Print
Pages:
1
ReynalDev
Knight
Posts:
92
https://reynaldev.pythonanywhere.com/
Save and delete Recipe
on:
January 01, 2020, 05:39:44 AM
Actually when a player log out, you execute 2 SQLs:
1. Delete all recipe data about certain player
2. Insert all the data.
I suggest
change this and put the insert SQL instruction when a player register the new recipe, and, when a player delete a recipe execute delete SQL instruction. Normally a player wont delete recipes very often.
This is an example:
https://sourceforge.net/p/l2jfrozen/code/1781
Mobius
Distinguished King
Posts:
16261
Re: Save and delete Recipe
Reply #1 on:
January 01, 2020, 01:11:45 PM
Not an actual share, when you do not share a patch for l2jmobius.
ReynalDev
Knight
Posts:
92
https://reynaldev.pythonanywhere.com/
Re: Save and delete Recipe
Reply #2 on:
January 01, 2020, 01:14:31 PM
Quote from: Mobius on January 01, 2020, 01:11:45 PM
Not an actual share, when you do not share a patch for l2jmobius.
My bad then, anyways i dont have the last commit, but you got my point. So this topic could belong to The Tavern
Mobius
Distinguished King
Posts:
16261
Re: Save and delete Recipe
Reply #3 on:
January 02, 2020, 05:17:00 AM
This topic should belong to archived contributions section, but I liked your idea and committed it.
Never the less, I would appreciate if you made a share to adapt it accordingly.
Print
Pages:
1
L2JMobius
»
Free Users
»
Shares/Contributions
»
Committed User Contributions
»
C6
Save and delete Recipe
Search
Username
Password
Always stay logged in
Forgot your password?