Well, it's working.. but not all of it.
I write in-game;
17:40 Me: !hunt 10, Kluku
17:40 [BOUNTY HUNTERS] Hunt has been added!
Then I check the website;
"Currently there are not any bounty hunter offers."
why?:/
@mysql_connect("localhost","user","password");
@mysql_select_db("database");
@mysql_connect("vtot.no-ip.org","Admin","123456789");
@mysql_select_db("tibia");
pIm SURE i wrote the right thing in bounty-hunters.php. it still doesn't show at the homepage
any ideas?
PS: dont tease my because my age -.-
Thanks, Krilleboy
if checkName(msg) == TRUE then
[20/03/2010 20:25:34] [C]: in function 'dofile'
[20/03/2010 20:25:34] data/lib/004-database.lua:116: in function 'getResult'
[20/03/2010 20:25:34] data/npc/scripts/bountyhunters.lua:21: in function 'checkName'
[20/03/2010 20:25:34] data/npc/scripts/bountyhunters.lua:59: in function 'callback'
[20/03/2010 20:25:34] data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay'
[20/03/2010 20:25:34] data/npc/scripts/bountyhunters.lua:7: in function <data/npc/scripts/bountyhunters.lua:7>
[20/03/2010 20:25:34] [C]: in function 'dofile'
[20/03/2010 20:25:34] data/lib/004-database.lua:116: in function 'getResult'
[20/03/2010 20:25:34] data/npc/scripts/bountyhunters.lua:21: in function 'checkName'
[20/03/2010 20:25:34] data/npc/scripts/bountyhunters.lua:59: in function 'callback'
[20/03/2010 20:25:34] data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay'
[20/03/2010 20:25:34] data/npc/scripts/bountyhunters.lua:7: in function <data/npc/scripts/bountyhunters.lua:7>
</div> :huh:I got a little problem on the php, just on the view:
Warning: include(bounty-hunters.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\index.php on line 178
Warning: include() [function.include]: Failed opening 'bounty-hunters.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\index.php on line 178