Quote:
|
Originally Posted by TB3
I think there is a sharing violation here :
NPC Code:
setstring this.props,"#s(this.head)","#s(this.body)","#s(thi s.shield)","#s(this.hat)","#s(this.cskin)","#s(thi s.ccoat)","#s(this.csleeves)","#s(this.cshoes)","# s(this.cbelt)";
|
The properties 'head', 'body', 'shield', 'hat', 'cskin', 'ccoat', 'csleeves', 'cshoes', and 'cbelt' are predefined to the NPC, as in, they exist and can't be modified, somewhat like timevar or timevar2. Adding a 'this' in front of them no longer makes a new variable, as it did in GS1. In GS2, the prefix 'this'
only means that the property or variable after it is going to that current NPC or current target, instead of making a brand new var. Yeah, this does get annoying because of some access violation errors that can crash Graal, as I've seen countless times (Like Calani's scripts, for example :P)
Anyway, throw all of your files into a folder and use a program like ArtMoney or something to rename every instance of 'this.head' to 'this.malhead' or something. Or, I could try to learn enough C++ to make a dynamic replacer application thingey.
Quote:
|
Originally Posted by TB3
3. Also lance was experiencing trouble as well as a few other V4 users in the jump n slide event saying that they could not jump the distance that v2 people could nor could they slide through some of the obstacles. NO clue here =D
|
Make two of them. One in GS2, one in GS1, and have them for v3/v4<3 and v2, respectively. v4 has a much stricter scripting tolerance, so it can't exactly run everything you throw at it, and v3 is just plain ugly. When v2 is disabled, add a script into your ControlNPC that disables v3 as well, and everyone will need to use v4, so yea, that'll eventually solve the problem.