Menu
 
FAQFAQ
SearchSearch

MemberlistMemberlist

UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messages
Log in to check your private messages
Log inLog in
 
 

Community
 

MIRC TRACKER

 
Post new topic   Reply to topic    Winbolo.net Forum Index -> Addons
View previous topic :: View next topic  
Author Message
harl91



Joined: 20 May 2006
Posts: 252

PostPosted: Mon Mar 12, 2007 11:43 pm    Post subject: MIRC TRACKER Reply with quote

I have made this tracker to elimate any bot script tracker so that the channel doesn't get cluttered, and to make an irc client all you need (besides winbolo) to play a winbolo game.

Requirments
MIRC
WINBOLO

Instructions.

1) When you are in irc, press (alt + r)
2) Go top top of window. File -> New
3) Copy and paist this into that blank window, and click ok

Code:

menu channel,status {
  Tracker:dialog -m tracker tracker
}

dialog Tracker {

  title "Tracker"
  size 300 200 255 200
  option dbu

  Text "Server:", 3, 20 120 175 7
  Text "Map:", 4, 20 127 100 7
  text "Players:", 5, 20 134 100 7
  text "Type:", 6, 20 141 100 7
  combo 2, 10 10 125 100, sort
  box "Tracker", 50, 5 2 245 190
  box "Game Info", 51, 10 110 210 50

  button "Track / Refresh",  1, 135  10  60  20
  button "Join", 7, 10 165 60 20
}

on *:dialog:Tracker:sclick:*:{
  if ($did == 1) { did -r tracker 2 | sockclose winbolo | set %count 0 | sockopen winbolo tracker.winbolo.net 50000 }
  if ($did == 7) { run winbolo:// $+ %server }
  if ($did == 2) { tokenize 32 $did(tracker, 2).seltext | set %read $1 | set %info $read(tracker.txt, s, %read) | tokenize 32 %info | set %server $1 | set %players $2 | set %type $3 | set %map $4- | did -ra tracker 3 Server: %server | did -ra tracker 4 Map: %map | did -ra tracker 5 Players: %players | did -ra tracker 6 Type: %type }
}

on *:sockopen:winbolo:{
  if ($sockerr) return
  var %d = sockwrite -n $sockname
  %d GET / HTTP/1.1
  %d Host: tracker.winbolo.net
  %d Accept: */*
  %d Connection: Close
}

on *:sockread:winbolo:{
  if ($sockerr > 0) trke
  var %a
  while (1) {
    sockread %a
    if ($sockbr == 0) break
    tokenize 61 %a
    if (GAME* iswm $1) {
      ctrk
      trk server $2
    }
    else trk $1-
    if ($1 == STARTTIME) $game
  }
  .timertrackh 1 2 trkd
}

alias ctrk {
  hfree tracker
}
alias trke {
  .notice %trk.nick Error, try again later.
  trkd
  halt
}
alias trkd {
  unset %trk.nick
  hfree tracker
}
alias trk {
  if ($isid) return $+($hget(tracker,$1))
  hadd -m tracker $1-
}
alias game {
  inc -c %count 1
  if (%count == 1) write -c tracker.txt
  write tracker.txt %count $+ : $trk(server) $trk(players) $trk(type) $trk(map)
  did -a tracker 2 %count $+ : $trk(server)
}


all you have to do to get this tracker to work, is just right click on the channels chat window, and the option "tracker" should show up.


Feedback/suggestions????


Last edited by harl91 on Tue Mar 13, 2007 9:02 am; edited 1 time in total
Back to top
View user's profile Send private message
underdog



Joined: 23 Feb 2003
Posts: 469

PostPosted: Tue Mar 13, 2007 1:49 am    Post subject: Reply with quote

maybe acrhive the script in the mirc installer so we can have an "irc winbolo bundle" download, so new players have an easier time getting started?

i think the biggest reason new players dont stick to winbolo is because of the high learning curve and huge amounts of configurations. if it was easy as install, and double click to open irc, then more people that are new would be able to easily get help from people online right away as well as have people to show them how to play etc
Back to top
View user's profile Send private message MSN Messenger
harl91



Joined: 20 May 2006
Posts: 252

PostPosted: Tue Mar 13, 2007 9:03 am    Post subject: Reply with quote

ya for sure, ive noticed too that alot of people have problems setting up stuff like this. Its definatly do-able

what i can do, is ifanyone has any other scripts that they would like to contribute, i can make an mirc/winbolo installer, and ill ask lrl for a winbolo domain. Then i can make a walkthrough website Smile
Back to top
View user's profile Send private message
harl91



Joined: 20 May 2006
Posts: 252

PostPosted: Tue Mar 13, 2007 11:52 pm    Post subject: Reply with quote

nice! i remember trying to setup a "winbolofan" website back in the summer. Fortunatly, its still setup! ill use it for now as the site for that. I didn't make the install package yet, it will be up tomorrow.

Let me know guys what you think of the website!!!


winbolofan.winbolo.us

remember, its purpose is to help new people setup winbolo more easly.

suggestions/feedback????
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Winbolo.net Forum Index -> Addons All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 
 
 
Winbolo.net Copyright ©2003 John Morrison