PtokaX Feature Requests - Page 2
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

PtokaX Feature Requests

Started by Requiem, 03 April, 2005, 20:18:02

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GeceBekcisi

Hammering protection after a kick/ban.. Maybe like the way in YnHub.. Another request..
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

imby

QuoteOriginally posted by GeceBekcisi
Hammering protection after a kick/ban.. Maybe like the way in YnHub.. Another request..

*agrees*

?Tr??T_????

i thing the new ptokax must come with a bot included... 8)

DJ Bert

QuoteOriginally posted by ?Tr??T_????
i thing the new ptokax must come with a bot included... 8)

Also, if there is a bot included then we have as scripters no work to do anymore???
Do you think thats the right way???
I think that we make it easy enough to make a lot scripts for each of anyone who is asking for scripts. I think that all scripters wanna make scripts in the future.

Grtzzz

DJ Bert

imby

QuoteOriginally posted by ?Tr??T_????
i thing the new ptokax must come with a bot included... 8)

Try ynhub  :P

PPK

QuoteOriginally posted by ?Tr??T_????
i thing the new ptokax must come with a bot included... 8)
Options->Hub bot ... already is here :P
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

?Tr??T_????

ok leave the bot...
what about standard right clicks?

bastya_elvtars

Implement this for redirects:

Redirect.Levels.ShowRedirect=4
frmHub.SetRedAddy=function(self,what,addy)
  local FuncTable=
  {
    ["share"]=function (addy)
		  self:SetShareRedirAddr(addy)
		end,
    ["slots"]=function (addy)
		  self:SetSlotsRedirAddr(addy)
		end,
    ["ratio"]=function (addy)
		  self:SetRatioRedirAddr(addy)
		end,
    ["maxhubs"]=function (addy)
		    self:SetMaxHubsRedirAddr(addy)
		  end,
    ["nickrule"]= function (addy)
			self:SetNickRuleRedirAddr(addy)
		      end,
    ["tempban"]=function (addy)
		    self:SetTempBanRedirAddr(addy)
		  end,
    ["regonly"]=function (addy)
		    self:SetRegOnlyRedirAddr(addy)
		  end,
    ["ban"]=function (addy)
		self:SetBanRedirAddr(addy)
	      end,
    ["default"]=function (addy)
		    self:SetRedirectAddress(addy)
		  end,
    ["notag"]=function (addy)
		self:SetNoTagRedirAddr(addy)
		end,
  }
  if FuncTable[what] then
    FuncTable[what](addy)
    return true
  end
end

frmHub.GetRedAddy=function(self,what)
  local FuncTable=
  {
    ["share"]=function ()
		  return self:GetShareRedirAddr()
		end,
    ["slots"]=function ()
		  return self:GetSlotsRedirAddr()
		end,
    ["ratio"]=function ()
		  return self:GetRatioRedirAddr()
		end,
    ["maxhubs"]=function ()
		    return self:GetMaxHubsRedirAddr()
		  end,
    ["nickrule"]=function ()
			return self:GetNickRuleRedirAddr()
		      end,
    ["tempban"]=function ()
		    return self:GetTempBanRedirAddr()
		  end,
    ["regonly"]=function ()
		    return self:GetRegOnlyRedirAddr()
		  end,
    ["ban"]=function ()
		return self:GetBanRedirAddr()
	      end,
    ["default"]=function ()
		    return self:GetRedirectAddress()
		  end,
    ["notag"]=function ()
		      return self:GetNoTagRedirAddr()
		    end
  }
  if not FuncTable[what] then return -1
  else return FuncTable[what]() end
end

frmHub.SetRed=function(self,what,p)
  local FuncTable=
  {
    ["share"]=function (p)
		  self:SetShareRedirect(p)
		end,
    ["slots"]=function (p)
		  self:SetSlotsRedirect(p)
		end,
    ["ratio"]=function (p)
		  self:SetRatioRedirect(p)
		end,
    ["maxhubs"]=function (p)
		    self:SetMaxHubsRedirect(p)
		  end,
    ["nickrule"]=function (p)
			self:SetNickRuleRedirect(p)
		      end,
    ["tempban"]=function (p)
		    self:SetTempBanRedirect(p)
		  end,
    ["regonly"]=function (p)
		    self:SetRegOnlyRedirect(p)
		  end,
    ["ban"]=function (p)
		self:SetBanRedirect(p)
	      end,
    ["allnew"]=function (p)
		    if p then self:SetRedirectFull(math.abs(p-1)) end -- lol
		    self:SetRedirectAll(p)
		  end,
    ["full"]=function (p)
		      self:SetRedirectFull(p)
		    end,
  }
  if FuncTable[what] then
    FuncTable[what](p)
    return true
  end
end

