warsql

The general catch-all forum for Action Quake2 related discussions.

Moderator: Moderators

Post Reply
Dragoneye
joined the game
Posts: 44
Joined: Sun Aug 29, 2004 2:58 pm
Location: fi

warsql

Post by Dragoneye »

me and z0 modifyed one script to war/news add/del script for eggdrop
it uses mysql database wich contains the information.
as far as i know my clan (farmitiimi) and z0's clan(jÄgarna)
are the only one who are using this script.
i.e. u can type !addwar team1 map1 1 1 map2 2 2 "gg nice match"
map1= map1 name like deepcanyon and 1 1 is the map score
then the bot will say:
privchannel [addwar] 1 war at database.
privchannel yourtag vs team1 3-3
pubchannel yourtag vs team1 3-3 , read more info at http://yourclanpage.com
also if u wanna u can make the bot change topic to
"http://yourclanpage.com - last war: team1 3-3"

then u can also view it with !lastwar command
and the bot will say:
[lastwar] id #1 * vs team1 * score 3-3 * maps map1,map2 report:gg nice match

more commands/info u can get by typing !help @ your channel where the bot is.

if ppl want this plz msg me ( Dragoneye^ @ qnet #farmitiimi), the packet contains default page(by uitto) & tcl script
tcl script needs fbsql.so wich comes in the packet but not might work in your eggdrop, more info @ http://www.fastbase.co.nz/fbsql/index.html
sry bad english / typo
Last edited by Dragoneye on Fri May 13, 2005 7:54 pm, edited 3 times in total.
n99
"Sticks and Stones..."
Posts: 882
Joined: Sat Jun 05, 2004 6:41 pm
Location: nl

Post by n99 »

Good initiative, dunno if you like the idea, but unless u intend to add alot more features I think it's a good idea to approach one of the big aq2 bot guys out here, for instance z0rbot, maybe this can offer this as an extended service, or even a fully integrated one...
Gore Vidal: "To succeed is not enough. Others must fail."
sajh
is legless
Posts: 560
Joined: Fri Sep 12, 2003 7:26 am
Location: se

Post by sajh »

jep, quite useful script.. developed one of these about 1 year ago.. but noone wanted to use it :)
whine...<br />
"på kvällarna förvandlas den spenslige solidas till....... STÅL-TIRRE!" - minch<br />
"i hoped i cud get a chance in iN when i saw even solidas cud do it " - Snigge/2fast4j00<br />
"iN minus sajh would be a nice clan and way better, but i would never ever stand playing with such an annoying player, lucky me that i didnt get a try in iN" - Romo
" it seems he is a "rich" mans child with to much attitude, he's like the man version of Paris Hilton... such a jerk" - Romo
Hawk
found a way out
Posts: 202
Joined: Thu Sep 18, 2003 7:09 pm
Location: se
Contact:

Post by Hawk »

might be that it's to hard to set up for alot of people, requiring a mysql server and a linux box
inter-net is good, that means inter-great should be even better
Haudrauf
tripped on its own grenade
Posts: 331
Joined: Tue Aug 26, 2003 11:20 am
Location: de
Contact:

Post by Haudrauf »

n99: It looks like a script for internal clan usage, not like it's about distributing clanwar-info to other channels except your own public clanchannel.

Right Dragoneye?
ImageOwner of http://aq2maps.quadaver.org
Not part of #aq2admins for a reason.
Dragoneye
joined the game
Posts: 44
Joined: Sun Aug 29, 2004 2:58 pm
Location: fi

Post by Dragoneye »

Haudrauf wrote:n99: It looks like a script for internal clan usage, not like it's about distributing clanwar-info to other channels except your own public clanchannel.

Right Dragoneye?
yeap only your own clan public/private channel's
Last edited by Dragoneye on Sat May 14, 2005 6:03 am, edited 1 time in total.
imeiz
is legless
Posts: 551
Joined: Sun Aug 29, 2004 1:46 pm
Location: et

Post by imeiz »

