FunScript API2 - Page 3
 

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

FunScript API2

Started by Madman, 09 October, 2007, 11:47:41

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

?StIfFLEr??

Error reports have been working fine now madman.
But still even after i have kept only single script on i find "victims"
not working its not giving any response in main chat.
Please can u guide me if i am doing any mistake in the script.
I kept all the options true in the settings file.

Madman

That's really odd..
If you only have FunScript on, and have tConfig.Enable.Cmds.BasicCmds and tConfig.Enable.RightClick it should work.
If it dosent, try typing !funversion in main, if that does give a respons, it's a client error.
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Madman

#52
Quote
changelog for version 10.29
-- Fixed: bug with sending intro at disconnect, shown by tarantula
-- Fixed: bin cmd not beeing oponly in rightclick
-- Fixed: Missing SayHi in UserConnected, Enable.Welcome didn't do anything ;p
-- Fixed: timer nil error in TalkModes, reported by HenkeDc
-- Added: Addver version numbers to error reporting
-- Changed: Better off code, when useing un*all, * beeing elite/camel/drunk
-- Fixed: bug with cmd block when not belong to funscript, or cmdfile is disabled
*Edit*
Small fix from 29...
Quote
changelog for version 10.30
-- Fixed: Missing then and end with customcmd, reported by HenkeDc
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

hello madman.
sorry for being out of the forum for few weeks.
Actually i have a problem and i suppose its with the client that i am using.
I am currently running fun script 10.30v on StrongDC++ 2.21 .
There are few right clicks that i am unable to get results.
Can u suggest a appropriate client where in i can be able to test the funscript properly.
Please reply as soon as you be free.

Madman

I'm useing Zk++ 0.666, and FunScript works prefect
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

can you please provide me with the link of the setup.

Madman

We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

Thanks Madman  i have started using the client and started checking the script i have been comming up with some problems.
very first.
Quote--------------------------------------------------------------------------------
At 2009-01-08 - 14:25:45 an error was detected
Error:   ...limits/gigabyte tata/scripts/FunScript/Functions.dat:50: bad argument #1 to 'gsub' (string expected, got table)
Running PtokaX 0.4.0.0 and FunScript v10.30 @ 25.12.08
--------------------------------------------------------------------------------
and still some commands are not working on right click like the amimal and ascii commands i am pasting the changes i made in settings file please let me know if i have went wrong somewhere.
Quote-- Config file for Funscript

