Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-16-2005, 12:25 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Post G3/GS2 Bugs.

Gah! I just did erase, and it just cleared my page.

Anyhow! I was finished, so I'll retype. I've found several bugs (and some solutions) to G3 (Graal version 3) and GS2 (New Graal Script).

GS2:
setshape(int,int,int): Doesn't work. Use setshape int,int,int;

shoot: Doesn't work at all. (I really need this!)

player.dir: setplayerdir(int); Should allow player.dir to be read-write.

G3:
old-npcs: client passes through NPCs without setshape. This causes a lot of annoyance because old scripters didn't put it because G2 had images block anyways. Default should have setshape 1,imgwidth,imgheight, unless specified otherwise.

pk-system: G3 can hit G3 and G2, but G2 can't hit G3. Possible Error: G3 triggeractions are CaseSensitive. Thus, G3 clients don't recieve the hit trigger.

Crash-on-login: G3 crashes when it logs into a server. To fix this, disable automapping.

Crash-on-changeserver: G3 crashes when swapping server. Reboot G3 each time.

Decimals: Scripts such as x += 0.5; don't work anymore. A double text with the second this.x + 1,this.y + 1, do not change the position, resulting in total overlapping.
Reply With Quote
  #2  
Old 03-16-2005, 10:13 AM
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
GUI scripts don't work after logging onto Graal3D. The only solution is to restart the client.
__________________
Skyld
Reply With Quote
  #3  
Old 03-17-2005, 11:01 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 couldn't really found a problem with the mentioned things. There are are some known problems which will be fixed in the version:

- the chat might stop working when switching servers
- you cannot get hurt by players without guild tag if you don't have a guild tag yourself (only on servers using the classic hitpoint system)
- big maps using automapping are causing problems on v2, on v3 they are often crashing the client (depends on the gfx card though). To fix that tempory disable automapping in the gmap itself (NOAUTOMAPPING) or disable automapping in the client options.
Reply With Quote
  #4  
Old 03-18-2005, 12:03 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
Quote:
Originally Posted by Velox Cruentus
Gah! I just did erase, and it just cleared my page.

Anyhow! I was finished, so I'll retype. I've found several bugs (and some solutions) to G3 (Graal version 3) and GS2 (New Graal Script).

GS2:
setshape(int,int,int): Doesn't work. Use setshape int,int,int;

shoot: Doesn't work at all. (I really need this!)

player.dir: setplayerdir(int); Should allow player.dir to be read-write.

G3:
old-npcs: client passes through NPCs without setshape. This causes a lot of annoyance because old scripters didn't put it because G2 had images block anyways. Default should have setshape 1,imgwidth,imgheight, unless specified otherwise.

pk-system: G3 can hit G3 and G2, but G2 can't hit G3. Possible Error: G3 triggeractions are CaseSensitive. Thus, G3 clients don't recieve the hit trigger.

Crash-on-login: G3 crashes when it logs into a server. To fix this, disable automapping.

Crash-on-changeserver: G3 crashes when swapping server. Reboot G3 each time.

Decimals: Scripts such as x += 0.5; don't work anymore. A double text with the second this.x + 1,this.y + 1, do not change the position, resulting in total overlapping.
thanks for crash on login! I was wondering how i could make g3 work with era!
Reply With Quote
  #5  
Old 03-18-2005, 12:21 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Oh yeah that solution for guiscripts made the scripted rc work for me, i always launched g3 by loading graal3d from g2, :-P
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #6  
Old 03-18-2005, 12:32 AM
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 falco10291029
Oh yeah that solution for guiscripts made the scripted rc work for me, i always launched g3 by loading graal3d from g2, :-P
Well, I personally much prefer Graal 3, so I don't use that. I just found it odd that GUI scripts don't work post-Graal3D.
Reply With Quote
  #7  
Old 03-18-2005, 01:48 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Stefan
I couldn't really found a problem with the mentioned things. There are are some known problems which will be fixed in the version:

- the chat might stop working when switching servers
- you cannot get hurt by players without guild tag if you don't have a guild tag yourself (only on servers using the classic hitpoint system)
- big maps using automapping are causing problems on v2, on v3 they are often crashing the client (depends on the gfx card though). To fix that tempory disable automapping in the gmap itself (NOAUTOMAPPING) or disable automapping in the client options.
setshape definitly doesn't work on my playerworld.
Reply With Quote
  #8  
Old 03-18-2005, 02:02 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Any idea why on Elemental kingdoms for g3 my character jumps (z increases with their arms up, then the z decreases) but not on g2? I looked to make sure I didn't have a clientside gs2 script (only explanation I can think of) but there wasn't one.
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #9  
Old 03-18-2005, 02:59 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Quote:
Originally Posted by Stefan
I couldn't really found a problem with the mentioned things. There are are some known problems which will be fixed in the version:

- the chat might stop working when switching servers
- you cannot get hurt by players without guild tag if you don't have a guild tag yourself (only on servers using the classic hitpoint system)
- big maps using automapping are causing problems on v2, on v3 they are often crashing the client (depends on the gfx card though). To fix that tempory disable automapping in the gmap itself (NOAUTOMAPPING) or disable automapping in the client options.
Hrm -- I heard you wanted to talk to me. Whenever you do, I could show you how they are not working.
Reply With Quote
  #10  
Old 03-18-2005, 01:10 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
Setshape is working perfectly, shoot too, using it a lot on Zone. Eventually post some script parts.
Older versions of the npcserver couldn't access playerz/player.z, but that has been fixed some weeks ago.
Reply With Quote
  #11  
Old 03-18-2005, 08:52 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
This sums it.
PHP Code:
//#CLIENTSIDE
function onWeaponfired()
{
this.angle := playerdir==3?0:(playerdir+1)*1.57;
this.angle += random(-this.defprop[6],this.defprop[6]);
player.chat := "Bang!";

this.:= this.defprop[9][player.dir][0] + vecx(player.dir)*random(-this.defprop[6],this.defprop[6]);
this.:= this.defprop[9][player.dir][1] + vecy(player.dir)*random(-this.defprop[6],this.defprop[6]);

shoot player.x-this.x,player.y-this.y,player.z,this.angle,0,0,era_shotgun-bullet,;
shoot(player.x-this.x,player.y-this.y,player.z,this.angle,0,0,"era_shotgun-bullet.gani","");

That goes doesn't work. The player does say "Bang", but no projectile.

PHP Code:
function onCreated(){
  
setshape(1,32,32);

That doesn't work as well.

EDIT:

Apparently, Shoot works, though that projectile in particular doesn't work. So! I'll find the solution on my own. -- -- Found it. I don't know what was the problem, however. I do believe it's just the using this.x and this.y in weapons are read-only. Thus my projectiles didn't go well.

Last edited by Velox Cruentus; 03-18-2005 at 09:35 PM..
Reply With Quote
  #12  
Old 03-20-2005, 03:52 AM
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.x" and "this.y" are redirecting to "x" and "y" and are special for weapons, so I wouldn't use them for storring temporary data. For the shoot command don't add the ".gani" to the ani parameter (the last 2 parameters are exactly like for the setani/setcharani commands).
The setshape should work though, its working on Zone, otherwise you couldn't use the teleporters. I can check it again if I have time though.
Reply With Quote
  #13  
Old 03-20-2005, 05:22 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
Quote:
Originally Posted by Stefan
"this.x" and "this.y" are redirecting to "x" and "y" and are special for weapons, so I wouldn't use them for storring temporary data. For the shoot command don't add the ".gani" to the ani parameter (the last 2 parameters are exactly like for the setani/setcharani commands).
The setshape should work though, its working on Zone, otherwise you couldn't use the teleporters. I can check it again if I have time though.
try it clientside, it should be creating a blockable region of the specified area but it does not for me

PHP Code:
function onCreated() {
  
setimg("block.png");
}
//#CLIENTSIDE
function onCreated() {
  
setshape(1,64,64);

the blockable region should extend past the block image by 2 tiles
__________________

Reply With Quote
  #14  
Old 03-23-2005, 06:33 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
seems my snake game has problems with graal3...
Reply With Quote
  #15  
Old 04-03-2005, 03:22 AM
LoadedSwift LoadedSwift is offline
Meph
Join Date: Dec 2004
Posts: 10
LoadedSwift is on a distinguished road
Yeah, Graal3 and gscript2 definately have static with one another.
(Movement system was noticed automatically.)



I'm sure that the old(smooth moving, no lag) version won't be fixed, But I decided I'd give it a shot for the hell of it.
Reply With Quote
Reply


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 12:11 AM.


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