unable to add commands?

unable to add commands?

Postby the_evil_one44 » 02 Oct 2013, 18:46

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.
the_evil_one44
 
Posts: 50
Joined: 21 Sep 2013, 19:09

Re: unable to add commands?

Postby the_evil_one44 » 02 Oct 2013, 18:52

Error CS1513
Message: } expected
Line: 55

i think that's it.
the_evil_one44
 
Posts: 50
Joined: 21 Sep 2013, 19:09

Re: unable to add commands?

Postby Breakdown901 » 02 Oct 2013, 20:15

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.
Owner of:
Breakdown901 Lava Survival/Zombie Survival/Freebuild
Host of NeonGaming Lava Survival.
Breakdown901
 
Posts: 320
Joined: 24 May 2013, 12:54

Re: unable to add commands?

Postby the_evil_one44 » 04 Oct 2013, 10:40

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 -,-)
the_evil_one44
 
Posts: 50
Joined: 21 Sep 2013, 19:09

Re: unable to add commands?

Postby joppiesaus » 04 Oct 2013, 11:31

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.
joppiesaus
 
Posts: 379
Joined: 20 Aug 2012, 07:28
Location: in a obsedian house, with glass in it so i can see the lava!

Re: unable to add commands?

Postby the_evil_one44 » 04 Oct 2013, 21:10

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:
the_evil_one44
 
Posts: 50
Joined: 21 Sep 2013, 19:09


Return to Help

Who is online

Users browsing this forum: No registered users and 6 guests

cron