tConfig = {
   ["Bot"] = {
      -- Name of the bot
      ["Name"] = "FunScript",
      -- The description
      ["Descr"] = "FunScript " ..sFSVersion.. " made by Madman",
      -- Hmmm...
      ["Email"] = "You think a bot got an email?",
   },
   -- The bot's name when using !pill command
   -- Some nicks you can use instead Neo, Morpheus, Trinity, Tank, Dozer, Switch, Apoc, Mouse
   ["MatrixBot"] = "Morpheus",
   -- Agent Smith, Agent Brown, Agent Jones
   ["Agent"] = "Agent Smith",
   -- Be sure to write your nick here!!
   ["HubOwner"] = "Madman",
   --  Unit the shareamount should be shown in, KB, MB, GB or TB
   ["UnitCount"] = GB,
   -- Time for drunkmode and nuttynicks, standard is 10 min
   ["MinTimer"] = 10,
   -- Time for chatpart, standard is 1 hour
   ["ChatTime"] = 1,
   -- Should the bot chat? standard is true witch is on
   ["Chat"] = true,
   -- The name on the FunScript menu
   ["Menu"] = "FunScript",
   -- Reg the bot in userlist? false is no, true is yes, true is standard
   ["RegTheBot"] = true,
   -- Adds FS vX in Hub Description
   ["AddDescr"] = true,
   -- Sets protecteduser on/off true is on and is standard
   ["Protect"] = true,
   -- Set to true if you want to limt the use of this script to only Ops, standard is false
   ["OpOnly"] = false,
   -- Set to false if you want to use old style drunk, when useing DrunkUserCmds
   ["AdvancedDrunk"] = true,
   -- Set to false if you want to be able to stab, attack, insult anything, not just online users, true is standard
   ["MustBeOnline"] = true,
   --==Russian Roulette==--
   -- Should users in hub know that someone is playing, set it to true
   ["NotifyRoulette"] = true,
   -- Should the bot say if the user survived every time user writes a number, true is yes
   ["NotifyRouletteLive"] = false,
   --==Russian Roulette==--
   --**Warning**----==ThrowCmd==----**Warning**--
   -- Throw function use on own risk, users might lose slots when thrown! and user might get pissed of
   -- Want to have 50% chance to throw your self? Then leave it on true
   ["RandomThrow"] = true,
   --**Warning**----==ThrowCmd==----**Warning**--
   ["Enable"] = {
      ["Cmds"] = {
      -- Set to true if you want to use the set of cmds, false is default
         ["CustomCmds"] = true,
         ["HiddenCmds"] = true,
         --**Warning**----==ThrowCmd==----**Warning**--
         -- Throw function use on own risk, users might lose slots when thrown! and user might get pissed of
         -- Set to true if you want to use the throw code. Standard is false!
         ["ThrowCmd"] = true,
         --**Warning**----==ThrowCmd==----**Warning**--
         ["VicCmds"] = true,
         ["VicTxtCmds"] = true,
         ["ErrorSetCmds"] = true,
         ["BrainCmds"] = true,
         ["PillCmds"] = true,
         ["RoulletteCmds"] = true,
         ["EliteUserCmds"] = true,
         ["CamelUserCmds"] = true,
         ["DrunkUserCmds"] = true,
         ["TalkModes"] = true,
         ["TableCmds"] = true,
         ["BasicCmds"] = true,
         ["YouDo"] = true,
         ["TextCmds"] = true,
         ["AscIICmds"] = true,
         ["AnimalCmds"] = true,
      },
      --**Warning**--
      -- This key is CaSe SeNsEtIvE, Words must be written exactly as in Comment
      -- FunScript/StabBot, use FunScripts stab cmd or the StabBot file,
      ["StabCmd"] = "FunScript",
      -- Enable VicTxtCmds for Funscripts stabcmd
      --**Warning**--
      -- Enable random/custom login msg when users/ops enters, true is on, false is off, true is standard
      ["Login"] = false,
      -- Enable random/custom login msg when users/ops leaves, same as above
      ["Logout"] = false,
      -- Enable the sending off rightclicks on connect
      ["RightClick"] = true,
      -- Say hello to user
      ["Welcome"] = false,
   },
   ["StabBot"] = {
      --//the cmd to invoke the stab.
      ["Cmd1"] = "stabs",
      --//the cmd to invoke the total count.
      ["Cmd2"] = "deaths",
      --//the cmd to invoke the total usage.(how many times each user has used the command)
      ["Cmd3"] = "stabhappy",
      --//the cmd to invoke personal stats. (who you have stabbed and how many times)
      ["Cmd4"] = "mystabs",
      --//(ops or better only)turn the the bot on or off.
      ["Cmd5"] = "tgglbot",
      --//(ops or better only)turn the main chat stats on or off.
      ["Cmd6"] = "tgglmain",
      --// tells users what te commands are... + ops what Cmd5, Cmd6, Cmd8, & Cmd9 are...
      ["Cmd7"] = "shelp",
      --//ops may clear any. users only their own. (personal usage data only.. not death count or total usage)
      ["Cmd8"] = "clrstabs",
      --//(ops or better only)the time in seconds. limits users to 1 stab every x seconds.
      ["Cmd9"] = "setflood",
   },
   -- Add nicks on users that shouldnt be nutty nicked or drunk...
   -- Set to true to protect user
   -- All nicks should be lower cased
   ["ProtectedUser"] = {
      ["-=fakekiller=-"] = true,
      ["wildcat"] = true,
      ["[op]wildcat"] = true,
      ["madman"] = false,
   },
   -- Nicks that are allowed to do Nutty Nicks and drunk stuff
   -- Set to true to allow, false and user can't do NuttyNicks
   -- Case sensetive, if nick is TestUser, testuser won't work!
   ["AllowedNicks"] = {
      ["Madman"] = true,
   },
   -- Profiles that is allowed to do NuttyNicks and drunk stuff
   -- 1=on/0=off
   ["AllowedProfiles"] = {
      
  • = true, -- Master
          [1] = true, -- Operator
          [2] = false, -- VIP
          [3] = false, -- Reg
       },
       -- Profiles that are allowed to clean/read the errorlog and read config
       ["ConfigProfiles"] = {
          
  • = true,
          [1] = false,
          [2] = false,
          [3] = false,
       },
       --**Warning**----==ThrowCmd==----**Warning**--
       -- What profiles are allowed to throw ops
       ["ThrowbOp"] = {
          
  • = true, -- Master
          [1] = false, -- Operator
          [2] = false, -- VIP
          [3] = false, -- Reg
          [-1] = false, -- Users(unregged)
       },
       --**Warning**----==ThrowCmd==----**Warning**--
       -- Sets which profiles who gets a login/logout msg sent to all in main
       -- Only if LogInMsg and/or LogOutMsg is set to true
       ["LoginProfiles"] = {
          
  • = true,
          [1] = true,
          [2] = false,
          [3] = false,
          [-1] = false,
       },
       ["LogoutProfiles"] = {
          
  • = true,
          [1] = true,
          [2] = false,
          [3] = false,
          [-1] = false,
       },
    }

?StIfFLEr??

Animal Command error
Quote[14:30:25] [ US ] [ 172.16.11.62 ] <?StIfFLEr??> !animalturkey Kai <---- when i clicked on right click to animalise (no result)
[14:30:31] <FunScript> Kai ain't animalized <------- when i tried to unamilaize it said this it means some error in animalize part


