Jump to content
  • 0

Add Agument on Weapon me Navicat


Dante44®

Question

Kalispera ithela na kano mia erwtisi poso mporo na valo augment sto weapon enos paixti px Str+1 me passive duel Might Duel Might

gia arxi pao sto navicat sto table characters  kai perno to charid kai meta pao sto table items kai simfona me to ownerid p exo vrei apo prin kai to item id p thelo vrisko to object id tou item p psaxno epita anoigo to table item_attributes kai ekei exo 2 stilles Item id(dld to object id)kai augAttributes p prepi ekei na valo to augument

Epita anoigo sto C:\Server\game\data\stats\augmentation\augmentation_skillmap.xml

kai ekei psaxno gia to Augment p thelo

pos ginete omos na to peraso sto navicat sto item_attributes

Xriazome to STR+1 Passive DuelMight

To Pack P Xrisimopio ine gia H5

Euxaristo

Link to comment
Share on other sites

Recommended Posts

  • 0

Δεν έχω pack που να έχει τον πίνακα item_attributes για τα ls skills αλλά έκανα μια αναζήτηση στο Google και απ' ότι φαίνεται είναι εύκολο αυτό που ζητάς.

 

Στην στήλη 'itemId' βάζεις το object ID που έχεις, στην στήλη augSkillId βάζεις το ID του skill και στην στήλη augSkillLevel βάζεις το level που θες να έχει το skill. (το augAttributes άστο κενό, δεν νομίζω να χρειάζεται αλλά δεν ξέρω για σίγουρα)

 

Δεν ξέρω αν είναι αυτό που ρωτάς. Αν θες να το κάνεις με query, θα μπορούσες να εκτελέσεις αυτό εδώ το query (παρακάτω):

INSERT INTO 'item_attributes' (itemId, augSkillId, augSkillLevel) VALUES ('bale to object id edw', 'bale to id tou skill edw', 'bale to level tou skill edw');

 

Link to comment
Share on other sites

  • 0

Δεν έχω pack που να έχει τον πίνακα item_attributes για τα ls skills αλλά έκανα μια αναζήτηση στο Google και απ' ότι φαίνεται είναι εύκολο αυτό που ζητάς.

 

Στην στήλη 'itemId' βάζεις το object ID που έχεις, στην στήλη augSkillId βάζεις το ID του skill και στην στήλη augSkillLevel βάζεις το level που θες να έχει το skill. (το augAttributes άστο κενό, δεν νομίζω να χρειάζεται αλλά δεν ξέρω για σίγουρα)

 

Δεν ξέρω αν είναι αυτό που ρωτάς. Αν θες να το κάνεις με query, θα μπορούσες να εκτελέσεις αυτό εδώ το query (παρακάτω):

INSERT INTO 'item_attributes' (itemId, augSkillId, augSkillLevel) VALUES ('bale to object id edw', 'bale to id tou skill edw', 'bale to level tou skill edw');

 

Oxi den to exo etsi to vrika pos na to valo to augment gia to passive duel Might ine to Augment Id apo to xml kai to kaneis *65536+SkillId p s dinei

to thema ine to STR1 pos tha to vallo

Link to comment
Share on other sites

  • 0

Oxi den to exo etsi to vrika pos na to valo to augment gia to passive duel Might ine to Augment Id apo to xml kai to kaneis *65536+SkillId p s dinei

to thema ine to STR1 pos tha to vallo

Οκ, κάτσε online, θα το δω μια στιγμή τώρα και θα σου πω.

 

EDIT: Θα σου πω αύριο τελικά φίλε.

Link to comment
Share on other sites

  • 0

ook

exo vrei kai ta id agumentid diaforetika t passive duel might ine 1067257003 kai tou STR+1 155 991 2571 pos ta vazo mazi omos ine to thema....

Και τόση ώρα έψαχνα για τα IDs εδώ, τέλος πάντων. Απλό είναι αυτό που ζητάς, έτσι τα βάζεις μαζί:

 

INSERT INTO 'item_attributes' (itemId, augAttributes, augSkillId, augSkillLevel) VALUES ('bale to object id edw', 'bale to id tou str edw', 'bale to id tou skill edw', 'bale to level tou skill edw');

 

Δοκίμασε το και πες μου.

Link to comment
Share on other sites

  • 0

