Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2004, 11:30 AM
monalin crusader
Hill Giant
 
Join Date: May 2004
Posts: 238
Default

Ok after some further investigation heres what i've found. Its still not working just like i want but i'm getting closer.

The way that aa_timers is working atm is:

When the effect first goes off it sets begin < end
If you click it again it sets begin = end

it rotates in this cycle and does not go down in time.
The way i have this working now it will go off every other time

So i was looking in database::UpdateTimersClientConnected(int32 charid)

and heres what i found

Code:
	if (!RunQuery(query, MakeAnyLenString(&query, "update aa_timers set end=(UNIX_TIMESTAMP(now())+(end-begin)),begin=UNIX_TIMESTAMP(now()) where charid=%i",charid), errbuf))
correct me if i'm wrong but the way they have it increases both end and begin and not only begin so no matter what they will have the same difference. Cant think of a way to fix it because i've got to go do some homework. Almost there though if u can think of a fix before i get back post it.
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 03:45 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3