Results 1 to 7 of 7

Thread: Runtime error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by voron00 View Post
    Code:
    undefined is not a field object: (file 'scripts/main.gsc', line 2074)
    if( GetSubStr(self.blocker.targetname, 0, 1) == "wc")
    Code:
    if (!isDefined(self.blocker.targetname))
        return;
    Correction 1 line of code will not solve the problem. I think that in such scripts this is not the only error associated with this.

    set server mode in
    Code:
    developer 0
    or use libcod to avoid shutting down the server in case of such errors.
    Last edited by maxdamage99; 16th October 2019 at 05:27.
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •