Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   GScript Bug: For Stefan (https://forums.graalonline.com/forums/showthread.php?t=47806)

Chrisz 09-08-2003 11:46 PM

GScript Bug: For Stefan
 
This annoyed me.. for.. hours.. x.x I'm working on some solutions around it, none 100% successfull.. ;_;

NPC Code:

disabledefmovement;
disablepause; //OR enablefeatures allfeatures-2; 2 being P key.


This script totally kills off the default weapon selecting... You cant use the arrow keys to select a weapon :(! But you can still use the mouse.. I think its due to some of Graals old engine code still in the .exe somewhere, because the pause menu had selection in it, Pause/End if I remember correctly. I don't know the exact cause since I dont have the source, so thats for Stefan to fix. Its really bugging me because I cant make new movement, and disable the pause button -_-... If Stefan doesn't find this, can someone redirect him to it?? :(

mhermher 09-09-2003 12:08 AM

isnt it enablefeatures #x#?
like 2x10 or so..?

Riot-Starter 09-09-2003 12:13 AM

Its a comination of the two.
1 - M key (map)
2 - P key (pause)
4 - Q key (weapon select)
8 - R key (show ratings)
0x10 - S+A key combination for dropping items
0x20 - S+D key combination for switching weapons
0x40 - TAB key (if disabled then you cannot switch to the chat field with TAB)
0x80 - display of chat text
0x100 - display of the hearts over player heads
0x200 - display of nicknames
0x400 - toall/PM-icons on the minimap
0x800 - right-click on players opens their profile
0x1000 - emoticons (disable it if you want to do other stuff with control+keys)
0x2000 - Alt+5 for making snapshots
0x4000 - Alt+8/9 for zooming
0x8000 - the logframe where savelog stuff is added

Chrisz 09-09-2003 01:12 AM

x.x..

Some people just dont read newfeatures... arent you meant to be a scripter Tyrial?

Python523 09-09-2003 01:23 AM

Quote:

Originally posted by mhermher
isnt it enablefeatures #x#?
like 2x10 or so..?

0x = hex

osrs 09-09-2003 03:02 AM

Yea,that's odd Chrisz. ^^

mhermher 09-09-2003 09:51 AM

No chrisz, i was a scripter.. but now.. yeah.. scripting is boring :(

+ i'm lazy.. so i wen't to GFX when i saw i auctially had a chance in the gfx section...

Chrisz 09-09-2003 07:54 PM

asgfsagfzxz
 
More bugs, this one has been around for a while, and as I'm on the subject of bugs.. it just clicked....

NC Rights:

For this bug to work, you need two folders starting with the same thing. For this example ill use.. 'Staff/' And 'Staff Stuff/'

rw WEAPONS/Staff/*
rw WEAPONS/Staff Stuff/*

The npc server ignores the second right and removes it from your folder rights, disabling access to the 'Staff Stuff/' folder.

This is really annoying, only way around it is to remove everyones npc control, edit server options, d/c the people with NC + restricted rights, then edit the npc. Now thats a long way to go for something so simple as to edit an npc. :(

draygin 09-09-2003 09:23 PM

Re: asgfsagfzxz
 
Quote:

Originally posted by Chrisz
More bugs, this one has been around for a while, and as I'm on the subject of bugs.. it just clicked....

NC Rights:

For this bug to work, you need two folders starting with the same thing. For this example ill use.. 'Staff/' And 'Staff Stuff/'

rw WEAPONS/Staff/*
rw WEAPONS/Staff Stuff/*

The npc server ignores the second right and removes it from your folder rights, disabling access to the 'Staff Stuff/' folder.

This is really annoying, only way around it is to remove everyones npc control, edit server options, d/c the people with NC + restricted rights, then edit the npc. Now thats a long way to go for something so simple as to edit an npc. :(

Problem with that is Graal doesnt recognize spaces do it as StaffStuff not Staff Stuff.

Knuckles 09-09-2003 10:27 PM

Re: asgfsagfzxz
 
Quote:

Originally posted by Chrisz
More bugs, this one has been around for a while, and as I'm on the subject of bugs.. it just clicked....

NC Rights:

For this bug to work, you need two folders starting with the same thing. For this example ill use.. 'Staff/' And 'Staff Stuff/'

rw WEAPONS/Staff/*
rw WEAPONS/Staff Stuff/*

The npc server ignores the second right and removes it from your folder rights, disabling access to the 'Staff Stuff/' folder.

This is really annoying, only way around it is to remove everyones npc control, edit server options, d/c the people with NC + restricted rights, then edit the npc. Now thats a long way to go for something so simple as to edit an npc. :(

Shouldn't this stuff be in the BUG REPORTS forum?

Projectshifter 09-11-2003 12:47 AM

Re: Re: asgfsagfzxz
 
Quote:

Originally posted by Knuckles

Shouldn't this stuff be in the BUG REPORTS forum?

I could've swon there was a Bugs forum around here SOMEWHERE?
---Shifter

Knuckles 09-11-2003 01:32 AM

Re: Re: Re: asgfsagfzxz
 
Quote:

Originally posted by Projectshifter

I could've swon there was a Bugs forum around here SOMEWHERE?
---Shifter

I know... that's why I posted it, silly! :rolleyes:

protagonist 09-11-2003 02:09 AM

I believe that Chrisz, in addition to posting the fact that this is a problem, is also implying that he wants to see if anyone has a solution.

Knuckles 09-11-2003 02:25 AM

Quote:

Originally posted by protagonist
I believe that Chrisz, in addition to posting the fact that this is a problem, is also implying that he wants to see if anyone has a solution.
What's your point? There's still a bug section for people with problems with Graal. :-o

osrs 09-11-2003 02:52 AM

Quote:

Originally posted by Knuckles

What's your point? There's still a bug section for people with problems with Graal. :-o

I think there is no problem to post here,since it's related to scripting. x.x'

Knuckles 09-11-2003 02:57 AM

Quote:

Originally posted by osrs


I think there is no problem to post here,since it's related to scripting. x.x'

OK cool, i'm not tryin' to argue. I'm just saying theres a forum for this kind've thing ^_^.

Chrisz 09-12-2003 11:04 PM

Quote:

Originally posted by protagonist
I believe that Chrisz, in addition to posting the fact that this is a problem, is also implying that he wants to see if anyone has a solution.
Well im glad someone understands what i want :asleep:

Admins 09-14-2003 03:02 AM

Folder names are not accepted when they contain spaces, only a-z, A-Z, 0-9 and _ are currently allowed, to keep the filename resolving easy and to disallow 'filepath hacks'. I guess it will be better to rename the Weapon folder.
I will check the thing with disablepause

Chrisz 09-14-2003 03:16 AM

Thank you, thank you :D

Com013 09-21-2003 11:47 PM

Quote:

Originally posted by Stefan
Folder names are not accepted when they contain spaces, only a-z, A-Z, 0-9 and _ are currently allowed, to keep the filename resolving easy and to disallow 'filepath hacks'. I guess it will be better to rename the Weapon folder.
I will check the thing with disablepause

There is also a problem when you need to make the weapons inside a bag (folder, whatever) undeletable.
For example *Tools/Hammer.

The right "rw WEAPONS/*Tools/*" does not work, obviously because in the filesystem you cannot enter a wildcase for the foldername.

I think there should be an exception in the rights system: Whenever it starts with WEAPONS, NPCS or CLASSES the part after the first slash is not treated as a path, but as a name.

When the NPC rights were first added I thought I had access to all the weapons by having the right "rw WEAPONS/*". Obviously I was wrong, I had no access to all the weapons inside of bags. because of the asterisk inside the bag name, I couldn't get access to them either. So in the end I disabled the new rights system again.


All times are GMT +2. The time now is 03:06 AM.

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