Author Topic: Bad move(??)  (Read 2998 times)

0 Members and 1 Guest are viewing this topic.

Offline Snoris

  • Double Ace
  • *
  • Posts: 122
  • Karma: +3/-0
Bad move(??)
« on: 23 August, 2005, 06:49:35 »
Code: [Select]
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*

Code: [Select]
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 )
« Last Edit: 23 August, 2005, 06:54:01 by Snoris »

PtokaX forum

Bad move(??)
« on: 23 August, 2005, 06:49:35 »

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
(No subject)
« Reply #1 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)
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 744
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #2 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
Everything could have been anything else and it would have just as much meaning.

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
(No subject)
« Reply #3 on: 23 August, 2005, 20:11:14 »
Quote
Originally 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.
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 480
  • Karma: +209/-22
  • PtokaX developer
(No subject)
« Reply #4 on: 23 August, 2005, 20:12:04 »
Quote
Originally posted by Snoris
Plz give me a good answer   ;)
RTFM ! :D
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 744
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #5 on: 23 August, 2005, 20:20:39 »
Quote
Originally posted by bluebear
Quote
Originally 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

Quote
Originally posted by PPK
RTFM ! :D

LOL
Everything could have been anything else and it would have just as much meaning.

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
(No subject)
« Reply #6 on: 23 August, 2005, 20:23:34 »
Quote
Originally posted by PPK
RTFM ! :D

Heh.. Did you qoute your girl friend PPK ?
"Read The Fucking Map" :P
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #7 on: 24 August, 2005, 18:40:04 »
Quote
Originally posted by bluebear
Quote
Originally 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
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

PtokaX forum

(No subject)
« Reply #7 on: 24 August, 2005, 18:40:04 »