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

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

Author Topic: raid/point system suggestion and errors latest svn  (Read 13114 times)

0 Members and 1 Guest are viewing this topic.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
raid/point system suggestion and errors latest svn
« on: June 08, 2008, 05:42:42 am »
I would like to suggest adding a raid pause that would pause give points  untill you unpause it again.. and also add a raidsingle back in again where points would NOT tick and you have to give points manually as in !points all #.

ok errors I have seen so far..

well was going to list out the different errors until I looked at points.php and realized someone decently needs to update it, because the way it sets atm it dose not work at all.

Nyt
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: raid/point system suggestion and errors latest svn
« Reply #1 on: June 12, 2008, 06:00:15 pm »
i have merged the 2 raid modules that are in Bebot Raid.php and _RaidTime.php
raid time being a ticking raid
i also added the !raid pause , !raid unpause commands to start and stop the ticker
the ticker is paused when raid starts and need to be unpaused
if u dont want ticking then dont  unpause it :D
i also added !raid rewards <points> , !raid give <points>
this gives all current raids the amound of points you say

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: raid/point system suggestion and errors latest svn
« Reply #2 on: June 14, 2008, 08:40:43 am »
awesome temar I will test it out tomorrow.. not going to worry about it tonight since the servers are all messed up.
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: raid/point system suggestion and errors latest svn
« Reply #3 on: October 07, 2008, 03:53:00 am »
How do I modify how many points the bot gives while ticking?
We give 10 points per hour.

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: raid/point system suggestion and errors latest svn
« Reply #4 on: October 07, 2008, 11:53:22 pm »
When I unpause the raid it looks like it is giving .1 points per minute? But I am not sure on that. I have been looking in Raid.php for the code I will try and locate it when i get home tonight.


Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: raid/point system suggestion and errors latest svn
« Reply #5 on: October 11, 2008, 06:19:50 am »
Can anyone help me out here? I would like to modify how many points the ticker gives per hour.

Thanks.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: raid/point system suggestion and errors latest svn
« Reply #6 on: October 11, 2008, 06:57:18 pm »
You got 2 choices:

Either adapt the cron() function. Points on timed raids are given there.

Or play with the cron delay, you can use any string as delay that can be parsed by strtotime().

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: raid/point system suggestion and errors latest svn
« Reply #7 on: October 11, 2008, 10:20:50 pm »
ok i have added a Setting so you can change the points you get every min
Default is 0.1 points per min
if you want 10 points per hours set it to 0.17
You need to get the Latest SVN files of Raid.php and Points.php

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: raid/point system suggestion and errors latest svn
« Reply #8 on: October 12, 2008, 03:23:55 am »
Your awsome Temar!

whats the unix svn command to update?
I dont have the svn link.
« Last Edit: October 12, 2008, 03:32:06 am by Vain »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: raid/point system suggestion and errors latest svn
« Reply #9 on: October 12, 2008, 06:45:40 am »
useing console and asuming u already done checkout
simply goto the directory useing cd /wateva
then type svn update

 

* Recent Posts
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 ]


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

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