Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Pausing the player with Graalscript! (https://forums.graalonline.com/forums/showthread.php?t=35602)

screen_name 08-14-2002 03:50 PM

Quote:

Originally posted by Torankusu
yes it does.
When it's removed, it's removed.

lol, true, but what is it hurting??

Kaimetsu 08-14-2002 07:49 PM

Quote:

Originally posted by Tyhm


Bleh. By that rationalle it's perfectly reasonable to code a pathfinder that operates in n^4 time, because ram's cheap and it's only a matter of time before computers become fast enough that the difference is undetectable.

If the pathfinder causes no noticable slowdown on modern systems then what's the problem? Obviously there would be potential problems if the thing took 50% of the computer's processing time, but a simple movement script could hardly take more than a percentile.

Torankusu 08-15-2002 12:00 AM

Quote:

Originally posted by screen_name


lol, true, but what is it hurting??

you're aware of trademarks and copyrights, right?

Kaimetsu 08-15-2002 12:10 AM

It depends. If he means personal use in that it replaces a head on his own computer but is not found on the server, then fair enough. If he means personal use in that he uploaded it to DK for his use only, then bad.

screen_name 08-15-2002 12:15 AM

Quote:

Originally posted by Kaimetsu
It depends. If he means personal use in that it replaces a head on his own computer but is not found on the server, then fair enough. If he means personal use in that he uploaded it to DK for his use only, then bad.
I meant for personal use on home PC, not online ;)

Torankusu 08-15-2002 12:36 AM

Quote:

Originally posted by screen_name


I meant for personal use on home PC, not online ;)

But he's on Doragon Koden.

Kaimetsu 08-15-2002 12:40 AM

As I said, it's possible that he's merely substituted a graphic on his computer for the yoshi head so that it shows on his screen only. Possible, but unlikely.

Tyhm 08-15-2002 04:30 AM

Wouldn't it be EASIER to hack something with a substructure of forgotten code?

For example, if I recode bombs to use putnpc instead of putbomb - putbomb still exists, it can still be used by hackers, but it's not doing any GOOD....

Kaimetsu 08-15-2002 10:49 PM

Yes, fair point. But then most stuff like that is disabled on the NPC Server now anyway - everything works through triggeraction and putnpc2. It's pretty darned hard to hack anything on there.

G_yoshi 08-16-2002 10:40 AM

Quote:

Originally posted by Torankusu
But he's on Doragon Koden.
Hmm....*scans PW FTP* Nope, not there :p Anything I posted that is from the new overworld is not online :p

Tyhm 08-19-2002 03:31 AM

Right, except that it's not.

The code exists, it's just disabled...

My primary gripe is that Graal is a good engine, but there's that damn 28k (or whatever) per NPCW limit. Even on G2K2 they were constantly trying to keep the inventory from exploding. I mean, I got ideas for stuff to do with the Graal engine post-retirement, but if I gotta make every level < 50k, < 50 NPCs, and every NPC < 28k, it's not gonna work.

I mean, take Tyne's old shooter, Darius or Arius or whatever. The obviously copyrighted one. It didn't use any of the Graal hallmarks - hearts, movement, baddies, whatever - but that code was still there, taking up space and cycles.

