Item Latents not working

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Item Latents not working

Post by x8jason8x » Fri Jan 26, 2018 5:48 pm

Ran in to an issue with item latents not functioning, or only partially functioning. I reverted all changes I made to any files, but the problem persists. I'm hoping someone may have run in to this issue before. Attached is pic, showing issue with Tamas Ring latent. I'm hoping I don't have to drop the DB again, so any insight would be appreciated.

Thanks :D
Attachments
Jason_2018.01.26_145933.png

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: Item Latents not working

Post by whasf » Fri Jan 26, 2018 6:08 pm

I don't think they're all coded
-- Whasf

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: Item Latents not working

Post by x8jason8x » Fri Jan 26, 2018 6:11 pm

They're improperly coded, but I had fixed it. They were working correctly. I changed all the files back to the stable commit from github.

Seems as if my only option is to drop the DB and start over lol.

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: Item Latents not working

Post by x8jason8x » Fri Jan 26, 2018 7:04 pm

Perhaps I didn't make it clear, I've tested many items with latents, from Trump Crown to Rajas Ring, they are all non-functional to one degree or another, where they previously had been. Nothing else is malfunctioning.

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: Item Latents not working

Post by x8jason8x » Sun Jan 28, 2018 4:51 pm

Still haven't found the problem. Can anyone confirm if this data preservation script still works?

"After you've done your initial load, you can use the following script that will preserve character data

cd c:\darkstar\sql
del auction_house.sql
del chars.sql
del accounts.sql
del accounts_banned.sql
del char_effects.sql
del char_equip.sql
del char_exp.sql
del char_inventory.sql
del char_jobs.sql
del char_look.sql
del char_pet.sql
del char_pet_name.sql
del char_points.sql
del char_profile.sql
del char_skills.sql
del char_spells.sql
del char_stats.sql
del char_storage.sql
del char_vars.sql
del char_weapon_skill_points.sql
del chars.sql
del conquest_system.sql
del delivery_box.sql
del linkshells.sql
FOR %%X IN (*.sql) DO ECHO Importing %%X & "c:\program files\mysql\mysql server 5.6\bin\mysql" dspdb -h localhost -u root -pMYSQLPASS < %%X

"

Accounting for my path change of course.

User avatar
Zynjec
Posts: 9
Joined: Sun Nov 19, 2017 7:25 pm

Re: Item Latents not working

Post by Zynjec » Sun Jan 28, 2018 11:42 pm

Sounds like you're running an out of date version, latents were fixed a couple months ago now.

Tamas is applying the appropriate +30MP +5 INT/MND on master.

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: Item Latents not working

Post by x8jason8x » Mon Jan 29, 2018 1:34 pm

I had them working on stable.

Char data preservation script work? Anyone?

User avatar
Zynjec
Posts: 9
Joined: Sun Nov 19, 2017 7:25 pm

Re: Item Latents not working

Post by Zynjec » Mon Jan 29, 2018 7:26 pm

Latents were fixed as of this commit -- https://github.com/DarkstarProject/darkstar/pull/4447

tldr: items with multiple latents only applied the first latent (eg: level 30 stats for Tamas/Rajas/Sattva)

Don't know if it's in stable, but it fixed in master/whasf latest release. You shouldn't have to touch your database, just recompile a revision that has that fix.

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: Item Latents not working

Post by x8jason8x » Mon Jan 29, 2018 7:36 pm

Zynjec wrote:Latents were fixed as of this commit -- https://github.com/DarkstarProject/darkstar/pull/4447

tldr: items with multiple latents only applied the first latent (eg: level 30 stats for Tamas/Rajas/Sattva)

Don't know if it's in stable, but it fixed in master/whasf latest release. You shouldn't have to touch your database, just recompile a revision that has that fix.
Okay, forgive me if I seem noobish, I'm good with coding and editing the DB, done that stuff plenty, but how do I go about getting the new revision? Switch/checkout to master branch and recompile? Literally no idea what to do here. I'm hesitant to do anything because I have a few people on my server already, and don't want to delete their data.

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: Item Latents not working

Post by x8jason8x » Tue Jan 30, 2018 1:58 am

Sort of resolved it, but all my GM commands are broken now.

Post Reply