collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Compiling php scripts?  (Read 1726 times)

0 Members and 1 Guest are viewing this topic.

Offline Hotshot

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Compiling php scripts?
« on: September 06, 2006, 07:24:51 pm »
So the code for the afk on previous page, how do i implement this into the bot? (i tried compile but says " 'function' does not name a type")
« Last Edit: September 27, 2006, 09:56:52 pm by Khalem »

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Seperate Official and Unofficial/Custom Modules
« Reply #1 on: September 07, 2006, 02:31:26 pm »
I think you replied to the wrong thread. See my reply in your own thread.
Eternalist
General of The Syndicate

Offline Hotshot

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Seperate Official and Unofficial/Custom Modules
« Reply #2 on: September 07, 2006, 06:40:27 pm »
I mean what steps to get it working (what program to copy paste to?)
I tried Dev C++ and i try to compile the source file, and it has problems with expected "un-qualified ID '<?' token" among lots of other problems.

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Seperate Official and Unofficial/Custom Modules
« Reply #3 on: September 07, 2006, 06:50:21 pm »
PHP is a clear text language which is interpreted runtime by the php interpreter or "exe" you run when you start the bot. There is no compiling. Just copy and paste the information into notepad and save the file as AFK.php and put it in the modules folder and the bot will automatically load the module when it starts up.
Eternalist
General of The Syndicate

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Compiling php scripts?
« Reply #4 on: September 27, 2006, 09:57:13 pm »
Split into it's own topic as it had nothing to do with the original topic.
BeBot Founder and Fixer Kingpin

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 267
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal