determinate determinate

Author Topic: > > > [ THOR ] By: NightLitch < < <  (Read 30261 times)

0 Members and 1 Guest are viewing this topic.

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
> > > [ THOR ] By: NightLitch < < <
« on: June 18, 2004, 11:08:02 am »
Here it is my final script before the Summer.
Hopefully not any critical bugs, have Beta tested it for some time.

What makes this better then all the ones I have created you ask, well look at this feature list:

   THOR: 1.5 Release
   By: NightLitch 22 May 2004
 

-------------------------------------------------------------------------------
Client Checker
-------------------------------------------------------------------------------
Allow/Deny Different Clients
Connection Check
Slot, Hub, Ratio, Bandwidth checks for each profile
-------------------------------------------------------------------------------
Advertising Checker
-------------------------------------------------------------------------------
OkHub/Addy's
Extension ex: .com, .net
Sites
Action if advertsing taken: nothing, warn, kick, timeban, ban
-------------------------------------------------------------------------------
   Profiles
-------------------------------------------------------------------------------
Administrator / HubOwner
Moderator
Operator
VIP User
Registered User
User
-------------------------------------------------------------------------------
   Share Checker
-------------------------------------------------------------------------------
Redirect switch if over or under Share limit.
-------------------------------------------------------------------------------
   Spam Checker
-------------------------------------------------------------------------------
      Logs
-------------------------------------------------------------------------------
Warn Log
Kick Log
TimeBan Log
Ban Log
UserInfo DataBase
-------------------------------------------------------------------------------
   Security
-------------------------------------------------------------------------------
Bad Nick Check
Bad Client Check
Double IP Check
PeerGuardian Check
Nick Lenght
ISP/Tag Check
Max Wans before Kick
Max Kick before TimeBan
Max TimeBan before Ban
Only Registered Users can Download from Operator Allow/Deny
$Kick is blocked for Client built in Kick
-------------------------------------------------------------------------------
   Bad File Search
-------------------------------------------------------------------------------
   Around 60 Commands
-------------------------------------------------------------------------------
   GUI  (BETA so far)
-------------------------------------------------------------------------------
   Report Switch
-------------------------------------------------------------------------------
Report Warns, Kicks, TimeBans, Bans, BadFileSearches in OpChat instead of in MainChat, keeps the chat clean.
-------------------------------------------------------------------------------
Intro / Outro Message's
-------------------------------------------------------------------------------
6 commands, add/del/show for intro/outro
Announce at login and logout to all in hub.
-------------------------------------------------------------------------------

Download it Here:

Main: Thor: 1.5 Release
Mirror 1: Thor: 1.5 Release





« Last Edit: August 04, 2004, 03:19:54 pm by NightLitch »
//NL

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
Bug?
« Reply #1 on: June 18, 2004, 08:18:40 pm »
Well i think i found a little Bug  8o


