Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #31  
Old 10-07-2005, 02:19 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Quote:
Originally Posted by Stefan
Please report bugs if you know of some


So i'm supposed to report bug's within my own scripts for a version I cannot use ?? O_o

Well since i only have 1 post a day ...

Maloria:
1. In space wars for some reason players with V4 their animations are not replaced after playing 1-2 times

2. [Being Fixed] and their props stay the same even though they are supposed to be changed by an NPC on entering.

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)";



I'm guessing some of those this.blah's are now reserved in V4 to get char props that weren't assigned in V2 ? I know i had problems using a similar sys in GS2 on Dev. Or is it something else?

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

I'll report more when I'm at home I'm @ school now and still sick

[edit]
Well you say it's on old server it's using old scripting but those str's are messing up , well I assume it is them so..
i guess I have to change those strings *sigh* lots of fixing.

[/edit]
__________________

To the sun of your age, I arise

Last edited by TB3; 10-07-2005 at 02:55 PM..
  #32  
Old 10-07-2005, 02:37 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
this.head, this.body and this.shield cannot be modified since they are already used for the head, body and shield of the current object. Normally that shouldn't be hard to test though, if the server is using old scripting then v4 is using old scripting, if the server is using new scripting then you should normally have Gold/VIP to login to your server.
  #33  
Old 10-07-2005, 03:43 PM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
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.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight

Last edited by ForgottenLegacy; 10-07-2005 at 03:54 PM..
  #34  
Old 10-07-2005, 06:29 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally Posted by ForgottenLegacy
Yeah, this does get annoying because of some access violation errors that can crash Graal, as I've seen countless times
Trying to modify those variables shouldn't cause errors; can you give any examples?
__________________

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.