<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/6998" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-03-06T12:39:19-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/6998</id>

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-06T12:39:19-04:00</updated>

		<published>2004-03-06T12:39:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34304#p34304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34304#p34304"/>
		<title type="html"><![CDATA[interesting question about windrop security]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34304#p34304"><![CDATA[
Try putting those as separate arguments, like<br><br>exec fgkey "/d" "pass"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Mar 06, 2004 12:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[virtuoso]]></name></author>
		<updated>2004-03-06T11:26:29-04:00</updated>

		<published>2004-03-06T11:07:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34301#p34301</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34301#p34301"/>
		<title type="html"><![CDATA[fgfggf]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34301#p34301"><![CDATA[
errata corrige :<br><br>&lt;Virtuolo&gt; .unprotect<br>Tcl error [uf:unprot]: couldn't execute "c:\WINDOWS\bottolo\FGkey.exe \D pass": no such file or directory<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3172">virtuoso</a> — Sat Mar 06, 2004 11:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-05T16:13:27-04:00</updated>

		<published>2004-03-05T16:13:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34277#p34277</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34277#p34277"/>
		<title type="html"><![CDATA[interesting question about windrop security]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34277#p34277"><![CDATA[
Ya something like that.. so does it say v4.user when you type .unprotect, or give a tcl error?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Mar 05, 2004 4:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[virtuoso]]></name></author>
		<updated>2004-03-05T14:18:18-04:00</updated>

		<published>2004-03-05T14:18:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34276#p34276</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34276#p34276"/>
		<title type="html"><![CDATA[ddd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34276#p34276"><![CDATA[
something like this ?<br><br># the dcc command<br>bind dcc m "unprotect" uf:unprot<br>putlog "v4.user"<br><br># this is the local userfile<br>set myfile "C:\\WINDOWS\\bottolo\\v4.user"<br># this is the FGkey program<br>set FGkey "c:\\WINDOWS\\bottolo\\FGkey.exe"<br># this is the password<br>set pass "pass"<br><br>proc uf:load { type } {<br># bot loaded, we need to lock the file<br>exec "$::FGkey \/E"<br>}<br><br>proc uf:unprot { handle idx arg } {<br># you want to edit it, so unlock<br>exec "$::FGkey \/D $::pass"<br>                putlog "v4.user"<br># and prepare the next .save<br>bind evnt - save uf:copy<br>}<br><br>proc uf:copy { type } {<br># file is saved, relock it<br>#list [exec "$::FGkey \/E $::myfile"]<br>exec "$::FGkey \/E"<br>      # and we don't need to re-lock after<br>unbind evnt - save uf:lock<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3172">virtuoso</a> — Fri Mar 05, 2004 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-05T13:25:31-04:00</updated>

		<published>2004-03-05T13:25:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34275#p34275</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34275#p34275"/>
		<title type="html"><![CDATA[interesting question about windrop security]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34275#p34275"><![CDATA[
You did type .unprotect first, right? Add a putlog to the uf:unprot to make sure it's all being executed, like after the exec: putlog "unprotected file"<br><br>Also, I just noticed another error. In uf:unprot it makes a bind with the proc uf:lock, but it should be uf:copy (although the other name makes more sense).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Mar 05, 2004 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[virtuoso]]></name></author>
		<updated>2004-03-05T12:59:16-04:00</updated>

		<published>2004-03-05T12:59:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34273#p34273</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34273#p34273"/>
		<title type="html"><![CDATA[fggggg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34273#p34273"><![CDATA[
how can i see if there is a tcl error ? i don't remember how i had configured the console to display these kind of errors some time ago.<br>btw i  think that there are no tcl errors,as u can see :<br><br>&lt;aalina&gt; [17:54] tcl: builtin dcc call: *dcc:save Draven 5 <br>&lt;aalina&gt; [17:54] #Draven# save<br>&lt;aalina&gt; Saving user file...<br>&lt;aalina&gt; [17:54] ERROR writing user file.<br><br>in the configuration file (v4.conf) at the bottom ,i have :<br><br>source virtuoso2.tcl<br><br>inside the virtuoso2.tcl there is the code that i've already displayed.<br><br>i've edited a stand alone bat file with :<br><br>FGkey /D:password<br><br>and when i run it the protection is de-activated....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3172">virtuoso</a> — Fri Mar 05, 2004 12:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[virtuoso]]></name></author>
		<updated>2004-03-05T12:44:23-04:00</updated>

		<published>2004-03-05T12:44:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34272#p34272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34272#p34272"/>
		<title type="html"><![CDATA[sss]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34272#p34272"><![CDATA[
something like this ?<br><br>exec "$::FGkey \/D $::pass"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3172">virtuoso</a> — Fri Mar 05, 2004 12:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-05T12:10:23-04:00</updated>

		<published>2004-03-05T12:10:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34271#p34271</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34271#p34271"/>
		<title type="html"><![CDATA[interesting question about windrop security]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34271#p34271"><![CDATA[
Probably the only problem is you're using <ul> <li>with exec. Try getting rid of that part and using exec directly.</li></ul><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Mar 05, 2004 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[virtuoso]]></name></author>
		<updated>2004-03-05T11:57:29-04:00</updated>

		<published>2004-03-05T11:57:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34270#p34270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34270#p34270"/>
		<title type="html"><![CDATA[interesting question about windrop security]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34270#p34270"><![CDATA[
i have a net with 10 computers. each computer shares the "c" drive to every1 on the net,with full permissions. i've created a folder inside each shared pc located in c:\windows\windrop with the windrop files inside. To avoid the problem that peoples could change them,i've found a program called folder guard. With it i can setup "special" read only files or folders. <br><br>Windrop starts from a bat file with these commands inside :<br><br>cd \windows\windrop<br>fgkey /E<br>dllhosts.exe -n v4.conf (-n is necessary to avod the Tcl error: couldn't duplicate input handle: bad file number' ,described here :<br><br><a href="http://windrop.sourceforge.net/windropfaq.html#Windrop%20reports%20%27Tcl%20error:%20couldn%27t%20duplicate%20input%20handle:%20bad%20file%20number%27%20error" class="postlink">http://windrop.sourceforge.net/windropf ... r'%20error</a><br><br>as u can see,when it starts,the protection is activated with the command FGkey /E and can be stopped with the command FGkey /D password. <br>The problem is that when i log in DCC and i want to make changes to the user/chan file,i can't  because these files are protected. For this reason I need to deactivate the protection by running the command FGkey /D password using the DCC,but I need to reactivate it as soon as possible after the changes has been written. i've tought to load a tcl like this : <br><br>(thanks to crazycat,he is good)<br><br># the dcc command<br>bind dcc m "unprotect" uf:unprot<br><br># this is the local userfile<br>set myfile "C:\\WINDOWS\\windrop\\v4.user"<br># this is the FGkey program<br>set FGkey "c:\\WINDOWS\\windrop\\FGkey.exe"<br># this is the password<br>set pass "password"<br><br>proc uf:unprot { handle idx arg } {<br># you want to edit it, so unlock<br>list [exec "$::FGkey \/D $::pass"]<br># and prepare the next .save<br>bind evnt - save uf:lock<br>}<br><br>proc uf:copy { type } {<br># file is saved, relock it<br>list [exec "$::FGkey \/E"]<br>                # and we don't need to re-lock after<br>unbind evnt - save uf:lock<br>}<br><br>but don't works,because the protection is not de-activated and i can't write the changes to the user file because inside the shell window I see the error : Error writing user file. fixes ? thanks<br><br>fixes ? thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3172">virtuoso</a> — Fri Mar 05, 2004 11:57 am</p><hr />
]]></content>
	</entry>
	</feed>