Quote
No syntax errors in script file C:\hub\ptokax\scripts\Thor.lua
Syntax Error: `}' expected (to close `{' at line 1);
  last token read: `[' at line 3 in string "Stats = {..."
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil



Or could it be because i set everything through ur Gui? (well, it sez the gui is beta  :D )
« Last Edit: June 18, 2004, 08:19:11 pm by Psycho_Chihuahua »

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #2 on: June 18, 2004, 08:36:07 pm »
I have reupdated the link so everyone having that error, plz... just redownload the script...
//NL

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
Gee Wiz
« Reply #3 on: June 18, 2004, 10:53:53 pm »
that was quick  :D

Thnx alot m8 it works fine now.

Offline blackwings

  • Scripter
  • King
  • ******
  • Posts: 992
  • Karma: +12/-8
(No subject)
« Reply #4 on: June 18, 2004, 11:57:25 pm »
Thor seem to be a really god bot. But it's a bit annoying that you need to close(klick on the button again) the option/window, when you want go to the next one.

And it wold be nice with a help file. There was a few things that I didn't know what to do.

Oh, another thing, does Thor work in PtokaX DC Hub 0.3.2.4 IceCube IV build 1??

Just by a quick look, Thor seems to have the same functions as RC, maybe it even has more nice functions than RC(except the nice CMD protection that RC have)
« Last Edit: June 19, 2004, 12:01:38 am by blackwings »


Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #5 on: June 19, 2004, 12:25:12 pm »
Quote
Originally posted by blackwings
Thor seem to be a really god bot. But it's a bit annoying that you need to close(klick on the button again) the option/window, when you want go to the next one.

And it wold be nice with a help file. There was a few things that I didn't know what to do.

Oh, another thing, does Thor work in PtokaX DC Hub 0.3.2.4 IceCube IV build 1??

Just by a quick look, Thor seems to have the same functions as RC, maybe it even has more nice functions than RC(except the nice CMD protection that RC have)


I forgot to add that THOR has a command protection...

You can set each command for the profile you want it...

But it aint inmplented into the GUI yet...

But it is there...

and it is not compatible with PtokaX DC Hub 0.3.2.4 IceCube IV build 1...
/NL
« Last Edit: June 19, 2004, 12:27:34 pm by NightLitch »
//NL

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #6 on: June 19, 2004, 09:53:39 pm »
Syntax error: table index is nil
stack traceback:
   1:  function `LoadRegistredFile' at line 1027 [file `Thor.lua']
   2:  function `Main' at line 184 [file `Thor.lua']


a error for me  :)
Xion++ - Where it all begins
http://www.zinden.net

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #7 on: June 19, 2004, 10:26:11 pm »
Quote
Originally posted by zinden
Syntax error: table index is nil
stack traceback:
   1:  function `LoadRegistredFile' at line 1027 [file `Thor.lua']
   2:  function `Main' at line 184 [file `Thor.lua']


a error for me  :)


That error you should not EVEN get... If you have your registered file right and everyting... If someone else have the same problem speak up... cause that error can't be... You missing the Registered.dat in that case...
//NL

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
(No subject)
« Reply #8 on: June 20, 2004, 03:39:43 am »
Hi NightLitch

Is it Possible to get an uncompiled Version of Thor?
I would like to be able to translate it into German.


As to the Error:

I had something similar, but that was because i had altered my Profiles.dat about 2 months ago to make a new Usergroup called Friends. Now after swapping to the Profiles.dat that comes with Thor the Hub did not start and gave out a windows error screen also refering to the registredUsers.dat.

Well after that i set up Thor on my second Hub that still had the original ptokax Profiles.dat, and there was no error at all. well not yet anyway.

At least that what i think could be the answer

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #9 on: June 20, 2004, 08:55:50 am »
Well i do not miss my reg file   :))

maybe some weird nicknames in regfile.dat makes that error?
it got 679 users registered, and it works perfect in NXS-4 script but not in Thor script.

So cant be missing the file but i do know i got very weird signs in some ppl nicknames in reg.dat file

Example:
   678.  ¤ø,¸«~»®øWL@ÑD§«~»°º¤ø
   679.  ·ï¡÷¡ï·§håðøw¤ÐrågøÑ·ï¡÷¡ï·

Those 2 is registered.....i had problems before with some scripts that didnt like those signs

Also how to turn off Spam settings?

Also:

Syntax error: attempt to index global `args' (a nil value)
stack traceback:
   1:  function `DoAdvert' at line 702 [file `Functions.lua']
   2:  function <61:file `Commands/Commands.tbl'> at line 61
   3:  function `ParseCommand' at line 569 [file `Thor.lua']
   4:  function <425:file `Thor.lua'> at line 427
   5:  function `DataArrival' at line 367 [file `Thor.lua']

I think it is !banner text  command
« Last Edit: June 20, 2004, 01:12:38 pm by zinden »
Xion++ - Where it all begins
http://www.zinden.net

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #10 on: June 20, 2004, 01:28:59 pm »
Quote
Originally posted by zinden
Well i do not miss my reg file   :))

maybe some weird nicknames in regfile.dat makes that error?
it got 679 users registered, and it works perfect in NXS-4 script but not in Thor script.

