DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • May 26, 2019, 08:14:30 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: unserializing experience in the shades  (Read 3026 times)
0 Members and 1 Guest are viewing this topic.
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« on: May 16, 2004, 03:51:32 PM »

I am going to deduct experience when players die anywhere, and the code i have works, but it shows the old experience until a new day.  i am assuming i need to "unserialize" it, just like we had to do with buffs and hashorse, but i can't figure out how to.  help?
Logged

Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5484



View Profile WWW
« Reply #1 on: May 16, 2004, 04:00:43 PM »

Sounds like an issue of just where in the code you've placed the experience deduction.  Another thing to try might be calling the saveuser() function.
Logged

Play the latest beta version here on DragonPrime
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #2 on: May 16, 2004, 04:06:59 PM »

i put it in shades.php

you can go to other pages in the underworld, and it still stays untouched.  it isnt until they go back to the village after a res/newday that it appears...

i put the saveuser function in, and it still doesnt work. Undecided
Logged

Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5484



View Profile WWW
« Reply #3 on: May 16, 2004, 04:28:35 PM »

It seems that the any routine that kills you in the stock code leaves you with only one nav option - news.php.  Maybe you should maintain consistency with that and send all deaths to news.php and put the code you want executed in there?
Logged

Play the latest beta version here on DragonPrime
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

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