Chatrooms
 

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

Chatrooms

Started by jiten, 25 March, 2006, 18:24:22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jiten

--[[

	Chatrooms v 4.15 - LUA 5.0/5.1

	By: jiten and Dessamator

	Based on: Chatrooms v3 by tezlo

	Recent Changelog:

	- Changed: DC away messages aren't sent anymore to rooms - reported by CrazyGuy;
	- Changed: Show members when autologin is enabled - requested by CrazyGuy;
	- Changed: tAllowed value structure - requested by CrazyGuy;
	- Fixed: RightClick commands - reported by osse; (5/23/2006)
	- Fixed: ToArrival locked permissions - reported by CrazyGuy; (5/24/2006)
	- Changed: MyINFO is sent on Op/UserConnected - reported by CrazyGuy;
	- Changed: string.lower comparison between connecting user and existing rooms (5/28/2006)
	- Changed: New save function;
	- Fixed: !members command when autologin is disabled - reported by CrazyGuy;
	- Added: Toggle reset away status on connect - requested by shamu (9/15/2006)
	- Fixed: !leave only removes rooms from userlist when hide mode is enabled;
	- Changed: Rightclick commands don't need rooms to be typed - just click on them in the userlist;
	- Added: !help and custom message on connect - requested by speedX;
	- Added: Leaviathan profiles support (9/30/2006)
	- Fixed: !mkchat sent as PM when using User Commands - reported by Jorgo (12/2/2006)

]]--

osse

Hi!

First Thnx 4 ur script great.

My question :

Can a person who is away be able to see all chat agian automaticly when he reconnect ?? without to go in to the chat and return ??

Thnn 4 ur help

Os ;D

jiten

Quote from: osse on 09 April, 2006, 09:26:13
Hi!

First Thnx 4 ur script great.

My question :

Can a person who is away be able to see all chat agian automaticly when he reconnect ?? without to go in to the chat and return ??

Thnn 4 ur help

Os ;D

Unfortunately, that's not possible.

Once your status is set to away, you need to type something in PM to the chatroom to be able to see/write messages.

osse

:((

More questions  if you will answer..

Why when you !leave the Chat . can still se the chat on main ??

[12:11:27] Private message from ?-Chat-Reg: <[SPA]Diablo> This one
[12:11:33] Private message from ?-Chat-Reg: <?-ClaDDe> ?

Thnx   ....:):):)

jiten

Quote from: osse on 09 April, 2006, 11:14:25
Why when you !leave the Chat . can still se the chat on main ??

[12:11:27] Private message from ?-Chat-Reg: <[SPA]Diablo> This one
[12:11:33] Private message from ?-Chat-Reg: <?-ClaDDe> ?

That's strange. Works fine here with me.

Can you post your chatrooms' table content to see what's wrong?

osse

return {
   ["Reg"] = {
      name = "Reg",
      owner = "?Boss",
      status = "auto",
      hide = "off",
      groups = {
      },
      members = {
         ["?Boss"] = 1,
      },
      away = {
      }
   },
}

jiten

Uhm, that's why!

You're using an older version of chatrooms (with lots of bugs).

Please update to the one posted in this thread and that error should be gone.

Just as an example, this is how the table looks like in the latest version:

return {
	["Reg"] = {
		name = "Reg",
		owner = "jiten",
		autologin = "off",
		locked = "off",
		key = "$OpList Reg$$",
		groups = {
		},
		members = {
			["jiten"] = 1,
		},
		hide = {
		}
	},
}

osse

where i can't fine it the new version  :(:(:(:(
Posted on: 09 April 2006, 16:43:00
I use


Chatrooms v 4.1 - LUA 5.0.2 / 5.1

Dessamator

Maybe u should delete the tables and restart the script.
Ignorance is Bliss.

osse

I did and no change..
I still get the message in Main..

