PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: zehrkool on 11 April, 2005, 02:25:14

Title: AXDC Web Chat Client
Post by: zehrkool on 11 April, 2005, 02:25:14
Does anyone have the script to allow AXDC Clients in LUA5 ?

This is the code I used for LUA4, maybe someone could convert it, coz i suck at lua5 :(


Quotefunction DataArrival(user, data)
if strfind(data, "$Web") then return 1 end
end

Thanks in advance  :)
Title:
Post by: BottledHate on 11 April, 2005, 02:38:50
strfind --> string.find
Title:
Post by: bastya_elvtars on 11 April, 2005, 02:38:50
function UnknownArrival(user, data)
     if string.sub(data,1,4)= "$Web" then return 1 end
end

-- // edit

Seems I just ruined the return of BotledHate what I was looking forward...  8)
Title:
Post by: zehrkool on 11 April, 2005, 08:55:56
Thanks guys, I'll try that out.

I didnt know it would be that simple :)
I should learn LUA5 !
Title:
Post by: zehrkool on 15 April, 2005, 01:02:41
For some reason neither or those codes work :(
I get the following message:

Quote> $MyPass "password"|
> $Version 1.0091|
> $GetNickList|
> $MyINFO $ALL "username" $Web$ $|$|$0$|
x User removed "username" [Socket 540)
I have tried logging in as NetFounder but with the same error.
Can anyone help ?

I'm running:
PtokaX build 16.09
Robocop 10.01c
Title:
Post by: PPK on 15 April, 2005, 01:39:17
QuoteOriginally posted by zehrkool
> $MyINFO $ALL "username" $Web$ $|$|$0$|
If this is real myinfo send by AXDC then is here only one help, fix this buggy client :rolleyes:

PtokaX not accept clients with corrupted myinfo :)
Title:
Post by: zehrkool on 15 April, 2005, 12:19:39
QuoteOriginally posted by PPK
PtokaX not accept clients with corrupted myinfo

I used to be able to connect to pre PtokaX 0.3.3.0 versions with AXDC,  but now I can't. :(

Does anyone know any good web based dc clients ?
Title:
Post by: Optimus on 15 April, 2005, 13:10:38
there is one called javadc.jar

- Optimus
Title:
Post by: Cobalt on 15 April, 2005, 14:14:18
We have web based client for DC :-)))

like a java applet,.. it works fine
but now is uploaded version with some cosmetic bug - works fine

you can check it out on our website
Czech re(s)PUBlica HUB web

our web based java client (http://cz-pub.no-ip.com/Mambo451/index.php?option=com_content&task=view&id=37&Itemid=48)

its not perfect .. i know. i wont to do some changes in future .. but ...you can try.

!client is set up to access only to our hub ( for this time )
!access is permited only if the applet is runing from our web server

*this wrote creater od Java DC live web chat (or what you want to call this monstrum ) .... Ernest ... from account of friend Cobalt
Title:
Post by: zehrkool on 26 April, 2005, 09:49:45
QuoteOriginally posted by Optimus  
there is one called javadc.jar

I have tried this and it works great, however I need to find another client which is web-based and doesn't require any additional software, this is so that I can log on to my hub from work.
As you may know javadc requires JRE 1.3 to run, and where I work there are many restrictions with the internet usage ie. no installation of software etc. :(

This is why I originally used AXDC as this is an internet plugin.

QuoteOriginally posted by Cobalt  
We have web based client for DC :-)))
like a java applet

This client version is just what I am looking for, do you have a public version avaliable for download ? Even a beta just to test it on my own hub ?


Again thanks everyone for a great scripting site and hub software.
Title:
Post by: er.nest on 27 April, 2005, 17:54:25
1.
so ... primary my Web client isnt open source ( for now ).. i want to make some public release but there are some problems ( fakers for example )

i want to make some .. deal ...deal with mr. Optimus
i want to make my client detectable for Robocop Skript and prevent for use of client like a faker tool...
so but this is different story i mean :-)

i want to make client working only with Robocop ( and maybe other skripts ) ... we can talk about this point

2.

client is only Java Applet ...you need Java Runtime Enviroment .... but other java clients are not accommodated for use like a applet
restrictions for applet is very high

so .. client must be downloaded and runned from same server like a hub! (basicly we can use inbuilded web server in ptokax... and then other webhosting )
applet can make connection ( to port 411 or other - 80 if you have redirected port ) only back to source server

3.
few users and ops want use my client... so, i have just now something necessary to do...but then i want to solve all things about client...
in this time ..i can make some version for test - without source codes - and seted up on your hub if you want

Ernest - bad java programator :-)
Title:
Post by: zehrkool on 28 April, 2005, 14:57:13
This java client sounds good, however I need to get a client that can run without having any other products installed such as java runtime enviroment. This is so that I can connect to my hub from work, and currently I do not have the administration rights to install any applications (i can use dc++ but it isn't allowed to connect to hubs by my works proxy server) :(

It would be ideal if I could get AXDC to connect but PtokaX doesn't recognise this as a valid client and I have no idea how to add a client.

If you could get a java client running without having to install the runtime enviroment, I would be more than happy to use your client.

Many thanks
Title:
Post by: er.nest on 28 April, 2005, 21:13:33
:-) so ..

this is problem,..
if i want to use ability to run under all (almost) web clients running under diferent OS... i muss use Java.

AXDC is Active X aplication.. -> only for windows ( windows are ok for me ...but for other users ...)

... I can use Java ...or .Net Framework ...but both need some Virtual Machine -> software installation -> bad for you, i know (windows 9x have java virtual machine inbuilded )

and here is one other thing... connection ...
i dont know how is realized AXDC, but my applet work like a normal client - my applet make normal connection to port ( 411 or other )
...so in some cases isnt possible make connection through firewall... i can solve this thing with use some other port for server ( or port redirection )

on most of hubs(servers) is free for example "mail port" 23 - this port is frequently opened for traffic .... but i dont know about some other way to make connection through firewall ( i dont calculate with HTTP tunneling or somthing like that )

i am very sorry ..but this i cannot solve

Ernest