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

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

Author Topic: upgrading to Trunk.  (Read 3947 times)

0 Members and 1 Guest are viewing this topic.

Offline nullerman

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
upgrading to Trunk.
« on: September 25, 2007, 10:01:50 pm »
well, as some of you have experienced, (and me) the bot were forgetting access levels ect.

well i decided to upgrade to trunk.
with that upgrade there is some new problems that i hope someone can help with.
i went all the way back to no# 1000, but it seems that im missing somthing.

when starting the bot i get this:

Code: [Select]
Conected to MySQL

warning: missing argument 23 for Bot::Bot(), called in C:\bebot\main.php on line
153 and defined in C:\bebot\sources\bot.php on line 124

warning: missing argument 23 for Bot::Bot(), called in C:\bebot\main.php on line
153 and defined in C:\bebot\sources\bot.php on line 124

warning: missing argument 23 for Bot::Bot(), called in C:\bebot\main.php on line
153 and defined in C:\bebot\sources\bot.php on line 124

warning: missing argument 23 for Bot::Bot(), called in C:\bebot\main.php on line
153 and defined in C:\bebot\sources\bot.php on line 124

and the bot continues to load after that.

then after logon and all that, then it says

Code: [Select]
[SETTINGS]      [ERROR] The setting named enabled
for setting Grouo statistics dose not exisit.

what am i missing ??

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Re: upgrading to Trunk.
« Reply #1 on: September 25, 2007, 10:41:44 pm »
Check your .conf against the trunk .conf.  More than likely your missing a setting.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: upgrading to Trunk.
« Reply #2 on: September 25, 2007, 11:21:45 pm »
Did you grab all files out of trunk, not just updates of the ones you got?

To move to trunk you need to get all the .php files on the svn server, except modules in the modules directory that you don't want to use anyways.

To me it looks like you may have forgotten to update your Main.php

Offline nullerman

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: upgrading to Trunk.
« Reply #3 on: September 26, 2007, 06:30:54 am »
might werry well be, i have grabbed all file from the "svn" from 1000, and all the way up tp where we are now, exlept the ones marked, for other vertions than the trunk. so if main.php have been updated b4 the "svn no.# 1000" then that is the problem. but well, im not a superuser, on this bot. im just the one who like it to work, and run smooth.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: upgrading to Trunk.
« Reply #4 on: September 26, 2007, 07:48:47 am »
sounds like you didn't get all of them, a good practice that I, myself do is make one directly for just the svn and then update my bot directory after testing..  I use a program call TortoiseSVN (google it :)  ).  that will pull everything you need.  Just make a directory after installing it, and then right click on that directory.. everything else is self explanatory.  and you will have to look around a bit, to get the information that you need to put it in there.  But if you are going to run the SVN version then you should be use to searching this site, or you should get use to searching it, and also I don't have the info you need atm on this computer so I cant tell ya anyway.. :(   

I would really suggest just starting a new bot.  Not sure what version you are upgrading from but there are a lot of changes, and I found it easier to get the svn up and running and then migrate what I want over.
« Last Edit: September 26, 2007, 07:52:21 am by Nytridr »
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: upgrading to Trunk.
« Reply #5 on: September 26, 2007, 11:35:00 am »
It is worth noting that the SVN might not always be "an upgrade"(tm) as it does sometimes contain work in progress.

We attempt to keep it working but very often it will not. If you are not experienced with PHP then using the SVN instead of the stable branch is recomended.

The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Nogoal

  • BeBot Apprentice
  • ***
  • Posts: 77
  • Karma: +0/-0
Re: upgrading to Trunk.
« Reply #6 on: September 26, 2007, 01:48:06 pm »
We attempt to keep it working but very often it will not. If you are not experienced with PHP then using the SVN instead of the stable branch is NOT recommended.
fixed

Offline nullerman

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: upgrading to Trunk.
« Reply #7 on: September 26, 2007, 04:24:45 pm »
okay, problem fixed, and bot have now been running for aprox. 10 hours. not saying that it is stabel yet.

and yes, i was missing an upgrade of main.php
and after that upgrade, it turned out that there were a few too many files in core, after thous were removed, and some new files in /core/ were installed, all the error msg´s have gone.

well, guess im running 5.0.build 1090 now.
:)
damn, now this topic is posted in the wrong thread, on the forum Doo....  :D

/nuller

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 178
  • 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