:(:(:(


jiten

Quote from: osse on 09 April, 2006, 16:13:39
I did and no change..
I still get the message in Main..

As previously stated, you're using an older version of this script.
We can see that by the clearly different table structure.

So, replace it with the new one. You can find the respective link in the first post of this thread.
Or else, use the one posted in the Resources' Site: http://ptxscriptdb.psycho-chihuahua.net/download.php?view.211

And, just like Dess pointed, please make sure that you've deleted the old .tbl file.

osse

Thnx again. I think the error was autologin On


every user must join it self..
and then the leave command its working not with the autologin On

jiten

Quote from: osse on 09 April, 2006, 17:29:40
Thnx again. I think the error was autologin On


every user must join it self..
and then the leave command its working not with the autologin On

I'm glad you sorted it out.

By the way, as the word (autologin) implies, users can't leave the chatroom. They are "stuck" there if the mode is enabled :P

osse

Thnx u so much!!

I disable command !leave so reg users can only use command !away.  :D:D:D

An other question. As usual I got the mess on Main now---> MyInfo spam detect from some users do you now why ??

;D

Thor

This support by your client. I use ZionDC++ 2.02 and i also get this message. In the settings you can give to this bigger time interval, i setted up 15 MyINFO @ 3000 milliseconds. But, you can set it to kick also :D

jiten

Quote from: osse on 10 April, 2006, 09:19:45
An other question. As usual I got the mess on Main now---> MyInfo spam detect from some users do you now why ??

It shouldn't be a problem related to chatrooms.
MyINFO functions have been rewritten to avoid this type of spam/flood that used to happen frequently in older versions.

Maybe if you try Hungarista's hints...

osse

Quote from: Hungarista on 10 April, 2006, 09:38:27
This support by your client. I use ZionDC++ 2.02 and i also get this message. In the settings you can give to this bigger time interval, i setted up 15 MyINFO @ 3000 milliseconds. But, you can set it to kick also :D

Who its gonna do that me or him ??

thnx 4 ur answer
Posted on: 10 April 2006, 14:38:53
Quote from: jiten on 10 April, 2006, 12:03:31
Quote from: osse on 10 April, 2006, 09:19:45
An other question. As usual I got the mess on Main now---> MyInfo spam detect from some users do you now why ??

It shouldn't be a problem related to chatrooms.
MyINFO functions have been rewritten to avoid this type of spam/flood that used to happen frequently in older versions.

Maybe if you try Hungarista's hints...
Its happen with ur script fot Chatroom. Must i activate something in Ptokax ?? When i take away the scripts then nothing happens.. Not all the user only a few users had the MyInfo Spam detect..


??? ;D

jiten

Quote from: osse on 10 April, 2006, 13:46:34
Its happen with ur script fot Chatroom. Must i activate something in Ptokax ?? When i take away the scripts then nothing happens.. Not all the user only a few users had the MyInfo Spam detect..

That's very strange, because MyINFO is only sent:
- On script start/restart: For every member;
- For connecting user on MyINFOArrival.

As previously stated, it must be a problem with certain clients (buggy?) used by your users that generate this type of spam.

osse

Quote from: jiten on 10 April, 2006, 15:28:20
Quote from: osse on 10 April, 2006, 13:46:34
Its happen with ur script fot Chatroom. Must i activate something in Ptokax ?? When i take away the scripts then nothing happens.. Not all the user only a few users had the MyInfo Spam detect..

That's very strange, because MyINFO is only sent:
- On script start/restart: For every member;
- For connecting user on MyINFOArrival.

As previously stated, it must be a problem with certain clients (buggy?) used by your users that generate this type of spam.

OK thnx u very much 4 ur help. More pers who helping people who don't know anything.. U r Great.   :D:D:D:D

jiten

It's always a pleasure to help, mate.

Regards

osse

Quote from: jiten on 10 April, 2006, 19:29:56
It's always a pleasure to help, mate.

Regards

1 question the commands are !leave, !away,!mkchat.

If i wanna commands witch use even +leave, +away, +mkchat too how I have to do or where i chage it ??

Thnx 4ur answer

;):=)

jiten

Quote from: osse on 18 April, 2006, 14:04:06
If i wanna commands witch use even +leave, +away, +mkchat too how I have to do or where i chage it ??

In your ChatArrival function, replace:

local s,e,cmd = string.find(data,"%b<>%s+%!(%S+)")


with:

local s,e,cmd = string.find(data,"%b<>%s+[%!%+](%S+)")


And, in your ToArrival function, replace:

local s,e,cmd,args = string.find(str, "^%!(%a+)%s*(.*)$")


with:

local s,e,cmd,args = string.find(str, "^[%!%+](%a+)%s*(.*)$")

osse

Quote from: jiten on 18 April, 2006, 15:17:57
Quote from: osse on 18 April, 2006, 14:04:06
If i wanna commands witch use even +leave, +away, +mkchat too how I have to do or where i chage it ??

In your ChatArrival function, replace:

local s,e,cmd = string.find(data,"%b<>%s+%!(%S+)")


with:

local s,e,cmd = string.find(data,"%b<>%s+[%!%+](%S+)")


And, in your ToArrival function, replace:

local s,e,cmd,args = string.find(str, "^%!(%a+)%s*(.*)$")


with:

local s,e,cmd,args = string.find(str, "^[%!%+](%a+)%s*(.*)$")


As usual U r great THANK U again  //Osse

enigma

download link not working

jiten

Quote from: enigma on 25 April, 2006, 22:27:14
download link not working

Works fine with me, but here is an alternate link.

SMF spam blocked by CleanTalk