DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • January 18, 2018, 07:57:59 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Mail  (Read 4591 times)
0 Members and 1 Guest are viewing this topic.
Dannic
Guest
« on: December 28, 2004, 09:17:38 AM »

I will sometimes have my session expire while handling mail.  Is there some way we could have it refresh the session time when you read your mail?
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #1 on: December 28, 2004, 09:31:10 AM »

Handling mail is making no changed to the accounts table, that is why it doesn't refresh the session.

You would need to add in a new column (handling) then something in the link for mail, setting handling to 1, then it would have to *know* when you exit out, to change it back to 0...

All in all, rather strange/difficult?... would be best to remain active or expand your timeout time.
« Last Edit: December 28, 2004, 09:33:26 AM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Dannic
Guest
« Reply #2 on: December 28, 2004, 09:39:35 AM »

maybe expanding it.  I have had some conversations which cause me to send a mail only to find out that "hey,  I timed out".

I personally would rather it just refresh the sessiont_time(). or somethin like that.

If its not a good idea or not all that easy to do then I guess I'll just make do with what it is at the moment.  I'd rather not expand the session time though.
Logged
SaucyWench
Mod God
*****
Offline Offline

Posts: 2238


I'm a good girl.


View Profile WWW
« Reply #3 on: December 28, 2004, 06:28:27 PM »

Not a universal solution, but if you're typing a sermon, change windows and click a nav in the game just before you hit Send... saves you losing all that text you were typing.
Logged

SaucyWench
Owner of GemDust.com and Darton City proudly hosted by LunarPages
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #4 on: December 28, 2004, 06:32:09 PM »

Not a universal solution, but if you're typing a sermon, change windows and click a nav in the game just before you hit Send... saves you losing all that text you were typing.

Or write your "sermon" in another thing, such as Word/Note Pad, and then copy it over.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Dannic
Guest
« Reply #5 on: December 28, 2004, 06:50:29 PM »

yes yes... I realize I could do that.  

But I do forget that sometimes.  fortunately so far its been when I've gotten a bit nasty on my replies to something that I shouldn't be replying to in the first place so it brings me back to being sane and nice.

Still doesn't really solve a thing I think is a easy fix.
Logged
Kendaer
Guest
« Reply #6 on: December 29, 2004, 10:36:45 AM »

Dannic, it's not actually an easy fix.  Sorry to disappoint you. Because of the way the game works, there's not really any way to keep your timeout from expiring if you sit on the mail screen for a long time.  (the timeout expiration is checked before anything else on a page submit, so it punts you before the page itself gets a chance to handle it)

You shouldn't be writing sermons and missives online imho.. As Sichae said, if you really need to write something that long that takes you more than 10 minutes (the default timeout) to write you should probably be composing it offline anyway.

This isn't going to change.
Logged
Kendaer
Guest
« Reply #7 on: December 29, 2004, 10:37:49 AM »

Another point btw,  doing something like keeping the timeout from expiring while in the mail screen would give a player a WONDERFUL way of avoiding being PVP'd :/  Once again, not going to happen.
Logged
Dannic
Guest
« Reply #8 on: December 29, 2004, 10:57:53 AM »

Don't see how this could be avoiding a pvp.   It would be the same as if I were just clicking on the warrior listing every 3 minutes.

oh well.
Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #9 on: December 29, 2004, 11:01:12 AM »

Let's say, the mail would do something like an autorefresh just before timing out... You could just stay loggedin on the mail.php and won't be logged out to the fields... so: no pvp. That's way something like "turning timoeout off while writing mails" in not managable...
Logged

Running for more than three years now:
Dannic
Guest
« Reply #10 on: December 29, 2004, 11:04:54 AM »

if you refreshed it when you clicked on write it wouldn't have to "autorefresh".

Never asked for an autorefresh.  Just to refresh the time when you click on write or reply or read.  Or delete for that matter.
Logged
Arune
Member
Mod God
*****
Offline Offline

Posts: 718


Arune Vai - khatfield


View Profile WWW
« Reply #11 on: December 29, 2004, 11:22:01 AM »

Simplest thing to do is write your mail from the village and before the timeout is up just click refresh in the village and go back to writing.

Mainly the issues behind adding this is:
1. Function can cause exploitable gameplay.
2. (The Biggest imo) It is not feasible to add it for just one person. This is an avoidable issue
and only caused by neglect of timing.

Although, as far as I know. If you must have a function like this I'm sure the devs of LoGD wouldn't
mind you adding this on your own server as long as you release the code. And note that they will
not provide support for any errors caused by the additions.
« Last Edit: December 29, 2004, 11:26:32 AM by Arune » Logged
Kendaer
Guest
« Reply #12 on: December 30, 2004, 02:31:11 PM »

if you refreshed it when you clicked on write it wouldn't have to "autorefresh".

Never asked for an autorefresh.  Just to refresh the time when you click on write or reply or read.  Or delete for that matter.


See the other statement I made about the timeout being handled in common.php which happens BEFORE any processing on the page is done.
Sorry, Dannic, this won't happen.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
28 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search