So cant be missing the file but i do know i got very weird signs in some ppl nicknames in reg.dat file

Example:
   678.  ¤ø,¸«~»®øWL@ÑD§«~»°º¤ø
   679.  ·ï¡÷¡ï·§håðøw¤ÐrågøÑ·ï¡÷¡ï·

Those 2 is registered.....i had problems before with some scripts that didnt like those signs

Also how to turn off Spam settings?

Also:

Syntax error: attempt to index global `args' (a nil value)
stack traceback:
   1:  function `DoAdvert' at line 702 [file `Functions.lua']
   2:  function <61:file `Commands/Commands.tbl'> at line 61
   3:  function `ParseCommand' at line 569 [file `Thor.lua']
   4:  function <425:file `Thor.lua'> at line 427
   5:  function `DataArrival' at line 367 [file `Thor.lua']

I think it is !banner text  command


Thx for noticing small bugs gonna fix those when I get to it...

The Profiles.Dat should look like this

0|Master|11111111111111111111111000000001
1|Operator|11111100011001111111111000000001
2|VIP|10000000000001111000000000000000
3|Reg|10000000000000000000000000000000
4|Moderator|11111110011101111111110000000001


And the registered.dat names I may be able to fix that so the names work I have %S+ now maybe if I change it to .+it will work...

The Advert I will fix too...

/NL
//NL

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #11 on: June 20, 2004, 03:02:58 pm »
Quote
Originally posted by Psycho_Chihuahua
Hi NightLitch

Is it Possible to get an uncompiled Version of Thor?
I would like to be able to translate it into German.


As to the Error:

I had something similar, but that was because i had altered my Profiles.dat about 2 months ago to make a new Usergroup called Friends. Now after swapping to the Profiles.dat that comes with Thor the Hub did not start and gave out a windows error screen also refering to the registredUsers.dat.

Well after that i set up Thor on my second Hub that still had the original ptokax Profiles.dat, and there was no error at all. well not yet anyway.

At least that what i think could be the answer


Sorry there will not be any public uncompiled release...
But maybe gonna make a multi language when I get the time...

/NL
« Last Edit: June 20, 2004, 03:03:23 pm by NightLitch »
//NL

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
Some fixes done...
« Reply #12 on: June 20, 2004, 03:53:30 pm »

Updated:

 - fixed possible bug in $SR
 - added SetSpam on/off
 - fixed hopefully RegisteredUsers.dat bug
 - fixed banner nil bug

Thor: 1.1 Public Release
 
/NL
//NL

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
IMPORTANT!!!!
« Reply #13 on: June 20, 2004, 04:20:05 pm »
* REMOVE POST *
« Last Edit: June 20, 2004, 04:26:24 pm by NightLitch »
//NL

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #14 on: June 20, 2004, 04:31:50 pm »

Updated:

- Fixed UserInfoClean bug

Thor: 1.1a Public Release
 
/NL
//NL

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #15 on: June 20, 2004, 04:36:30 pm »
Hello Nightlitch, got a tiny,tiny  request....

atleast try to uncompile the file Functions.lua  or try to remake it. If i let vip users have !adduser command i want them to atleast register users. now they cant.
(in NXS-4 i changed a number in that file so it worked)


also still this after 1.1 update:

Syntax error: bad argument #1 to `strfind' (string expected, got nil)
stack traceback:
   1:  function `strfind' [C]
   2:  function <540:file `Thor.lua'> at line 543
   3:  function `DataArrival' at line 369 [file `Thor.lua']
« Last Edit: June 20, 2004, 04:50:24 pm by zinden »
Xion++ - Where it all begins
http://www.zinden.net

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #16 on: June 20, 2004, 05:08:59 pm »
LOL, if you planning to update alot then i would be greatful if you can write which files that i only need to update...will help me alot. (i overwrited all files = bad move)  he he

Continue with making good scripts
Xion++ - Where it all begins
http://www.zinden.net

Offline jocke

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
(No subject)
« Reply #17 on: June 20, 2004, 06:21:17 pm »
Hello NightLitch, i finally found your "Thor" that u told me to get. It was I that had that weird problem that plop told u about.

Anyway, i have "problems" with this bot too;

1. How can I remove that Thor sends out Thor's MOTD in PM to ALL connecting users? (even if i leave it blank, it's beeing sent). VERY annoiing.
2. Welcome-messages does't display. Not at all, in any group.
3. There is a option that makes u choose between commands/messages beeing sent in PM. With it activated, u still have to type some commands in main - that's "lame"  :rolleyes:
4. U have forgotten the [rule]-tag in command-list. It's supposed to be !kick [rule] [reason]
5. How can u make Thor announce !away and !back?

That would be all for now....

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #18 on: June 20, 2004, 06:38:27 pm »
if you are a vip, seems that they must have a tag in nickname or they cant enter, even removed tag in settings......

regards Zinden
Xion++ - Where it all begins
http://www.zinden.net

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
(No subject)
« Reply #19 on: June 20, 2004, 06:55:17 pm »
Quote
Sorry there will not be any public uncompiled release...
But maybe gonna make a multi language when I get the time...



Ok, thats fine with me  :D
Still hope u find the time someday :))

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #20 on: June 20, 2004, 06:57:43 pm »
Quote
Originally posted by zinden
if you are a vip, seems that they must have a tag in nickname or they cant enter, even removed tag in settings......

regards Zinden


Yeah I now that syndrom... I had problem adapting the IP-Ranger with the TAG checker etc. gonna look into it now and then I release the final for tonight don't really have the time... but can't have unhappy folks using by Bot can I =) hehe

/NL
//NL

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #21 on: June 20, 2004, 07:09:05 pm »

Updated:

 - fixed Tag problem when VIP or OP
 - fixed bug in $ValidateNick
 - fixed so VIP can register users

Thor: 1.1b Public Release

Request from Zinden:

Files Updated:

Thor.lua
Commands\Functions.lua

 
/NL
« Last Edit: June 20, 2004, 07:12:44 pm by NightLitch »
//NL

Offline NotRabidWombat

  • Lord
  • ***
  • Posts: 386
  • Karma: +2/-0
(No subject)
« Reply #22 on: June 20, 2004, 07:20:53 pm »
Closed Source makes me sad.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #23 on: June 20, 2004, 07:58:06 pm »
Quote
Originally posted by NotRabidWombat
Closed Source makes me sad.

-NotRabidWombat


sorry to hear that... But it runs faster...

Can maybe release the source 2...

PM and you can get it if you like Wombat.

/NL
//NL

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #24 on: June 20, 2004, 08:01:16 pm »
about  !adduser nick pass reg


stack traceback:
   1:  function `DoAddUser' at line 287 [file `Functions.lua']
   2:  function <39:file `Commands/Commands.tbl'> at line 39
   3:  function `ParseCommand' at line 576 [file `Thor.lua']
   4:  function <431:file `Thor.lua'> at line 432
   5:  function `DataArrival' at line 373 [file `Thor.lua']


and i am a master in hub
Xion++ - Where it all begins
http://www.zinden.net

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #25 on: June 20, 2004, 08:26:39 pm »
Quote
Originally posted by zinden
about  !adduser nick pass reg


stack traceback:
   1:  function `DoAddUser' at line 287 [file `Functions.lua']
   2:  function <39:file `Commands/Commands.tbl'> at line 39
   3:  function `ParseCommand' at line 576 [file `Thor.lua']
   4:  function <431:file `Thor.lua'> at line 432
   5:  function `DataArrival' at line 373 [file `Thor.lua']


and i am a master in hub


GRRR..... Well gonna check it l8r... Must be with my GF right now... Can't be here al the time... sry, hope you all understand...
//NL

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #26 on: June 20, 2004, 08:33:13 pm »

Updated:

 - fixed !AddUser bug when being HubOwner

Thor: 1.1c Public Release

Files Updated:

Thor.lua
Commands\Functions.lua

 
/NL
//NL

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
another one
« Reply #27 on: June 20, 2004, 08:37:21 pm »
Is it meant to be that i cant set the minumum Client Versions thru the Gui? It always shows the same no matter how often i try to change it.

