Forum

> > CS2D > Scripts > Premmision denied in HC Admin script...
Forums overviewCS2D overview Scripts overviewLog in to reply

English Premmision denied in HC Admin script...

22 replies
Page
To the start Previous 1 2 Next To the start

old Premmision denied in HC Admin script...

Arochelo
User Off Offline

Quote
Hello...

IM ASKING FOR HELP ! NOT ANYTHING ELSE ! PLEASE HELP... ALREDY ASKED TONS OF PEOPLE.

I Got a problem with the script in my server...

1. I put the files THAT WERE IN THE RAR FILE, INSIDE THE LUA FOLDER. NOT AUTORUN. ALSO, NOT THE RAR FILE. I PUT THE FILES FROM THE RAR FILE. (THAT WERE EXTRACTED)

Is that ok ?

2. In the server file, in the last line, i put it like this :
http://prntscr.com/45gblt

Is this ok ?

3. This is what its suppose to open :

http://prntscr.com/45gbpe

Is this fine ?

4. http://prntscr.com/454x01
What can i do ?!?

5. Is this the right firewall configuration ? i mean, i just added the CS2D to the firewall "Allow" or something like that. like, the firewall wont block cs2d.
What is the problem ?!?

What do i mean - http://prntscr.com/45gc5e


Sorry for bad english ! i got pretty good english, but i wrote this quick and without thinkin alot... Please answer !!!

old Re: Premmision denied in HC Admin script...

SpriNG
User Off Offline

Quote
@user Arochelo: LOL!!! You are funny.

If you are using file cs2d HC Admin Script 1.9.3 then it's easy.You don't have to write anything in server.lua , you have to replace the file "server.lua"(which is in RAR) with "server.lua"(in (sys/lua)).Or just simply follow the download instruction written in on the file description file cs2d HC Admin Script 1.9.3

Screenshot 1 , http://prntscr.com/45gblt , gave me cancer.
edited 1×, last 23.07.14 09:48:35 am

old Re: Premmision denied in HC Admin script...

ohaz
User Off Offline

Quote
First of all: Don't just extract the whole folder. Extract the gfx folder to your cs2d root folder, merge the sys/servertransfer.lst with yours and put the sys/lua/hc folder into your sys/lua/ folder.

Then, add this to your server.lua:
hc_dir = "sys/lua/hc"
hc_conf = hc_dir.."/hc.conf"
dofile(hc_dir.."/hc.lua")

it should work then

Edit: NEVER use server.luas from scripts you download. ALWAYS merge them with yours instead of overwriting yours. Overwriting will lead to all your other scripts not working anymore

old Re: Premmision denied in HC Admin script...

MikuAuahDark
User Off Offline

Quote
You don't need root folder because you're using windows. You just need to know how to install script at their relative folders.

EDIT: i look from your screnshot, it seems that you're trying to open folder with io.open(or function that uses that function). That's why you getting permission denied because you can't open folder in that way.

old Re: Premmision denied in HC Admin script...

Arochelo
User Off Offline

Quote
But how can i extract a folder ?!?
i dont get it !
This is what i did -

i downloaded the rar file from the website (Here)
i opened it, i put the rar file in the sys/lua folder,
i right-click the rar, extract here, then i opened the defualt server.lua file and in the last line i just added the thing that i saied i added...

Now what ? how can i start it all over ??
i just dident got what ohaz said. what can i do ? i dont really understand that kind of stuff...

Really sorry for trouble, but i tried everything and i want my script to work

EDIT - Now i followed the steps and its working !!! Well, half...

http://prntscr.com/45sxtd

See this ?
I Tried alot of smileys and its dosnt show them like the scripts suppose to.
BUT - The map feture works as you can see !

Another thing -
http://prntscr.com/45sz8j

How can i fix this errors ? Mabey thats the reason that the script only half working ?
And also, the F2 For command and f4 for map vote appears in-game sometimes, like it suppose to, but when i click f2, it dosnt do anything.
Mabey because im in as "Server" ? How can i enter normal ?

+ How can i use the Rcon ? i forgot XD...
I Mean, how can i enter commands and all of that ? especialy so i can make myself admin...
edited 1×, last 24.07.14 10:35:49 am

old Re: Premmision denied in HC Admin script...

Raaj Nadar
User Off Offline

Quote
Wait a minute and calm down don't reply untill someone gives you a resonable thing.

Don't just put a load on you brain and try my idea.

I guess the error is caused because you edited it in properly.
And HC made the Admin script in such a way that a professional scriptor can only edit it.

> Use this method only for single Script.
Delete the old Server.lua as well as the HC script file and freshly extract it in the Cs2D folder.(This thing is called as the root folder.)

It will ask weather to replace it.Click yes if you are going to use only script.

> For 2 scripts or many.
Put the sys/lua...something HC script folder .Lua files. in the autorun folder.

old Re: Premmision denied in HC Admin script...

Happy Camper
User Off Offline

Quote
The error message says it can't locate the file hc.lua in sys/lua/hc. I think you have extracted the archive in the wrong folder.

1. Search for the file hc.lua.
2. When you find it, move it together with the rest of the files and folders in the same folder to sys/lua/hc.

old Re: Premmision denied in HC Admin script...

Arochelo
User Off Offline

Quote
Thnx
And another thing - im not sure if people can connect to my server... Can you please help me somehow ? its not lan and in the firewall i defind that it wont block cs2d.

EDIT -

Just searched for the hc.lua file and this is what i found -
http://prntscr.com/464736
Its the same file...
Should i put the other 2 in the hc folder too ? or delete all and only put 1 ??
edited 1×, last 25.07.14 07:32:14 am

old Re: Premmision denied in HC Admin script...

Happy Camper
User Off Offline

Quote
I don't understand your picture. Here is a list of the files and folders that you should put in sys/lua/hc:

• core
• data
• modules
• Changelog.txt
• hc.conf
• hc.lua
• Readme.txt

It might be easier if you unpack the zip file again somewhere else and then just copy the files to your CS2D folder.

old Re: Premmision denied in HC Admin script...

Arochelo
User Off Offline

Quote
This is what i got in my sys/lua folder -
http://prntscr.com/468yrw

This is what i got in autorun -
http://prntscr.com/468z24

This is what i got in samples -
http://prntscr.com/468z7t
http://prntscr.com/468zb9

I Had an HC Folder, than i did what user Raaj Nadar saied and started everything all over.
Now, i got no hc folder...
How can i get it again ?
Also, where are all of that "core", "data", "modules" and such ? what readme file... ? there are a few right ? what changelog ? same as readme... and where is hc.confing ?

REALLY SORRY FOR BIENG IDIOTIC, BUT IM USING WINDOWS XP AND MOST OF YOU GIVING ME SOLUTIONS TO WIN7/WIN8.1

Thnx for the help !!!
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview