Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alle Funktionen + Klassen
#16
Ok thanks for the answer.

I have another small/big problem... I hope someone can help me.

I want to recruit a noble from game.php.
I used this:

$units = new units();
$units->recruit_units('unit_spear','2','barracks','4','5');

The function is this: recruit_units($name,$count,$building,$building_stage,$villageid)


The function doesn't work as it should. I mean it inserts in the database almost everything it should but the finish time is the current time meaning that the noble takes 0 seconds to complete but it doesn't even complete because it appears with - (-1,-2) seconds(p.s. I'm not noob... i have events.php [dslan_start] on and the normal snob rectuit is working perfectly.

P.S. the actual speed of the server is 1 so a normal noble recruit takes more than 1 secondSmile it takes 53 seconds.

What I want is that when I add the recruit command the finish time of it to be the normal one, like a normal noble recruit
Reply


Messages In This Thread
Alle Funktionen + Klassen - by -superking- - 11.05.2008, 13:29
RE: Alle Funktionen + Klassen - by Nef10 - 15.05.2008, 18:08
RE: Alle Funktionen + Klassen - by pL4n3 - 15.05.2008, 18:15
RE: Alle Funktionen + Klassen - by Nef10 - 15.05.2008, 18:16
RE: Alle Funktionen + Klassen - by Nef10 - 15.05.2008, 19:13
RE: Alle Funktionen + Klassen - by pL4n3 - 15.05.2008, 19:19
RE: Alle Funktionen + Klassen - by paulgerman - 13.06.2010, 16:45
RE: Alle Funktionen + Klassen - by paulgerman - 13.06.2010, 18:09
RE: Alle Funktionen + Klassen - by Yannici - 13.06.2010, 21:48
RE: Alle Funktionen + Klassen - by paulgerman - 18.06.2010, 15:31
RE: Alle Funktionen + Klassen - by Milu2K - 18.06.2010, 20:49
RE: Alle Funktionen + Klassen - by paulgerman - 25.06.2010, 16:42
RE: Alle Funktionen + Klassen - by Milu2K - 26.06.2010, 08:58
RE: Alle Funktionen + Klassen - by Ja12n - 26.06.2010, 11:58
RE: Alle Funktionen + Klassen - by Ja12n - 26.06.2010, 12:47
RE: Alle Funktionen + Klassen - by paulgerman - 26.06.2010, 20:53



Users browsing this thread: 2 Guest(s)