I do those setting directly in Thor.ini at the moment

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #28 on: June 20, 2004, 09:54:01 pm »
Quote
Originally posted by Psycho_Chihuahua
Is it meant to be that i cant set the minumum Client Versions thru the Gui? It always shows the same no matter how often i try to change it.

I do those setting directly in Thor.ini at the moment


Do you remember to HIT the Save button !?!?
//NL

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
(No subject)
« Reply #29 on: June 20, 2004, 10:00:43 pm »
Quote
Originally posted by NightLitch
Quote
Originally posted by Psycho_Chihuahua
Is it meant to be that i cant set the minumum Client Versions thru the Gui? It always shows the same no matter how often i try to change it.

I do those setting directly in Thor.ini at the moment


Do you remember to HIT the Save button !?!?





uhm hmmm, yes i do in fact  :D  

i tried to set it to DC++ Version 0.180 but even after clicking Save it always stays on 0.305 whenever i set it with the Gui.
But if i write in straight into the ini its shown correcltly the next time i open it again

Offline blackwings

  • Scripter
  • King
  • ******
  • Posts: 992
  • Karma: +12/-8
(No subject)
« Reply #30 on: June 20, 2004, 10:06:32 pm »
Quote
Originally posted by Psycho_Chihuahua
uhm hmmm, yes i do in fact  :D  

i tried to set it to DC++ Version 0.180 but even after clicking Save it always stays on 0.305 whenever i set it with the Gui.
But if i write in straight into the ini its shown correcltly the next time i open it again


I get it to. The first time you start Thor and without change the version, it's version 0.240, but when you change and save(leave the window and go to the next one), then the DC++ will jump up to version 0.305


Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
(No subject)
« Reply #31 on: June 20, 2004, 10:06:54 pm »
Ah thx for notice that bug, you are absolutely right about that...

When changing something and going back everytinh changed is 0.305 or what you last wrote... gonna fix that...

But if it's not much of a problem configuring through the INI-file for some time, then Am gonna fix that bug when I get the chance...

Cheers / NL
//NL

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
Hey, No Problem
« Reply #32 on: June 20, 2004, 10:18:37 pm »
Quote
Originally posted by NightLitch
Ah thx for notice that bug, you are absolutely right about that...

Cheers / NL



No Problem, didn't bother me that much cause i noticed that i could do it via ini.

Noticed actually while searching for a way to translate into German rofl

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #33 on: June 20, 2004, 10:32:24 pm »
got this:

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function <525:file `Thor.lua'> at line 530
   2:  function `DataArrival' at line 373 [file `Thor.lua']
Xion++ - Where it all begins
http://www.zinden.net

Offline jocke

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
(No subject)
« Reply #34 on: June 20, 2004, 10:57:22 pm »
Great work NightLitch, the VIP-bug really bothered me.
When u have time, look into the req's & changes i made at page 1.

Updated my req & fix-list;

1. How can I remove that Thor sends out Thor's MOTD in PM to ALL connecting users? (even if i leave it blank, it's beeing sent). VERY annoiing.
2. Welcome-messages does't display. Not at all, in any group. It works if I use the !intro and !outro commands, but not by default.
3. There is a option that makes u choose between commands/messages beeing sent in PM or in mainchat. With it activated, u still have to type some commands in main - minor fix, but...
4. U have forgotten the [rule]-tag in command-list. It's supposed to be !kick [rule] [reason]
5. How can u make Thor announce !away and !back for all users/groups?
6. How to integrate more commands into Thor? (if I have other scripts, like IMDB, etc)
7. How to disable IP Checker on VIP's? I have CMD as OP-client, but i do not share through this. Therefore i have a second client for this. At the same time i do not want normal users to have several clients connect from the same ip.

And yeah, I know some of them are VERY minor, but i've allways been looking for "the perfekt bot", and Thor is so close beeing the one....  :))
« Last Edit: June 20, 2004, 11:37:09 pm by jocke »

 

determinate determinate