Den ginete kati tetio dioti ego den exo auta ta tables exo mono to obj id kai to aug id

kai den ginete na ta vallo mazi den to pernei

Οκ, έχω κάτι στο μυαλό μου.

 

Αν βάλεις το augment id για το STR μόνο του δουλεύει, έτσι;

Link to comment
Share on other sites

  • 0

Οκ, έχω κάτι στο μυαλό μου.

 

Αν βάλεις το augment id για το STR μόνο του δουλεύει, έτσι;

Yy s dinei STR+1

Vasika auta ta noumera p s ipa prokiptoun apo to augment id p to perno apo xml *65536+skill id dld gia na vgalo to passive duel might ekana

16285(Augment ID) * 65536 +3243(Skill id Passive Duel Might) kai vgike

1067257003

pos vrika tora to STR+1

ekatsa kai to epiasa normal me to stones piga meta sto navicat kai pira etoimo to id apo to item_attributes

to id ine 1559912571 dokimasa polla pragmata alla tzifos

Link to comment
Share on other sites

  • 0

Yy s dinei STR+1

Vasika auta ta noumera p s ipa prokiptoun apo to augment id p to perno apo xml *65536+skill id dld gia na vgalo to passive duel might ekana

16285(Augment ID) * 65536 +3243(Skill id Passive Duel Might) kai vgike

1067257003

pos vrika tora to STR+1

ekatsa kai to epiasa normal me to stones piga meta sto navicat kai pira etoimo to id apo to item_attributes

to id ine 1559912571 dokimasa polla pragmata alla tzifos

Χωρίς αλλαγές στον κώδικα Java, μόνο έναν τρόπο σκέφτομαι που δεν νομίζω να πετύχει αλλά μπορείς να προσπαθήσεις. (αλλιώς θα πρέπει να κάνεις αλλαγές στον κώδικα Java)

 

Να έβαζες 2 εγγραφές με το ίδιο ID αλλά με διαφορετικό augment ID. Ξέρω ότι δεν γίνεται αυτό τώρα επειδή είναι PRIMARY key αλλά μπορούμε πολύ απλά να βγάλουμε την ιδιότητα PRIMARY από το πεδίο. Αν θες να δοκιμάσεις, να πως βγαίνει η ιδιότητα PRIMARY:

 

ALTER TABLE item_attributes DROP PRIMARY KEY;

 

Πάω για ύπνο, τα λέμε.

Link to comment
Share on other sites

  • 0

Χωρίς αλλαγές στον κώδικα Java, μόνο έναν τρόπο σκέφτομαι που δεν νομίζω να πετύχει αλλά μπορείς να προσπαθήσεις. (αλλιώς θα πρέπει να κάνεις αλλαγές στον κώδικα Java)

 

Να έβαζες 2 εγγραφές με το ίδιο ID αλλά με διαφορετικό augment ID. Ξέρω ότι δεν γίνεται αυτό τώρα επειδή είναι PRIMARY key αλλά μπορούμε πολύ απλά να βγάλουμε την ιδιότητα PRIMARY από το πεδίο. Αν θες να δοκιμάσεις, να πως βγαίνει η ιδιότητα PRIMARY:

 

ALTER TABLE item_attributes DROP PRIMARY KEY;

 

Πάω για ύπνο, τα λέμε.

Den petixe :S

Link to comment
Share on other sites

  • 0

Το περίμενα.

 

Τότε θα πρέπει να γίνουν αλλαγές στον κώδικα.

 

oxi, prepei na katsei na vrei to STR +1 kanonika, kai meta na parei to agmId kai na to valei se weapon

Link to comment
Share on other sites

  • 0

oxi, prepei na katsei na vrei to STR +1 kanonika, kai meta na parei to agmId kai na to valei se weapon

Διάβασες τα παραπάνω replies;

 

Δεν θέλει να βάλει μόνο το STR + 1 σε ένα weapon, αλλά και τα 2 μαζί. (duel might passive και το STR +1)

Link to comment
Share on other sites

  • 0

Διάβασες τα παραπάνω replies;

 

Δεν θέλει να βάλει μόνο το STR + 1 σε ένα weapon, αλλά και τα 2 μαζί. (duel might passive και το STR +1)

 

afto file oute se oniro, ta augment fevgoun pros client se packets writeD(item.getAgmId) kai ston client ola einai static, akoma kai AN kataferei na valei kai STR + 1 kai duel might 9a vlepei ena apo ta dio sto client

