Lavalair Xhtml Virtual Pet

Started on the old forum in March 2009 · view the original in the archive · old links redirect here

22 replies · 3,122 views · started 17 years ago · 1 min read

TL;DR · summary of 22 replies
  • friend encountered a Parse error related to syntax.
  • ozziemale31 provided an updated file that was translated and styled for use with the original script.
  • kafa clarified that the script was originally created by him, named Meragochi, not Tamagochi.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

6 participants
rampage Newbie · 1 posts #4

dude right click the folder select extract to folder and left click lol ya dnt need rar or zip and to the poster lol wheres the sql file??

friend Developer · 112 posts #9

Parse error: syntax error, unexpected T_VARIABLE, expecting '{' in core .php

$deadtime = time() - (186060);

ozziemale31 Lead · 861 posts #10

error

friend wrote: Parse error: syntax error, unexpected T_VARIABLE, expecting '{' in core .php

$deadtime = time() - (186060);

core works fine

function cleardata(){

  ///delete meragochi

  $deadtime = time() - (18*60*60);
  $meragochi = mysql_query("SELECT uid FROM meragochi WHERE ziv='1' AND nahranjen<'".$deadtime."'");
  $hrana = mysql_query("SELECT nahranjen FROM meragochi WHERE uid='".$mer[0]."' AND nahranjen<'".$deadtime."'");
  $novo = time() + (18*60*60);
  $smrt = $hrana[0] + $novo;
  while ($mer=mysql_fetch_array($meragochi))
  {
    $ppl = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM meragochi WHERE uid='".$mer[0]."'"));
    if($ppl)
    {

        $exec2 = mysql_query("UPDATE meragochi SET ziv='0', smrt='".$smrt."' WHERE uid='".$mer[0]."'");

    }
  }
    $timeout=time()-300;

    $exec = mysql_query("DELETE FROM tictactoe WHERE lturntime<$timeout");

$timeto = 120;

$timenw = time();

$timeout = $timenw - $timeto;

$exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".$timeout."'");

$timeto = 7200;

$timenw = time();

$timeout = $timenw - $timeto;

$exec = mysql_query("DELETE FROM ibwf_chat WHERE timesent<'".$timeout."'");

$timeto = 60*60;

$timenw = time();

$timeout = $timenw - $timeto;

$exec = mysql_query("DELETE FROM ibwf_search WHERE stime<'".$timeout."'");

$timeto = 5*60;

$timenw = time();

$timeout = $timenw - $timeto;

$rooms = mysql_query("SELECT id FROM ibwf_rooms WHERE static='0' AND lastmsg<'".$timeout."'");

while ($room=mysql_fetch_array($rooms)){

$ppl = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline WHERE rid='".$room[0]."'"));

if($ppl[0]==0){

$exec = mysql_query("DELETE FROM ibwf_rooms WHERE id='".$room[0]."'");

}

}

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

friend Developer · 112 posts #12

okie its works now .Thanks ozziemale...

how to now make usage of it , i mean how to put link like FEED MY PET ?

friend Developer · 112 posts #14

Yes I got that what u said @ ozzimale... But if a user want to feed their pets via other user what will they do? what link for that?

Thanks

ozziemale31 Lead · 861 posts #15

when you have created your pet the link appears in the menu for the pet script lol but there there are time limmits on how to perform actions with your pet. unfortunatley cus i didnt check mine after a day or 2 mine died lmao my poor rampage pet died yesterday roflmao

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

kafa Junior · 12 posts #16

ozziemale31 wrote: just relised its serbian i can complete the translation :)

Thats script was made by me, and its bosnian, not serbian! If anybody needs help, just ask 😉

http://merak.mobi - Love at first click

kafa Junior · 12 posts #18

rko1 wrote: here is the lavalair virtual pet in xhtml in english

enjoy

you can check a demo at blingywap.co.za/wap/xhtml

tho the themes wont be the same..this pet is actauly for the v3 methos script

Its meragochi, not tamagochi, named by my forum. Btw thanks for the xhtml, i didnt have time to do that 😉

http://merak.mobi - Love at first click

kafa Junior · 12 posts #19

rko1 wrote: it was made by you ? Lol when i downloaded that script it didnt even work it was mixed wml/xhtml etc,but hey thanx 4 sharing it

I didnt made the english version, even not the xhtml, only the bosnian wml version. I coded it one year ago and have shared it on another forum but how I see, ppl like it 🙂

http://merak.mobi - Love at first click

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close