Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Feature Proposals / Function to reload text files
« Last post by Cêñoßy†ê on 14 October, 2021, 09:26:04 »
Hi.
I might be blind but i found only profile permissions for reloading text files

ProfilePermissions.bRefreshTxt         - Reload text files
ProfMan.tPermissions.ReloadTxtFiles - Reload text files

So im requesting function like:

TextFiles.Reload()    - Reload text files.

PtokaX 0.5.2.2 [556] Lua 5.3 x64
2
News / Re: New support hub...
« Last post by the-master on 09 October, 2021, 13:30:03 »
finaly.. I dropped it few years ago  8)
3
News / Re: New support hub...
« Last post by ruler on 09 September, 2021, 21:41:56 »
thank god for this post, last address stopped working
4
Support / Re: PtokaX BOT sharing it's own files.
« Last post by ATAG on 09 September, 2021, 18:07:19 »
There was a "commandline" dc client in the past, maybe microdc?... I used it on linux to share on my hub.

UP: Yes, on FreeBSD it is available as microdc2. Search for it with apt...

Code: [Select]
microdc2> connect 78.24.185.25:1209
Connecting to hub on 78.24.185.25:1209.
Connected to hub from 78.24.185.25:30920.
Nick accepted. You are now logged in.
Hub name is FreeBSD Teszt.
Public: <HubBot> This hub is running PtokaX DC Hub 0.5.2.2 (UpTime: 0 days, 2 hours, 19 minutes / Users: 1)
Public: <HubBot> Welcome to PtokaX
Public: <HubBot> or use "this way" to quote something...
microdc2> say Hello world!
Public: <microdc2> Hello world!
microdc2> transfers
Upload slots: 0/3  Download slots: 0/unlimited
Public: <[TD]Ella> First rule of Janine club is you do not talk about Janine club.
Public: <[Elf]Janine> Shut up Ella you stupid bitch!
microdc2> share ~/Downloads
~/Downloads: Cannot get file status - No such file or directory
microdc2> share /usr/home/atag/Downloads
Sharing 47095793159 bytes (44GiB) totally
microdc2> set listenaddr 78.24.185.25
Listening address set to 78.24.185.25.
microdc2> set listenport 65410
User ATAG is also passive. Cannot communicate.
Sharing 47095793159 bytes (44GiB) totally
microdc2> set active on
Listening on 78.24.185.25:65410.
Public: <[TD]Storm> So, who wants to buy an elfgirl a drink?
User ATAG quits.
User from 31.46.95.116:60003 connected.
User connection `unknown1' renamed to `ATAG|'.
User connection `ATAG|' renamed to `ATAG|UL'.
User ATAG|UL: Ignoring $ADCGET flags: DB0
ATAG: Starting upload of `files.xml.bz2' (79309 bytes).
ATAG: Upload of `files.xml.bz2' succeeded (transfer complete). 78KiB transferred in 0s (78KiB/s).
microdc2>
Use help and set commands for details...
5
Request for scripts / Re: simple welcome script
« Last post by ATAG on 09 September, 2021, 15:01:12 »
Like this?
Code: [Select]
-- px_simple-welcome.lua /ATAG
-- Send welcome messages randomly

tMessages = {
"This is the first welcome message for you, have a nice day.",
[[a multiline
message looks
like this
if you want :)]],
"this is an other one...",
"you can use only static text this way.",
"Don't forget the comma at the end of line",
"And don't use quotation mark in the message :)",
}

function UserConnected(tUser)
--math.randomseed(os.time())
local i = math.random(1,table.getn(tMessages))
Core.SendToUser(tUser, "<"..SetMan.GetString(21).."> "..tMessages[i])
end
-- comment it to disable for reg users
Regconnected = UserConnected
-- comment it to disable for operators
OpConnected = UserConnected
6
Support / Re: download file list and search
« Last post by ATAG on 09 September, 2021, 13:50:59 »
The hub just "forward" the messages (search, sr, ctm, rctm) between client-client OR NOT, if you block these protocol commands.
If you have firewall problem, it will be 100% clientside.

Tip: look at "cmd debug messages" tab in the client for any information about thecommunication.
7
Support / Re: ptokax proces
« Last post by MorriesAUS on 19 July, 2021, 03:07:49 »
It's only running once as process 818
8
Support / Re: download file list and search
« Last post by MorriesAUS on 19 July, 2021, 03:02:41 »
I'm having the same problem.

I do however think it's because of ports getting blocked somewhere.

Out of interest, are you trying to setup the PtokaX hub on a server behind a router and then share it via WAN?

If this is the case, try connect to the the HUB via the LAN network and see if it works?
9
Support / PtokaX BOT sharing it's own files.
« Last post by MorriesAUS on 19 July, 2021, 02:54:22 »
Good day, I've tried to find this in the forum without any luck. Please refer me to a link if I might have missed it.

I'm running PtokaX on an Ubuntu server, this same server has a large amount of data I would like to share. I was wondering if the dummy PtokaX bot user can also share this content. I don't really want to install another DC client on the same server.

I also just use the console mode on the server. So I'm not looking for a GUI solution. Is there an easy way to setup folders that can be shared from PtokaX or the bot user itself?
10
Leviathan / Re: Leviathan™ 2nd Generation
« Last post by Cêñoßy†ê on 19 July, 2021, 00:29:05 »
if problems ask  :angel:
Pages: [1] 2 3 4 5 6 ... 10