Link to comment
Share on other sites

  • 0

afto file oute se oniro, ta augment fevgoun pros client se packets writeD(item.getAgmId) kai ston client ola einai static, akoma kai AN kataferei na valei kai STR + 1 kai duel might 9a vlepei ena apo ta dio sto client

Δεν ξέρω αν θέλει να φαίνονται και τα 2 στο client.

 

Όσο για αυτό που είπες, δεν το έχω ψάξει και για αυτόν τον λόγο δεν μπορώ να πω κάτι πάνω σε αυτό. (αλλά πιστεύω ότι τις πιο πολλές φορές υπάρχουν work-arounds στον προγραμματισμό)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • GOSTEI MUITO DO VIASUAL DO SERVE COMO POSSO ADQUIRI ESSA REV PACK   
    • Helly everyone . I use L2jmobius interlude , i did everything , installed the db compiled the Build in eclipse Gameserver seems to lead OK , but it fails to connect to loginserver When i click to start the loginserver it says  "Loginserver terminated abnormally" This is wheat gameserver shows me :    [05/10 17:25:12] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:12] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:17] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:17] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:22] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:22] LoginServerThread: LoginServer not available, trying to reconnect...   And This is my login config file:   # --------------------------------------------------------------------------- # Login Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 0.0.0.0 LoginserverHostname = 0.0.0.0 # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHostname = 127.0.0.1 # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # --------------------------------------------------------------------------- # Database # --------------------------------------------------------------------------- # Specify the JDBC driver class for your database. # Default: org.mariadb.jdbc.Driver Driver = org.mariadb.jdbc.Driver # Database URL # Default: jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true URL = jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true # Database user info. Default is "root" but it's not recommended. Login = root # Database user password, leave empty for no password. Password = root # Maximum number of database connections to maintain in the pool. # Default: 5 MaximumDatabaseConnections = 5 # Determine whether database connections should be tested for availability. # Default: False TestDatabaseConnections = False # --------------------------------------------------------------------------- # Automatic Database Backup Settings # --------------------------------------------------------------------------- # Generate database backups when server restarts or shuts down.  BackupDatabase = False # Path to MySQL bin folder. Only necessary on Windows. MySqlBinLocation = C:/xampp/mysql/bin/ # Path where MySQL backups are stored. BackupPath = ../backup/ # Maximum number of days that backups will be kept. # Old files in backup folder will be deleted. # Set to 0 to disable. BackupDays = 30 # --------------------------------------------------------------------------- # Thread Configuration # --------------------------------------------------------------------------- # Defines the number of threads in the scheduled thread pool. # If set to -1, this will be determined by available processors divided by 2. ScheduledThreadPoolSize = 2 # Defines the number of threads in the instant thread pool. # If set to -1, this will be determined by available processors divided by 2. InstantThreadPoolSize = 2 # --------------------------------------------------------------------------- # Security # --------------------------------------------------------------------------- # How many times you can provide an invalid account/pass before the IP gets banned. # Default: 5 LoginTryBeforeBan = 5 # Time you won't be able to login back again after LoginTryBeforeBan tries to login. # Default: 900 (15 minutes) LoginBlockAfterBan = 900 # If set to True any GameServer can register on your login's free slots # Default: True AcceptNewGameServer = True # Flood Protection. All values are in milliseconds. # Default: True EnableFloodProtection = True # Default: 15 FastConnectionLimit = 15 # Default: 700 NormalConnectionTime = 700 # Default: 350 FastConnectionTime = 350 # Default: 50 MaxConnectionPerIP = 50 # --------------------------------------------------------------------------- # Misc Login Settings # --------------------------------------------------------------------------- # If False, the license (after the login) will not be shown. # Default: True ShowLicence = True # Default: True AutoCreateAccounts = True # Datapack root directory. # Defaults to current directory from which the server is started. DatapackRoot = . # --------------------------------------------------------------------------- # Scheduled Login Restart # --------------------------------------------------------------------------- # Enable disable scheduled login restart. # Default: False LoginRestartSchedule = False # Time in hours. # Default: 24 LoginRestartTime = 24    
    • or at least to tell you an update that sorry but still not at home.. 10 days is suspisious.. but he is long time offline from discord indeed... maybe something happened?
  • Topics

×
×
  • Create New...