PtokaX forum

PtokaX => FAQ section => Topic started by: Snoris on 23 August, 2005, 06:49:35

Title: Bad move(??)
Post by: Snoris on 23 August, 2005, 06:49:35
0.330 build 15.29 [transition build]
------------------------------------
- added: Scripting functions for checkers redirects. See the list below.

Why was this removed from Ptokax??
I think its a wounderful thing to keep.....And Why not implend (As I asked before) !setredirect slots etc??
I think Ptokax falling back a little bit..
How many netowners dont wanna see where their users goes??
And better up...Deside where they should go and not wait for the hubowner to sit down and change it...

Plz give me a good answer   ;)

*EDIT*

New Scripting functions:

MinShare check:
  frmHub:GetShareRedirAddr()
  frmHub:SetShareRedirAddr( string )
  frmHub:GetShareRedirect()
  frmHub:SetShareRedirect( integer )

MinMax slots check:
  frmHub:GetSlotsRedirAddr()
  frmHub:SetSlotsRedirAddr( string )
  frmHub:GetSlotsRedirect()
  frmHub:SetSlotsRedirect( integer )

SlotRatio check:
  frmHub:GetRatioRedirAddr()
  frmHub:SetRatioRedirAddr( string )
  frmHub:GetRatioRedirect()
  frmHub:SetRatioRedirect( integer )

MaxHubs check:
  frmHub:GetMaxHubsRedirAddr()
  frmHub:SetMaxHubsRedirAddr( string )
  frmHub:GetMaxHubsRedirect()
  frmHub:SetMaxHubsRedirect( integer )

NoTag check:
  frmHub:GetNoTagRedirAddr()
  frmHub:SetNoTagRedirAddr( string )
  frmHub:GetNoTagOption()
  frmHub:SetNoTagOption ( integer ) [1-Accept,2-Reject,3-Redirect]

NickRule check:
  frmHub:GetNickRuleRedirAddr()
  frmHub:SetNickRuleRedirAddr( string )
  frmHub:GetNickRuleRedirect()
  frmHub:SetNickRuleRedirect( integer )
Title:
Post by: bluebear on 23 August, 2005, 09:50:44
That must be a mistake.
I still see the functions in the Scripting-Interface.txt
And there are nothing in changelog that, says they are removed, or atleast i can't find it there.

PPK if you removed thease you need to put 'em back in. And preferably as 2 functions..

GetRedirect(type)
SetRedirect(type, value)

^^^Know you don't like that way :p
And don't worrie about the resources used extra for determine wich redirect type is being set, cause no one call get/set redirect that often that i would eat up the hub :)

(PPK, atleast think about it)
Title:
Post by: bastya_elvtars on 23 August, 2005, 16:16:50
Somebody hasn't read the manual before posting. :D

http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/ptokaxapi
Title:
Post by: bluebear on 23 August, 2005, 20:11:14
QuoteOriginally posted by bastya_elvtars
Somebody hasn't read the manual before posting. :D

http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/ptokaxapi

Well actuall i checked scripting interface txt file before i wrote and it says its there.
Title:
Post by: PPK on 23 August, 2005, 20:12:04
QuoteOriginally posted by Snoris
Plz give me a good answer   ;)
RTFM ! :D
Title:
Post by: bastya_elvtars on 23 August, 2005, 20:20:39
QuoteOriginally posted by bluebear
QuoteOriginally posted by bastya_elvtars
Somebody hasn't read the manual before posting. :D

http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/ptokaxapi

Well actuall i checked scripting interface txt file before i wrote and it says its there.

That's why I say. If you hacked the API like me, you would know these methods. :D

QuoteOriginally posted by PPK
RTFM ! :D

LOL
Title:
Post by: bluebear on 23 August, 2005, 20:23:34
QuoteOriginally posted by PPK
RTFM ! :D

Heh.. Did you qoute your girl friend PPK ?
"Read The Fucking Map" :P
Title:
Post by: plop on 24 August, 2005, 18:40:04
QuoteOriginally posted by bluebear
QuoteOriginally posted by PPK
RTFM ! :D

Heh.. Did you qoute your girl friend PPK ?
"Read The Fucking Map" :P
** offtopic: jenjen (female version of tomtom).
go left into the previous street.

plop