funcion /register help me

Started by kennedyarz, Mar 19, 2016, 01:11 AM

Previous topic - Next topic

Mötley

So what are you using now? Fuzzie's account system?

either way if you don't know that style of scripting it is good to learn.

If you don't know how to script you will probably be digging threw all the release everything in general! If this is the case I would suggest for you to name a preference. lucky the community was capable of helping me get my preferences going on account system wise.

But if you do happen to go a different route as I did all I can say is "I HOPE YOU KNOW HOW TO SCRIPT AS RESOURCES ARE LIMITED FOR EVEN MYSELF"

But I know how to script I just get stuck on the dumb stuff luckily.

So If you have any preference please state them before you get yourself deep into your scripting. Just trying to point you in a good direction :D

kennedyarz

a question when I add a script. Kollektives nut file, I have to put that in the main.nut upload with onscriptload while placing it in server conf well as this the bone main.nut the the game mode?

kakan hear and if I have it there in the script function

KAKAN

Quote from: kennedyarz on Mar 20, 2016, 01:07 AMa question when I add a script. Kollektives nut file, I have to put that in the main.nut upload with onscriptload while placing it in server conf well as this the bone main.nut the the game mode?

kakan hear and if I have it there in the script function
Sorry, but I can't understand :(
oh no

MacTavish

@kennedyarz main.nut is the main file of server and it is also the sqgamemode so load main.nut from server.cfg not server.conf and for other .nut files use this in onScriptLoaddofile("YYourFileName.nut", true);

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

kennedyarz


kennedyarz


A QUESTION Where Placing the database .sqlite?

kennedyarz

OnScripLoad the function is what is not bad but there is an error with that, please help me salucionarlo for this charge.

function onScriptLoad()
{
   dofile( "fas_v3_sqlite.nut", true);
   
   pstats <- array( GetMaxPlayers(), null );
   sqliteDB <- ConnectSQL( "database.sqlite" );
   
   print( "Fuzzie's Account System v3 - SQLite variant has successfully loaded..." );
}

Thijn


kennedyarz

AN ERROR HAS ocurred [canon open the file]
CallStack
* FUNTION [onscripload ()] scripts / main.nut line [28]
LOCALS
[This] TABLE

one scripter told me was that there was this very wrong but I have it there in the script folder

Thijn

Like he said, the file doesn't exist. Show us a screenshot of your server folder.

kennedyarz

are you really sure what that says? I I can spend my folder script for yourself to see.

KAKAN

Quote from: kennedyarz on Mar 21, 2016, 08:46 PMare you really sure what that says? I I can spend my folder script for yourself to see.
Quote from: Thijn on Mar 21, 2016, 08:35 PM
Like he said, the file doesn't exist. Show us a screenshot of your server folder.

oh no

Coolkid

In which folder is your main.nut stored is the name of main script main.nut or any thing give if your acrit is not in script folder move it to script folder and rename it to main.nut if it's name is anything else or in server.cfg name the script name and in which loc it is if it is in scripts folder Scripts/main.nut

MacTavish

Quote from: WrostKid on Mar 22, 2016, 11:10 AMIn which folder is your main.nut stored is the name of main script main.nut or any thing give if your acrit is not in script folder move it to script folder and rename it to main.nut if it's name is anything else or in server.cfg name the script name and in which loc it is if it is in scripts folder Scripts/main.nut

Its not about main.nut he haven't placed Fuzzie's nut in right place

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

kennedyarz