Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-02-2005, 08:29 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Resolved: Weapon causing access violation

Through working on a weapon on server "Versus", I have found what seems to be a bug!

When I fire the weapon, and then update the script again, I get "Access violation at address 00000000. Read of address 00000000."

The weapon then deletes itself from the client (but not the attributes), and only reappears when the script is next updated/logging onto the server again.

However! If you do not fire the weapon, then script updates do not cause a problem.

Nothing is output to the F2 console about the weapon, or any errors.

The weapon name is "Axe" on the server "Versus", and this does not happen with other weapons.
(Edit) It does with the Wood Cutting Axes too, but similar scripting. (Edit)
I have also never experienced this before now.

I can't really post the script, but if someone could please check this out, I would appreciate it.

Last edited by Skyld; 11-06-2005 at 12:48 AM..
Reply With Quote
  #2  
Old 11-02-2005, 09:08 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
I remember getting the same error every now and then when working with weapons. But I don't remember the weapon leaving from attributes.

EDIT (in repsonse to below):
Sorry, I meant that I didn't remember the weapon leaving the client.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.

Last edited by napo_p2p; 11-02-2005 at 10:52 PM..
Reply With Quote
  #3  
Old 11-02-2005, 09:45 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by napo_p2p
I remember getting the same error every now and then when working with weapons. But I don't remember the weapon leaving from attributes.
Well, like I said, it didn't leave the attributes.
__________________
Skyld
Reply With Quote
  #4  
Old 11-05-2005, 11:19 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
IT has done this to me a couple of times too. I'd like to know how to fix it.
Reply With Quote
  #5  
Old 11-05-2005, 11:19 PM
Mykel Mykel is offline
:o
Mykel's Avatar
Join Date: May 2002
Location: Canton, Ohio.
Posts: 5,526
Mykel has a spectacular aura about
Send a message via AIM to Mykel Send a message via MSN to Mykel
Yeah. We've been getting that on Versus. You have to remove the NPC(s), and it gives you another access violation when you remove them, then you have to add them back. After you add them back it's fine, but it's really annoying.
__________________
(Married to Skyld)
Reply With Quote
  #6  
Old 11-06-2005, 01:10 AM
Shiftk03- Shiftk03- is offline
I am the trap
Shiftk03-'s Avatar
Join Date: Nov 2001
Location: Dirty South
Posts: 1,688
Shiftk03- will become famous soon enough
I get the same access violation when I hit F3 sometimes. Then all the boxes magically uncheck themselves, text size increases, then text size increases additionally after I hit F3 again. It also steals all audio from my speakers coming from Graal.
__________________
Reply With Quote
  #7  
Old 11-07-2005, 04:43 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
I checked the problem, the attr[] variable was not protected and it was possible to overwrite it by your own array, but the engine doesn't expect the attr[] variable to disappear, so it crashes / gives an error. I have fixed it in my v4 version, please also don't use this.attr[] for storing temporary variables since it is not meant for that.
Reply With Quote
  #8  
Old 11-07-2005, 09:02 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Ah, thank you for sorting that.
__________________
Skyld
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:54 PM.


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