Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2021, 07:26 PM
Kinger Kinger is offline
Large Rat


Join Date: Apr 2019
Location: Ottawa
Posts: 8
Default Solved Pacify's timer?

Quote:
Originally Posted by BlackBellamy [You must be logged in to view images. Log in or Register.]
45^Pacify^PLAYER_1^^^^You feel your aggression subside.^ looks less aggressive.^^200^0^0^0^3000^2250^6000^8^7^0^

in my file the 9th number is a 7, and the duration should be 7 mins, sooo....

do we have different versions of the file or what change did you make?
I was having the same issue myself. I noticed the value for Calm was 30, and 30 tics is 3 mins, so I tried changing pacify's 9th value '7' to '70' for tics instead of minutes, saved, and rebooted nParse.

nParse now gives me a 6:48 timer. I'm not sure for the descrepency from 7 full minutes, but I don't mind being reminded early enough to recast the spell.


Intcha
58 Enchanter
Green
Reply With Quote
  #2  
Old 03-25-2021, 04:16 PM
Budder Budder is offline
Sarnak

Budder's Avatar

Join Date: Jan 2015
Location: Running to the Hills
Posts: 259
Default

Cant seem to get much help on this, is there a version of nParse that will work on XP? Ive found a couple posts saying that theres a few versions of Python that will support it, 2.7.9, 3.4.3 and 3.4.10. I keep getting errors for win32 and cant find the pathing for kernl ddl or something like that. Do i just install python then nParse and it does its thing or do i need to modify files like everything else with P99? Any help would be great!
Thanks, Renlaan
Reply With Quote
  #3  
Old 03-25-2021, 08:42 PM
BlackBellamy BlackBellamy is offline
Planar Protector

BlackBellamy's Avatar

Join Date: Apr 2010
Location: At the barricades.
Posts: 2,812
Default

Got it, the value is in tics.

Nparse always seems to end the spell one tick early. I guess I can increase the tick counter by 1 for every spell or...just leave it alone.
Reply With Quote
  #4  
Old 03-25-2021, 10:13 PM
Vivitron Vivitron is offline
Sarnak


Join Date: Apr 2020
Posts: 468
Default

Quote:
Originally Posted by BlackBellamy [You must be logged in to view images. Log in or Register.]
Got it, the value is in tics.

Nparse always seems to end the spell one tick early. I guess I can increase the tick counter by 1 for every spell or...just leave it alone.
If it's a random amount of time from 0 to 6 seconds early that's the bonus duration between the time the spell lands and the time the target ticks. Not much a parser can do about that inaccuracy in the general case.
Reply With Quote
  #5  
Old 04-11-2021, 09:15 AM
magicfest2 magicfest2 is offline
Aviak


Join Date: Jan 2015
Posts: 50
Default

Pacify was typo'd as 7, should actually be *70*, that's correct. The duration formula is ... not always obvious, as it differs per spell. This is fixed in my fork. I put a PR up yesterday that includes that fix, among a few other features -- though not sure if nomns/Mirox is still working on this, or if patches to the 0.5.x line are still accepted.

For more on the duration calculation:

Here you can see that column 17 (they are zero-indexed, so 16+1) is the "duration formula", and column 18 (17+1) is the duration: https://github.com/nomns/nparse/blob...s.py#L461-L463
Then, just below that here, you can see how the different formulas affect the calculation: https://github.com/nomns/nparse/blob...s.py#L480-L535

Since Pacify is formula 8, the `duration` column is really just acting as a "max ticks", so the actual duration is `min(level + 10, duration)`. At level 60 that's `min(70, 70)`, which makes sense.
Last edited by magicfest2; 04-11-2021 at 09:31 AM..
Reply With Quote
  #6  
Old 04-11-2021, 10:45 PM
VII VII is offline
Banned


Join Date: Jul 2013
Posts: 180
Default

Quote:
Originally Posted by magicfest2 [You must be logged in to view images. Log in or Register.]
Pacify was typo'd as 7, should actually be *70*, that's correct. The duration formula is ... not always obvious, as it differs per spell. This is fixed in my fork. I put a PR up yesterday that includes that fix, among a few other features -- though not sure if nomns/Mirox is still working on this, or if patches to the 0.5.x line are still accepted.

For more on the duration calculation:

Here you can see that column 17 (they are zero-indexed, so 16+1) is the "duration formula", and column 18 (17+1) is the duration: https://github.com/nomns/nparse/blob...s.py#L461-L463
Then, just below that here, you can see how the different formulas affect the calculation: https://github.com/nomns/nparse/blob...s.py#L480-L535

Since Pacify is formula 8, the `duration` column is really just acting as a "max ticks", so the actual duration is `min(level + 10, duration)`. At level 60 that's `min(70, 70)`, which makes sense.
how do i get the zip of this with changes?
Reply With Quote
  #7  
Old 04-12-2021, 12:12 AM
magicfest2 magicfest2 is offline
Aviak


Join Date: Jan 2015
Posts: 50
Default

I have built releases in my fork too, though I'm working with Mirox/nomns to get stuff merged in. In the meantime, that single change is fairly easy to make by following the instructions above.
Or, you could try one of my releases here: https://github.com/rm-you/nparse/releases
Reply With Quote
  #8  
Old 05-01-2021, 10:30 AM
Evengelion82 Evengelion82 is offline
Large Rat


Join Date: Nov 2019
Posts: 6
Default

Anyone able to get Speed of the Shissar to actually show up? i've played around with the spell.txt i've been trying to change another spell to accept the text but nothing makes it show up
Reply With Quote
  #9  
Old 05-31-2021, 11:11 PM
xmaerx xmaerx is offline
Sarnak

xmaerx's Avatar

Join Date: Apr 2015
Posts: 206
Default

Quote:
Originally Posted by Evengelion82 [You must be logged in to view images. Log in or Register.]
Anyone able to get Speed of the Shissar to actually show up? i've played around with the spell.txt i've been trying to change another spell to accept the text but nothing makes it show up
Same here. Can't even get a custom trigger to go. The search text matches the text file too, which is confusing to me.
__________________
twitch.tv/Maergoth

Maeraculous - 60 Enchanter
Reply With Quote
  #10  
Old 06-23-2021, 11:45 PM
kabouter kabouter is offline
Aviak


Join Date: Mar 2019
Posts: 68
Default

Just tested this today and it works perfectly.

Now some custom text/audio triggers and we can ditch GINA. Oh and a dmg parser would be nice to see if I am outdamaging my pet [You must be logged in to view images. Log in or Register.].
Last edited by kabouter; 06-23-2021 at 11:50 PM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:10 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.