Page 1 of 1

unable to add commands?

PostPosted: 02 Oct 2013, 18:46
by the_evil_one44
yet again sorry for so many help posts, though here should be my last one.

so i followed dzienny's tutorial on how to add a cmd (/punch) and it didn't work, it tells me to check the error logs which are empty. the only way that works is a program which _retaliate_ made (of which i could only use when he sent me the .cs and .dll files). i will restart the server to see if they come up.

Re: unable to add commands?

PostPosted: 02 Oct 2013, 18:52
by the_evil_one44
Error CS1513
Message: } expected
Line: 55

i think that's it.

Re: unable to add commands?

PostPosted: 02 Oct 2013, 20:15
by Breakdown901
Yes, this means that on line 55 of the commands code, there is a } missing. What you can do, is paste this into Notepad or something, goto Edit then Go to, then put in 55. On that line, make a }, and you should be good to go!

Tip: Always copy the full code, copying the full code will let you avoid errors like this.

Re: unable to add commands?

PostPosted: 04 Oct 2013, 10:40
by the_evil_one44
Breakdown901 wrote:Yes, this means that on line 55 of the commands code, there is a } missing. What you can do, is paste this into Notepad or something, goto Edit then Go to, then put in 55. On that line, make a }, and you should be good to go!

Tip: Always copy the full code, copying the full code will let you avoid errors like this.


oh, thanks for the info. (though i've somehow broke the whole server anyway -,-)

Re: unable to add commands?

PostPosted: 04 Oct 2013, 11:31
by joppiesaus
You didn't break the server :) It is just a compile error, which means there is a mistake made during coding the command. I believe _Relatile_ fixed it.

Re: unable to add commands?

PostPosted: 04 Oct 2013, 21:10
by the_evil_one44
no, no. i've broke it in a different way now :I. whenever i open the server it says (translation) *firewall has blocked dzienny*. i do "allow" and it starts up but there's no link to get on it and no-one, not even myself, can connect. :arrow: