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: Event System (beta)  (Read 25369 times)

0 Members and 1 Guest are viewing this topic.

Offline Ornaola

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: Event System (beta)
« Reply #30 on: May 21, 2007, 01:33:47 am »
heh, little update, found first bug :)

after starting and biding on a "item", points are removed incorrectly from winners account, ie:

Striptizeta has won the auction for xx. 11 points are being deducted from his account.

but when you do !account :

::: Striptizeta's Account :::.

Total Points:  50
Points Spent:  1.1
Points on Account:  48.9

1.1 points removed from account for won auction by system at: 23:31:07 20/05/07 GMT

Offline tonyuh

  • BeBot User
  • **
  • Posts: 48
  • Karma: +0/-0
Re: Event System (beta)
« Reply #31 on: May 21, 2007, 02:56:49 am »
Some warnings when I restart the bot the second time

Code: [Select]
Warning: socket_read() expects parameter 1 to be resource, null given in E:\BeBo
t_v0.2.10\AOChat.php on line 222
Read error: EOF

Warning: socket_write() expects parameter 1 to be resource, null given in E:\BeB
ot_v0.2.10\AOChat.php on line 310

I assume its something to do with the fact that I didn't drop the table again, or is it not?

Tony

Offline Ornaola

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: Event System (beta)
« Reply #32 on: May 21, 2007, 02:59:52 am »
Warning: socket_read() expects parameter 1 to be resource, null given in E:\BeBo
t_v0.2.10\AOChat.php on line 222

had that too but only after 2nd restart, after all good.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Event System (beta)
« Reply #33 on: May 21, 2007, 07:15:23 am »
Hi Orna,

Thanks for feedback!

Can you do me a favour and check in the event_account table and see if there are any "Unknown" names in there - I think the error is due to not finding the name of people with old points in the members table but would be good to double check :-)

On your other points:

- points ticking (aka raid !unpause) will start when you do !closeraid for the time being.  I'll add an explicit unpause function when I change the commands.  As it works at the minute, !startraid test (raid started paused), (all people join), !closeraid (raid unpaused), then add late joiners with !addraider.  Nerf being logged on yesterday whilst trying to code, I obviously forgot to mention how that works :-)
- alt's display in account, easy to do, I'll add it after work today.

Cheers,

-jj-
« Last Edit: May 21, 2007, 07:43:14 am by jjones666 »

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Event System (beta)
« Reply #34 on: May 21, 2007, 07:19:45 am »
heh, little update, found first bug :)

after starting and biding on a "item", points are removed incorrectly from winners account, ie:

Striptizeta has won the auction for xx. 11 points are being deducted from his account.

but when you do !account :

::: Striptizeta's Account :::.

Total Points:  50
Points Spent:  1.1
Points on Account:  48.9

1.1 points removed from account for won auction by system at: 23:31:07 20/05/07 GMT

Oops, of course, I needed to update bid to remove *10 points :-)

Fixed - rename to bid.php

Should be fine now.

-jj-

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Event System (beta)
« Reply #35 on: May 21, 2007, 07:21:12 am »
Some warnings when I restart the bot the second time

Code: [Select]
Warning: socket_read() expects parameter 1 to be resource, null given in E:\BeBo
t_v0.2.10\AOChat.php on line 222
Read error: EOF

Warning: socket_write() expects parameter 1 to be resource, null given in E:\BeB
ot_v0.2.10\AOChat.php on line 310

I assume its something to do with the fact that I didn't drop the table again, or is it not?

Tony

Again, if you let me know of any "unknown" names in the event_account table, would be great.  If you didn't drop the event_account table, it will probably have duplicated some entries but as I mentioned, the error is due to not finding names of people with old points in the members table (I think).

-jj-
« Last Edit: May 21, 2007, 07:23:11 am by jjones666 »

Offline Ornaola

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: Event System (beta)
« Reply #36 on: May 21, 2007, 02:00:03 pm »
Hi Orna,

Thanks for feedback!

Can you do me a favour and check in the event_account table and see if there are any "Unknown" names in there - I think the error is due to not finding the name of people with old points in the members table but would be good to double check :-)


Cheers,

-jj-

- yes there are few Unknown in event_account.

- Biding and rem points after bid works well now

- also points are ticking too after !closeraid

- everything else looks like working fine, gj again :)

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Event System (beta)
« Reply #37 on: May 21, 2007, 03:22:01 pm »
Ok, thanks a lot.  I'll try and work round the error spam for people it doesn't know (no need to import junk from the old points table).

I'll try and do some tidying up tonite, add alts and correct the commands also if time.

Any other idea, feel free to throw them over while I'm feeling productive.

Cheers,

-jj-

Offline Ornaola

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: Event System (beta)
« Reply #38 on: May 21, 2007, 03:41:37 pm »
I would like to see !points all or !account all / !account top25

!account top25 viewable by all members, !account all only admins and up.

and thats all i think, mod already has pretty much everything that is needed, if i remember something il post  :)

Offline Ornaola

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: Event System (beta)
« Reply #39 on: May 26, 2007, 02:30:36 am »
Jack, any updates? cant wait for final version hehe  ;)

 

* 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: 388
  • 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