PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: (????H??v?????v?L????) on 10 June, 2004, 13:25:38

Title: Euro 2004 bot
Post by: (????H??v?????v?L????) on 10 June, 2004, 13:25:38
I would like a bot to display all the groups and a teams in a table.

Hear comes the tricky bit.

I would all so like it to be able to auto update it self so when a team is knocked out ect, and past it to main chat every time.

Will this be able to be done or is it  impossible ???


thanx
Heavens Devil
Title:
Post by: QuikThinker on 10 June, 2004, 14:10:20
It would be nice 2 have a bot updates all the users on the tournament as most of the users r European too but it aint gonna be possible 2 auto-update coz where is it gonna get the info from??
You'll have 2 update it manually.
Title:
Post by: plop on 10 June, 2004, 14:35:38
QuoteOriginally posted by (????H??v?????v?L????)
I would like a bot to display all the groups and a teams in a table.

Hear comes the tricky bit.

I would all so like it to be able to auto update it self so when a team is knocked out ect, and past it to main chat every time.

Will this be able to be done or is it  impossible ???


thanx
Heavens Devil
it's posible.

plop
Title:
Post by: Cyberia on 10 June, 2004, 17:18:51
Seems to be nice.
And the winner is......
The Netherlands

Lol  :D
Title:
Post by: QuikThinker on 10 June, 2004, 17:33:34
QuoteOriginally posted by Cyberia
Seems to be nice.
And the winner is......
The Netherlands

Lol  :D

Dunno if you've got a virus or suttin but u meant 2 say England  :D
Title:
Post by: oblivion on 10 June, 2004, 18:20:28
Dunno if you've got a virus or suttin but u meant 2 say England  :D
[/QUOTE]


2nd that :D
Title:
Post by: [PT]CableGuy on 10 June, 2004, 19:38:36
What a....worderfull ideia !!!  :]

Beeing myself Portuguese  i must say...may the best team win !!!
But i would love , if it was Portugal  !!! :D


Can i help in any way , to develop this script ?
Title: LoL
Post by: Cp6uja on 10 June, 2004, 19:40:01
:D

Nice Idea (????H??v?????v?L????) !!!
I'm looking this script too !!!

 :D  

/Cp6uja
Title:
Post by: Cyberia on 10 June, 2004, 20:09:09
lol  :D
Don't think we get on the same line
Title:
Post by: nEgativE on 10 June, 2004, 20:20:06
lol.. nice ideia :)

Portugal !! =)
Title:
Post by: Troubadour on 10 June, 2004, 20:26:09
The idea is great, but who is writing it (or has just started the script) ?
Could use the NOS pages to update the bot with for the results.
Good Luck,

Troubadour
Title:
Post by: Cyberia on 10 June, 2004, 20:55:50
Yups good idea Troubadour.
If it's possible it would be great.
Also actual updates about goals possible then i guess
lol  :D
Title:
Post by: (????H??v?????v?L????) on 10 June, 2004, 22:59:22
QuoteOriginally posted by Cp6uja
:D

Nice Idea (????H??v?????v?L????) !!!
I'm looking this script too !!!

 :D  

/Cp6uja

Hi, i just like to say thanx and good luck to ppl looking in to the script, and good luck to all the teams  :)

Im not to good with LUA but if i can help in any way just let me know, would be more then happy to help out  :))

hehe we all know England is going to win  :P
Title:
Post by: Herodes on 10 June, 2004, 23:02:20
QuoteOriginally posted by (????H??v?????v?L????)
QuoteOriginally posted by Cp6uja
:D

Nice Idea (????H??v?????v?L????) !!!
I'm looking this script too !!!

 :D  

/Cp6uja

Hi, i just like to say thanx and good luck to ppl looking in to the script, and good luck to all the teams  :)
......

I think he meant he is looking for this scirpt too..
(no offense)
Title: oops
Post by: (????H??v?????v?L????) on 10 June, 2004, 23:17:47
ooops soz must of miss read it
Title:
Post by: nErBoS on 11 June, 2004, 02:18:55
Hi,

I would love to do this script, but i am having a lot of work in universaty. But maybe a scripter can start on doing this. By the way give us info from Euro 2004, please, like:

The Grups;
Date of the Games.

This kind of script will have to be update it manualy.

