Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Era Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=162)
-   -   Stat Lookups (https://forums.graalonline.com/forums/showthread.php?t=134258055)

evilchaseofdoom 02-18-2010 12:23 AM

Stat Lookups
 
For some guns, such as the Black Lotus as an example don't work when you PM the NPC Server. Do you need to do an underscore for spaces or something? Also the Neo Rifle doesn't work either.

cbk1994 02-18-2010 01:36 AM

stats "Black Lotus"
stats "New Neo Rifle"

Nonepwnz 02-18-2010 01:36 AM

I tried the, M1 Carbine. Worked when I used "M1 Carbine" and not only: M1 Carbine

But then, I tried FN Mark 46, also "FN Mark 46" but that didn't work either. I don't know, maybe some guns isn't added there?

cbk1994 02-18-2010 01:42 AM

The system just reads from the weapons folder, Era's item system is a mess so it's not really possible to have lookups for the item name (stats are only accessible clientside).

Quote:

Originally Posted by Nonepwnz (Post 1556845)
I tried the, M1 Carbine. Worked when I used "M1 Carbine" and not only: M1 Carbine

But then, I tried FN Mark 46, also "FN Mark 46" but that didn't work either. I don't know, maybe some guns isn't added there?

stats "FNMark46"

Nonepwnz 02-18-2010 02:01 AM

Quote:

Originally Posted by cbk1994 (Post 1556850)
The system just reads from the weapons folder, Era's item system is a mess so it's not really possible to have lookups for the item name (stats are only accessible clientside).



stats "FNMark46"

Oh, thanks :-)

DustyPorViva 02-18-2010 02:03 AM

Quote:

Originally Posted by cbk1994 (Post 1556850)
The system just reads from the weapons folder, Era's item system is a mess so it's not really possible to have lookups for the item name (stats are only accessible clientside).



stats "FNMark46"

If no weapons have spaces in lookups, you could perhaps have the system automatically parse out spaces to ease that sort of problem on the player's side.

cbk1994 02-18-2010 02:50 AM

Quote:

Originally Posted by DustyPorViva (Post 1556856)
If no weapons have spaces in lookups, you could perhaps have the system automatically parse out spaces to ease that sort of problem on the player's side.

Some do. Era's scripts are a mess.

Frankie 02-18-2010 04:07 AM

would be nice to see an interface type thing instead of just pming the npc server. seems really sloppy.

TSAdmin 02-18-2010 04:37 AM

Quote:

Originally Posted by Frankie (Post 1556881)
would be nice to see an interface type thing instead of just pming the npc server. seems really sloppy.

^ What he said. Less hassle of explaining to players "Correct formats" for a lookup, user-friendly display.

evilchaseofdoom 02-18-2010 05:25 AM

And I don't really know if you can measure spread in terms of numbers, but it would be nice if it was somehow mentioned in the stat lookups. I also agree to what Frankie says btw. Plus players can look at ALL of the available guns. Great for noobs to learn which guns are what, etc.

DustyPorViva 02-18-2010 05:30 AM

Quote:

Originally Posted by evilchaseofdoom (Post 1556904)
And I don't really know if you can measure spread in terms of numbers, but it would be nice if it was somehow mentioned in the stat lookups. I also agree to what Frankie says btw. Plus players can look at ALL of the available guns. Great for noobs to learn which guns are what, etc.

Spread can easily be explained in degrees.

Quote:

Originally Posted by cbk1994 (Post 1556870)
Some do. Era's scripts are a mess.

Well in that case first do a normal check, and if nothing is found remove spaces?

cbk1994 02-18-2010 06:38 AM

Quote:

Originally Posted by evilchaseofdoom (Post 1556904)
And I don't really know if you can measure spread in terms of numbers, but it would be nice if it was somehow mentioned in the stat lookups. I also agree to what Frankie says btw. Plus players can look at ALL of the available guns. Great for noobs to learn which guns are what, etc.

Spread is measured in radians. I'll try to add it soon.

DustyPorViva 02-18-2010 06:54 AM

Quote:

Originally Posted by cbk1994 (Post 1556916)
Spread is measured in radians. I'll try to add it soon.

Should be converted into degrees as it's more recognizable/easier to understand(better to see 90degrees than 1.57, for example).

evilchaseofdoom 02-18-2010 06:57 AM

Ya, Radians is not hard to convert, in fact I just learned this in class today. But Degrees be better for people who don't know radians.

Demisis_P2P 02-18-2010 07:03 AM

It doesn't matter anyway because you dorks aren't going to look at it and go "38 degrees is HELLA MAD SPREAD". You're going to look at it and go "this one is higher than that one, it is better".

P.S. 38 degrees is too much spread imo.

DustyPorViva 02-18-2010 07:13 AM

Quote:

Originally Posted by Demisis_P2P (Post 1556923)
It doesn't matter anyway because you dorks aren't going to look at it and go "38 degrees is HELLA MAD SPREAD". You're going to look at it and go "this one is higher than that one, it is better".

