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: Rooster_GUILD.php Updated(2005-12-13)  (Read 13448 times)

0 Members and 1 Guest are viewing this topic.

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Rooster_GUILD.php Updated(2005-12-13)
« on: September 02, 2005, 01:52:22 am »
Updated to Include Alien Rank and Level since I couldn't find one that had already been Modified.
For use in showing AI Level and Rank in Online and Logon modules.

Will require you to Drop the current members table to populate new data.

ftp://xen.afraid.org/bebot_files/Rooster_GUILD.php

EDIT: New update. Added the commands member (Allows Manual Editing of Roster) and members (For viewing total members). Use what ever pre-command syntax you set for your bot (aka the ever popular '!')
It's basically modified code from Rooster_RAID.php insterted to work in Rooster_GUILD.php ... The cron job is untouched.

NOTE: If you are using my previous update to this module there is no need to Drop member table. Just replace with new copy(link above) and restart bot.
Uses same help files from the bot core install.
« Last Edit: December 13, 2005, 10:18:04 am by Xenixa »
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Plac3bo

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Rooster_GUILD.php Updated(2005-10-21)
« Reply #1 on: October 05, 2005, 10:39:11 am »
I exchanged my rooster_guild with this code, but the login still doesnt show the alien level when someone logs on, but the database has the alien level in it..

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Rooster_GUILD.php Updated(2005-10-21)
« Reply #2 on: October 05, 2005, 11:19:09 am »
Ya, you'll need to modify your Logon_GUILD.php file to show that info.
Fortunatly, I've already done that. :) Also updated Online.php to show AI level.

My updated versions that work with this Rooster_GUILD.php are here:
ftp://xen.afraid.org/bebot_files/Logon_GUILD.php
ftp://xen.afraid.org/bebot_files/Online.php

BTW, back up your existing files before replacing with the ones above... just incase.
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Rooster_GUILD.php Updated(2005-10-21)
« Reply #3 on: October 17, 2005, 11:41:33 am »
Updated Online.php again.

* Removed the commands for serperate professions since it wasn't working anyway.
* Added Announcements for Parts and Joins to Guest/Privatechannel in the Guild Channel.

I.E "Joeblow has Joined the Guest Channel."

Link in post above

Edit: Now If I could just figure out why it's not placing AFK after a members name in the online list when they mark themselves AFK.
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Enian

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Rooster_GUILD.php Updated(2005-10-21)
« Reply #4 on: October 18, 2005, 12:17:15 pm »
Wow, very nice job  :P
Its exactly what i was looking for  :)

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Rooster_GUILD.php Updated(2005-10-21)
« Reply #5 on: October 19, 2005, 06:37:38 am »
Fixed the AFK issue in Online.php I have listed above. Should show AFK status if you are using AFK.php from Crazied.

AFK.php is here if you need it.
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Rooster_GUILD.php Updated(2005-10-21)
« Reply #6 on: October 21, 2005, 08:06:57 pm »
See edit in first post. :D
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Re: Rooster_GUILD.php Updated(2005-12-13)
« Reply #7 on: December 13, 2005, 09:49:28 am »
I just discovered I completely missed something when I updated this last.
When I added the ability to add/remove members manually, I remembered to make sure the code for removing members from Buddy List was there but forgot to check if when adding Members to the Members table it also added them to the Buddy list so they show up on the Online list right away. Previously our Org recruiters were doing !is after !member

So anywho I've updated it(again) to add Members to Bots Buddy list if they are added Manually. Otherwise the Cron job still takes care of it if not added manually.
Linked copy in first Post contains this update now.

EDIT: Re-edited it, realized I updated a copy that was using slightly different column names for AI Level and AI Title. Matches whats in the SVN now.
« Last Edit: December 13, 2005, 10:52:49 am by Xenixa »
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Akarah

  • Contributor
  • *******
  • Posts: 72
  • Karma: +0/-0
    • http://synergyfactor.net/
Re: Rooster_GUILD.php Updated(2005-10-21)
« Reply #8 on: December 13, 2005, 09:54:43 am »
i still feel really strange running a module named after a male chicken :p

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Rooster_GUILD.php Updated(2005-12-13)
« Reply #9 on: December 13, 2005, 06:56:47 pm »
The names i used for the official version might not have been the best unfortunately, but consistency is good :)

And i'll be fixing up the module name later. Strange things often comes from not having English as a first language :P
« Last Edit: December 13, 2005, 06:58:19 pm by Khalem »
BeBot Founder and Fixer Kingpin

Offline Akarah

  • Contributor
  • *******
  • Posts: 72
  • Karma: +0/-0
    • http://synergyfactor.net/
Re: Rooster_GUILD.php Updated(2005-12-13)
« Reply #10 on: December 13, 2005, 08:22:04 pm »
And i'll be fixing up the module name later. Strange things often comes from not having English as a first language :P

yes definitely.. imagine if i was trying to code for a primarily norwegian audience, for example.. the only words i know are "jeg har" and i probably couldn't use them right anyway ;)

i am pretty consistently amazed at all the people able to speak english as well as they do, considering how tricky english can be sometimes (look at all the americans who can't even speak it properly ;) )

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: Rooster_GUILD.php Updated(2005-12-13)
« Reply #11 on: December 13, 2005, 09:29:16 pm »
But we just remember where Americans are, and just let it slide :P
220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php

Offline neongen

  • BeBot User
  • **
  • Posts: 64
  • Karma: +0/-0
Re: Rooster_GUILD.php Updated(2005-12-13)
« Reply #12 on: May 19, 2006, 04:10:29 pm »
i'm lost  :-\

i get a

Fatal error: Cannot redeclare class online in C:\bebot\moduels\Online.php on line 35

and

Warning: include_once(_Colors.php): failed to open stream: no such file or directory in C:\bebot\modules\afk.php on line 10

Warning: include_once(): failed opening '_colors.php' for inclusion (include_path='.;C:\php5\pear') in C:\bebot\modules\afk.php on line 10

how do i fix this ???

Just fund out that i don\t have _colors.php can someone pleass post it for me ???
« Last Edit: May 19, 2006, 04:17:23 pm by neongen »

Offline Jarras

  • BeBot Rookie
  • *
  • Posts: 12
  • Karma: +0/-0

Offline captainwinky

  • BeBot User
  • **
  • Posts: 32
  • Karma: +0/-0
Re: Rooster_GUILD.php Updated(2005-12-13)
« Reply #14 on: May 21, 2006, 07:04:18 am »
(removed old issues that are no longer problems :p )

another EDIT:  i think AI level is working now.  i tried removing the members table again just to be sure, and that did seem to make a difference for some reason. 
problem i am facing now is that Rooster_GUILD is not executing when i start the bot... so we 'don't have any members'...  ???
have reverted to old Rooster_GUILD for the time being.  hoping to learn what is wrong here though as my setup is almost complete for my org's needs due to the great work being done here on BeBot :)  (thanks to all coders)
« Last Edit: May 21, 2006, 10:12:57 am by captainwinky »

 

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