frmHub.GetRed=function(self,what)
  local FuncTable=
  {
    ["share"]=function ()
		  if Checks then return 2 end
		  return self:GetShareRedirect()
		end,
    ["slots"]=function ()
		  if Checks then return 2 end
		  return self:GetSlotsRedirect()
		end,
    ["ratio"]=function ()
		  if Checks then return 2 end
		  return self:GetRatioRedirect()
		end,
    ["maxhubs"]=function ()
		    if Checks then return 2 end
		    return self:GetMaxHubsRedirect()
		  end,
    ["nickrule"]=function ()
			if Checks then return 2 end
			return self:GetNickRuleRedirect()
		      end,
    ["tempban"]=function ()
		    return self:GetTempBanRedirect()
		  end,
    ["regonly"]=function ()
		    return self:GetRegOnlyRedirect()
		   end,
    ["ban"]=function ()
		return self:GetBanRedirect()
	      end,
    ["allnew"]=function ()
		    return self:GetRedirectAll()
		  end,
    ["full"]=function ()
		      return self:GetRedirectFull()
		    end,
  }
  if not FuncTable[what] then return -1
  else return FuncTable[what]() end
end
Everything could have been anything else and it would have just as much meaning.

LoTeK_

May I suggest an allowed clients box\window in Ptokax GUI, to easy edit "ClientTags.xml" file from GUI?

Pothead

QuoteOriginally posted by LoTeK_
May I suggest an allowed clients box\window in Ptokax GUI, to easy edit "ClientTags.xml" file from GUI?
And reload it, without stopping and starting the hub :D

DEEP-GOA

QuoteOriginally posted by Pothead
QuoteOriginally posted by LoTeK_
May I suggest an allowed clients box\window in Ptokax GUI, to easy edit "ClientTags.xml" file from GUI?
And reload it, without stopping and starting the hub :D
agree  :D  would be nice

http://deep-goa.no-ip.org
Put any term or title on me you want. What I am is what I do. I make things.

BeeR

Howdy

some requests

1: adding in flood - minimum allowed chars in a search
(i did as a user a search with just a dot ,, that is lots of files in a big hub)

2: change dropcommand to just a drop without adding to tempban
(it seems little weird if i drop myself -  just testing - that i am added to tempban)
A cold BeeR is stunning !!

bastya_elvtars

QuoteOriginally posted by BeeR
Howdy

some requests

1: adding in flood - minimum allowed chars in a search
(i did as a user a search with just a dot ,, that is lots of files in a big hub)

Should only be added if the user is passive. Otherwise it's mandatory that DC++ crashes for idiots. :D
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

frmHub:GetScripts()

Should return like:

{
  ["lawmaker.lua"]=1, -- enabled
  ["shoutstats.lua"]=0, -- disabled
}
Everything could have been anything else and it would have just as much meaning.

Pothead

A way to Output stuff from scripts to the Scripting debug window.
Like how dcdebug() (in dc++) prints stuff to the Output window of Visual Studio.
:)

bastya_elvtars

QuoteOriginally posted by Pothead
A way to Output stuff from scripts to the Scripting debug window.
Like how dcdebug() (in dc++) prints stuff to the Output window of Visual Studio.
:)

Maybe you mean support for print()? :P
Everything could have been anything else and it would have just as much meaning.

kunal

can a feature be added in ptokax so that all scripts can be stopped and started by clicking on one button or one cmd

Tw?sT?d-d?v

QuoteOriginally posted by kunal
can a feature be added in ptokax so that all scripts can be stopped and started by clicking on one button or one cmd

It's already here,from 0.3.3.0 build 17.02
                           Added: startscipt hub command.
                           Added: stopscript hub command.

kunal

i know those cmds but with those cmds ill have to stop each script and start script having to enter the cmds again and again.i want all scripts to be started and stopped with a single cmd eg !startallscripts

Dessamator

QuoteOriginally posted by Mutor
...Scripting may be Enabled/Disabled on the Options page of the GUI. To do this by command wouldnt help much, because if scripts are disabled, then we would have no means of starting them again.

Yes , indeed, unless its built in , like the e.g. !getbanlist
Ignorance is Bliss.

bastya_elvtars

But frmHub:GetScripts() and thus script.sFileName,script.bRunning and script:Start() script:Stop() and script:ReStart() would make sense, also GetScriptbyFileName("ccc.lua") would be good.
Everything could have been anything else and it would have just as much meaning.

blackwings

#46
Also a frmHub:GetAllBotNames() would be nice :)


bastya_elvtars

#47
QuoteOriginally posted by blackwings
Also a frmHub:GetAllBotNames() would be nice :)

Yeah, was thinking of that here too. Just to check whether one is already registered there should be frmhub:bIsBotRegged(botname)
Everything could have been anything else and it would have just as much meaning.

blackwings

#48
I wanted frmHub:GetAllBotNames() because it would be much nicer then
manually add/remove botnames in a table with all you bots username. In cases like commands in ToArrival, =

if ToWho == frmHub:GetAllBotNames() then
-- code
end


BeeR

Hi - me again :]

some stuff i have in my Verlihub i rent, and i like to see in new versions of Ptokax
(belive it or not - i found a network for my ptokaxhub !?!)

since not all uses large hubscripts (i use blackwings basic)
it would be nice to have inbuild bancommands like:
prefix-ban/unban
description-ban/unban
email-ban/unban

C'ya
A cold BeeR is stunning !!

SMF spam blocked by CleanTalk