Resource icon

Approved HomeSystem 2.6.5

No permission to download

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
DreTaX updated HomeSystem with a new update entry:

Fixes

Fixed DistanceCheck, since you couldn't set a home if the ini file contained a null home somewhere. I assume it was because it doesn't accept latin chars, so for example russian chars wouldn't be inside the ini. That stopped the for cycle. Those homes get deleted, which are buggy.
Read the rest of this update entry...
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
Thanks for the fix, Also I noticed that a little bit of the code is ever so slightly broken.
This is what it currently is:
JavaScript:
Line 845:    BZHJ.addJob('ByPassRoof', jointpdelay, iJSON.stringify(jobParams));
Line 846:    //}
Line 847:}
Line 848:
Line 849:function On_PlayerDisconnected(Player) {
The function for On_PlayerDisconnected appears to be broken.
Remove the "//}" on line 846 and its fixed. :p
 
  • Informative
Reactions: DreTaX

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Thanks for the fix, Also I noticed that a little bit of the code is ever so slightly broken.
This is what it currently is:
JavaScript:
Line 845:    BZHJ.addJob('ByPassRoof', jointpdelay, iJSON.stringify(jobParams));
Line 846:    //}
Line 847:}
Line 848:
Line 849:function On_PlayerDisconnected(Player) {
The function for On_PlayerDisconnected appears to be broken.
Remove the "//}" on line 846 and its fixed. :p
Why is it broken?

 

balu92

Retired Staff
Retired Staff
Trusted Member
Jul 11, 2014
338
75
28
34
Thanks for the fix, Also I noticed that a little bit of the code is ever so slightly broken.
This is what it currently is:
JavaScript:
Line 845:    BZHJ.addJob('ByPassRoof', jointpdelay, iJSON.stringify(jobParams));
Line 846:    //}
Line 847:}
Line 848:
Line 849:function On_PlayerDisconnected(Player) {
The function for On_PlayerDisconnected appears to be broken.
Remove the "//}" on line 846 and its fixed. :p
removing a line that was commented out fixed a problem? :O
 

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
Thanks for the fix, Also I noticed that a little bit of the code is ever so slightly broken.
This is what it currently is:
JavaScript:
Line 845:    BZHJ.addJob('ByPassRoof', jointpdelay, iJSON.stringify(jobParams));
Line 846:    //}
Line 847:}
Line 848:
Line 849:function On_PlayerDisconnected(Player) {
The function for On_PlayerDisconnected appears to be broken.
Remove the "//}" on line 846 and its fixed. :p
Removing something commented fixing the code ? I think not.
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
I don't see any problems with it, neither the compiler o_O
Never mind, I tried out the plugin and it worked lol.
My VisualStudio was reading '//}' as a '{' and giving an error.
not sure why.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
DreTaX updated HomeSystem with a new update entry:

Fixes

Fixed huge amount of code, and logical works.
Fixed plugin to fully work on 1.0.5 and before.
Fixed homenumber, now you can have more than 2 homes, even a 100.
Fixed some syntax errors O_O (Quoting Riketta: "omg")


Thanks for @Snake for scouting the errors with me.
Read the rest of this update entry...