Best regards, nErBoS
Title:
Post by: Millsy on 11 June, 2004, 03:19:34
You Can Find All The Info Here http://www.socceraddicts.com/euro2004/index.html (http://www.socceraddicts.com/euro2004/index.html)
Title:
Post by: [PT]CableGuy on 11 June, 2004, 03:41:12
Hope this can help.. :D

 
(http://pwp.netcabo.pt/hub.tudonosso/images/euro2004.jpg)


GROUPs:  

GROUP A:  
GREECE
 PORTUGAL
 RUSSIA
 SPAIN
   

GROUP B:  
CROATIA
 ENGLAND
 FRANCE
 SWITZERLAND
   
 
GROUP C:  
BULGARIA
 DENMARK
 ITALY
 SWEDEN
   

GROUP D:  
CZECH REPUBLIC
 GERMANY
 LATVIA
 NETHERLANDS  
 


MATCHES:  

All Matches Phase 1  
 
(12 June 2004 - Group A)  
Portugal 17:00 Greece Drag?o - Porto
Spain 19:45 Russia Algarve - Faro-Loul?

(13 June 2004 - Group B)
Switzerland 17:00 Croatia Dr. Magalh?es Pessoa - Leiria
France 19:45 England Luz - Lisbon

(14 June 2004 - Group C)
Denmark 17:00 Italy D. Afonso Henriques - Guimar?es
Sweden 19:45 Bulgaria Jos? Alvalade - Lisbon

(15 June 2004 - Group D)
Germany 19:45 Netherlands Drag?o - Porto
Czech Republic 17:00 Latvia Aveiro Municipal - Aveiro

(16 June 2004 - Group A)
Greece 17:00 Spain Bessa - Porto
Russia 19:45 Portugal Luz - Lisbon

(17 June 2004 - Group B)
England 17:00 Switzerland Cidade de Coimbra - Coimbra
Croatia 19:45 France Dr. Magalh?es Pessoa - Leiria

(18 June 2004 - Group C)
Bulgaria 17:00 Denmark Braga Municipal - Braga
Italy 19:45 Sweden Drag?o - Porto

(19 June 2004 - Group D)
Latvia 17:00 Germany Bessa - Porto
Netherlands 19:45 Czech Republic Aveiro Municipal - Aveiro

(20 June 2004 - Group A)
Spain 19:45 Portugal Jos? Alvalade - Lisbon
Russia 19:45 Greece Algarve - Faro-Loul?

(21 June 2004 - Group B)
Croatia 19:45 England Luz - Lisbon
Switzerland 19:45 France Cidade de Coimbra - Coimbra

(22 June 2004 - Group C)
Italy 19:45 Bulgaria D. Afonso Henriques - Guimar?es
Denmark 19:45 Sweden Bessa - Porto

(23 June 2004 - Group D)
Netherlands 19:45 Latvia Braga Municipal - Braga
Germany 19:45 Czech Republic Jos? Alvalade - Lisbon
 
Quarter-final Matches  
 
(24 June 2004 - Match 25)
Winner A 19:45 Runner-up B Luz - Lisbon

(25 June 2004 - Match 26)
Winner B 19:45 Runner-up A Jos? Alvalade - Lisbon

(26 June 2004 - Match 27)
Winner C 19:45 Runner-up D Algarve - Faro-Loul?

(27 June 2004 - Match 28 )
Winner D 19:45 Runner-up C Drag?o - Porto
 
Semi-final Matches  
 
(30 June 2004 - Match 29)
Winner Match 25 19:45 Winner Match 27 Jos? Alvalade - Lisbon

(01 July 2004 - Match 30)
Winner Match 26 19:45 Winner Match 28 Drag?o - Porto
 
Final Match    

(04 July 2004 - Match 31)
Winner Match 29 19:45 Winner Match 30 Luz - Lisbon
 
More info on --> ?uro2004 (click here) (http://www.euro2004.com/tournament/index.html)
Title:
Post by: (????H??v?????v?L????) on 11 June, 2004, 03:49:40
Looks good  :D

thanx for the info :)
Title:
Post by: chill on 12 June, 2004, 11:23:27
guess you would have to do it manually cause I couldn't find a site where it shows like

games:

[date] 1 vs. 2
- - -
[date] 2 vs. 3
4 - 0
...

teams:
1 IN
2 OUT
3 IN


if one could find that on one site then you could make a bot download the info every hour or half hour.

else to parse the socceraddicts site, is a bit more socket intense, cause you would need to download to each group the games, makes 4 sites, and while using a socket you cannot use the hub.
Title:
Post by: [NL]Pur on 12 June, 2004, 11:36:17
But something that whould also be nice is when everyone can fill in their own scores too. They score they think the outcome is going tobe.
Title:
Post by: chill on 12 June, 2004, 11:46:33
haha more like a bet bot,  and then the master can fill the real results manually, nah better get them form a site , or people will adjust the resulst according to their bets.

I would do it when I find a good site, unless everyone is fine with 10 sec. of a dead hub. Or maybe someone will make it able to add the results manually.

but  I think its a good idea,
Title:
Post by: [NL]Pur on 12 June, 2004, 11:54:18
lol,

i mend as a xtra to the parsing scores from a site thing.
and then compare results ppl thought it whould be and generete a top list of ppl who we're right about it.

But since today are the first games i don't think we could write all of that this fast.
Title:
Post by: Herodes on 12 June, 2004, 11:55:45
So all we need is a publicly available list of the results in a form and format  that can be grabbed with lua and the "socks magic" that a few people in this forum have knowledge of ...

can this be a text file maybe ?  
does it really have to be publicly available for that ?

I ask these things because I see quite a number being interested in this ....
My idea was for the ppl that are interested, is to organise themselves ... ;D

One can host online somewhere 4 txt files and ppl can be sending the results ....
Someone will be responsible for the updates of Group A
another for Group B and so on ...
The script could then be running on any Hub simultaneously and receive the updates from the above txt ....    
(c'mon if u are really interested in this I think this can arranged by someone ...2 weeks can be tolerated ...)
 
Getting the data from the web is essentially getting them from a publicly available file ..

Just a thought I havent looked at the subject  in detail..
but I think it can be achieved ....
Title:
Post by: Troubadour on 12 June, 2004, 20:11:51
could use this link for updates in the bot

http://www.voetbal.nl/domains/voetbal/pages/EK2004_wedstrijden.asp?action=&id=

You could lett this page be saved in the txt directorie of your scripts directorie and let it be read back by the texter of plop!

Good Luck.
Troubadour