Haha got it working. Thanks anyway to all of you. Here's my working code
$id = $user->id;
$pvm = $user->lastdailycredits;
$nyt = new DateTime();
$tulos = $nyt->format("m.d");
//Update the record
if($pvm != $tulos)
{
$updateQuery = "UPDATE users SET crystals =...
But I don't want Hours. In my database there is in users table a lastdailycredits column. That column contains last logged in day's MM/dd. So I wan't to use month.
Hey nerds :p! Could someone of you help me a little bit? I'm getting this error:
Fatal error: Call to undefined function toString() in C:\xampp\htdocs\me.php on line 45
Why doesn't my toString() function work? Here's my code below:
$id = $user->id;
$pvm = $user->lastdailycredits...
Hey. I'm getting 3000 credits every day in my hotel. I tried to change that, but it still gives me 3000 credits. I searched my db, but there wasnt anything daily credits. I searched my bcstorm configuration file, but there wasnt any daily credits thing. But then I found that UserDataFactory.cs...
Hey DevBesters!
[ I USE BCSTORM AS EMU AND HABBOPHP AS CMS]
Could anyone help me with my Daily Credits error. I can't find the Daily Credits thing in my emu configuration file, but I found this in UserDataFactory.cs
string str = (string) row["lastdailycredits"]...
There is no "Server_settings" All I found was "habbophp_config" but i couldn't find the daily credits there. Any ideas?
EDIT i searched my whole database, there isn't any 3000 thing. Maybe it's in my emulator, but where?
Hi DevBest!
I have few problems with my Habbo Retro. I am using Bcstorm emu and HabboPHP.
1. Where can I change daily credits? Everyday I get 3000 credits, and I dont want it. I've searched emu configuration file, but it wasnt there.
2. Is there way to change this: If i have 0 crystals, it...