Author Topic: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]  (Read 5098 times)

0 Members and 1 Guest are viewing this topic.

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 577
  • Karma: +71/-5
Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« on: 23 December, 2007, 12:01:31 »
Code: [Select]
--[[

Chatrooms v4.21 - LUA 5.1x [Strict][API 2] by jiten and Dessamator
?????????????????????????????????????????????????????????????????
Based on: Chatrooms v3 by tezlo

RECENT CHANGELOG:
?????????????????
- Changed: Script converted to API 2 (10/16/2007)
- Fixed: Database save function - reported by Yahoo and Jorgo (3/15/2008)

]]--
« Last Edit: 15 March, 2008, 20:18:37 by jiten »

PtokaX forum

Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« on: 23 December, 2007, 12:01:31 »

Offline Yahoo

  • Triple Ace
  • **
  • Posts: 225
  • Karma: +32/-14
  • People Say "I Dont Know English"
    • Yahoo
Re: Chatrooms v4.2 - LUA 5.1x [Strict][API 2]
« Reply #1 on: 05 January, 2008, 13:25:44 »
The Rooms get delete when the hub is restarted
"BoRN FIGhTEr"

Offline baba.runner

  • Forum Ace
  • *****
  • Posts: 94
  • Karma: +16/-2
Re: Chatrooms v4.2 - LUA 5.1x [Strict][API 2]
« Reply #2 on: 04 March, 2008, 20:19:46 »
Hi jiten

is it possible to add the ability to add a description to the created Chatrooms. So that other user might see the name of the Chatroom in the userlist along ith a description behind. Just the way as a user has it's description.

Thanks in advance.

KR
baba.runner

Offline Jorgo

  • Double Ace
  • *
  • Posts: 103
  • Karma: +6/-6
Re: Chatrooms v4.2 - LUA 5.1x [Strict][API 2]
« Reply #3 on: 13 March, 2008, 21:10:59 »
The rooms get deleted when key (OP) is set. Same happens, when !invite or !remove is used. I'm using ptokax 0.4.0.0b.
« Last Edit: 14 March, 2008, 20:33:00 by Jorgo »

Offline Jorgo

  • Double Ace
  • *
  • Posts: 103
  • Karma: +6/-6
Re: Chatrooms v4.2 - LUA 5.1x [Strict][API 2]
« Reply #4 on: 14 March, 2008, 21:08:17 »
I think I identified the problem.

In lines 278 and 293 you need to replace
Core.SendToNick(nick.sNick,
with
Core.SendToNick(user.sNick,

At least it works the rooms don't get deleted anymore now :-)

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 577
  • Karma: +71/-5
Re: Chatrooms v4.2 - LUA 5.1x [Strict][API 2]
« Reply #5 on: 15 March, 2008, 00:20:01 »
I am sorry for my delay in fixing this issue with Chatrooms.

It is small thing but I still will have to test the whole script with the latest PX version, but I'll post it soon.

Offline Jorgo

  • Double Ace
  • *
  • Posts: 103
  • Karma: +6/-6
Re: Chatrooms v4.2 - LUA 5.1x [Strict][API 2]
« Reply #6 on: 15 March, 2008, 19:43:46 »
That would be nice... I am running against a wall now because every time the script starts, the chatroom table is completely emptied. I have a multi-language environment and users depend on the rooms unfortunately. Thanks for correcting this as soon as possible!

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 577
  • Karma: +71/-5
Re: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« Reply #7 on: 15 March, 2008, 20:24:31 »
is it possible to add the ability to add a description to the created Chatrooms.
So that other user might see the name of the Chatroom in the userlist along
ith a description behind. Just the way as a user has it's description.

This would surely be a nice addition to the script. However, it won't be possible
for me to fulfill your request due to time limitations. I hope you understand.

However, I've updated the first post with the fixes to previously posted issues.

Best regards
« Last Edit: 15 March, 2008, 20:37:10 by jiten »

Offline Jorgo

  • Double Ace
  • *
  • Posts: 103
  • Karma: +6/-6
Re: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« Reply #8 on: 15 March, 2008, 21:36:35 »
That was really quick! I double-triple thank you for using your spare time to help us for free!

Offline P_pan

  • Fulll Member
  • ****
  • Posts: 71
  • Karma: +1/-3
Re: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« Reply #9 on: 02 April, 2008, 17:18:39 »
was wondering if this script still gonna be updated?
cause  the errors are still there.....
the script still dissapear (stopped) when added a room..
i have to maually restart it...

reason is i was just looking for such a script
to apply a chatroom where only i can add chosen members in and will be fully hidden for ohters to see ...
thnx :)

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 577
  • Karma: +71/-5
Re: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« Reply #10 on: 02 April, 2008, 17:52:55 »
was wondering if this script still gonna be updated?
cause  the errors are still there.....
the script still dissapear (stopped) when added a room..
i have to maually restart it...

reason is i was just looking for such a script
to apply a chatroom where only i can add chosen members in and will be fully hidden for ohters to see ...
thnx :)

Seems to me that you are still using your previous database file.
Unload your script, delete the .tbl and then reload.

Offline P_pan

  • Fulll Member
  • ****
  • Posts: 71
  • Karma: +1/-3
Re: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« Reply #11 on: 02 April, 2008, 18:49:24 »
that prob is fixed now.... thnx for the neat script ;D
« Last Edit: 03 April, 2008, 17:27:19 by P_pan »

Offline Jorgo

  • Double Ace
  • *
  • Posts: 103
  • Karma: +6/-6
Re: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« Reply #12 on: 25 May, 2008, 01:24:42 »
One request... would it be possible to implement a history function?

PtokaX forum

Re: Chatrooms v4.21 - LUA 5.1x [Strict][API 2]
« Reply #12 on: 25 May, 2008, 01:24:42 »