Ideally, the engine would be stripped down, and every server would be given a publically available General System NPCW, which is invisible on all accounts (it'd be a toweapons -; or something), can be edited however...and it handles all the movement, damage, baddies, map, inventory, whatever, everything that G2K2 had to disable. Then if you don't want anyone using the default movement, you just overwrite that part of the NPC. Or remove it altogether and have your other NPC handle it. Spar rating? All that stuff, poof. Wanna make a classic server? Just use the default. Wanna make a shooter? Totally rewrite the default. No excess code.

But I'm probably overreacting, it can't be that much of a slowdown in the grand scheme of things.

Kaimetsu 08-19-2002 01:27 PM

Quote:

Originally posted by Tyhm
Right, except that it's not.

The code exists, it's just disabled...

Still, the point is that you can't do anything with putbomb. It's disabled in that the server ignores messages from the client saying that it just laid a bomb. You can't use it to affect other players.

Quote:

My primary gripe is that Graal is a good engine, but there's that damn 28k (or whatever) per NPCW limit. Even on G2K2 they were constantly trying to keep the inventory from exploding. I mean, I got ideas for stuff to do with the Graal engine post-retirement, but if I gotta make every level < 50k, < 50 NPCs, and every NPC < 28k, it's not gonna work.
Hmm. I wonder if it's possible to construct bigger NPCWs by combining classes like I was doing on Oasis. I never got around to testing if it allowed more size.

Quote:

Ideally, the engine would be stripped down, and every server would be given a publically available General System NPCW, which is invisible on all accounts (it'd be a toweapons -; or something), can be edited however...and it handles all the movement, damage, baddies, map, inventory, whatever, everything that G2K2 had to disable. Then if you don't want anyone using the default movement, you just overwrite that part of the NPC. Or remove it altogether and have your other NPC handle it. Spar rating? All that stuff, poof. Wanna make a classic server? Just use the default. Wanna make a shooter? Totally rewrite the default. No excess code.
Sounds okay, but I'd rather just have access to some basic protocols on the server. For example, by default a sword hit could be sent via UDP message index 0, so I could write code on some base server script that says:

if(messageindex==0){
do_my_special_damage_stuff;
}

The clientside slowdown from the redundant code is negligible anyway - the only compelling reason for doing what you suggest is to prevent cheaters invoking code that is meant to be disabled. And by implementing the system above, where every event (meaning every event, even things like client.strings being set from the client) is processed in a redefinable way by the server, that can be avoided. Because cheaters are only a nuisance if their actions reach the other players.

magicbud3344 08-19-2002 02:55 PM

Quote:

Originally posted by Kaimetsu

Because cheaters are only a nuisance if their actions reach the other players.

i disagree i think that giving yourself money is a nuisance but if you mean that cheaters are only a nuisance if what they do AFFECTS other people them yes :)

Kaimetsu 08-19-2002 03:35 PM

Quote:

Originally posted by magicbud3344

i disagree i think that giving yourself money is a nuisance but if you mean that cheaters are only a nuisance if what they do AFFECTS other people them yes :)

I said "reaches", which does imply "affects".

screen_name 08-19-2002 08:14 PM

Quote:

Originally posted by Tyhm
Right, except that it's not.

The code exists, it's just disabled...

My primary gripe is that Graal is a good engine, but there's that damn 28k (or whatever) per NPCW limit. Even on G2K2 they were constantly trying to keep the inventory from exploding. I mean, I got ideas for stuff to do with the Graal engine post-retirement, but if I gotta make every level < 50k, < 50 NPCs, and every NPC < 28k, it's not gonna work.

I mean, take Tyne's old shooter, Darius or Arius or whatever. The obviously copyrighted one. It didn't use any of the Graal hallmarks - hearts, movement, baddies, whatever - but that code was still there, taking up space and cycles.

Ideally, the engine would be stripped down, and every server would be given a publically available General System NPCW, which is invisible on all accounts (it'd be a toweapons -; or something), can be edited however...and it handles all the movement, damage, baddies, map, inventory, whatever, everything that G2K2 had to disable. Then if you don't want anyone using the default movement, you just overwrite that part of the NPC. Or remove it altogether and have your other NPC handle it. Spar rating? All that stuff, poof. Wanna make a classic server? Just use the default. Wanna make a shooter? Totally rewrite the default. No excess code.

But I'm probably overreacting, it can't be that much of a slowdown in the grand scheme of things.

I like the Gneral System NPCW. This should be done.

;););)<<Stefan>>;););)


All times are GMT +2. The time now is 10:36 AM.

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