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: KOS Module w/ Guild KOS  (Read 26243 times)

0 Members and 1 Guest are viewing this topic.

Offline CheRny

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #15 on: July 28, 2008, 07:43:20 pm »
kardsen, you are right, everything is fine with the code. it was my mistake (seems like I was too lazy to read your first post  ::)) /tell BOTNAME !commands subs kos works great :) sorry about my post.

Offline kardsen

  • BeBot Apprentice
  • ***
  • Posts: 81
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #16 on: July 29, 2008, 04:05:54 pm »
Good to hear :)

I guess I could have set the default permissions higher.. but ehh, im lazy :)

Offline Sigi_cz

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #17 on: July 30, 2008, 01:15:06 pm »
PROBLEM: cant add names with dot
eg.: !kos gadd T.E.S.T : because

Offline kardsen

  • BeBot Apprentice
  • ***
  • Posts: 81
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #18 on: July 31, 2008, 05:39:07 am »
Try this file


Offline Sigi_cz

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #19 on: August 01, 2008, 01:53:30 pm »

Offline kardsen

  • BeBot Apprentice
  • ***
  • Posts: 81
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #20 on: August 01, 2008, 02:31:00 pm »
I'll look into it today, while at work.

Offline Theoris

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #21 on: August 07, 2008, 09:55:00 pm »
Hey kardsen.

I'm having the same issue URFUBAR had, but I don't seem to be able to solve it in the same manner. I downloaded your newest files as of today, put the files where they should go and renamed them. Restarted the bot - wouldn't work.
It shows in !modules under 'custom', but that's about it. I have owner access, and when I try to do the command all I get is the bots default '/tell botname !help'.

Tried the deleting BOTNAME.Modules-procedure, no luck. Any ideas?

PS: I'm having the same problem with the chuck.php, cannot call the command in anyway (just get the standard !help-reply).

Thanks.

Offline kardsen

  • BeBot Apprentice
  • ***
  • Posts: 81
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #22 on: August 10, 2008, 04:58:55 pm »
Watch the bot when it boots up, and pay attention to the section about it loading customer modules.  make sure you see it loading the kos.php


Honestly I haven't updated bebot in a while as I haven't had a reason.
I'll play around with the newest version on monday while at work and see what I come up with.

Offline saik0

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #23 on: August 12, 2008, 06:43:09 am »
Code: [Select]
$result = $this -> bot -> db -> select("SELECT * FROM koslist WHERE type = 'guildkos' ORDER BY player ASC");
if (!empty($result))
{
$b = array();
foreach ($result AS $row)
{
$b[] = array('guild' => $row[1], 'addedby' => $row[2], 'reason' => $row[3], 'type' => $row[4]);
}
$this -> gkos_list = $b;
}

You could clean this up by just using an associative array.

Code: [Select]
$result = $this -> bot -> db -> select("SELECT * FROM koslist WHERE type = 'guildkos' ORDER BY player ASC", MYSQL_ASSOC);

Offline SoulBr

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #24 on: August 17, 2008, 04:16:30 pm »
This plugin dont working.  ??? . No answer -----> !kos .  WTF?(!modules - he listed(plugin))
« Last Edit: August 17, 2008, 04:19:47 pm by SoulBr »

Offline SoulBr

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #25 on: August 19, 2008, 05:49:27 pm »
This plugin dont working.  ??? . No answer -----> !kos .  WTF?(!modules - he listed(plugin))
Working fine. Just reinstall bot  :D

Offline Cayron

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #26 on: January 02, 2009, 12:11:53 pm »
I cannot add guilds with multi-word names. I mean "!kos gadd The Guild:Good reason" does not work for me. Do I need any fix or update of kos.php file?

Offline catolh

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #27 on: January 17, 2009, 12:55:37 pm »
The module seems to be loading info from the database on bot startup, and not on command execution. Is there any way to get the module to read from db when the !kos command is called?

As it is now i have to restart the bot after i add a guild to kos.

Offline keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #28 on: March 05, 2009, 04:50:37 am »
i got this working (finally)
any chance of getting it to automatically check if KoS player are online when you call the list?
Also, am having issues adding guilds to the list, with or without a space, with or without a reason

Offline dillinger

  • BeBot Apprentice
  • ***
  • Posts: 91
  • Karma: +0/-0
Re: KOS Module w/ Guild KOS
« Reply #29 on: December 20, 2009, 03:20:46 am »
This module works fine, but when I want to add a guild to the KOS list (!kos gadd SampleGuild) I will get the message: Learn how to use the command. See !help kos.

I am SUPERADMIN and the permissions are allready set with !commands subs kos

Any idea whats going on here?

dill

 

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