P.S. 38 degrees is too much spread imo.

Except when you're working with radians you're working on a 0-pi*2(~6.28) scale, as opposed to degrees that are on a 0-360 scale. It's much easier to take a quick glimpse and see that a 5degree spread is favorable instead of 0.001 equivalent of radians. Just larger scale = simpler digestion.

Also, 38 degrees doesn't seem like too much for a shotgun :)

TSAdmin 02-18-2010 11:45 AM

2 Attachment(s)
Quote:

Originally Posted by cbk1994 (Post 1556916)
Spread is measured in radians. I'll try to add it soon.

Quote:

Originally Posted by DustyPorViva (Post 1556920)
Should be converted into degrees as it's more recognizable/easier to understand(better to see 90degrees than 1.57, for example).

Quote:

Originally Posted by Demisis_P2P (Post 1556923)
It doesn't matter anyway because you dorks aren't going to look at it and go "38 degrees is HELLA MAD SPREAD". You're going to look at it and go "this one is higher than that one, it is better".

P.S. 38 degrees is too much spread imo.

You could just make it a visual display. EG: Next to the weapon image in some form of information display, the range (Spread) is shown at min-max degrees visually, like so:

Attachment 50426

No numbers, no conversions, just a visual representation of the min-max spread within say a 20 tile radius scaled down.

Venom_Fish 02-18-2010 01:37 PM

You should've been a Graphic Artists, Squirt is desperately in-need of some, you're awesome.

cbk1994 02-18-2010 01:55 PM

Graphic representations of spread are pretty useless, you can't easily compare them between guns.

As Demisis said, players will just compare the spread of one gun to another, not actually think about the angle. Converting between radians and degrees is just subject to rounding errors and inaccuracy.

salesman 02-18-2010 08:22 PM

Quote:

Originally Posted by cbk1994 (Post 1556978)
As Demisis said, players will just compare the spread of one gun to another, not actually think about the angle. Converting between radians and degrees is just subject to rounding errors and inaccuracy.

I think he meant for sake of displaying it publicly...you'd still use radians in the actual script. Degrees are much easier to compare than radians, and it doesn't really have to be perfect so roundoff errors are not an issue.

cbk1994 02-19-2010 12:42 AM

Quote:

Originally Posted by salesman (Post 1557057)
I think he meant for sake of displaying it publicly...you'd still use radians in the actual script. Degrees are much easier to compare than radians, and it doesn't really have to be perfect so roundoff errors are not an issue.

I understand that he was talking about public display, but like I said, I don't think it's a problem. Players are just going to compare it against other guns.

Venom_Fish 02-19-2010 02:29 AM

I don't think spread-display is really a necessity, I mean spread is based on preference.
While freezetime, rate of fire and such really are a one-way street for players. Less, Less, Less.

DarknessShadow 02-19-2010 12:48 PM

Quote:

Originally Posted by Venom_Fish (Post 1557147)
I don't think spread-display is really a necessity, I mean spread is based on preference.
While freezetime, rate of fire and such really are a one-way street for players. Less, Less, Less.

Actually you want more rate of fire,not less.

DustyPorViva 02-19-2010 12:54 PM

Quote:

Originally Posted by Venom_Fish (Post 1557147)
I don't think spread-display is really a necessity, I mean spread is based on preference.
While freezetime, rate of fire and such really are a one-way street for players. Less, Less, Less.

Spread can be a defining factor between two automatic(or even non-automatic) guns when all their other stats are similar. It's basically the accuracy of the gun.

Venom_Fish 02-19-2010 09:36 PM

Darow, you'd want less sleeptime (= Higher Rate of Fire) is what I meant.

And, Dusty... I was saying pertaining to Era. If all the stats are completely the same, its based on the preference of the user as to whether he wants less spread or more spread.
In other words, it can't be said factually, that more spread on Era is better than less or none or vice-versa. Its based on the user, which varies.

DustyPorViva 02-19-2010 09:44 PM

Quote:

Originally Posted by Venom_Fish (Post 1557278)
In other words, it can't be said factually, that more spread on Era is better than less or none or vice-versa. Its based on the user, which varies.

All the more reason to have it shown, no?

Also... how is spread any different on Era than any other implementation? Spread is spread... pretty sure Era implements it on a similar way -- a max value for the random angle applied to the projectiles. Why exactly someone would WANT a higher spread(besides weapons like shotguns) is a little baffling, but moot nonetheless.

cbk1994 02-19-2010 11:54 PM

I've added spread to the stats display, in both radians and degrees (note that the measure of radians is the angle at which they can go either direction, and that the actual angle it can go is twice that; I've doubled the number when converting to degrees for simplicity)

xAndrewx 02-20-2010 12:36 AM

That's cool- too bad there's not enough space for it in the inventory :(


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

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