ULX

Author Topic: end map dilemma  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

Offline talmera

  • Newbie
  • *
  • Posts: 36
  • Karma: 4
    • Tectonic-Gaming
end map dilemma
« on: February 26, 2014, 08:58:11 PM »
Hi, I've been coding a cross server experience system for my community and I have it mostly ready for public testing but I'm having trouble figuring out how to get it to save the exp when the map is getting changed I have it saving fine on player disconnect.

I was wondering what would be the best approach to do this?
It's not a sin if it can't make me cry
He's not the devil unless there's fire in his eyes
It ain't the ghost if it don't speak in tongue
It's not a victory 'till the battles been won

Offline Eccid

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
  • Hey, come on... We just met...
    • Terror Abound! Steam Group
Re: end map dilemma
« Reply #1 on: February 26, 2014, 09:06:24 PM »
Try using the Shutdown Hook and making it save then.

Offline talmera

  • Newbie
  • *
  • Posts: 36
  • Karma: 4
    • Tectonic-Gaming
Re: end map dilemma
« Reply #2 on: February 26, 2014, 09:15:30 PM »
oh cool I completely missed that hook when looking for a solution XD thanks I'll give it a go.
It's not a sin if it can't make me cry
He's not the devil unless there's fire in his eyes
It ain't the ghost if it don't speak in tongue
It's not a victory 'till the battles been won

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given