i think that with it you can add clanwars on your pages,
Dragoneye wrote:the packet contains default page(by uitto) & tcl script
Sync' imeiz - AQ2Suomi & AQ2World forum moderator, part-time TATM-writer
Clown
unpossible??!?!!
Posts: 1750
Joined: Sun Jul 27, 2003 7:38 am
Location: en

Post by Clown »

And remind me why it must be private again?
I don't give a shit.
Dragoneye
joined the game
Posts: 44
Joined: Sun Aug 29, 2004 2:58 pm
Location: fi

Post by Dragoneye »

Clown wrote:And remind me why it must be private again?
well u can turn it off if u wanna, but the privmsg is for u to c if your command worked & u writed it right.
Dragoneye
joined the game
Posts: 44
Joined: Sun Aug 29, 2004 2:58 pm
Location: fi

Post by Dragoneye »

little update but im sure that no1 cares...

Commands for Farmitiimi members:
!disconnect : Disconnects from the database.
!addwar : Add's a cw type !addwar for more info.
!lastwar : Shows last played war.
!warstats : Shows how many cw's in database.
!delwar : Deletes war from the database type !delwar for more info.
!calc : Simple calculator.
!help : This file
!addnews : Add's a new news to the database.
!delnews : Removes selected news from the database.
!lastnews : Displays last added news to channel.
!newsstats : Displays how many news in database.
!addtag : Add's clan tag to database.
!say : Bot writes a message that you want

Commands for admins:
!join : Bot joins to channel.
!part : Bot leaves from the channel.
!restart : Bot reboots.
!rehash : Bot rehashes himself.

Commands for normal user:
!apua : Try it!
!farm : Displays players who are on our server
!farmers : Search Farmers from aq2-servers
!kuakettaja : Wizdom words
!readme : Sends this helpfile
!addme : If you are interested to join our group use this command and fill the format.
!challenge : If your clan wanna challenge us use this command.
tyldis
sank like a rock
Posts: 106
Joined: Sat Oct 25, 2003 12:39 pm
Location: no
Contact:

Post by tyldis »

Cool project! I'll see if I get around to modifying it for fubar's site one day.
Down, not across.
Dragoneye
joined the game
Posts: 44
Joined: Sun Aug 29, 2004 2:58 pm
Location: fi

Post by Dragoneye »

*UPDATE*

Commands for Farmitiimi members:
!addwar : Add's a cw type !addwar for more info.
!delwar : Deletes war from the database type !delwar for more info.
!addnews : Add's a new news to the database.
!delnews : Removes selected news from the database.
!lastnews : Displays last added news to channel.
!lastwar : Shows last clanwar
!addtag : Add's selected tag
!deltag : Deletes selected tag
!taglist : Shows taglist
!tagstats : Shows how many tags & info is in the database
!warstats : Shows how many games have clan played
!newsstats : Shows how many news does bot have in the database
!cws : Shows clanwars against selected opponent
!memberlist : Shows memberlist
!memberinfo : Shows info from selected member
!say : Bot writes a message that you want
!3on3 : Add's 3on3 matchfind
!4on4 : Add's 4on4 matchfind
!kb : Kick and bans selected guy
!calc : Simple calculator.
!help : This file
!rcon : Rcon commands for maggies express 1/2.
!ws : Warannounce to server, when looking for cw. (need Gsbot/Z0rbot)

Master commands
!addmember : Add's new member
!delmember : Deletes selected member
!memberstatus : Changes memberstatus
!part : Part selected channel
!join : Join Selected channel
!rehash : Bot rehashes
!restart : Bot restats

Private commands.
!addinfo : Every member can add some personalinfo to the pages using this command


Commands for normal user:
!apua : Try it!
!farm : Displays players who are on our server
!farmers : Search Farmers from aq2-servers
!kuakettaja : Wizdom words
!readme : Sends this helpfile
Image
z0
plummets to its death
Posts: 54
Joined: Fri Aug 08, 2003 1:13 pm
Location: se
Contact:

Post by z0 »

great that u still develop this thingie dragon :) will try it out again, nice to have, too bad hawks webserver is offline so i cant use it anymore.
peaz
Post Reply