http://hlds.pl/index.php?action=history&feed=atom&title=Psychostats2EggdropPsychostats2Eggdrop - Historia wersji2024-03-28T23:39:28ZHistoria wersji tej strony wikiMediaWiki 1.18.1http://hlds.pl/index.php?title=Psychostats2Eggdrop&diff=5868&oldid=prevKaszpiR: /* Ideas */2006-10-22T09:50:05Z<p><span class="autocomment">Ideas</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← poprzednia wersja</td>
<td colspan='2' style="background-color: white; color:black;">Wersja z 09:50, 22 paź 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Linia 6:</td>
<td colspan="2" class="diff-lineno">Linia 6:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=Ideas=</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=Ideas=</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Grafika:Psychostats2eggdrop.jpg|thumb|right]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* eggdrop tcl asks for www page with given parameter</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* eggdrop tcl asks for www page with given parameter</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* php checks if parameter is correct (to avoid exploits), then runs SQL query, and produces output based on given template file</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* php checks if parameter is correct (to avoid exploits), then runs SQL query, and produces output based on given template file</div></td></tr>
<!-- diff cache key wiki-wiki:diff:version:1.11a:oldid:5867:newid:5868 -->
</table>KaszpiRhttp://hlds.pl/index.php?title=Psychostats2Eggdrop&diff=5867&oldid=prevKaszpiR: /* PHP Part */2006-10-22T09:49:38Z<p><span class="autocomment">PHP Part</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← poprzednia wersja</td>
<td colspan='2' style="background-color: white; color:black;">Wersja z 09:49, 22 paź 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Linia 36:</td>
<td colspan="2" class="diff-lineno">Linia 36:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*few modes that can show stats in a rows for multiple playes (clans, ip class range, few steamids)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*few modes that can show stats in a rows for multiple playes (clans, ip class range, few steamids)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* request stats per ip, id, Steamid, nick</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* request stats per ip, id, Steamid, nick</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">[[Grafika:Psychostats2eggdrop.jpg]]</del></div></td><td colspan="2"> </td></tr>
<!-- diff cache key wiki-wiki:diff:version:1.11a:oldid:5866:newid:5867 -->
</table>KaszpiRhttp://hlds.pl/index.php?title=Psychostats2Eggdrop&diff=5866&oldid=prevKaszpiR: /* Cons */2006-10-22T09:47:32Z<p><span class="autocomment">Cons</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← poprzednia wersja</td>
<td colspan='2' style="background-color: white; color:black;">Wersja z 09:47, 22 paź 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Linia 21:</td>
<td colspan="2" class="diff-lineno">Linia 21:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* requres aditional file in php</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* requres aditional file in php</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* require extra tcl script for retreivng data from www, but most users that use RSS readers, Weather scripts or Google search tools allready have it</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* require extra tcl script for retreivng data from www, but most users that use RSS readers, Weather scripts or Google search tools allready have it</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* php script should be (but not must be) on the same host where PsychoStats are hosted.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">=TCL part=</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* probably will require HTTP module/script</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* antiflood, allowed/not allowed irc users (level flags)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* chan flag for modes, so you can disable chan triggers</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* different definable php url script per chan, for example if oyu got set of psychostats that are on verious hosts, and the bot sits on few chans that are related to different games - in example you don't want to show CS 1.6 stats on DOD Source channel :), </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">=PHP Part=</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* dig in the psychostats sourcecode, easier to integrate with future versions , like PsychoStats 3.0 , by importing class :)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* use xtemplate as a class to create output templates - simple and easy, the psychostats template use would be overkill</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* restrict access to certan hosts - so in example only eggdrop can access it </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* cache output, </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">*few modes that can show stats in a rows for multiple playes (clans, ip class range, few steamids)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* request stats per ip, id, Steamid, nick</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Grafika:Psychostats2eggdrop.jpg]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Grafika:Psychostats2eggdrop.jpg]]</div></td></tr>
<!-- diff cache key wiki-wiki:diff:version:1.11a:oldid:5865:newid:5866 -->
</table>KaszpiRhttp://hlds.pl/index.php?title=Psychostats2Eggdrop&diff=5865&oldid=prevKaszpiR: /* Pros */2006-10-22T09:40:41Z<p><span class="autocomment">Pros</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← poprzednia wersja</td>
<td colspan='2' style="background-color: white; color:black;">Wersja z 09:40, 22 paź 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Linia 16:</td>
<td colspan="2" class="diff-lineno">Linia 16:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* template makes it easier to edit output format - you do not have to use a plain text, you can change it to RSS feed aswell, or later integrate it to WWW in some intranet website</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* template makes it easier to edit output format - you do not have to use a plain text, you can change it to RSS feed aswell, or later integrate it to WWW in some intranet website</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* you can easily restrict access to the script</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* you can easily restrict access to the script</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* php script will be mainly ripped directly from psychostats, so most work is allready done</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Cons==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Cons==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* requres aditional file in php</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* requres aditional file in php</div></td></tr>
<!-- diff cache key wiki-wiki:diff:version:1.11a:oldid:5864:newid:5865 -->
</table>KaszpiRhttp://hlds.pl/index.php?title=Psychostats2Eggdrop&diff=5864&oldid=prevKaszpiR o 09:32, 22 paź 20062006-10-22T09:32:43Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← poprzednia wersja</td>
<td colspan='2' style="background-color: white; color:black;">Wersja z 09:32, 22 paź 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Linia 6:</td>
<td colspan="2" class="diff-lineno">Linia 6:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=Ideas=</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=Ideas=</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* eggdrop tcl asks for www page with given parameter</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* php checks if parameter is correct (to avoid exploits), then runs SQL query, and produces output based on given template file</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* eggdrop recieves data and passess them to the irc channel, or privmsg to player</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Pros==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* not everyone can connect to remote mysql host</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* integrating sql witin tcl will make file too large and hard to edit output</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* php connects to mysql better :)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* template makes it easier to edit output format - you do not have to use a plain text, you can change it to RSS feed aswell, or later integrate it to WWW in some intranet website</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* you can easily restrict access to the script</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Cons==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* requres aditional file in php</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* require extra tcl script for retreivng data from www, but most users that use RSS readers, Weather scripts or Google search tools allready have it</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Grafika:Psychostats2eggdrop.jpg]]</ins></div></td></tr>
<!-- diff cache key wiki-wiki:diff:version:1.11a:oldid:5862:newid:5864 -->
</table>KaszpiRhttp://hlds.pl/index.php?title=Psychostats2Eggdrop&diff=5862&oldid=prevKaszpiR o 09:25, 22 paź 20062006-10-22T09:25:08Z<p></p>
<p><b>Nowa strona</b></p><div>{{psychostats}}<br />
[[kategoria:boty]]<br />
<br />
=Description=<br />
Accessing [[PsychoStats]] statistics from the Eggdrop TCL script , so the players can check their statistics on [[IRC]].<br />
<br />
=Ideas=</div>KaszpiR