please take look into it as soon as possible and please let me know if i have to do some changes.


Madman

Settings looks good.
i'll check on animlize,ascii and the error report tomorrow.
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

Thanks Madman For having a look at it.

Madman

QuoteChangelog for version v10.31
Fixed: Bug with Function.dat not loaded when it should
Fixed: Missing botname in !makeelite
Fixed: Wrong syntax when elited user wrote in main, reported by †StIfFLEr†™
Fixed: Typo when useing !unelite
Fixed: Bad checking of cmd key useing functions, reported by †StIfFLEr†™
Added: Missing Animal code
Fixed: Typo in rightclick on Animal

This should fix all your problems, seems it was a script error all along, but i missed it, all the times if tested it.
Client was never an issue...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

Thanks a TON for fixing my favorite script.
Will look forward for updates.
Thanks once again.

?StIfFLEr??

there are some ascii that aint working well please can you take a look at it when you be free.
Quote[23:52:03] <?StIfFLEr??> !pcrobpic Mimarathi?
[23:51:20] <?StIfFLEr??> !fingerpic Mimarathi?

?StIfFLEr??

Quote[11:34:38] <?StIfFLEr??> !weapons gun
hit user with a weapon giving the following result.

Madman

QuoteChangelog for version 10.32
Fixed: Functions.dat not loaded on AscIICmds (GetNames nil error)
Fixed: pcprobpic typo in rightclick, reported by †StIfFLEr†™
Fixed: fingerpic typo in AscIICmds, reported by †StIfFLEr†™
Fixed: weapon typo in TextCmds, reported by †StIfFLEr†™
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

thanks a lot madman.
will have a look into updated script as soon as possible.
Thanks once again.

TZB

QuoteWarning: this topic has not been posted in for at least 14 days.
Unless you're sure you want to reply, please consider starting a new topic.
Sorry :P But lets make the thread a bit lively.. :P
Madman currently i am using
Quote-- [[ Build 2 @ 20.08.08]] --
FunScript.v10.lua
So please excuse me if there is any further version am having few bugs with this version so came up here to post them.

In any Commands like if user is made a Animal,or made to be any Talk Mode when user chat on the main chat its no doubt replacing their text.. but if their chat on main chat starts with any hub commands or smiley for example ( :P, !me ) the script has no effect hence after and it can be easily crossed over..I know am bit bad in explaining so am giving a small demo of whats happening here :P

Quote[22:30:05] <.?Gigabyte?.> Roar like a lion Test, says T-z-B
[22:30:28] <Test> Raaaooor
[22:30:33] <Test> :p kkk
[22:32:14] * Test this is test line with command !me
[22:33:54] <Test> :test --[
[22:34:00] <Test> .test --| If the letter starts with any non alpha-numeric character adjoining a sentence without space the FUN IS LOST :P
[22:34:03] <Test> 'test --[


Madman

#68
I'll start with that is so old old.
current is 10.32   -- [[ Build 32 @ 11.01.09 ]] --
And that's is not a bug, that is a feature.
If i remove that, a user that has been animalized won't be able to use commands.

*Edit*
Or actully it is a bug, but it's good one, so I won't try to fix it ;p
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

TZB

lmao...
Never mind :P but do post a manual to get the above request done by any individual if he wishes to have it :P

*** I DO WANT THE MANUAL :P
When i animal any user he shows he is smart by using that bug he talks and no animal done :P
Then i feel like a little moron :P
Do help :P

Madman

Okey, here is manual.

1) Download attachment.
2) Enable the new NoCmdTalkModes switch in settings.

I made the update, beacuse someone asked for a dl link to FunScript, and my site is down...

QuoteChangelog for version
Fixed: bug in Text commands using text and nick as text
Fixed: bug with unanimalize cmd showing
Added: NoCmdTalkModes in Config, users in talkmode can't use cmd's requested by TZB
Changed: funversion cmd moved to mainfile, always work even when all cmd's are disabled
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

TZB

QuoteAdded: NoCmdTalkModes in Config, users in talkmode can't use cmd's requested by TZB
Awesome :) Thanks a lot now its going to be a hell lot of fun...

Mrkivi

where to get all scripts since site is down...no other dl location??  thx

Psycho_Chihuahua

Quote from: Mrkivi on 11 March, 2011, 18:00:25
where to get all scripts since site is down...no other dl location??  thx

Have another look at Madmans first Post and READ it, you will see he has added the script as an attachment which can be downloaded  ::)
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Mrkivi

#74
i do see that psycho  just need to get my hands on a older one since ..somehow  almost everything in that one is not working for me..still no error msges :/  time talking bot dont work for example..and join msg  dont work etc etc   ....................Not solved Cant get the chatter bot to work   tested whit new versions on win xp  win7 x86  win7x64    DiXBoT v2.1 Build 3017 for PtokaX 0.4.1.2  and funscript V10.33  but no chatter bot..and no error showing

SMF spam blocked by CleanTalk